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

Disassembly:
sub esp, 0x68
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov esi, dword [esp + 0x78]
push edi
mov edi, ecx
mov dword [edi + 0x1ac], ebx
fld dword [esi]
fadd dword [ebp]
mov eax, dword [ebx + 4]
mov dword [esp + 0x88], eax
mov dword [esp + 0x7c], 0
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
fld dword [esi + 4]
mov dword [esp + 0x24], ecx
fadd dword [ebp + 4]
lea ecx, [esp + 0x80]
push ecx
mov ecx, edi
fstp dword [esp + 0x38]
fld dword [ebp + 8]
mov edx, dword [esp + 0x38]
fadd dword [esi + 8]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x28]
push edx
fstp dword [esp + 0x40]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x34], eax
call fcn.004bb600
test eax, eax
je 0x4c103e
mov edx, dword [esp + 0x24]
push 0
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 8], edx
mov ecx, eax
call fcn.00579430
jmp 0x4c1042
fld dword [esp + 0x7c]
push ebx
fstp dword [esp + 0x30]
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.004be5e0
cmp eax, 1
jne 0x4c1082
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x28]
mov dword [ecx], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x18
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, edi
call fcn.00506400
test eax, eax
je 0x4c1130
fld dword [ebx + 0x14]
mov edx, dword [ebx + 4]
fld dword [esp + 0x24]
push 0
fadd dword [0x73dfec]
push 1
push 0
lea eax, [esp + 0x2c]
fstp dword [esp + 0x54]
push eax
fld dword [esp + 0x38]
push 0x7f000000
fadd dword [0x73dfec]
mov ecx, edx
push ecx
push ecx
fstp dword [esp + 0x68]
fld dword [esp + 0x48]
mov dword [esp + 0x98], edx
fst dword [esp + 0x6c]
mov edx, dword [esp + 0x48]
fld dword [esp + 0x40]
lea eax, [esp + 0x64]
fsub dword [0x73dfec]
lea ecx, [esp + 0x58]
fstp dword [esp + 0x58]
fld dword [esp + 0x44]
fsub dword [0x73dfec]
fstp dword [esp + 0x5c]
fstp dword [esp + 0x60]
fadd dword [esp + 0x48]
fstp dword [esp]
push edx
push eax
push ecx
mov ecx, edi
call fcn.0050ca10
test eax, eax
jne 0x4c113b
mov dword [esp + 0x8c], 0
mov edx, dword [ebp]
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], edx
push ecx
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
call fcn.004ab180
fld dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
fchs
mov ecx, dword [esp + 0x90]
fstp dword [esp + 0x60]
fld dword [esp + 0x90]
mov dword [esp + 0x5c], eax
fcomp dword [esp + 0x8c]
add esp, 8
mov dword [esp + 0x7c], ecx
fnstsw ax
test ah, 5
jp 0x4c1387
lea esp, [esp]
fld dword [esp + 0x7c]
fadd qword [0x743310]
fdiv dword [esp + 0x88]
call fcn.006fae8c
mov ebp, eax
neg ebp
cmp ebp, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebp
jg 0x4c1366
fild dword [esp + 0x18]
fstp dword [esp + 0x80]
jmp 0x4c11e0
fild dword [esp + 0x14]
mov dword [esp + 0x1c], 0
fld dword [esp + 0x54]
fmul st(1)
fld dword [esp + 0x58]
fmul st(2)
fstp dword [esp + 0x64]
fxch st(1)
fmul dword [0x73d700]
fstp dword [esp + 0x68]
fld dword [esp + 0x80]
fmul dword [esp + 0x30]
fld dword [esp + 0x80]
fmul dword [esp + 0x34]
fld dword [esp + 0x38]
fmul dword [esp + 0x80]
fstp dword [esp + 0x74]
fxch st(1)
fadd dword [esi]
fstp dword [esp + 0x3c]
fadd dword [esi + 4]
fstp dword [esp + 0x40]
fld dword [esp + 0x74]
fadd dword [esi + 8]
fstp dword [esp + 0x44]
fld dword [esp + 0x3c]
fadd st(1)
fstp dword [esp + 0x48]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x24], edx
fstp st(0)
lea edx, [esp + 0x14]
fld dword [esp + 0x40]
push edx
fadd dword [esp + 0x68]
fstp dword [esp + 0x50]
fld dword [esp + 0x48]
mov eax, dword [esp + 0x50]
fadd dword [esp + 0x6c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
fstp dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x34], ecx
mov ecx, edi
call fcn.004bb600
test eax, eax
je 0x4c12bc
mov edx, dword [esp + 0x24]
push 0
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 8], edx
mov ecx, eax
call fcn.00579430
jmp 0x4c12c0
fld dword [esp + 0x1c]
push ebx
fstp dword [esp + 0x30]
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.004be5e0
cmp eax, 1
jne 0x4c1355
fld dword [esp + 0x2c]
fcomp dword [esi + 8]
fnstsw ax
test ah, 5
jp 0x4c12fb
fld dword [esp + 0x2c]
fsub dword [0x73e798]
fstp dword [esp + 0x14]
fld dword [ebx + 0x14]
fadd dword [esp + 0x2c]
jmp 0x4c130e
fld dword [esi + 8]
fsub dword [0x73e798]
fstp dword [esp + 0x14]
fld dword [ebx + 0x14]
fadd dword [esi + 8]
mov eax, dword [esp + 0x8c]
fstp dword [esp + 0x10]
test eax, eax
je 0x4c13b2
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x10]
push 0
push 1
push 0
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
push 0x7f000000
push edx
push eax
push ecx
lea edx, [esp + 0x44]
push edx
push esi
mov ecx, edi
call fcn.0050ca10
cmp eax, 1
je 0x4c13b2
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
mov dword [esp + 0x14], ebp
jle 0x4c11e0
fld dword [esp + 0x7c]
fadd dword [esp + 0x88]
fst dword [esp + 0x7c]
fcomp dword [esp + 0x84]
fnstsw ax
test ah, 5
jnp 0x4c11a0
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
push edx
push eax
push ebx
push ecx
push esi
mov ecx, edi
call fcn.004be860
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x18
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x28]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
mov dword [eax + 4], edx
pop ebp
mov dword [eax + 8], ecx
mov eax, 1
pop ebx
add esp, 0x68
ret 0x18