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

Disassembly:
push 0xffffffffffffffff
push 0x528810
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x34]
call fcn.00487f90
mov esi, dword [esp + 0xa8]
xor ebx, ebx
xor edi, edi
mov dword [esp + 0xa0], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
jle 0x4a044d
mov eax, dword [esi + 4]
lea ecx, [eax + ebx + 0x28]
push ecx
lea ecx, [esp + 0x38]
call fcn.004880c0
mov eax, dword [esi + 8]
inc edi
add ebx, 0x48
cmp edi, eax
jl 0x4a0431
lea ecx, [esp + 0x34]
call fcn.00488350
fdivr qword [0x537520]
fcomp qword [0x531798]
fnstsw ax
test ah, 1
je 0x4a047b
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x3ff00000
jmp 0x4a048e
lea ecx, [esp + 0x34]
call fcn.00488350
fdivr qword [0x537520]
fstp qword [esp + 0x28]
lea ecx, [esp + 0x34]
call fcn.00488370
fdivr qword [0x537520]
lea ecx, [esp + 0x34]
fcomp qword [esp + 0x28]
fnstsw ax
test ah, 1
je 0x4a04d7
call fcn.00488350
fdivr qword [0x537520]
fcomp qword [0x531798]
fnstsw ax
test ah, 1
je 0x4a04cc
fld qword [0x531798]
jmp 0x4a04e2
lea ecx, [esp + 0x34]
call fcn.00488350
jmp 0x4a04dc
call fcn.00488370
fdivr qword [0x537520]
call fcn.0051be16
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x34]
fild dword [esp + 0x30]
fstp qword [esp + 0x28]
fld qword [0x534228]
fdiv qword [esp + 0x28]
fadd qword [0x531798]
fld qword [esp + 0x34]
fsub st(1)
fstp qword [esp + 0x34]
fld qword [esp + 0x3c]
fsub st(1)
fstp qword [esp + 0x3c]
fld qword [esp + 0x44]
fadd st(1)
fstp qword [esp + 0x44]
fld qword [esp + 0x4c]
fadd st(1)
fstp qword [esp + 0x4c]
fstp st(0)
call fcn.00488350
fmul qword [esp + 0x28]
fadd qword [0x531798]
call fcn.0051be16
mov ebx, eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ebx
call fcn.00488370
fmul qword [esp + 0x28]
fadd qword [0x531798]
call fcn.0051be16
mov ebp, eax
mov dword [esp + 0x24], eax
imul ebp, ebx
mov edi, ebp
mov dword [esp + 0x6c], ebp
shl edi, 4
push edi
call fcn.0051af44
mov edx, eax
mov ecx, edi
mov dword [esp + 0x24], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x54], 0
rep stosb byte es:[edi], al
mov eax, dword [esi + 8]
test eax, eax
jle 0x4a072d
xor edi, edi
mov dword [esp + 0x30], edi
mov eax, dword [esi + 4]
lea ecx, [esp + 0x70]
add eax, edi
push eax
call fcn.004888d0
fld qword [0x534160]
fdiv qword [esp + 0x80]
sub esp, 8
lea ecx, [esp + 0x78]
sub esp, 8
mov byte [esp + 0xb0], 1
fld st(0)
fadd qword [0x531798]
fstp qword [esp + 8]
fchs
fstp qword [esp]
call fcn.00488bc0
fld qword [esp + 0x28]
fld qword [esp + 0x78]
fadd qword [esp + 0x90]
mov esi, dword [esi + 4]
add edi, esi
fsub qword [esp + 0x3c]
mov dword [esp + 0x18], edi
fmul st(1)
fadd qword [0x531170]
call fcn.0051be16
fld qword [esp + 0x88]
fadd qword [esp + 0x70]
mov edi, eax
fsub qword [esp + 0x34]
fmul st(1)
fadd qword [0x531170]
call fcn.0051be16
fld qword [esp + 0x78]
fsub qword [esp + 0x3c]
mov esi, eax
mov dword [esp + 0x10], esi
fmul st(1)
fadd qword [0x531170]
call fcn.0051be16
fld qword [esp + 0x70]
fsub qword [esp + 0x34]
mov ebp, eax
fmul st(1)
fadd qword [0x531170]
call fcn.0051be16
mov ecx, ebp
mov edx, esi
imul ecx, ebx
fstp st(0)
mov ebx, dword [esp + 0x20]
add ecx, eax
shl ecx, 4
mov esi, edi
sub edx, eax
add ecx, ebx
mov ebx, dword [esp + 0x18]
sub esi, ebp
test edx, edx
mov dword [ecx], ebx
mov dword [ecx + 0xc], 1
jne 0x4a06c7
test esi, esi
je 0x4a06ee
test esi, esi
jle 0x4a07a1
mov edi, 1
cmp esi, edi
jl 0x4a06ee
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, ebx
shl eax, 4
add ecx, eax
dec esi
mov dword [ecx], edx
mov dword [ecx + 0xc], edi
jne 0x4a06bb
jmp 0x4a06f2
jle 0x4a0770
test esi, esi
jne 0x4a0770
cmp edx, 1
jl 0x4a06ee
mov eax, dword [esp + 0x18]
mov esi, 1
add ecx, 0x10
dec edx
mov dword [ecx], eax
mov dword [ecx + 0xc], esi
jne 0x4a06e3
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x70]
mov byte [esp + 0xa0], 0
call fcn.00519440
mov esi, dword [esp + 0xa8]
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x30]
inc eax
mov ecx, dword [esi + 8]
add edi, 0x48
cmp eax, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x30], edi
jl 0x4a05b1
mov ebp, dword [esp + 0x6c]
dec ebp
test ebp, ebp
jl 0x4a094d
mov edi, dword [esp + 0x20]
mov esi, ebp
shl esi, 4
add esi, edi
inc ebp
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4a0765
push ebx
push esi
call fcn.0049fd80
add esp, 8
test eax, eax
je 0x4a0765
push ebx
push eax
call fcn.0049fd80
add esp, 8
test eax, eax
jne 0x4a0757
sub esi, 0x10
dec ebp
jne 0x4a0742
jmp 0x4a0951
test edx, edx
jge 0x4a07d3
test esi, esi
jne 0x4a07d5
cmp edx, 1
jg 0x4a06ee
mov eax, 2
mov esi, 1
sub eax, edx
mov edx, dword [esp + 0x18]
sub ecx, 0x10
dec eax
mov dword [ecx], edx
mov dword [ecx + 0xc], esi
jne 0x4a0791
jmp 0x4a06ee
jge 0x4a07fb
mov edi, 1
cmp esi, edi
jg 0x4a06ee
mov ebx, dword [esp + 0x14]
mov eax, 2
mov edx, ebx
shl edx, 4
sub eax, esi
mov esi, dword [esp + 0x18]
sub ecx, edx
dec eax
mov dword [ecx], esi
mov dword [ecx + 0xc], edi
jne 0x4a07c4
jmp 0x4a06f2
test esi, esi
jge 0x4a07fb
test edx, edx
jge 0x4a07fb
mov ecx, edi
mov ebx, dword [esp + 0x10]
imul ecx, dword [esp + 0x14]
add ecx, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov edi, ebp
shl ecx, 4
neg edx
neg esi
add ecx, eax
mov ebx, dword [esp + 0x14]
cmp esi, edx
jg 0x4a0846
test esi, esi
jle 0x4a0842
mov ebp, edx
neg ebp
cmp edx, 1
jl 0x4a0842
mov dword [esp + 0x1c], edx
lea eax, [esi + esi]
add ecx, 0x10
add ebp, eax
js 0x4a082a
mov eax, ebx
shl eax, 4
add ecx, eax
lea eax, [edx + edx]
sub ebp, eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 0xc], 1
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
jne 0x4a0814
cmp edx, esi
jge 0x4a0889
test edx, edx
jle 0x4a0889
mov ebp, esi
neg ebp
cmp esi, 1
jl 0x4a0889
mov eax, ebx
mov dword [esp + 0x1c], esi
shl eax, 4
lea ebx, [edx + edx]
add ecx, eax
add ebp, ebx
js 0x4a086d
lea ebx, [esi + esi]
add ecx, 0x10
sub ebp, ebx
mov ebx, dword [esp + 0x18]
mov dword [ecx + 0xc], 1
mov dword [ecx], ebx
mov ebx, dword [esp + 0x1c]
dec ebx
mov dword [esp + 0x1c], ebx
jne 0x4a085c
mov ebx, dword [esp + 0x14]
test esi, esi
jge 0x4a08a9
test edx, edx
jle 0x4a08a9
imul edi, ebx
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
add edi, ebp
shl edi, 4
neg edx
neg esi
add edi, eax
mov ecx, edi
lea eax, [edx + edx]
lea ebp, [esi + esi]
test edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ebp
jge 0x4a06f2
mov eax, edx
neg eax
cmp eax, esi
mov dword [esp + 0x68], eax
jl 0x4a090f
test esi, esi
jle 0x4a0907
cmp edx, 1
jg 0x4a0907
mov edi, dword [esp + 0x18]
mov eax, 2
sub eax, edx
sub ecx, 0x10
add edx, ebp
js 0x4a08f7
mov ebp, ebx
shl ebp, 4
add ecx, ebp
mov ebp, dword [esp + 0x1c]
add edx, ebp
mov ebp, dword [esp + 0x10]
dec eax
mov dword [ecx], edi
mov dword [ecx + 0xc], 1
jne 0x4a08df
mov eax, dword [esp + 0x68]
cmp eax, esi
jge 0x4a06f2
test esi, esi
jle 0x4a06f2
mov eax, esi
neg eax
cmp esi, 1
jl 0x4a06f2
mov edx, ebx
shl edx, 4
mov edi, dword [esp + 0x1c]
add ecx, edx
sub eax, edi
js 0x4a0938
sub ecx, 0x10
sub eax, ebp
mov edi, dword [esp + 0x18]
dec esi
mov dword [ecx], edi
mov dword [ecx + 0xc], 1
jne 0x4a0929
jmp 0x4a06f2
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
push esi
push ebx
push edi
push 0
push 0
call fcn.0049fef0
push esi
push ebx
push edi
call fcn.004a0260
mov edi, eax
add esp, 0x20
xor edx, edx
mov ecx, edi
mov esi, dword [edi + 4]
lea eax, [edi + 4]
test esi, esi
mov esi, dword [esp + 0xac]
mov dword [esp + 0x10], edx
je 0x4a09b4
mov edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x10], edx
mov edx, dword [eax]
mov ebp, dword [edx]
cmp ebp, dword [ecx]
jne 0x4a099f
mov edx, dword [edx + 4]
mov dword [eax], edx
jmp 0x4a09a1
mov ecx, edx
mov edx, dword [ecx + 4]
lea eax, [ecx + 4]
test edx, edx
jne 0x4a0987
mov edx, dword [esp + 0x10]
cmp edx, 0xffffffff
je 0x4a09b7
mov dword [esi + 0x10], edx
mov eax, dword [esi + 4]
test eax, eax
je 0x4a09ce
push eax
call fcn.0051aee4
add esp, 4
mov dword [esi + 4], 0
mov ebp, dword [esp + 0x20]
xor eax, eax
cmp edi, eax
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
je 0x4a0a49
mov ecx, edi
sub esp, 0x10
sub ecx, ebp
sar ecx, 4
mov eax, ecx
cdq
idiv ebx
mov eax, ecx
mov ecx, esp
mov dword [esp + 0x34], edx
fild dword [esp + 0x34]
cdq
fdiv qword [esp + 0x38]
idiv ebx
fadd qword [esp + 0x44]
fstp qword [esp + 0x68]
mov edx, dword [esp + 0x68]
mov dword [ecx], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 8]
fild dword [esp + 0x34]
mov dword [ecx + 4], edx
push eax
fdiv qword [esp + 0x3c]
fadd qword [esp + 0x50]
fstp qword [esp + 0x74]
mov edx, dword [esp + 0x74]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x78]
mov dword [ecx + 0xc], edx
mov ecx, esi
call fcn.004a6900
mov edi, dword [edi + 4]
test edi, edi
jne 0x4a09de
mov eax, dword [esi + 4]
mov edi, dword [esi + 8]
push 0xffffffffffffffff
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x60], ecx
lea ecx, [edi + 1]
mov edx, dword [eax + 8]
push ecx
mov ecx, esi
mov dword [esp + 0x68], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x6c], eax
call fcn.004c4110
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x60]
shl edi, 4
add edi, edx
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
push ebp
mov dword [edi], ebx
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
call fcn.0051aee4
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0xa0], 0xffffffff
call fcn.00519440
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x94
ret