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

Disassembly:
sub esp, 0x84
push esi
lea eax, [esp + 0x54]
push edi
push eax
call fcn.00498d30
mov esi, dword [esp + 0x9c]
lea ecx, [esp + 0x20]
push ecx
push esi
call fcn.004a5a50
fld dword [esp + 0x28]
fsub dword [esi + 0xc]
lea edx, [esp + 0x1c]
mov dword [esp + 0x24], 0
push edx
fstp dword [esp + 0x20]
fld dword [esp + 0x30]
fsub dword [esi + 0x10]
fstp dword [esp + 0x24]
call fcn.0042a510
fstp st(0)
fld dword [esi + 0x14]
fadd dword [0x4d63c0]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov edi, dword [esp + 0xa4]
add esp, 0x10
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
fstp dword [esp + 0x48]
fld dword [esp + 0x10]
fmul dword [0x4d73a8]
mov dword [esp + 8], 0
fadd dword [esi + 0xc]
fstp dword [esp + 0x1c]
fld dword [esp + 0x14]
fmul dword [0x4d73a8]
fadd dword [esi + 0x10]
fstp dword [esp + 0x20]
fld dword [esp + 0x18]
fmul dword [0x4d73a8]
fadd dword [esi + 0x14]
fstp dword [esp + 0x24]
fld dword [esp + 8]
fadd dword [0x4d6434]
lea edx, [esp + 0x4c]
push edx
fst dword [esp + 0x10]
fmul dword [esp + 0x14]
fadd dword [esp + 0x44]
fstp dword [esp + 0x50]
fld dword [esp + 0x10]
fmul dword [esp + 0x18]
fadd dword [esp + 0x48]
fstp dword [esp + 0x54]
fld dword [esp + 0x10]
fmul dword [esp + 0x1c]
fadd dword [esp + 0x4c]
fadd dword [0x4d63c0]
fstp dword [esp + 0x58]
call fcn.004b06c0
mov ecx, dword [edi + 0x60]
add esp, 4
cmp eax, ecx
jne 0x499c0d
mov eax, dword [esp + 0xc]
mov dword [esp + 8], eax
fld dword [esp + 8]
fcomp dword [0x4d73a8]
fnstsw ax
test ah, 1
jne 0x499b9e
jmp 0x499c4b
fld dword [esp + 8]
fcomp dword [0x4d73a8]
fnstsw ax
test ah, 1
je 0x499c4b
fld dword [esp + 8]
fmul dword [esp + 0x10]
fadd dword [esi + 0xc]
fstp dword [esp + 0x1c]
fld dword [esp + 8]
fmul dword [esp + 0x14]
fadd dword [esi + 0x10]
fstp dword [esp + 0x20]
fld dword [esp + 8]
fmul dword [esp + 0x18]
fadd dword [esi + 0x14]
fstp dword [esp + 0x24]
fld dword [edi]
fsub dword [esi + 0xc]
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], 0
push ecx
fstp dword [esp + 0x38]
fld dword [edi + 4]
fsub dword [esi + 0x10]
fstp dword [esp + 0x3c]
call fcn.0042a510
fstp dword [esp + 0xc]
fld dword [edi]
fsub dword [esp + 0x20]
lea edx, [esp + 0x2c]
mov dword [esp + 0x34], 0
push edx
fstp dword [esp + 0x30]
fld dword [edi + 4]
fsub dword [esp + 0x28]
fstp dword [esp + 0x34]
call fcn.0042a510
fstp dword [esp + 0x14]
fld dword [esp + 0x38]
fmul dword [esp + 0x44]
fld dword [esp + 0x34]
fmul dword [esp + 0x40]
add esp, 8
faddp st(1)
fld dword [esp + 0x28]
fmul dword [esp + 0x34]
faddp st(1)
fcomp qword [0x4d73a0]
fnstsw ax
test ah, 1
jne 0x499d52
fld dword [esp + 0xc]
fcomp dword [0x4d6944]
fnstsw ax
test ah, 1
jne 0x499d52
fld dword [esp + 0x1c]
fsub dword [edi]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 0
push eax
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
fsub dword [edi + 4]
fstp dword [esp + 0x18]
call fcn.0042a510
fstp st(0)
fld dword [esp + 0x10]
fcomp dword [0x4d73a8]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x499d25
mov dword [esp + 0xc], 0x42a00000
fld dword [esp + 0xc]
fmul dword [0x4d6944]
mov edx, dword [edi + 0x28]
push ecx
lea ecx, [esp + 0x14]
fsubr dword [0x4d7344]
fsubr dword [0x4d7344]
fstp dword [esp]
push ecx
push edx
call fcn.0048dae0
add esp, 0xc
jmp 0x499dd1
fld dword [esi + 0x18]
fsub dword [edi]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 0
push eax
fstp dword [esp + 0x14]
fld dword [esi + 0x1c]
fsub dword [edi + 4]
fstp dword [esp + 0x18]
call fcn.0042a510
fstp st(0)
fld dword [esp + 0xc]
fcomp dword [0x4d683c]
add esp, 4
fnstsw ax
test ah, 1
je 0x499d98
mov ecx, dword [edi + 0x28]
push ecx
call fcn.0048d980
jmp 0x499db2
fld dword [esp + 8]
fcomp dword [0x4d63a0]
fnstsw ax
test ah, 1
je 0x499db5
mov edx, dword [edi + 0x28]
push edx
call fcn.0048d9b0
add esp, 4
mov ecx, dword [edi + 0x28]
lea eax, [esp + 0x10]
push 0x44160000
push eax
push ecx
call fcn.0048dae0
mov edx, dword [edi + 0x4c]
add esp, 0xc
mov dword [edi + 0x68], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x78], ecx
mov ecx, 0xd
lea esi, [esp + 0x58]
mov edi, eax
mov dword [esp + 0x7c], edx
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
add esp, 0x84
ret