Function at 0x5d8bb0
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 edi, edx
mov eax, dword [0x646040]
xor eax, ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov eax, edx
sub eax, ecx
sar eax, 4
imul eax, eax, 0xcccccccd
mov bl, 1
cmp eax, 5
ja case.default.0x5d8bec
jmp dword [eax*4 + 0x6395dc]
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00567335
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [edi - 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x28]
cmp eax, dword [edi - 0x28]
mov eax, dword [ecx + 0x2c]
sbb eax, dword [edi - 0x24]
jge case.0x5d8bec.0
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
call fcn.005d88c0
jmp case.0x5d8bec.0
add edi, 0xffffffb0
lea edx, [ecx + 0x50]
push edi
call fcn.005d8b00
add esp, 4
jmp case.0x5d8bec.0
add edi, 0xffffffb0
lea eax, [ecx + 0xa0]
lea edx, [ecx + 0x50]
push edi
push eax
call fcn.005d8e60
add esp, 8
jmp case.0x5d8bec.0
add edi, 0xffffffb0
lea eax, [ecx + 0xf0]
lea esi, [ecx + 0xa0]
lea edx, [ecx + 0x50]
push edi
push eax
push esi
call fcn.005d8a30
add esp, 0xc
jmp case.0x5d8bec.0
lea esi, [ecx + 0xa0]
lea edx, [ecx + 0x50]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
push esi
call fcn.005d8b00
mov ecx, dword [esp + 0x10]
add esp, 4
add ecx, 0xf0
cmp ecx, edi
je case.0x5d8bec.0
mov dword [esp + 0x10], 0
jmp 0x5d8dc9
mov eax, dword [esp + 0xc]
add eax, 0x50
cmp eax, edi
sete bl
jmp case.0x5d8bec.0
push dword [esi]
call fcn.00564050
add esp, 4
mov eax, dword [ebx + 0x24]
mov dword [esi + 8], eax
movsd xmm0, qword [ebx + 0x1c]
movsd qword [esi], xmm0
xor eax, eax
mov byte [ebx + 0x27], al
mov byte [ebx + 0x1c], al
movsd xmm0, qword [ebx + 0x48]
movsd qword [ebx + 0x98], xmm0
movups xmm0, xmmword [ebx + 0x28]
movups xmm1, xmmword [ebx + 0x38]
movups xmmword [ebx + 0x88], xmm1
movups xmmword [ebx + 0x78], xmm0
cmp ebx, dword [esp + 0x18]
je 0x5d8d3b
lea esi, [ebx - 0x50]
mov eax, dword [ebx - 0x28]
cmp eax, dword [esp + 0x48]
mov eax, dword [ebx - 0x24]
sbb eax, dword [esp + 0x4c]
jge 0x5d8d3b
mov ebx, esi
movups xmm0, xmmword [esi]
movups xmmword [esi + 0x50], xmm0
lea ecx, [esi + 0x60]
lea edi, [esi + 0x10]
push edi
call fcn.0055c220
add esi, 0x6c
cmp byte [ebx + 0x77], 0
jns 0x5d8ccb
jmp 0x5d8cc1
movaps xmm0, xmmword [esp + 0x20]
movups xmmword [ebx], xmm0
mov ecx, edi
lea edi, [esp + 0x30]
push edi
call fcn.0055c220
lea esi, [ebx + 0x1c]
cmp byte [ebx + 0x27], 0
jns 0x5d8d62
push dword [esi]
call fcn.00564050
add esp, 4
mov eax, dword [edi + 0x14]
mov dword [esi + 8], eax
movsd xmm0, qword [edi + 0xc]
movsd qword [esi], xmm0
add ebx, 0x28
xor eax, eax
mov byte [esp + 0x47], al
mov byte [esp + 0x3c], al
movsd xmm0, qword [edi + 0x38]
movsd qword [ebx + 0x20], xmm0
movups xmm0, xmmword [edi + 0x18]
movups xmm1, xmmword [edi + 0x28]
movups xmmword [ebx + 0x10], xmm1
movups xmmword [ebx], xmm0
mov esi, dword [esp + 0x10]
inc esi
mov ecx, edi
mov edi, dword [esp + 0x1c]
call fcn.0055c200
cmp esi, 8
je 0x5d8cb0
mov dword [esp + 0x10], esi
mov bl, 1
mov ecx, dword [esp + 0xc]
mov esi, ecx
lea eax, [ecx + 0x50]
mov ecx, eax
cmp eax, edi
je case.0x5d8bec.0
mov eax, dword [esi + 0x28]
cmp eax, dword [ecx + 0x28]
mov eax, dword [esi + 0x2c]
sbb eax, dword [ecx + 0x2c]
jge 0x5d8dba
lea eax, [ecx + 0x28]
mov dword [esp + 0x14], eax
lea edi, [esp + 0x30]
pcmpeqd xmm0, xmm0
movdqu xmmword [edi + 0x30], xmm0
movdqu xmmword [edi + 0x20], xmm0
movdqu xmmword [edi + 0x10], xmm0
movdqu xmmword [edi], xmm0
movups xmm0, xmmword [ecx]
movaps xmmword [esp + 0x20], xmm0
lea eax, [ecx + 0x10]
mov ebx, ecx
mov ecx, edi
push eax
call fcn.004f1860
mov eax, dword [ebx + 0x24]
mov dword [edi + 0x14], eax
movsd xmm0, qword [ebx + 0x1c]
movsd qword [edi + 0xc], xmm0
xorps xmm0, xmm0
movsd qword [ebx + 0x1c], xmm0
mov dword [esp + 0xc], ebx
mov dword [ebx + 0x24], 0
mov eax, dword [esp + 0x14]
movsd xmm0, qword [eax + 0x20]
movsd qword [edi + 0x38], xmm0
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [edi + 0x28], xmm1
movups xmmword [edi + 0x18], xmm0
jmp 0x5d8d1b