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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50616b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
jne 0x459ff4
xor al, al
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push 1
push 1
push esi
lea ecx, [esp + 0x78]
call fcn.0044cdd0
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec edi
mov ebx, 1
dec eax
cmp edi, ebx
mov dword [esp + 0x218], 0
mov dword [esp + 0x58], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
jle 0x45a24d
cmp dword [esp + 0x10], 1
jle 0x45a240
lea eax, [ebx + 1]
xor edi, edi
mov dword [esp + 0x18], eax
lea eax, [edi + 1]
mov ecx, esi
push eax
push ebx
mov dword [esp + 0x30], eax
call fcn.0045b880
mov ecx, dword [esp + 0x28]
and eax, 0xff
mov dword [esp + 0x4c], eax
lea eax, [ebx - 1]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.0045b880
mov edx, dword [esp + 0x28]
and eax, 0xff
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
push edx
push eax
mov ecx, esi
call fcn.0045b880
and eax, 0xff
push edi
push ebx
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.0045b880
and eax, 0xff
mov ecx, esi
mov dword [esp + 0x34], eax
lea eax, [edi + 2]
push eax
push ebx
call fcn.0045b880
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
sub ecx, edx
and eax, 0xff
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x34]
fild dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
sub eax, ecx
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x18]
fmul qword [0x512be8]
lea ebx, [edi + 2]
push ebx
push ecx
mov ecx, esi
fstp qword [esp + 0x44]
fild dword [esp + 0x34]
fmul qword [0x512be8]
fstp qword [esp + 0x34]
fild dword [esp + 0x54]
fst qword [esp + 0x54]
fadd st(0), st(0)
fild dword [esp + 0x40]
fsub st(1)
fiadd dword [esp + 0x4c]
fstp qword [esp + 0x4c]
fild dword [esp + 0x64]
fsub st(1)
fiadd dword [esp + 0x3c]
fstp qword [esp + 0x64]
fstp st(0)
call fcn.0045b880
mov dl, al
mov eax, dword [esp + 0x1c]
and edx, 0xff
push ebx
push eax
mov ecx, esi
mov ebx, edx
call fcn.0045b880
and eax, 0xff
sub ebx, eax
push edi
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0045b880
mov edx, dword [esp + 0x14]
and eax, 0xff
sub ebx, eax
push edi
lea eax, [edx - 1]
mov ecx, esi
push eax
call fcn.0045b880
and eax, 0xff
add ebx, eax
mov dword [esp + 0x1c], ebx
fild dword [esp + 0x1c]
fmul qword [0x512df0]
fstp qword [esp + 0x1c]
fld qword [esp + 0x2c]
fmul qword [esp + 0x2c]
fld qword [esp + 0x3c]
fmul qword [esp + 0x3c]
fld st(1)
fadd qword [0x50f370]
fmul qword [esp + 0x44]
fld qword [esp + 0x1c]
fmul qword [esp + 0x2c]
fmul qword [esp + 0x3c]
fsubp st(1)
fld st(1)
fadd qword [0x50f370]
fmul qword [esp + 0x5c]
faddp st(1)
fstp qword [esp + 0x3c]
faddp st(1)
fadd qword [0x50f370]
fdivr qword [esp + 0x3c]
fmul dword [ebp + 0xc]
fadd qword [esp + 0x4c]
fld qword [0x50ec70]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x45a1f9
fld qword [0x50ec68]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x45a1f9
fstp st(0)
fld qword [0x50ec68]
jmp 0x45a210
fld qword [0x50ec70]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x45a210
fstp st(0)
fld qword [0x50ec70]
call fcn.004b0f30
mov edi, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x18]
push edi
push eax
lea ecx, [esp + 0x74]
call fcn.0045bbb0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
lea ecx, [edi + 1]
cmp ecx, eax
jl 0x45a044
mov edi, dword [esp + 0x58]
inc ebx
cmp ebx, edi
mov dword [esp + 0x14], ebx
jl 0x45a030
xor ebx, ebx
test edi, edi
jl 0x45a28c
push 0
push ebx
mov ecx, esi
call fcn.0045b880
push eax
push 0
push ebx
lea ecx, [esp + 0x74]
call fcn.0045bbb0
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
push ebx
call fcn.0045b880
push eax
mov eax, dword [esp + 0x14]
push eax
push ebx
lea ecx, [esp + 0x74]
call fcn.0045bbb0
inc ebx
cmp ebx, edi
jle 0x45a253
mov eax, dword [esp + 0x10]
xor ebx, ebx
test eax, eax
jl 0x45a2cb
push ebx
push 0
mov ecx, esi
call fcn.0045b880
push eax
push ebx
push 0
lea ecx, [esp + 0x74]
call fcn.0045bbb0
push ebx
push edi
mov ecx, esi
call fcn.0045b880
push eax
push ebx
push edi
lea ecx, [esp + 0x74]
call fcn.0045bbb0
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jle 0x45a296
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
call fcn.0044d210
lea ecx, [esp + 0x68]
mov dword [esp + 0x218], 0xffffffff
mov dword [esp + 0x68], 0x50d434
call fcn.0044ccf0
mov ecx, dword [esp + 0x210]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8