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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a5108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x38]
call fcn.00452ae0
mov eax, dword [edi + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp eax, esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x28], esi
jl 0x459434
call fcn.00402d00
test eax, eax
jne 0x45944d
cmp esi, 1
fild dword [esp + 0x28]
mov edx, dword [edi + 0x118]
mov ecx, dword [edi + 0x120]
fmul qword [ebp + 0x18]
mov eax, dword [edi + 0x11c]
mov dword [esp + 0x10], edx
mov edx, dword [edi + 0x124]
mov dword [esp + 0x18], ecx
fstp qword [esp + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
mov ecx, edi
jne 0x459042
push esi
jmp 0x459044
push 0
push 0x44
push 0
push 0
push 0
call fcn.00456a70
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
push ebx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], edx
mov edx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
push edx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.0042ad40
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
add esp, 0x20
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
push edx
mov ecx, edi
call fcn.00456d00
test eax, eax
je 0x4590e1
push 0
push 0x44
push 0
push 0
push 0
mov ecx, edi
mov dword [esp + 0x40], 1
call fcn.00456a70
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x459420
jmp 0x4590f2
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov esi, dword [ecx + 8]
mov ecx, dword [esi + 0xc]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x30], edx
jne 0x459125
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 8]
xor ecx, ecx
mov cx, word [esi + 0x14]
push eax
mov eax, dword [esi + 4]
push ecx
push 0
push edx
push eax
mov ecx, edi
call fcn.00456a70
jmp 0x4593fb
mov ecx, dword [esi + 0x18]
sar ecx, 8
sub ecx, 0x4c
je 0x4591c5
sub ecx, 2
je 0x459185
sub ecx, 5
jne 0x45922a
mov ecx, dword [esp + 0x10]
fld qword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x90], 0x53
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
fadd qword [esi + 0x30]
fstp qword [esp + 0x50]
fld qword [esp + 0x18]
fadd qword [esi + 0x38]
fstp qword [esp + 0x58]
jmp 0x45922a
mov ecx, dword [esp + 0x10]
fld qword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x90], 0x4e
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
fadd qword [esi + 0x30]
fstp qword [esp + 0x60]
fld qword [esp + 0x18]
fadd qword [esi + 0x38]
fstp qword [esp + 0x68]
jmp 0x45922a
mov eax, dword [esp + 0x20]
fld qword [esp + 0x10]
fadd qword [esi + 0x30]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ebx
push eax
fstp qword [esp + 0x68]
mov eax, dword [ebp + 0xc]
fld qword [esp + 0x20]
fadd qword [esi + 0x38]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
fstp qword [esp + 0x7c]
push ecx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.0042ad40
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
add esp, 0x20
push ecx
mov ecx, dword [esp + 0x64]
push edx
push eax
push ecx
mov ecx, edi
call fcn.00456d00
mov ecx, dword [esi + 0x18]
sar ecx, 8
cmp ecx, 0x4e
je 0x45923e
cmp ecx, 0x53
jne 0x45934e
mov edx, dword [esp + 0x20]
fld qword [esp + 0x10]
fsub qword [esi + 0x20]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push ebx
push edx
fstp qword [esp + 0x48]
mov edx, dword [ebp + 0xc]
fld qword [esp + 0x20]
fsub qword [esi + 0x28]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
fstp qword [esp + 0x5c]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x5c]
push edx
call fcn.0042ad40
mov eax, dword [esp + 0x40]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ebx
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x8c]
push eax
call fcn.0042ad40
mov ecx, dword [esp + 0x60]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
add esp, 0x40
push ebx
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.0042ad40
fld qword [esp + 0x78]
fsub qword [esp + 0x68]
add esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x60]
fsub qword [esp + 0x50]
fstp qword [esp]
call fcn.0046a0f9
add esp, 0x10
fstp qword [esp + 0x88]
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x98], 0
call fcn.00451c90
fld qword [esi + 0x48]
fsub qword [esi + 0x40]
fadd qword [esp + 0x70]
fst qword [esp + 0x78]
fsub qword [esp + 0x70]
fadd qword [0x4abe28]
fld qword [0x4b0690]
fadd st(0), st(0)
fcompp
fnstsw ax
test ah, 0x41
jp 0x459342
mov dword [esp + 0x94], 1
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call fcn.00457860
test eax, eax
fld qword [esp + 0x10]
fadd qword [esi + 0x30]
fstp qword [esp + 0x10]
fld qword [esp + 0x18]
fadd qword [esi + 0x38]
fstp qword [esp + 0x18]
je 0x45937c
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x2c], 1
mov dword [eax + 0x1c], edx
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x1b8]
push eax
lea ecx, [esp + 0x38]
push 0x4b072c
push ecx
mov dword [esp + 0xb8], 0
call fcn.00403140
mov ebx, dword [esp + 0x40]
add esp, 0xc
push ebx
push 0x3fe
mov ecx, 0x4d0ca0
call fcn.00482fa8
mov eax, dword [esp + 0x9c]
add ebx, 0xfffffff0
cmp esi, eax
mov dword [esp + 0xac], 0xffffffff
je 0x459409
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4593f7
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4590ee
jmp 0x459420
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x459420
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov esi, dword [esp + 0x28]
mov eax, dword [ebp + 0x20]
inc esi
cmp esi, eax
mov dword [esp + 0x28], esi
jle 0x458ff8
xor eax, eax
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xa4]
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 0x3e8
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c