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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5469f2
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x598c90]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, 0x5663e4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], 0
call fcn.0041ae90
mov edi, dword [ebp + 0x10]
lea esi, [esp + 0x2c]
mov eax, edi
call fcn.0041d420
mov ecx, esi
mov byte [esp + 0x13], al
call fcn.0041add0
cmp byte [esp + 0x13], 0
je 0x48720e
lea eax, [esp + 0x4c]
call fcn.00486780
fld dword [ebp + 0x1c]
mov esi, dword [ebp + 0x24]
mov eax, dword [ebp + 0xc]
push esi
sub esp, 0xc
mov dword [esp + 0x80], 0
fstp dword [esp + 8]
fld dword [ebp + 0x18]
mov ecx, edi
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push eax
lea eax, [esp + 0x60]
call fcn.00486e10
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x58]
push edx
xor ecx, ecx
call fcn.00487a20
fld dword [ebp + 0x18]
mov eax, dword [esi]
fsub dword [esp + 0x40]
mov ecx, eax
shr ecx, 5
fstp dword [esp + 0x14]
test cl, 1
je 0x4870d2
fld dword [ebp + 0x20]
fsub dword [esp + 0x48]
fmul qword [0x572c90]
jmp 0x4870e0
shr eax, 4
test al, 1
je 0x4870e8
fld dword [ebp + 0x20]
fsub dword [esp + 0x48]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
sub esp, 8
fstp dword [esp + 4]
or edx, 0xffffffff
fldz
xor ecx, ecx
lea esi, [esp + 0x54]
fstp dword [esp]
call fcn.004877f0
mov ecx, dword [ebx + 0xc]
add ecx, dword [esp + 0x58]
cmp ecx, dword [ebx + 8]
jle 0x487127
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea edi, [eax + ecx + 8]
and edi, 0xfffffff8
mov esi, ebx
call fcn.004d4980
xor eax, eax
cmp dword [esp + 0x58], eax
mov dword [esp + 0x2c], eax
jle 0x4871cf
jmp 0x487140
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x4c]
mov edi, dword [ebx + 8]
mov eax, dword [edx + eax*4]
inc ecx
cmp ecx, edi
mov dword [esp + 0x30], eax
jle 0x4871aa
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx + 8]
and esi, 0xfffffff8
cmp edi, esi
je 0x4871aa
mov eax, dword [ebx]
test esi, esi
jle 0x487198
test eax, eax
jne 0x487183
lea ecx, [esi*4]
push ecx
call fcn.0051ef12
mov dword [ebx], eax
jmp 0x4871a4
lea edx, [esi*4]
push edx
push eax
call fcn.0051f11a
add esp, 8
mov dword [ebx], eax
jmp 0x4871a7
push eax
call fcn.0051ee35
mov dword [ebx], 0
add esp, 4
mov dword [ebx + 8], esi
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx]
lea ecx, [eax + 1]
mov dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + eax*4], ecx
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
jl 0x487140
xor esi, esi
cmp dword [esp + 0x54], esi
je 0x4871ec
mov edx, dword [esp + 0x4c]
push edx
call fcn.0051ee35
add esp, 4
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], esi
lea eax, [esp + 0x4c]
mov dword [esp + 0x58], esi
call fcn.00486880
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebx + 0xc]
lea eax, [esp + 0x30]
push eax
push ecx
mov dword [esp + 0x20], edi
call fcn.0041cea0
fld dword [ebp + 0x18]
mov esi, dword [ebp + 0xc]
sub esp, 8
mov dword [esp + 0x78], 1
fstp dword [esp + 4]
fld dword [ebp + 0x14]
mov ecx, eax
fstp dword [esp]
push ebx
mov eax, esi
call fcn.00486940
lea ecx, [esp + 0x30]
mov dword [esp + 0x70], 0xffffffff
call fcn.0041add0
mov ecx, dword [ebx + 0xc]
cmp ecx, edi
jle 0x4877d0
mov eax, dword [ebx]
mov edx, dword [eax + ecx*4 - 4]
mov eax, dword [eax + edi*4]
fld dword [eax]
fstp dword [esp + 0x2c]
fld dword [edx + 8]
fadd dword [edx]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x1c]
fldz
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jnp 0x4877ce
fld st(0)
fld dword [ebp + 0x2c]
fld st(0)
fmulp st(2)
fld dword [ebp + 0x1c]
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 0x41
jne 0x48731f
fstp st(0)
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4872dc
fdivrp st(1)
push ecx
sub ecx, edi
mov eax, edi
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp]
push ebx
call fcn.00487990
fld dword [ebp + 0x1c]
jmp 0x4872de
fstp st(1)
fld dword [ebp + 0x20]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp + 0x24]
sub esp, 0x10
fstp dword [esp + 0xc]
sub edx, edi
mov ecx, ebx
fstp dword [esp + 8]
fld dword [ebp + 0x18]
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push edx
push edi
call fcn.00487ad0
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
cmp dword [ebp + 0x28], 1
fstp st(2)
jg 0x48736e
mov eax, dword [ebp + 0x24]
fxch st(1)
push ecx
fstp dword [esp]
push eax
fld dword [ebp + 0x20]
push esi
sub esp, 0x10
fstp dword [esp + 0xc]
sub ecx, edi
mov esi, edi
fstp dword [esp + 8]
mov edi, ebx
fld dword [ebp + 0x18]
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push ecx
call fcn.00487850
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov eax, esi
fstp st(0)
lea esi, [esp + 0x3c]
fstp st(0)
call fcn.004859b0
mov edx, dword [ebp + 0x10]
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x78], 2
call fcn.0041cea0
lea eax, [esp + 0x20]
mov byte [esp + 0x70], 3
call fcn.0041b3c0
mov esi, eax
cmp esi, 0xc
mov ecx, 1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x14], ecx
jg 0x4873ed
mov eax, str.___t_r_n
lea ecx, [esp + 0x24]
call fcn.0041ae90
lea esi, [esp + 0x24]
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 1
call fcn.0041d420
mov esi, dword [esp + 0x2c]
mov ecx, 1
mov byte [esp + 0x13], cl
test al, al
je 0x4873f2
mov byte [esp + 0x13], 0
test byte [esp + 0x28], 1
je 0x487407
lea ecx, [esp + 0x24]
call fcn.0041add0
mov ecx, 1
cmp byte [esp + 0x13], 0
je 0x487411
mov dword [ebp + 0x28], ecx
cmp esi, dword [ebp + 0x28]
jge 0x487419
mov dword [ebp + 0x28], esi
cmp dword [ebp + 0x28], ecx
jle 0x487512
fld dword [0x5730e8]
add dword [esp + 0x14], ecx
fild dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
fstp dword [esp + 0x24]
fld dword [ebp + 0x20]
fdiv dword [esp + 0x24]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld dword [eax + 0xc]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4874d8
fcom qword [0x572cf0]
fnstsw ax
test ah, 0x41
jne 0x487468
fstp st(1)
jmp 0x48746a
fstp st(0)
fstp dword [esp + 0x2c]
push ecx
fld dword [esp + 0x30]
lea eax, [esp + 0x40]
fstp dword [esp]
call fcn.00485cd0
push edi
or ecx, 0xffffffff
mov eax, ebx
call fcn.00486920
fld dword [ebp + 0x18]
sub esp, 8
fstp dword [esp + 4]
lea ecx, [esp + 0x28]
fld dword [ebp + 0x14]
lea eax, [esp + 0x44]
fstp dword [esp]
push ebx
call fcn.00486940
mov eax, dword [ebx]
mov ecx, dword [ebx + 0xc]
mov ecx, dword [eax + ecx*4 - 4]
fld dword [ecx + 8]
mov edx, dword [eax + edi*4]
fadd dword [ecx]
mov ecx, 1
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fsub dword [edx]
fstp dword [esp + 0x1c]
fld dword [esp + 0x28]
fld dword [0x5730e8]
fxch st(1)
fld dword [esp + 0x24]
fld dword [esp + 0x1c]
fdiv dword [ebp + 0x1c]
fcompp
fnstsw ax
test ah, 5
jnp 0x487504
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x487506
mov eax, dword [esp + 0x14]
cmp eax, dword [ebp + 0x28]
jl 0x487428
jmp 0x487506
fstp st(0)
cmp dword [esp + 0x14], ecx
fstp st(0)
jge 0x487512
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x14], 0
fld dword [ebp + 0x18]
fstp dword [esp + 0x28]
mov dword [esp + 0x2c], 0
fld dword [esp + 0x1c]
fidiv dword [esp + 0x14]
fstp dword [esp + 0x24]
jle 0x4876a4
jmp 0x487544
mov edi, dword [esp + 0x18]
mov ecx, dword [ebx]
fld dword [esp + 0x24]
mov eax, dword [ecx + edi*4]
fld dword [eax]
mov eax, dword [esp + 0x14]
lea edx, [ecx + edi*4]
fstp dword [esp + 0x1c]
dec eax
mov esi, edi
cmp dword [esp + 0x2c], eax
jne 0x487578
mov ecx, dword [ebx + 0xc]
fstp st(0)
fld dword [ebp + 0x1c]
mov dword [esp + 0x1c], ecx
fstp dword [esp + 0x24]
jmp 0x487618
cmp edi, dword [ebx + 0xc]
jge 0x4875b2
fld dword [esp + 0x1c]
mov eax, dword [edx]
fld dword [eax + 8]
fadd dword [eax]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fsub st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fcomp st(2)
fnstsw ax
test ah, 0x41
je 0x48770c
inc esi
add edx, 4
cmp esi, dword [ebx + 0xc]
jl 0x487581
fstp st(0)
fstp st(0)
mov edi, esi
test esi, esi
jle 0x4875d7
lea ebx, [ebx]
mov eax, dword [ebx]
mov eax, dword [eax + edi*4 - 4]
mov eax, dword [eax + 0x14]
call fcn.0041ab30
test al, al
je 0x4875d7
dec edi
test edi, edi
jg 0x4875c0
cmp esi, dword [ebx + 0xc]
jge 0x4875f7
lea esp, [esp]
mov ecx, dword [ebx]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 0x14]
call fcn.0041ab30
test al, al
je 0x4875f7
inc esi
cmp esi, dword [ebx + 0xc]
jl 0x4875e0
mov ecx, esi
sub ecx, edi
push edi
mov eax, ebx
call fcn.00486920
mov eax, dword [esp + 0x18]
inc eax
cmp edi, eax
mov dword [esp + 0x1c], eax
jl 0x487614
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x18]
mov eax, dword [ebp + 0x24]
call fcn.00479fe0
mov edx, dword [esp + 0x3c]
fld dword [edx + 0xc]
mov edx, dword [esp + 0x1c]
fstp dword [esp + 0x30]
push ecx
fld dword [ebp + 0x2c]
or eax, 0x20
fstp dword [esp]
mov dword [esp + 0x38], eax
fld dword [esp + 0x34]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x44]
push ecx
sub esp, 0x10
fstp dword [esp + 0xc]
sub edx, edi
fld dword [ebp + 0x1c]
mov esi, edi
fstp dword [esp + 8]
mov edi, ebx
fld dword [esp + 0x44]
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push edx
call fcn.00487850
mov ecx, dword [esp + 0x1c]
sub ecx, eax
cmp ecx, dword [ebx + 0xc]
mov eax, dword [esp + 0x3c]
fld dword [eax + 0xc]
mov dword [esp + 0x18], ecx
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
jge 0x4876a4
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
jl 0x487540
fld dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
mov eax, dword [esp + 0x38]
mov ecx, dword [ebx + 0xc]
sub esp, 0x10
fstp dword [esp + 0xc]
sub ecx, eax
fld dword [ebp + 0x1c]
and edx, 0xffffffbf
fstp dword [esp + 8]
mov dword [esp + 0x44], edx
fld dword [ebp + 0x18]
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push ecx
push eax
lea eax, [esp + 0x4c]
mov ecx, ebx
call fcn.00487ad0
lea ecx, [esp + 0x20]
call fcn.0041add0
lea edx, [esp + 0x3c]
push edx
call fcn.004859e0
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
cmp esi, dword [ebx + 0xc]
fstp st(1)
mov edx, esi
mov dword [esp + 0x30], edx
jge 0x4875b2
jmp 0x487728
fld dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov ecx, dword [ecx + esi*4]
fld dword [ecx + 8]
fadd dword [ecx]
fstp dword [esp + 0x34]
fsubr dword [esp + 0x34]
fmul dword [ebp + 0x2c]
fld dword [ebp + 0x1c]
fcompp
fnstsw ax
test ah, 0x41
jne 0x487769
mov eax, dword [ecx + 0x14]
call fcn.0041ab30
test al, al
jne 0x4877c8
mov ecx, dword [ebx]
mov edx, dword [ecx + esi*4]
cmp dword [edx + 0x14], 0x2d
je 0x4877c8
inc esi
cmp esi, dword [ebx + 0xc]
jl 0x487720
jmp 0x4875b4
mov eax, edx
sub eax, edi
dec eax
mov esi, edx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x34], eax
lea edi, [edx*4 - 4]
cmp eax, 5
jl 0x48778d
mov eax, 5
cmp dword [esp + 0x1c], eax
jge 0x4875b4
mov eax, dword [ebx]
mov eax, dword [edi + eax]
mov eax, dword [eax + 0x14]
call fcn.0041ab30
test al, al
jne 0x4877c0
mov ecx, dword [ebx]
mov edx, dword [edi + ecx]
cmp dword [edx + 0x14], 0x2d
je 0x4877c0
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
sub edi, 4
jmp 0x487783
mov esi, dword [esp + 0x30]
sub esi, dword [esp + 0x1c]
inc esi
jmp 0x4875b4
fstp st(0)
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28