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

Disassembly:
sub esp, 0x64
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x88]
push edi
xor ebx, ebx
push eax
push ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.004ac800
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov edx, dword [esi + 0x94]
mov eax, dword [esi + 0x90]
fdiv qword [0x5d43a0]
push edx
push eax
fstp dword [esp + 0x24]
call fcn.004ac800
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov eax, dword [esi + 0x84]
add esp, 0x10
fmul qword [0x5d2c40]
fstp dword [esp + 0xc]
cmp eax, 3
ja case.default.0x450d4a
jmp dword [eax*4 + 0x451070]
mov eax, dword [esi + 0x78]
add eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x6c]
push eax
push ecx
call fcn.004ac800
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
add esp, 8
fstp dword [esp + 0x1c]
cmp dword [esi + 0x84], ebx
jne 0x450d81
mov edx, dword [esi + 0x70]
mov dword [esp + 0x10], edx
jmp 0x450d8b
mov eax, dword [esi + 0x7c]
add eax, dword [esi + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x80]
fild dword [esp + 0x10]
add eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x74]
push eax
fstp dword [esp + 0x24]
push ecx
call fcn.004ac800
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
add esp, 8
jmp 0x450e50
cmp eax, 2
jne 0x450dc4
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x10], edx
jmp 0x450dce
mov eax, dword [esi + 0x78]
add eax, dword [esi + 0x6c]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x7c]
fild dword [esp + 0x10]
mov ecx, dword [esi + 0x70]
add eax, dword [esi + 0x70]
push ecx
fstp dword [esp + 0x20]
push eax
call fcn.004ac800
mov edx, dword [esi + 0x74]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x80]
fild dword [esp + 0x18]
add eax, dword [esi + 0x74]
push eax
fstp dword [esp + 0x2c]
push edx
call fcn.004ac800
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
jmp 0x450e4d
mov eax, dword [esi + 0x78]
add eax, dword [esi + 0x6c]
push eax
mov eax, dword [esi + 0x6c]
push eax
call fcn.004ac800
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
mov eax, dword [esi + 0x80]
add eax, dword [esi + 0x74]
fstp dword [esp + 0x24]
push eax
fild dword [esi + 0x70]
push ecx
fstp dword [esp + 0x30]
call fcn.004ac800
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
add esp, 0x10
fstp dword [esp + 0x24]
fld dword [esp + 0xc]
call fcn.0058a2a0
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul dword [esp + 0x14]
fstp dword [esp + 0x28]
fld dword [esp + 0xc]
call fcn.0058a3d0
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
mov eax, dword [esi + 0x9c]
fld dword [esp + 0x14]
mov edi, dword [esp + 0x74]
fld st(0)
mov dword [esp + 0x40], ebx
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x2c]
fldz
fst dword [esp + 0x30]
cmp eax, ebx
je 0x450ee8
cdq
fstp st(0)
sub eax, edx
fld dword [esp + 0xc]
mov ecx, eax
fst dword [esp + 0x34]
mov eax, edi
fld dword [esi + 0x98]
sar ecx, 1
fmul qword [0x5d1cf0]
cdq
idiv ecx
faddp st(1)
fstp dword [esp + 0x38]
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x14]
cmp edx, ecx
mov dword [esp + 0x14], edx
jl 0x450ee0
lea eax, [esp + 0x3c]
mov edx, dword [eax]
mov dword [esp + 0x40], edx
jmp 0x450ef4
fst dword [esp + 0x34]
mov dword [esp + 0x3c], ebx
fstp dword [esp + 0x38]
mov eax, edi
fstp dword [esp + 0x64]
cdq
mov ecx, 0x1e
idiv ecx
push 0x168
push ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], 8
mov dword [esp + 0x60], 0x1e
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
call fcn.004ac800
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
add esp, 8
lea edx, [esp + 0x1c]
fmul qword [0x5d2c40]
push edx
mov ecx, esi
fstp dword [esp + 0x6c]
fild dword [esp + 0x78]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fld st(0)
fmul dword [esp + 0x2c]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fmul dword [esp + 0x30]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
call fcn.00450b00
test al, al
jne 0x451064
cmp edi, 0x3c
jge 0x450f94
fldz
mov dword [esp + 0x4c], 0x3c
fstp dword [esp + 0x44]
mov dword [esp + 0x50], edi
fld1
mov dword [esp + 0x6c], ebx
jmp 0x450faa
fld1
mov dword [esp + 0x4c], ebx
fst dword [esp + 0x44]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x6c], 1
mov eax, dword [esi + 0xb8]
fstp dword [esp + 0x48]
mov ebx, dword [eax]
mov edi, dword [esi + 0xa4]
add esi, 0xa4
push ebp
mov ebp, dword [esi + 0x14]
mov eax, dword [esi]
test edi, edi
je 0x450fd0
cmp edi, eax
je 0x450fd5
call fcn.00589a8c
cmp ebx, ebp
je 0x45103c
test edi, edi
jne 0x451017
call fcn.00589a8c
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x450fee
call fcn.00589a8c
fld dword [esp + 0x28]
fld dword [ebx + 0x10]
fcompp
fnstsw ax
test ah, 0x41
je 0x45101f
test edi, edi
jne 0x45101b
call fcn.00589a8c
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x451013
call fcn.00589a8c
mov ebx, dword [ebx]
jmp 0x450fc3
mov eax, dword [edi]
jmp 0x450fe4
mov eax, dword [edi]
jmp 0x451009
lea ecx, [esp + 0x20]
push ecx
push ebx
push edi
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00450c40
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x64
ret 4
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x20]
push eax
push ecx
push edi
mov ecx, esi
call fcn.00450b60
push 1
mov ecx, esi
mov ebx, eax
call fcn.00450ba0
mov dword [edi + 4], ebx
mov edx, dword [ebx + 4]
mov dword [edx], ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x64
ret 4