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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ecx]
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 0x484], 0
push esi
push edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x50], 0
jle 0x6540ef
fldz
add ecx, 0x888
sub edx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x78], edx
jmp 0x653cf9
mov ebx, dword [esp + 0x38]
mov eax, dword [ecx - 0x400]
mov edx, dword [ebp + 0x20]
cmp dword [edx + eax*4], 0
lea eax, [edx + eax*4]
mov dword [esp + 0x4c], eax
jne 0x653d1b
mov eax, dword [ecx]
cmp dword [edx + eax*4], 0
je 0x6540c9
mov eax, dword [ecx - 0x400]
mov ecx, dword [ecx]
mov edx, dword [ebp + 0x18]
add eax, eax
add eax, eax
mov esi, dword [eax + edx]
add ecx, ecx
add ecx, ecx
mov edi, dword [ecx + edx]
lea edx, [esi + ebx*4]
mov dword [esp + 0x30], edx
lea edx, [edi + ebx*4]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x60], edx
mov edx, dword [ebp + 0x1c]
mov eax, dword [eax + edx]
mov ecx, dword [ecx + edx]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], esi
mov esi, dword [ebp + 8]
mov eax, dword [edx + esi*4 + 0xfc]
fld qword [eax*8 + 0x6e3c60]
mov eax, dword [edx + esi*4 + 0x138]
add eax, eax
fstp dword [esp + 0x6c]
add eax, eax
fld qword [eax + eax + 0x6e3c60]
add eax, eax
mov dword [esp + 0x54], ecx
fstp dword [esp + 0x3c]
mov ecx, dword [ebx + 4]
cmp dword [ecx + 0x1f8], 0
mov dword [esp + 0x40], edi
je 0x653da2
mov ebx, dword [ecx + 0x200]
jmp 0x653da4
mov ebx, dword [ebx]
mov ecx, dword [ecx]
mov dword [esp + 0x10], ebx
mov ebx, ecx
shl ebx, 4
sub ebx, ecx
add ebx, esi
cmp dword [esp + 0x38], 0x3e8
mov ecx, dword [edx + ebx*4 + 0x84]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x18]
mov dword [edx], 1
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x20]
mov dword [ecx + edx*4], 1
jle 0x653dec
fld qword [eax + 0x6e3ca8]
fstp dword [esp + 0x3c]
mov eax, dword [ebp + 0x10]
xor edx, edx
cmp dword [eax], edx
mov dword [esp + 0x4c], edx
jle 0x6540c5
mov ecx, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x34], esi
fst dword [esp + 0x14]
test ecx, ecx
jle 0x653fd4
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
sub eax, edi
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
sub ecx, edx
mov dword [esp + 0x28], esi
sub edx, edi
add esi, edi
sub ebx, edi
sub eax, edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
jmp 0x653e68
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
cmp eax, dword [ebp + 0x24]
jge 0x653fa8
cmp eax, dword [esp + 0x48]
jl 0x653ea0
mov eax, dword [esp + 0x20]
fld dword [eax + esi]
fabs
fld dword [esp + 0x3c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x653e9e
fld dword [esi]
fabs
fcompp
fnstsw ax
test ah, 5
jnp 0x653ecd
jmp 0x653ea0
fstp st(0)
mov eax, dword [esp + 0x20]
fld dword [eax + esi]
fabs
fld dword [esp + 0x6c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x653f7e
fld dword [esi]
fabs
fcompp
fnstsw ax
test ah, 5
jp 0x653f80
lea eax, [edx + esi]
mov edi, dword [eax + ecx]
mov eax, dword [eax]
xor ecx, ecx
cmp eax, edi
setg cl
mov dword [esp + 0x74], eax
sub eax, edi
cdq
xor eax, edx
sub eax, edx
dec ecx
mov edx, eax
mov eax, 0x1f
sub eax, edx
mov edx, ecx
not edx
and edx, dword [esp + 0x74]
and ecx, edi
or edx, ecx
xor ecx, ecx
fld dword [edx*4 + 0x6e3cf0]
mov edx, dword [esp + 0x78]
test eax, eax
setl cl
sub esp, 8
dec ecx
and ecx, eax
fld dword [ecx*4 + 0x6e40f0]
mov eax, dword [esp + 0x24]
fadd qword [0x6a1450]
mov ecx, dword [edx + eax]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
fstp dword [esp + 0x7c]
fmul dword [esp + 0x7c]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fmul dword [ecx + edx]
fstp dword [ebx + esi]
fstp dword [eax + esi]
fld dword [ebx + esi]
fadd qword [0x6a1448]
fstp qword [esp]
call fcn.00630d80
fcomp qword [0x6a14f8]
mov edi, dword [esp + 0x48]
add esp, 8
fnstsw ax
test ah, 0x44
jp 0x653fb2
fld dword [ebx + esi]
fmul st(0), st(0)
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
jmp 0x653fb2
fstp st(1)
mov eax, dword [esp + 0x20]
fstp st(0)
fld dword [esi]
mov ecx, dword [esp + 0x24]
sub esp, 8
fstp dword [esp + 4]
add ecx, esi
fld dword [eax + esi]
lea edx, [ebx + esi]
fstp dword [esp]
call fcn.00652440
add esp, 8
jmp 0x653fb2
mov ecx, dword [esp + 0x24]
fst dword [ebx + esi]
fstp dword [ecx + esi]
mov eax, dword [esp + 0x2c]
fldz
add dword [esp + 0x28], 4
inc eax
add esi, 4
sub dword [esp + 0x44], 1
mov dword [esp + 0x2c], eax
jne 0x653e60
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
cmp dword [eax + 0x1f8], 0
je 0x65409f
mov dword [esp + 0x44], 0
test ecx, ecx
jle 0x65409f
mov ebx, dword [esp + 0x34]
jmp 0x654000
mov edx, dword [ebp + 0x10]
fld dword [esp + 0x14]
mov eax, dword [edx + 4]
fcomp qword [eax + 0x208]
fnstsw ax
test ah, 1
jne 0x65409f
mov edx, dword [esp + 0x1c]
fstp st(0)
mov eax, dword [edx]
mov esi, dword [ebx + eax]
cmp esi, dword [ebp + 0x24]
jge 0x654089
cmp esi, dword [esp + 0x48]
jl 0x654089
mov ecx, dword [esp + 0x30]
fld dword [ecx + esi*4]
sub esp, 8
fadd qword [0x6a1448]
fstp qword [esp]
call fcn.00630d80
fcomp qword [0x6a14f8]
mov ecx, dword [esp + 0x18]
add esp, 8
fnstsw ax
test ah, 0x44
jp 0x654089
mov eax, dword [esp + 0x30]
fld dword [eax + esi*4]
fstp dword [esp + 0x7c]
fld dword [esp + 0x14]
mov edx, dword [esp + 0x7c]
fsub qword [0x6a1450]
and edx, 0xbf800000
or edx, 0x3f800000
mov dword [eax + esi*4], edx
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x44]
fldz
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x44], eax
jl 0x654000
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x4c]
lea eax, [ecx*4]
add esi, eax
mov eax, dword [ebp + 0x10]
add edx, ecx
cmp edx, dword [eax]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x34], esi
jl 0x653e07
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
mov edx, dword [ebp + 0x14]
add dword [esp + 0x1c], 4
inc eax
add ecx, 4
cmp eax, dword [edx + 0x484]
mov dword [esp + 0x50], eax
mov dword [esp + 0x18], ecx
jl 0x653cf5
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret