; ; __acrt_fenv_get_control from 0x180141bc8 to 0x180141cb9 (241 bytes) ; ; 2 xrefs: ; > fegetround @ 0x18013f498 ; > fegetenv @ 0x180141495 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov r10d, 8040h ; +0x0, 0x180141bc8 xor edx, edx ; +0x6, 0x180141bce stmxcsr [rsp+arg_0] ; +0x8, 0x180141bd0 mov r9d, [rsp+arg_0] ; +0xd, 0x180141bd5 movzx eax, r9w ; +0x12, 0x180141bda and ax, r10w ; +0x16, 0x180141bde lea ecx, [r10-40h] ; +0x1a, 0x180141be2 cmp ax, cx ; +0x1e, 0x180141be6 jnz short loc_180141BF3 ; +0x21, 0x180141be9 mov r8d, 0C00h ; +0x23, 0x180141beb jmp short loc_180141C11 ; +0x29, 0x180141bf1 cmp ax, 40h ; '@' ; +0x2b, 0x180141bf3 jnz short loc_180141C01 ; +0x2f, 0x180141bf7 mov r8d, 800h ; +0x31, 0x180141bf9 jmp short loc_180141C11 ; +0x37, 0x180141bff cmp ax, r10w ; +0x39, 0x180141c01 mov r8d, edx ; +0x3d, 0x180141c05 mov ecx, 400h ; +0x40, 0x180141c08 cmovz r8d, ecx ; +0x45, 0x180141c0d mov eax, r9d ; +0x49, 0x180141c11 mov r10d, 6000h ; +0x4c, 0x180141c14 and eax, r10d ; +0x52, 0x180141c1a jz short loc_180141C48 ; +0x55, 0x180141c1d cmp eax, 2000h ; +0x57, 0x180141c1f jz short loc_180141C41 ; +0x5c, 0x180141c24 cmp eax, 4000h ; +0x5e, 0x180141c26 jz short loc_180141C3A ; +0x63, 0x180141c2b cmp eax, r10d ; +0x65, 0x180141c2d mov ecx, 300h ; +0x68, 0x180141c30 cmovnz ecx, edx ; +0x6d, 0x180141c35 jmp short loc_180141C4A ; +0x70, 0x180141c38 mov ecx, 200h ; +0x72, 0x180141c3a jmp short loc_180141C4A ; +0x77, 0x180141c3f mov ecx, 100h ; +0x79, 0x180141c41 jmp short loc_180141C4A ; +0x7e, 0x180141c46 mov ecx, edx ; +0x80, 0x180141c48 mov r10d, 1 ; +0x82, 0x180141c4a mov edx, r9d ; +0x88, 0x180141c50 shr edx, 8 ; +0x8b, 0x180141c53 mov eax, r9d ; +0x8e, 0x180141c56 shr eax, 7 ; +0x91, 0x180141c59 and edx, r10d ; +0x94, 0x180141c5c and eax, r10d ; +0x97, 0x180141c5f shl edx, 5 ; +0x9a, 0x180141c62 shl eax, 4 ; +0x9d, 0x180141c65 or edx, eax ; +0xa0, 0x180141c68 mov eax, r9d ; +0xa2, 0x180141c6a shr eax, 9 ; +0xa5, 0x180141c6d and eax, r10d ; +0xa8, 0x180141c70 shl eax, 3 ; +0xab, 0x180141c73 or edx, eax ; +0xae, 0x180141c76 mov eax, r9d ; +0xb0, 0x180141c78 shr eax, 0Ah ; +0xb3, 0x180141c7b and eax, r10d ; +0xb6, 0x180141c7e shl eax, 2 ; +0xb9, 0x180141c81 or edx, eax ; +0xbc, 0x180141c84 mov eax, r9d ; +0xbe, 0x180141c86 shr eax, 0Bh ; +0xc1, 0x180141c89 and eax, r10d ; +0xc4, 0x180141c8c shr r9d, 0Ch ; +0xc7, 0x180141c8f add eax, eax ; +0xcb, 0x180141c93 and r9d, r10d ; +0xcd, 0x180141c95 or edx, eax ; +0xd0, 0x180141c98 or edx, r9d ; +0xd2, 0x180141c9a or edx, ecx ; +0xd5, 0x180141c9d or edx, r8d ; +0xd7, 0x180141c9f mov eax, edx ; +0xda, 0x180141ca2 mov ecx, edx ; +0xdc, 0x180141ca4 shl eax, 16h ; +0xde, 0x180141ca6 and ecx, 3Fh ; +0xe1, 0x180141ca9 and eax, 0C0000000h ; +0xe4, 0x180141cac shl ecx, 18h ; +0xe9, 0x180141cb1 or eax, ecx ; +0xec, 0x180141cb4 or eax, edx ; +0xee, 0x180141cb6 retn ; +0xf0, 0x180141cb8