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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6acac1
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x94]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], esi
call fcn.005c8670
mov dword [esp + 0xe8], 0
movaps xmm0, xmmword [0x6d16a0]
movups xmmword [esp + 0x84], xmm0
test ebx, ebx
je 0x5cbc59
movd xmm0, dword [ebx]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x74], xmm0
movd xmm0, dword [ebx + 4]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x78], xmm0
movd xmm0, dword [ebx + 8]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x7c], xmm0
movd xmm0, dword [ebx + 0xc]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x80], xmm0
mov eax, dword [ebp + 0xc]
dec eax
mov dword [esp + 0x40], eax
test eax, eax
jle 0x5cbf64
mov eax, dword [esp + 0x38]
lea ecx, [ecx]
lea ecx, [esp + 0x44]
mov ebx, esi
push ecx
lea ecx, [esp + 0x88]
push ecx
push eax
call fcn.005f0b20
add esp, 0xc
test al, al
je 0x5cbf4f
mov edx, dword [esp + 0x30]
test edx, edx
je 0x5cbcbb
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.005f0b20
add esp, 0xc
test al, al
je 0x5cbf4f
mov edx, dword [esp + 0x30]
movss xmm1, dword [0x6ce47c]
movss xmm0, dword [esp + 0x44]
mulss xmm0, xmm1
cvttss2si edi, xmm0
movss xmm0, dword [esp + 0x48]
mulss xmm0, xmm1
mov dword [esp + 0x2c], edi
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0x4c]
mulss xmm0, xmm1
mov dword [esp + 0x28], esi
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x50]
mulss xmm0, xmm1
mov dword [esp + 0x1c], eax
cvttss2si ecx, xmm0
mov dword [esp + 0x3c], ecx
test edx, edx
je 0x5cbe1c
mov eax, dword [edx + 0xc]
shl eax, 6
mov dword [esp + 0x34], eax
mov eax, dword [edx + 8]
shl eax, 6
mov dword [esp + 0x20], eax
mov eax, dword [edx + 4]
mov edx, dword [edx]
shl eax, 6
shl edx, 6
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], edx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], eax
call fcn.005955a0
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
add ecx, 0x40
add eax, 0x40
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
cmp dword [esp + 0x64], ecx
jge 0x5cbf4b
cmp dword [esp + 0x68], eax
jge 0x5cbf4b
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
cmp edx, eax
jge 0x5cbf4b
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x34]
jge 0x5cbf4b
cmp dword [esp + 0x64], eax
jge 0x5cbf4b
cmp edx, dword [esp + 0x6c]
jge 0x5cbf4b
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x34]
jge 0x5cbf4b
cmp ecx, dword [esp + 0x70]
jge 0x5cbf4b
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x10], 0
jne 0x5cbe03
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x58]
call fcn.0058f6d0
test al, al
jne 0x5cbe18
mov eax, dword [esp + 0x30]
push 0
push eax
push dword [esp + 0x1c]
lea ecx, [esp + 0xa0]
call fcn.005c14a0
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov ecx, eax
sub ecx, edi
sub edx, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
test ecx, ecx
jns 0x5cbe3a
mov eax, ecx
neg eax
mov dword [esp + 0x20], eax
mov eax, edx
test edx, edx
jns 0x5cbe42
neg eax
cmp dword [esp + 0x20], eax
jle 0x5cbed0
mov esi, dword [esp + 0x1c]
cmp edi, esi
jle 0x5cbe66
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], edi
mov edi, esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
lea esi, [edi + 0x20]
add eax, 0x20
sar esi, 6
sar eax, 6
mov dword [esp + 0x24], eax
cmp esi, eax
je 0x5cbf4b
push 0x10
push ecx
push edx
call fcn.00594a60
mov edi, 0xffffffe0
mov dword [esp + 0x24], eax
sub edi, dword [esp + 0x38]
add esp, 0xc
and edi, 0x3f
imul edi, eax
mov eax, dword [esp + 0x28]
shl eax, 0xa
sar edi, 6
add edi, eax
lea ecx, [ecx]
mov edx, dword [ebx]
mov eax, edi
push 1
sar eax, 0x10
mov ecx, ebx
push eax
push esi
call dword [edx + 4]
add edi, dword [esp + 0x18]
inc esi
cmp esi, dword [esp + 0x24]
jl 0x5cbeb0
jmp 0x5cbf4b
mov edi, dword [esp + 0x3c]
cmp esi, edi
jle 0x5cbeee
mov ecx, dword [esp + 0x1c]
mov eax, esi
mov esi, edi
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x18]
mov edi, eax
mov dword [esp + 0x28], esi
add esi, 0x20
lea eax, [edi + 0x20]
sar eax, 6
sar esi, 6
mov dword [esp + 0x24], eax
cmp esi, eax
je 0x5cbf4b
push 0x10
push edx
push ecx
call fcn.00594a60
mov edi, 0xffffffe0
mov ecx, eax
sub edi, dword [esp + 0x34]
add esp, 0xc
mov eax, dword [esp + 0x2c]
and edi, 0x3f
imul edi, ecx
shl eax, 0xa
mov dword [esp + 0x18], ecx
sar edi, 6
add edi, eax
nop
mov edx, dword [ebx]
mov eax, edi
push 1
push esi
sar eax, 0x10
mov ecx, ebx
push eax
call dword [edx + 4]
add edi, dword [esp + 0x18]
inc esi
cmp esi, dword [esp + 0x24]
jl 0x5cbf30
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
add eax, 8
dec dword [esp + 0x40]
mov dword [esp + 0x38], eax
jne 0x5cbc70
mov dword [esp + 0xe8], 2
lea eax, [esp + 0xc0]
mov dword [esp + 0x18], eax
mov byte [esp + 0xe8], 2
mov ecx, eax
call fcn.005c09b0
mov byte [esp + 0xe8], 1
lea eax, [esp + 0xa0]
mov dword [esp + 0x18], eax
mov byte [esp + 0xe8], 1
mov ecx, eax
call fcn.005c09b0
mov dword [esp + 0xe8], 0xffffffff
lea eax, [esp + 0x94]
mov dword [esp + 0x18], eax
mov dword [esp + 0xe8], 0xffffffff
mov ecx, eax
call fcn.005c09b0
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.005472b9
mov esp, ebp
pop ebp
ret