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

Disassembly:
sub esp, 0x64
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
push edi
xor edi, edi
xor cl, cl
cmp eax, edi
jne 0x5ffa34
mov cl, 1
mov edx, dword [ebx + 8]
inc eax
cmp eax, edx
mov dword [ebx + 4], eax
jle 0x5ffa42
mov dword [ebx + 4], edi
test cl, cl
je 0x5ffddd
push ebp
push esi
mov ecx, ebx
call fcn.005ff9d0
push 0xffffffffffffffff
call fcn.0056e210
mov ebp, dword [esp + 0x80]
mov ecx, dword [ebp + 0x47c]
fld dword [ecx + 0xbc]
add esp, 4
fcomp dword [ecx + 0xc0]
cmp eax, ebp
sete byte [esp + 0x7c]
fnstsw ax
test ah, 0x41
jne 0x5ffa90
mov eax, dword [ecx + 0xbc]
mov dword [esp + 0x10], eax
jmp 0x5ffa9a
mov ecx, dword [ecx + 0xc0]
mov dword [esp + 0x10], ecx
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x5ffaaa
lea esi, [eax + 0x30]
mov dword [esp + 0x18], esi
jmp 0x5ffab3
lea edx, [ebp + 4]
mov dword [esp + 0x18], edx
mov esi, edx
fld dword [esi]
mov dword [esp + 0x14], edi
fsub dword [esp + 0x10]
mov eax, 0x7f7fffff
sub esp, 8
mov ecx, 0x10
fmul dword [0x858b38]
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
fadd dword [0x858b34]
fstp qword [esp]
call fcn.008219f0
add esp, 8
call fcn.00821b40
test eax, eax
jle 0x5ffb1b
fld dword [esi]
sub esp, 8
fsub dword [esp + 0x18]
fmul dword [0x858b38]
fadd dword [0x858b34]
fstp qword [esp]
call fcn.008219f0
add esp, 8
call fcn.00821b40
mov dword [esp + 0x24], eax
jmp 0x5ffb23
mov dword [esp + 0x24], 0
fld dword [esi + 4]
sub esp, 8
fsub dword [esp + 0x18]
fmul dword [0x858b38]
fadd dword [0x858b34]
fstp qword [esp]
call fcn.008219f0
add esp, 8
call fcn.00821b40
test eax, eax
jle 0x5ffb77
fld dword [esi + 4]
sub esp, 8
fsub dword [esp + 0x18]
fmul dword [0x858b38]
fadd dword [0x858b34]
fstp qword [esp]
call fcn.008219f0
add esp, 8
call fcn.00821b40
mov esi, eax
jmp 0x5ffb79
xor esi, esi
fld dword [esp + 0x10]
mov edi, dword [esp + 0x18]
fadd dword [edi]
sub esp, 8
fmul dword [0x858b38]
fadd dword [0x858b34]
fstp qword [esp]
call fcn.008219f0
add esp, 8
call fcn.00821b40
cmp eax, 0x77
jge 0x5ffbd2
fld dword [esp + 0x10]
sub esp, 8
fadd dword [edi]
fmul dword [0x858b38]
fadd dword [0x858b34]
fstp qword [esp]
call fcn.008219f0
add esp, 8
call fcn.00821b40
mov dword [esp + 0x1c], eax
jmp 0x5ffbda
mov dword [esp + 0x1c], 0x77
fld dword [esp + 0x10]
sub esp, 8
fadd dword [edi + 4]
fmul dword [0x858b38]
fadd dword [0x858b34]
fstp qword [esp]
call fcn.008219f0
add esp, 8
call fcn.00821b40
cmp eax, 0x77
jge 0x5ffc31
fld dword [esp + 0x10]
sub esp, 8
fadd dword [edi + 4]
fmul dword [0x858b38]
fadd dword [0x858b34]
fstp qword [esp]
call fcn.008219f0
add esp, 8
call fcn.00821b40
mov dword [esp + 0x20], eax
jmp 0x5ffc39
mov dword [esp + 0x20], 0x77
mov ax, word [0xb7cd78]
cmp ax, 0xffff
jae 0x5ffc49
inc ax
jmp 0x5ffc52
call fcn.00563470
mov ax, 1
mov word [0xb7cd78], ax
mov word [ebp + 0x2c], ax
cmp esi, dword [esp + 0x20]
mov ecx, esi
mov dword [esp + 0x2c], ecx
jg 0x5ffdac
lea esp, [esp]
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x1c]
mov edi, eax
mov dword [esp + 0x28], edi
jg 0x5ffd9b
mov esi, ecx
and esi, 0xf
shl esi, 4
mov dword [esp + 0x30], esi
mov eax, edi
and eax, 0xf
add eax, esi
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x78]
xor ecx, ecx
sub eax, ecx
lea edx, [edx*4 + 0xb992b8]
je 0x5ffcbb
dec eax
je 0x5ffcb6
dec eax
jne 0x5ffcbd
lea ecx, [edx + 8]
jmp 0x5ffcbd
lea ecx, [edx + 4]
jmp 0x5ffcbd
mov ecx, edx
mov ebp, dword [ecx]
test ebp, ebp
je 0x5ffd86
jmp 0x5ffcd0
mov edi, dword [ebp]
mov ax, word [0xb7cd78]
cmp word [edi + 0x2c], ax
mov ebp, dword [ebp + 4]
je 0x5ffd76
mov word [edi + 0x2c], ax
cmp dword [esp + 0x78], 1
jne 0x5ffd02
mov al, byte [esp + 0x7c]
test al, al
jne 0x5ffd02
cmp dword [edi + 0x530], 0x37
je 0x5ffd76
mov eax, dword [edi + 0x14]
test eax, eax
je 0x5ffd0e
add eax, 0x30
jmp 0x5ffd11
lea eax, [edi + 4]
mov ecx, dword [esp + 0x18]
fld dword [eax]
fsub dword [ecx]
fld dword [eax + 4]
fsub dword [ecx + 4]
fld dword [eax + 8]
fsub dword [ecx + 8]
fld st(0)
fmul st(1)
fld st(3)
fmul st(4)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
fld st(1)
fcompp
fnstsw ax
test ah, 5
jp 0x5ffd74
xor esi, esi
lea ecx, [ebx + 0xc]
cmp dword [ecx], 0
je 0x5ffde5
fcom dword [esp + esi*4 + 0x34]
fnstsw ax
test ah, 5
jnp 0x5ffdfb
inc esi
add ecx, 4
cmp esi, 0x10
jl 0x5ffd53
fstp st(0)
test ebp, ebp
jne 0x5ffcd0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
mov dword [esp + 0x28], edi
jle 0x5ffc90
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
inc ecx
cmp ecx, eax
mov dword [esp + 0x2c], ecx
jle 0x5ffc70
mov edi, dword [esp + 0x14]
test edi, edi
jle 0x5ffdc9
lea esi, [ebx + 0xc]
mov ecx, dword [esi]
test ecx, ecx
je 0x5ffdc3
push esi
call fcn.00571b70
add esi, 4
dec edi
jne 0x5ffdb7
mov ecx, dword [ebx + 0xc]
test ecx, ecx
pop esi
pop ebp
je 0x5ffddd
lea eax, [ebx + 0x4c]
push eax
mov dword [eax], ecx
call fcn.00571b70
pop edi
pop ebx
add esp, 0x64
ret 8
mov eax, dword [esp + 0x14]
fstp dword [esp + esi*4 + 0x34]
inc eax
mov dword [ebx + esi*4 + 0xc], edi
mov dword [esp + 0x14], eax
jmp 0x5ffd76
fild dword [esp + 0x14]
fcom dword [0x858b48]
fnstsw ax
test ah, 5
jnp 0x5ffe14
fstp st(0)
fld dword [0x858b48]
call fcn.00821b40
cmp eax, esi
jle 0x5ffe36
lea ecx, [ebx + eax*4 + 0xc]
mov edx, dword [ecx - 4]
mov dword [ecx], edx
mov edx, dword [esp + eax*4 + 0x30]
mov dword [esp + eax*4 + 0x34], edx
dec eax
sub ecx, 4
cmp eax, esi
jg 0x5ffe21
mov eax, dword [esp + 0x14]
fstp dword [esp + esi*4 + 0x34]
cmp eax, 0x10
mov dword [ebx + esi*4 + 0xc], edi
jge 0x5ffd76
inc eax
mov dword [esp + 0x14], eax
jmp 0x5ffd76