Function at 0x566d10
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 [0x5c7040]
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.0x566d4c
jmp dword [eax*4 + 0x5b7648]
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004f5620
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.0x566d4c.0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00566a00
jmp 0x566da1
add edi, 0xffffffb0
lea eax, [ecx + 0xa0]
lea edx, [ecx + 0x50]
push edi
push eax
call fcn.00566fc0
add esp, 8
jmp case.0x566d4c.0
add edi, 0xffffffb0
lea edx, [ecx + 0x50]
push edi
call fcn.00566c50
add esp, 4
jmp case.0x566d4c.0
add edi, 0xffffffb0
lea eax, [ecx + 0xf0]
lea esi, [ecx + 0xa0]
lea edx, [ecx + 0x50]
push edi
push eax
push esi
call fcn.00566b80
add esp, 0xc
jmp case.0x566d4c.0
lea esi, [ecx + 0xa0]
lea edx, [ecx + 0x50]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
push esi
call fcn.00566c50
mov ecx, dword [esp + 0x10]
add esp, 4
add ecx, 0xf0
cmp ecx, edi
je case.0x566d4c.0
mov dword [esp + 0x10], 0
jmp 0x566f2b
mov eax, dword [esp + 0xc]
add eax, 0x50
cmp eax, edi
sete bl
jmp case.0x566d4c.0
push dword [esi]
call fcn.004f50ae
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 0x566e9d
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 0x566e9d
mov ebx, esi
movups xmm0, xmmword [esi]
movups xmmword [esi + 0x50], xmm0
lea ecx, [esi + 0x60]
lea edi, [esi + 0x10]
push edi
call fcn.004ba590
add esi, 0x6c
cmp byte [ebx + 0x77], 0
jns 0x566e2d
jmp 0x566e23
movaps xmm0, xmmword [esp + 0x20]
movups xmmword [ebx], xmm0
mov ecx, edi
lea edi, [esp + 0x30]
push edi
call fcn.004ba590
lea esi, [ebx + 0x1c]
cmp byte [ebx + 0x27], 0
jns 0x566ec4
push dword [esi]
call fcn.004f50ae
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.004ba510
cmp esi, 8
je 0x566e12
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.0x566d4c.0
mov eax, dword [esi + 0x28]
cmp eax, dword [ecx + 0x28]
mov eax, dword [esi + 0x2c]
sbb eax, dword [ecx + 0x2c]
jge 0x566f1c
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.004ba3f0
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 0x566e7d