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

Disassembly:
push 0xffffffffffffffff
push 0x64aabb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x28]
lea ecx, [esi + 0x1c]
push eax
call fcn.0057772c
fld dword [esp + 0xc4]
fsub dword [eax + 8]
mov ecx, 0x20
xor ebx, ebx
mov edi, 0x40
fstp dword [esp + 0x20]
mov edx, ecx
fld dword [esp + 0xbc]
mov dword [esp + 0x10], ebx
fsub dword [eax]
mov ebp, edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], edx
fstp dword [esp + 0x28]
mov eax, ebp
sub eax, dword [esp + 0x10]
cmp eax, 1
je 0x5cfc92
mov eax, edx
imul eax, eax, 0x41
add eax, ecx
cmp dword [esi + eax*4 + 0xd8], 0xffffffff
je 0x5d0076
fild dword [esp + 0x24]
fmul dword [0x665fec]
fcomp dword [esp + 0x20]
fild dword [esp + 0x44]
fmul dword [0x665fec]
fnstsw ax
fcomp dword [esp + 0x28]
test ah, 5
fnstsw ax
jp 0x5cfc67
test ah, 5
mov dword [esp + 0x10], edx
jp 0x5cfc72
mov ebx, ecx
jmp 0x5cfc74
test ah, 5
mov ebp, edx
jp 0x5cfc72
mov ebx, ecx
jmp 0x5cfc74
mov edi, ecx
mov edx, dword [esp + 0x10]
add edx, ebp
mov eax, edi
lea ecx, [edi + ebx]
sar ecx, 1
sar edx, 1
sub eax, ebx
cmp eax, 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], edx
jne 0x5cfc15
mov eax, dword [esp + 0x10]
imul eax, eax, 0x41
lea ecx, [eax + ebx]
mov edx, dword [esi + ecx*4 + 0xd8]
add eax, edi
imul ebp, ebp, 0x41
mov eax, dword [esi + eax*4 + 0xd8]
lea ecx, [ebx + ebp]
mov dword [esp + 0x34], edx
mov edx, dword [esi + ecx*4 + 0xd8]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], eax
add ebp, edi
mov eax, dword [esi + ebp*4 + 0xd8]
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
mov edx, dword [esi + 0x84ec]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
mov dword [esp + 0xb4], ebx
mov dword [esp + 0x24], ebx
jle 0x5cff47
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x1df10]
add edx, eax
movzx eax, word [edx]
cmp eax, ecx
je 0x5cfd6e
cmp eax, dword [esp + 0x38]
je 0x5cfd6e
cmp eax, dword [esp + 0x3c]
je 0x5cfd6e
cmp eax, dword [esp + 0x40]
je 0x5cfd6e
movzx eax, word [edx + 2]
cmp eax, ecx
je 0x5cfd6e
cmp eax, dword [esp + 0x38]
je 0x5cfd6e
cmp eax, dword [esp + 0x3c]
je 0x5cfd6e
mov ebp, dword [esp + 0x40]
cmp eax, ebp
je 0x5cfd6e
movzx eax, word [edx + 4]
cmp eax, ecx
je 0x5cfd6e
cmp eax, dword [esp + 0x38]
je 0x5cfd6e
cmp eax, dword [esp + 0x3c]
je 0x5cfd6e
cmp eax, ebp
jne 0x5cff15
lea ecx, [esp + 0x94]
push ecx
lea ebp, [esi + 0x1c]
mov ecx, ebp
call fcn.0057772c
fld dword [eax]
cmp edi, ebx
mov edx, dword [esi + 0x1df10]
mov ecx, dword [esp + 0x10]
movzx ecx, word [ecx + edx]
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x1df0c]
lea ecx, [ecx + edx*4]
fadd dword [ecx]
fstp dword [esp + 0x58]
fld dword [eax + 4]
fadd dword [ecx + 4]
fstp dword [esp + 0x5c]
fld dword [eax + 8]
fadd dword [ecx + 8]
fstp dword [esp + 0x60]
jne 0x5cfdd8
test ebx, ebx
lea eax, [ebx + ebx]
jne 0x5cfdc6
mov eax, 0x10
push eax
lea ecx, [esp + 0x18]
call fcn.00527ab0
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea edx, [edi + edi*2]
lea ecx, [eax + edx*4]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [ecx], edx
mov edx, dword [esp + 0x60]
mov dword [ecx + 4], eax
lea eax, [esp + 0xa0]
mov dword [ecx + 8], edx
inc edi
push eax
mov ecx, ebp
mov dword [esp + 0x1c], edi
call fcn.0057772c
cmp edi, ebx
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x1df10]
movzx ecx, word [edx + ecx + 2]
mov edx, dword [esi + 0x1df0c]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4]
fld dword [ecx]
fadd dword [eax]
fstp dword [esp + 0x48]
fld dword [ecx + 4]
fadd dword [eax + 4]
fstp dword [esp + 0x4c]
fld dword [ecx + 8]
fadd dword [eax + 8]
fstp dword [esp + 0x50]
jne 0x5cfe63
test ebx, ebx
lea eax, [ebx + ebx]
jne 0x5cfe51
mov eax, 0x10
push eax
lea ecx, [esp + 0x18]
call fcn.00527ab0
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea eax, [edi + edi*2]
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [edx], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 4], ecx
lea ecx, [esp + 0x88]
push ecx
inc edi
mov ecx, ebp
mov dword [edx + 8], eax
mov dword [esp + 0x1c], edi
call fcn.0057772c
cmp edi, ebx
mov edx, dword [esi + 0x1df10]
mov ecx, dword [esp + 0x10]
movzx ecx, word [ecx + edx + 4]
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x1df0c]
lea ecx, [ecx + edx*4]
fld dword [ecx]
fadd dword [eax]
fstp dword [esp + 0x28]
fld dword [ecx + 4]
fadd dword [eax + 4]
fstp dword [esp + 0x2c]
fld dword [ecx + 8]
fadd dword [eax + 8]
fstp dword [esp + 0x30]
jne 0x5cfeee
test ebx, ebx
lea eax, [ebx + ebx]
jne 0x5cfedc
mov eax, 0x10
push eax
lea ecx, [esp + 0x18]
call fcn.00527ab0
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea edx, [edi + edi*2]
lea ecx, [eax + edx*4]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 4], eax
inc edi
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x84ec]
mov ebp, dword [esp + 0x24]
add eax, 6
mov dword [esp + 0x10], eax
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
cmp ebp, eax
mov dword [esp + 0x24], ebp
jl 0x5cfd11
xor ebx, ebx
mov eax, 0x55555556
imul edi
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp edi, ebx
mov dword [esp + 0x54], 0
jle 0x5d003e
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc4]
mov esi, dword [esp + 0x14]
mov eax, ecx
mov dword [esp + 0x28], ecx
mov ecx, edx
mov dword [esp + 0x2c], 0x47ea6000
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], ecx
add esi, 0x18
lea edx, [esi - 0x18]
mov eax, dword [edx]
mov dword [esp + 0x64], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x68], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x6c], edx
lea eax, [esi - 0xc]
mov ecx, dword [eax]
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x74], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x78], eax
mov ecx, esi
mov edx, dword [ecx]
mov dword [esp + 0x7c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x80], eax
mov ecx, dword [ecx + 8]
lea edx, [esp + 0x54]
push edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x88], ecx
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x38]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x5c]
mov dword [ecx + 4], ebp
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x60]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x70]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
call fcn.00576ca6
add esp, 0x20
test eax, eax
jne 0x5d00aa
inc ebx
add esi, 0x24
cmp ebx, edi
jl 0x5cffa2
xor ebx, ebx
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
cmp eax, ebx
je 0x5d0057
push eax
call fcn.00616a81
add esp, 4
mov ecx, dword [esp + 0xac]
fld dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa8
ret 0xc
mov eax, dword [esp + 0x10]
imul eax, eax, 0x41
lea ecx, [eax + ebx]
mov ecx, dword [esi + ecx*4 + 0xd8]
add eax, edi
imul ebp, ebp, 0x41
mov edx, dword [esi + eax*4 + 0xd8]
lea eax, [ebx + ebp]
mov dword [esp + 0x38], edx
mov edx, dword [esi + eax*4 + 0xd8]
mov dword [esp + 0x34], ecx
jmp 0x5cfcc5
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x5d004c