Function at 0x6d121230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x10c
mov edi, dword [esp + 0x13c]
mov eax, dword [esp + 0x134]
mov edx, dword [esp + 0x138]
mov esi, dword [esp + 0x130]
mov ebx, edi
mov dword [esp + 0x40], eax
and ebx, 0x7fffffff
mov dword [esp + 0x3c], edx
cmp ebx, 0x7ffeffff
jbe 0x6d12127d
or eax, edx
movzx edx, di
or eax, esi
or eax, edx
jne 0x6d121758
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
call sub.libgcc_s_dw2_1.dll___letf2
test eax, eax
jle 0x6d121610
mov eax, dword [esp + 0x124]
test eax, eax
js 0x6d121730
mov dword [esp + 0x7c], 1
je 0x6d121a28
mov byte [esp + 0xfc], 0
call fcn.6d16e9c0
test eax, eax
jne 0x6d121ce8
cmp dword [esp + 0x124], 1
je 0x6d121bd8
cmp ebx, 0x7ffeffff
ja 0x6d1219e0
cmp ebx, 0x412cffff
ja 0x6d1217d0
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
lea ebx, [esp + 0xa0]
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov dword [esp], ebx
mov dword [esp + 0x4c], ebx
call sym.libquadmath_0.dll_y0q
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x3c]
mov dword [esp], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x6c], ecx
call sym.libquadmath_0.dll_y1q
mov eax, dword [esp + 0xa8]
mov ebp, dword [esp + 0xac]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x44], eax
mov eax, ebp
not eax
test eax, 0xffff0000
je 0x6d121e28
mov ebx, 1
mov dword [esp + 0x48], ebp
mov ebp, ecx
mov dword [esp + 0x78], edi
mov edi, ebx
mov ebx, edx
mov dword [esp + 0x74], esi
jmp 0x6d1213e8
mov ebx, ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x48], eax
mov ebp, edx
mov dword [esp + 0x44], ecx
lea eax, [edi + edi]
add edi, 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call sub.libgcc_s_dw2_1.dll___floatsitf
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], eax
mov dword [esp], ecx
call sub.libgcc_s_dw2_1.dll___divtf3
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x80]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x94]
mov dword [esp], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x1c], eax
call sub.libgcc_s_dw2_1.dll___multf3
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], edx
mov dword [esp], eax
call sub.libgcc_s_dw2_1.dll___subtf3
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0xac]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x70], esi
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x5c], esi
mov esi, eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x68], ebx
not esi
mov ebx, dword [esp + 0x48]
and esi, 0xffff0000
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x6c], ebx
je 0x6d121565
cmp edi, dword [esp + 0x124]
jl 0x6d1213d8
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
call sym.libquadmath_0.dll_finiteq
test eax, eax
je 0x6d121bc0
mov edi, dword [esp + 0x50]
cmp dword [esp + 0x7c], 1
lea eax, [edi - 0x80000000]
cmove eax, edi
cmp byte [esp + 0xfc], 0
mov dword [esp + 0x50], eax
jne 0x6d121cd0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
call sym.libquadmath_0.dll_isinfq
test eax, eax
jne 0x6d121a88
mov eax, dword [esp + 0x120]
mov edi, dword [esp + 0x54]
mov dword [eax], edi
mov edi, dword [esp + 0x58]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x5c]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x50]
mov dword [eax + 0xc], edi
jmp 0x6d1217bd
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
call sub.libgcc_s_dw2_1.dll___eqtf2
test eax, eax
je 0x6d121b60
test edi, edi
jns 0x6d1212c1
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0xa0]
mov dword [esp + 0x1c], edi
mov dword [esp], eax
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ebx
call sub.libgcc_s_dw2_1.dll___multf3
mov edx, dword [esp + 0xa0]
lea eax, [esp + 0x90]
mov dword [esp + 0x10], 0
mov dword [esp], eax
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], edx
call sub.libgcc_s_dw2_1.dll___divtf3
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x120]
mov dword [edi], eax
mov eax, dword [esp + 0x94]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x98]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x9c]
mov dword [edi + 0xc], eax
jmp 0x6d1217bd
neg dword [esp + 0x124]
mov eax, dword [esp + 0x124]
mov edx, 1
add eax, eax
and eax, 2
sub edx, eax
mov dword [esp + 0x7c], edx
jmp 0x6d1212de
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0xa0]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], edi
mov dword [esp], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
call sub.libgcc_s_dw2_1.dll___addtf3
mov eax, dword [esp + 0xa0]
mov edi, dword [esp + 0x120]
mov dword [edi], eax
mov eax, dword [esp + 0xa4]
mov dword [edi + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [edi + 8], eax
mov eax, dword [esp + 0xac]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x120]
add esp, 0x10c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0xc0]
mov dword [esp], esi
mov dword [esp + 0x14], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call sym.libquadmath_0.dll_sincosq
mov ebx, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0x124]
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0xb8]
and eax, 3
mov dword [esp + 0x50], edx
mov ebp, dword [esp + 0xc4]
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x58], ecx
mov ebx, dword [esp + 0xb4]
cmp eax, 2
je 0x6d121de0
cmp eax, 3
je 0x6d121d70
cmp eax, 1
jne 0x6d121d10
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], ebx
add edx, 0x80000000
lea eax, [esp + 0xa0]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ecx
mov dword [esp], eax
call sub.libgcc_s_dw2_1.dll___subtf3
mov ebx, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], ebx
mov dword [esp], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], 0x14fed7fe
mov dword [esp + 0x24], 0xd11ae3a9
mov dword [esp + 0x28], 0x750429b6
mov dword [esp + 0x2c], 0x3ffe20dd
call sub.libgcc_s_dw2_1.dll___multf3
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x3c]
mov dword [esp], edi
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x48], ecx
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0xac]
call sym.libquadmath_0.dll_sqrtq
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov dword [esp], edi
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x2c], eax
call sub.libgcc_s_dw2_1.dll___divtf3
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x50], eax
jmp 0x6d121565
mov eax, dword [esp + 0x120]
cmp byte [esp + 0xfc], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
je 0x6d1217bd
lea eax, [esp + 0xdc]
mov dword [esp], eax
call fcn.6d16eb70
jmp 0x6d1217bd
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0xa0]
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 0x18], ebx
call sym.libquadmath_0.dll_y0q
mov eax, dword [esp + 0xa0]
mov edi, dword [esp + 0x120]
mov dword [edi], eax
mov eax, dword [esp + 0xa4]
mov dword [edi + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [edi + 8], eax
mov eax, dword [esp + 0xac]
mov dword [edi + 0xc], eax
jmp 0x6d1217bd
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], 0x7ffeffff
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x50]
mov dword [esp], edi
mov dword [esp + 0x2c], eax
call sym.libquadmath_0.dll_copysignq
mov eax, dword [esp + 0xa0]
mov dword [esp], edi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x2c], 0x7ffeffff
mov dword [esp + 0x1c], eax
call sub.libgcc_s_dw2_1.dll___multf3
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x50], eax
jmp 0x6d1215e1
mov edx, dword [esp + 0x124]
xor esi, esi
xor ebx, ebx
xor ecx, ecx
test edx, edx
js 0x6d121d58
mov edx, 0xbfff0000
lea eax, [esp + 0xa0]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp], eax
call sub.libgcc_s_dw2_1.dll___divtf3
jmp 0x6d121a4f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x22
jmp 0x6d121591
mov ebx, dword [esp + 0x7c]
lea eax, [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 0x4c], eax
call sub.libgcc_s_dw2_1.dll___floatsitf
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x3c]
mov dword [esp], edi
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x48], ecx
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0xac]
call sym.libquadmath_0.dll_y1q
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov dword [esp], edi
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x2c], eax
call sub.libgcc_s_dw2_1.dll___multf3
mov eax, dword [esp + 0xa0]
cmp byte [esp + 0xfc], 0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x50], eax
je 0x6d1215b5
lea esi, cs:[esi]
lea esi, [esi]
lea eax, [esp + 0xdc]
mov dword [esp], eax
call fcn.6d16eb70
jmp 0x6d1215b5
lea eax, [esp + 0xdc]
mov byte [esp + 0xfc], 1
mov dword [esp], eax
call fcn.6d16e980
mov dword [esp], 0
call fcn.6d16eae0
jmp 0x6d1212f3
lea eax, [esp + 0xa0]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
jmp 0x6d1218b8
mov edx, 0x3fff0000
test byte [esp + 0x124], 1
jne 0x6d121b7a
jmp 0x6d121b75
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x58]
lea eax, [esp + 0xa0]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x4c], eax
call sub.libgcc_s_dw2_1.dll___addtf3
mov ebx, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
jmp 0x6d1218dc
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x58]
lea eax, [esp + 0xa0]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebx
jmp 0x6d1218b8
mov eax, dword [esp + 0x44]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], ebp
jmp 0x6d121565