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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x29c
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 8]
mov ebx, dword [eax + 8]
mov ecx, dword [ebx + 0x13958]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov edx, dword [ebx + 0x1395c]
push edi
fdiv qword [0x6a1590]
sub esp, 0xc
lea eax, [esp + 0x74]
mov dword [esp + 0x24], edx
fstp dword [esp + 0x28]
fld1
fstp dword [esp + 8]
fld dword [esp + 0x28]
fst dword [esp + 4]
fstp dword [esp]
push eax
call fcn.00474095
fldz
mov eax, dword [ebx + 0xdf480]
fst dword [esp + 0x74]
fst dword [esp + 0x70]
add esp, 0x10
fst dword [esp + 0x5c]
fst dword [esp + 0x58]
fst dword [esp + 0x54]
fst dword [esp + 0x50]
fst dword [esp + 0x4c]
fst dword [esp + 0x48]
fst dword [esp + 0x44]
fst dword [esp + 0x40]
fst dword [esp + 0x3c]
fst dword [esp + 0x38]
fst dword [esp + 0x34]
fst dword [esp + 0x30]
fst dword [esp + 0x2c]
fstp dword [esp + 0x28]
test eax, eax
je 0x46039b
mov eax, dword [eax + 0xc]
jmp 0x46039d
xor eax, eax
push 2
push 2
xor edi, edi
mov ecx, eax
call fcn.00470a87
cmp dword [ebx + 0x20e8], edi
je 0x460436
fldz
sub esp, 0xc
fstp dword [esp + 8]
lea ecx, [esp + 0xb4]
fld dword [esp + 0x28]
fld qword [0x6a1588]
fmul st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fmul qword [0x6a14f8]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
push ecx
call fcn.0047402e
add esp, 0x10
lea ecx, [esp + 0x28]
call fcn.00404580
fldz
mov edi, dword [esi + 0xbd7e4]
push 0xffffffffffffffff
sub esp, 8
fst dword [esp + 4]
lea edx, [esp + 0x34]
fstp dword [esp]
push edx
lea eax, [esp + 0xb8]
lea edx, [esp + 0x78]
call fcn.004044d0
push eax
mov eax, dword [edi + 0x5c]
lea ecx, [esi + 0xbd7e4]
call eax
cmp byte [esi + 0xbf0f0], 0
je 0x460540
cmp dword [ebx + 0x20e8], 0
fldz
fst dword [esp + 0x10]
je 0x46045a
fld dword [0x6a215c]
jmp 0x460469
cmp dword [ebx + 0x2360], 1
jne 0x46046d
fld dword [0x6a2158]
fstp dword [esp + 0x10]
sub esp, 0xc
fstp dword [esp + 8]
lea ecx, [esp + 0xb4]
fld dword [esp + 0x1c]
fadd qword [0x6a2150]
fld dword [esp + 0x28]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fmul qword [0x6a14f8]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
push ecx
call fcn.0047402e
add esp, 0x10
lea ecx, [esp + 0x28]
call fcn.00404580
fild dword [ebx + 0x2030]
fnstcw word [esp + 0x10]
lea edi, [esi + 0xbdaa4]
fmul qword [0x6a1828]
movzx eax, word [esp + 0x10]
or eax, 0xc00
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
fdiv qword [0x6a1600]
fldcw word [esp + 0x20]
fistp qword [esp + 0x20]
mov edx, dword [esp + 0x20]
shl edx, 0x18
or edx, 0xffffff
fldcw word [esp + 0x10]
push edx
sub esp, 8
lea edx, [esp + 0x74]
fldz
fst dword [esp + 4]
fstp dword [esp]
push eax
lea eax, [esp + 0xb8]
call fcn.004044d0
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x5c]
mov ecx, edi
call edx
push 0xffffffffffffffff
lea eax, [esp + 0x6c]
push eax
lea ecx, [esi + 0xbf0b8]
push ecx
call fcn.00443990
mov edx, dword [esi + 0xbda78]
mov eax, dword [edx + 4]
lea ecx, [esi + 0xbda78]
call eax
mov ecx, eax
imul ecx, ecx, 0xff
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esi + 0xbd90c]
mov edx, dword [edx + 0x1c]
mov edi, ecx
lea ebx, [esi + 0xbd90c]
lea eax, [esp + 0x14]
shl edi, 0x18
push eax
mov ecx, ebx
or edi, 0xffffff
call edx
fild dword [eax]
mov eax, dword [esi + 0xbdaa0]
sub eax, 1
fmul qword [0x6a1448]
fsubr qword [0x6a1978]
fstp dword [esp + 0x10]
je 0x4605bc
sub eax, 1
je 0x4606d1
sub eax, 1
jne 0x4606ca
fldz
sub esp, 0xc
fstp dword [esp + 8]
lea ecx, [esp + 0xf4]
fld dword [esp + 0x28]
fld qword [0x6a2148]
fmul st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 4]
fmul qword [0x6a20d8]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
push ecx
call fcn.0047402e
add esp, 0x10
lea ecx, [esp + 0x28]
call fcn.00404580
fldz
mov ebx, dword [esi + 0xbd878]
push edi
sub esp, 8
fst dword [esp + 4]
lea edx, [esp + 0x34]
fstp dword [esp]
push edx
lea eax, [esp + 0x178]
lea edx, [esp + 0x78]
call fcn.004044d0
push eax
mov eax, dword [ebx + 0x5c]
lea ecx, [esi + 0xbd878]
call eax
fldz
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x28]
lea ecx, [esp + 0x1f4]
fld qword [0x6a1d58]
fmul st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 4]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
push ecx
call fcn.0047402e
add esp, 0x10
lea ecx, [esp + 0x28]
call fcn.00404580
fldz
mov ebx, dword [esi + 0xbd90c]
push edi
sub esp, 8
fst dword [esp + 4]
lea edx, [esp + 0x34]
fstp dword [esp]
push edx
lea eax, [esp + 0x278]
lea edx, [esp + 0x78]
call fcn.004044d0
push eax
mov eax, dword [ebx + 0x5c]
lea ecx, [esi + 0xbd90c]
call eax
push edi
lea ecx, [esp + 0x6c]
push ecx
add esi, 0xbda3c
push esi
call fcn.00443990
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fldz
sub esp, 0xc
fstp dword [esp + 8]
lea eax, [esp + 0xb4]
fld dword [esp + 0x28]
fld qword [0x6a2148]
fmul st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 4]
fmul qword [0x6a20d8]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
push eax
call fcn.0047402e
add esp, 0x10
lea ecx, [esp + 0x28]
call fcn.00404580
fldz
mov edi, dword [esi + 0xbd878]
push 0xffffffffffffffff
sub esp, 8
fst dword [esp + 4]
lea ecx, [esp + 0x34]
fstp dword [esp]
push ecx
lea eax, [esp + 0x138]
lea edx, [esp + 0x78]
call fcn.004044d0
mov edx, dword [edi + 0x5c]
push eax
lea ecx, [esi + 0xbd878]
call edx
fldz
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x28]
lea eax, [esp + 0x234]
fld qword [0x6a1d58]
fmul st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 4]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
push eax
call fcn.0047402e
add esp, 0x10
lea ecx, [esp + 0x28]
call fcn.00404580
fldz
mov edi, dword [ebx]
push 0xffffffffffffffff
sub esp, 8
fst dword [esp + 4]
lea ecx, [esp + 0x34]
fstp dword [esp]
push ecx
lea eax, [esp + 0x1b8]
lea edx, [esp + 0x78]
call fcn.004044d0
mov edx, dword [edi + 0x5c]
push eax
mov ecx, ebx
call edx
push 0xffffffffffffffff
lea eax, [esp + 0x6c]
push eax
add esi, 0xbda3c
push esi
call fcn.00443990
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret