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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0x78], eax
cmp edx, 2
jl 0x5d7755
mov edi, dword [ebp + 8]
mov eax, edi
sub eax, ecx
sar eax, 4
imul eax, eax, 0xcccccccd
lea esi, [edx - 2]
shr esi, 1
mov dword [esp + 0x1c], esi
cmp esi, eax
jl 0x5d7755
lea esi, [eax*2 + 1]
lea ebx, [esi + esi*4]
shl ebx, 4
add ebx, ecx
lea eax, [eax*2 + 2]
cmp eax, edx
mov dword [esp + 0xc], esi
jge 0x5d7747
mov esi, dword [ebx + 0x78]
cmp esi, dword [ebx + 0x28]
mov esi, dword [ebx + 0x7c]
sbb esi, dword [ebx + 0x2c]
lea esi, [ebx + 0x50]
cmovl ebx, esi
mov esi, dword [esp + 0xc]
cmovl esi, eax
mov dword [esp + 0xc], esi
mov eax, dword [edi + 0x28]
cmp eax, dword [ebx + 0x28]
mov eax, dword [edi + 0x2c]
sbb eax, dword [ebx + 0x2c]
jge 0x5d7768
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00566245
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea eax, [edi + 0x28]
mov dword [esp + 0x10], eax
lea esi, [esp + 0x30]
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
movups xmm0, xmmword [edi]
movaps xmmword [esi - 0x10], xmm0
lea eax, [edi + 0x10]
mov ecx, esi
push eax
call fcn.004f2860
mov eax, dword [edi + 0x24]
mov dword [esi + 0x14], eax
movsd xmm0, qword [edi + 0x1c]
movsd qword [esi + 0xc], xmm0
xorps xmm0, xmm0
movsd qword [edi + 0x1c], xmm0
mov dword [edi + 0x24], 0
mov eax, dword [esp + 0x10]
movsd xmm0, qword [eax + 0x20]
movsd qword [esi + 0x38], xmm0
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [esi + 0x28], xmm1
movups xmmword [esi + 0x18], xmm0
mov eax, dword [esp + 0xc]
jmp 0x5d7805
add ebx, 0x50
mov eax, ecx
lea edx, [esp + 0x30]
mov ecx, dword [esp + 0x48]
cmp ecx, dword [ebx + 0x28]
mov ecx, dword [esp + 0x4c]
sbb ecx, dword [ebx + 0x2c]
mov edi, esi
jl 0x5d78ac
mov dword [esp + 0xc], eax
mov esi, ebx
movups xmm0, xmmword [ebx]
movups xmmword [edi], xmm0
lea ecx, [edi + 0x10]
lea eax, [ebx + 0x10]
mov dword [esp + 0x10], eax
push eax
call fcn.0055b030
lea ebx, [edi + 0x1c]
cmp byte [edi + 0x27], 0
jns 0x5d7834
push dword [ebx]
call fcn.00562f60
add esp, 4
mov eax, dword [esi + 0x24]
mov dword [ebx + 8], eax
movsd xmm0, qword [esi + 0x1c]
movsd qword [ebx], xmm0
xor eax, eax
mov byte [esi + 0x27], al
mov byte [esi + 0x1c], al
movsd xmm0, qword [esi + 0x48]
movsd qword [edi + 0x48], xmm0
movups xmm0, xmmword [esi + 0x28]
movups xmm1, xmmword [esi + 0x38]
movups xmmword [edi + 0x38], xmm1
movups xmmword [edi + 0x28], xmm0
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0x1c], ecx
lea edx, [esp + 0x30]
jl 0x5d78ac
lea eax, [ecx*2 + 1]
lea ebx, [eax + eax*4]
shl ebx, 4
add ebx, dword [esp + 0x14]
lea ecx, [ecx*2 + 2]
cmp ecx, dword [esp + 0x18]
jge 0x5d77ef
mov edx, dword [ebx + 0x78]
cmp edx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x7c]
sbb edx, dword [ebx + 0x2c]
jge 0x5d77eb
jmp 0x5d77e6
lea ebx, [esi + 0x1c]
lea eax, [esi + 0x28]
mov dword [esp + 0xc], eax
movaps xmm0, xmmword [esp + 0x20]
movups xmmword [esi], xmm0
mov ecx, dword [esp + 0x10]
push edx
mov edi, edx
call fcn.0055b030
cmp byte [esi + 0x27], 0
jns 0x5d78da
push dword [ebx]
call fcn.00562f60
add esp, 4
mov eax, dword [edi + 0x14]
mov dword [ebx + 8], eax
movsd xmm0, qword [edi + 0xc]
movsd qword [ebx], xmm0
xor eax, eax
mov byte [esp + 0x47], al
mov byte [esp + 0x3c], al
movsd xmm0, qword [edi + 0x38]
mov eax, dword [esp + 0xc]
movsd qword [eax + 0x20], xmm0
movups xmm0, xmmword [edi + 0x18]
movups xmm1, xmmword [edi + 0x28]
movups xmmword [eax + 0x10], xmm1
movups xmmword [eax], xmm0
mov ecx, edi
call fcn.0055b010
jmp 0x5d7755