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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5472c2
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x598c90]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
push 0
push 0x1001900
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.00434820
push 0
push 0x1001a00
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00434820
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x2c]
mov esi, ebx
call fcn.00478ff0
fldz
fld qword [ebp + 0x18]
fcom st(1)
fnstsw ax
test ah, 1
jne 0x459e78
fld1
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x459e78
fild dword [ebp + 0x10]
fsub qword [0x572c40]
fld st(0)
fxch st(1)
fmulp st(2)
fxch st(1)
fcom st(2)
fnstsw ax
test ah, 5
jp 0x459e69
fstp st(0)
fstp st(0)
fldz
mov eax, dword [ebp + 0x14]
push 1
push 1
push 1
push 1
sub esp, 8
fstp dword [esp + 4]
add eax, 0xfffffffe
fld dword [0x572f78]
lea edx, [esp + 0x30]
fstp dword [esp]
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
push edx
sub esp, 0x10
fstp dword [esp + 0xc]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [esp + 8]
fld1
fst dword [esp + 4]
fstp dword [esp]
push ebx
call fcn.00461ee0
add esp, 0x30
jmp 0x45a04e
fstp st(2)
fcom st(1)
fnstsw ax
test ah, 5
jp 0x459e10
fstp st(1)
jmp 0x459e12
lea ecx, [esp + 0x18]
fstp st(1)
push ecx
fstp st(0)
call fcn.00478940
mov esi, dword [ebp + 0x14]
add esi, esi
mov dword [esp + 0x1c], esi
call fcn.0040fb80
mov edx, eax
mov eax, 0x88888889
mul edx
mov eax, edx
shr eax, 3
xor edx, edx
div esi
lea esi, [esp + 0x48]
mov edi, edx
call fcn.00489d40
mov eax, dword [esp + 0x1c]
neg edi
mov dword [esp + 0x78], 0
mov dword [esp + 0x24], edi
fild dword [esp + 0x24]
mov edi, dword [ebp + 0x10]
add eax, edi
fstp dword [esp + 0x14]
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [esp + 0x14]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
fldz
test ah, 0x41
jne 0x459f86
fild dword [ebp + 0x14]
fstp dword [esp + 0x20]
fild dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fmul qword [0x572c90]
fst qword [esp + 0x34]
jmp 0x459f18
fldz
fld qword [esp + 0x34]
fld dword [esp + 0x20]
sub esp, 0x20
fst dword [esp + 0x1c]
lea esi, [esp + 0x68]
fld st(3)
fsub st(2)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [esp + 0x18]
fstp dword [esp + 0x14]
fxch st(2)
fst dword [esp + 0x10]
fxch st(1)
fst dword [esp + 0xc]
fld st(1)
faddp st(3)
fxch st(2)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [esp + 8]
fxch st(1)
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0048acc0
fld dword [esp + 0x1c]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x459f12
jmp 0x459f88
fstp st(1)
mov eax, dword [ebp + 0x14]
fstp st(0)
push 1
push 1
push 2
lea ecx, [esp + 0x30]
push ecx
call fcn.0048fe70
lea eax, [esp + 0x24]
lea esi, [esp + 0x34]
mov byte [esp + 0x78], 1
call fcn.004787a0
fldz
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push 1
push 1
push 1
push 1
sub esp, 8
fstp dword [esp + 4]
add eax, 0xfffffffe
fld dword [0x572f78]
lea edx, [esp + 0x30]
fstp dword [esp]
push edx
mov dword [esp + 0x4c], eax
fild dword [esp + 0x4c]
sub esp, 0x10
add ecx, 0xfffffffe
fstp dword [esp + 0xc]
mov dword [esp + 0x5c], ecx
fild dword [esp + 0x5c]
mov edx, esi
fstp dword [esp + 8]
fld1
fst dword [esp + 4]
fstp dword [esp]
push edx
call fcn.00461ee0
add esp, 0x30
mov eax, esi
push eax
call fcn.004787f0
fld dword [0x573060]
push ecx
lea ecx, [esp + 0x28]
fstp dword [esp]
push ecx
mov esi, ebx
call fcn.00478a30
push 0x59f59c
lea edi, [esp + 0x4c]
call fcn.004790a0
lea ecx, [esp + 0x24]
call fcn.0048ff10
mov edx, edi
push edx
mov dword [esp + 0x7c], 0xffffffff
call fcn.00489d90
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
lea eax, [esp + 0x30]
mov dword [esp + 0x30], ecx
call fcn.00403100
test eax, eax
je 0x45a0c1
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x34]
call fcn.004769a0
add esp, 4
push eax
mov esi, ebx
call fcn.00478940
fild dword [ebp + 0x14]
push ecx
xor esi, esi
fmul qword [0x572df0]
mov edi, ebx
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp]
call fcn.00478b00
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x20]
push esi
lea eax, [esp + 0x34]
push eax
push ecx
push edx
push esi
push esi
mov esi, ebx
mov dword [esp + 0x48], 0x24
call fcn.00478c70
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c