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

Disassembly:
sub esp, 0xbc
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x74]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x4e83f6c]
push eax
call fcn.04b7fb30
lea ecx, [esp + 0xbc]
push ecx
mov ecx, dword [0x4e83f6c]
call fcn.04b7fb50
fld dword [esp + 0xc0]
fld st(0)
xor edi, edi
fld dword [esp + 0xc8]
or eax, 0xffffffff
fld st(0)
mov dword [esp + 0xb0], edi
fmulp st(2)
mov dword [esp + 0xac], edi
fld dword [esp + 0xc4]
mov dword [esp + 0xb8], edi
fld st(0)
mov dword [esp + 0xb4], edi
fld dword [esp + 0xbc]
mov dword [esp + 0x60], edi
fld st(0)
mov dword [esp + 0x68], eax
fmulp st(2)
mov dword [esp + 0x64], eax
fxch st(4)
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], eax
faddp st(1)
mov dword [esp + 0xa4], 7
fld qword [0x4e0d108]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x38]
fld st(4)
fmulp st(2)
fld st(3)
fmulp st(3)
fxch st(1)
fsubrp st(2)
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x3c]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmulp st(1)
fld1
fsubrp st(1)
fstp dword [esp + 0x40]
fldz
fst dword [esp + 0x98]
fst dword [esp + 0x9c]
fst dword [esp + 0xa0]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fst dword [esp + 0x50]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fstp dword [esp + 0x5c]
fld dword [esp + 0x74]
fst dword [esp + 0x80]
fld dword [esp + 0x78]
fst dword [esp + 0x84]
fld dword [esp + 0x7c]
fst dword [esp + 0x88]
fld dword [esp + 0x38]
fld qword [0x4e15ab8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x14]
mov dword [esp + 0xa8], 0x4d34bf0
fld dword [esp + 0x3c]
mov dword [esp + 0x2c], edi
fmul st(1)
fstp dword [esp + 0x18]
fmul dword [esp + 0x40]
fstp dword [esp + 0x1c]
fld dword [esp + 0x14]
faddp st(3)
fxch st(2)
fstp dword [esp + 0x20]
fadd dword [esp + 0x18]
fstp dword [esp + 0x24]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fstp dword [esp + 0x8c]
fld dword [esp + 0x24]
fstp dword [esp + 0x90]
fld dword [esp + 0x28]
fstp dword [esp + 0x94]
lea esp, [esp]
mov ecx, dword [0x4e83f60]
lea edx, [esp + 0x44]
push edx
mov edx, dword [ecx + 0x64]
lea eax, [esp + 0x84]
push eax
call edx
add esp, 8
test al, al
je 0x4d16775
mov eax, dword [esp + 0x6c]
push eax
call fcn.04c98b80
mov ecx, dword [0x4e7ffd0]
add esp, 4
mov esi, eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x34], edi
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
push edi
push eax
call edx
cmp esi, edi
je 0x4d16668
cmp dword [esi + 0x470], edi
jne 0x4d16661
test byte [esp + 0x30], 1
jne 0x4d16668
mov byte [esp + 0x13], 1
jmp 0x4d1666d
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x60]
cmp eax, edi
je 0x4d166f1
push eax
mov eax, dword [0x4e83f60]
mov ecx, dword [eax + 0x228]
call ecx
add esp, 4
cmp eax, edi
je 0x4d166f1
cmp dword [eax], 0xa
jne 0x4d166f1
mov ebx, dword [eax + 4]
cmp ebx, edi
je 0x4d166f1
mov edx, dword [0x4e83f6c]
mov eax, dword [edx + 0x16edc]
cmp eax, edi
je 0x4d166f1
lea edi, [eax + 4]
mov eax, dword [edi + 4]
mov esi, dword [eax]
mov edi, edi
cmp edi, edi
mov ebp, dword [edi + 4]
je 0x4d166bd
nop
call 0x7c1e8a94
cmp esi, ebp
je 0x4d166ef
cmp esi, dword [edi + 4]
jne 0x4d166cc
nop
call 0x7c1e8a94
mov eax, dword [esi + 8]
cmp eax, ebx
jne 0x4d166e0
cmp dword [eax + 0x1a0], 0
je 0x4d16787
cmp esi, dword [edi + 4]
jne 0x4d166eb
nop
call 0x7c1e8a94
mov esi, dword [esi]
jmp 0x4d166b0
xor edi, edi
cmp byte [esp + 0x13], 0
je 0x4d16775
fld dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
fld qword [0x4e0e230]
add eax, 1
cmp eax, 3
fmul st(1), st(0)
fxch st(1)
mov dword [esp + 0x2c], eax
fstp dword [esp + 0x20]
fld dword [esp + 0x3c]
fmul st(1)
fstp dword [esp + 0x24]
fmul dword [esp + 0x40]
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fadd dword [esp + 0x44]
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
fadd dword [esp + 0x48]
fstp dword [esp + 0x18]
fld dword [esp + 0x28]
fadd dword [esp + 0x4c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x14]
fstp dword [esp + 0x80]
fld dword [esp + 0x18]
fstp dword [esp + 0x84]
fld dword [esp + 0x1c]
fstp dword [esp + 0x88]
jl 0x4d16600
mov edx, dword [esp + 0x34]
mov dword [edx + 0x4c], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xbc
ret
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword [ecx + 0x4c], eax
pop ebx
add esp, 0xbc
ret