Function at 0x565bc0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x900
mov ebp, dword [esp + 0x91c]
lea eax, [esp + 0x1f8]
push 0x708
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov eax, 0xf
lea edi, [esp + 0x248]
lea esi, [esp + 0xd0]
lea ebx, [esp + 0x30]
nop
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ebp
xorps xmm0, xmm0
movups xmmword [esp + 0xe0], xmm0
movups xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf0], 0
movups xmmword [esp + 0x40], xmm0
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov ecx, esi
mov edx, ebp
call fcn.00566150
lea edx, [ebp + 0x20]
mov ecx, ebx
call fcn.00566150
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0xf0]
mov ebp, dword [esp + 0xf4]
lea ebx, [edx + eax]
lea esi, [ecx + ebp]
mov dword [edi - 0x30], ebx
mov dword [edi - 0x2c], esi
sub eax, edx
add eax, 0x7fffffe
sub ecx, ebp
mov ebp, dword [esp + 0x20]
lea ebx, [esp + 0x30]
lea esi, [esp + 0xd0]
add ecx, 0x3fffffe
movdqu xmm0, xmmword [esp + 0x30]
movdqu xmm1, xmmword [esp + 0xd0]
movdqa xmm2, xmm1
paddd xmm2, xmm0
movdqu xmmword [edi - 0x50], xmm2
psubd xmm0, xmm1
paddd xmm0, xmmword [0x59dea0]
movdqu xmmword [edi - 0x28], xmm0
movdqu xmm0, xmmword [esp + 0x40]
movdqu xmm1, xmmword [esp + 0xe0]
movdqa xmm2, xmm1
paddd xmm2, xmm0
movdqu xmmword [edi - 0x40], xmm2
psubd xmm0, xmm1
paddd xmm0, xmmword [0x59deb0]
movdqu xmmword [edi - 0x18], xmm0
mov dword [edi - 8], eax
mov dword [edi - 4], ecx
mov ecx, edi
mov edx, esi
push ebx
call fcn.0056f7e0
add esp, 4
mov ecx, edi
mov edx, edi
push 0x59e0e0
call fcn.0056f7e0
mov eax, dword [esp + 0x14]
add esp, 4
add edi, 0x78
add ebp, 0x40
dec eax
jne 0x565c00
pxor xmm0, xmm0
mov eax, dword [esp + 0x914]
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax], xmm0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
lea ecx, [eax + 0x28]
mov dword [esp + 8], ecx
movdqu xmmword [eax + 0x2c], xmm0
movdqu xmmword [eax + 0x3c], xmm0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x28], 1
lea ecx, [eax + 0x50]
mov dword [esp + 4], ecx
movdqu xmmword [eax + 0x54], xmm0
movdqu xmmword [eax + 0x64], xmm0
mov dword [eax + 0x74], 0
mov dword [eax + 0x50], 1
lea ecx, [eax + 0x78]
mov dword [esp], ecx
movdqu xmmword [eax + 0x78], xmm0
movdqu xmmword [eax + 0x88], xmm0
mov dword [eax + 0x9c], 0
mov dword [eax + 0x98], 0
mov ecx, 0x3f
mov ebx, dword [esp + 4]
nop dword [eax]
mov eax, ecx
shr eax, 3
mov edi, dword [esp + 0x918]
movzx esi, byte [edi + eax]
mov dword [esp + 0xc], ecx
and cl, 7
movzx ebp, cl
xor edx, edx
bt esi, ebp
setb dl
movzx esi, byte [edi + eax + 8]
shr esi, cl
and esi, 1
movzx ebp, byte [edi + eax + 0x10]
shr ebp, cl
lea edx, [edx + esi*2]
and ebp, 1
lea edx, [edx + ebp*4]
movzx eax, byte [edi + eax + 0x18]
shr eax, cl
and eax, 1
lea eax, [edx + eax*8]
mov esi, 1
lea edx, [esp + 0x268]
movaps xmm0, xmmword [0x59ded0]
movups xmmword [esp + 0x10], xmm0
pxor xmm3, xmm3
movdqa xmm4, xmmword [0x59dec0]
pxor xmm5, xmm5
pxor xmm6, xmm6
pxor xmm7, xmm7
xorps xmm0, xmm0
movups xmmword [esp + 0x20], xmm0
pxor xmm1, xmm1
nop word cs:[eax + eax]
movdqu xmmword [esp + 0x170], xmm1
mov ecx, esi
xor ecx, eax
dec ecx
movd xmm1, ecx
pshufd xmm1, xmm1, 0
psrad xmm1, 0x1f
movdqa xmm2, xmm1
movdqu xmm0, xmmword [esp + 0x10]
pandn xmm2, xmm0
movdqu xmm0, xmmword [edx - 0x70]
pand xmm0, xmm1
por xmm0, xmm2
movdqu xmmword [esp + 0x10], xmm0
movdqa xmm2, xmm1
pandn xmm2, xmm3
movdqu xmm3, xmmword [edx - 0x60]
pand xmm3, xmm1
por xmm3, xmm2
movdqa xmm2, xmm1
pandn xmm2, xmm4
movdqu xmm4, xmmword [edx - 0x50]
pand xmm4, xmm1
por xmm4, xmm2
movdqa xmm2, xmm1
pandn xmm2, xmm5
movdqu xmm5, xmmword [edx - 0x40]
pand xmm5, xmm1
por xmm5, xmm2
movdqa xmm2, xmm1
pandn xmm2, xmm6
movdqu xmm6, xmmword [edx - 0x30]
pand xmm6, xmm1
por xmm6, xmm2
movdqa xmm2, xmm1
pandn xmm2, xmm7
movdqu xmm7, xmmword [edx - 0x20]
pand xmm7, xmm1
por xmm7, xmm2
movdqu xmm2, xmmword [edx - 0x10]
pand xmm2, xmm1
movdqu xmm0, xmmword [esp + 0x20]
pandn xmm1, xmm0
por xmm1, xmm2
movdqu xmmword [esp + 0x20], xmm1
sar ecx, 0x1f
movd xmm1, ecx
pshufd xmm1, xmm1, 0x50
movq xmm2, qword [edx]
pand xmm2, xmm1
movdqu xmm0, xmmword [esp + 0x170]
pandn xmm1, xmm0
por xmm1, xmm2
inc esi
add edx, 0x78
cmp esi, 0x10
jne 0x565e50
movups xmm0, xmmword [esp + 0x10]
movups xmmword [esp + 0x180], xmm0
movdqu xmmword [esp + 0x190], xmm3
movdqu xmmword [esp + 0x1a0], xmm4
movdqu xmmword [esp + 0x1b0], xmm5
movdqu xmmword [esp + 0x1c0], xmm6
movdqu xmmword [esp + 0x1d0], xmm7
movdqu xmm0, xmmword [esp + 0x20]
movdqu xmmword [esp + 0x1e0], xmm0
movq qword [esp + 0x1f0], xmm1
pxor xmm0, xmm0
movdqu xmmword [esp + 0x160], xmm0
movdqu xmmword [esp + 0x150], xmm0
movdqu xmmword [esp + 0x140], xmm0
movdqu xmmword [esp + 0x130], xmm0
movdqu xmmword [esp + 0x120], xmm0
movdqu xmmword [esp + 0x110], xmm0
movdqu xmmword [esp + 0x100], xmm0
movdqu xmmword [esp + 0xf0], xmm0
movdqu xmmword [esp + 0xe0], xmm0
movdqu xmmword [esp + 0xd0], xmm0
movdqu xmmword [esp + 0xc0], xmm0
movdqu xmmword [esp + 0xb0], xmm0
movdqu xmmword [esp + 0xa0], xmm0
movdqu xmmword [esp + 0x90], xmm0
movdqu xmmword [esp + 0x80], xmm0
movdqu xmmword [esp + 0x70], xmm0
movdqu xmmword [esp + 0x60], xmm0
movdqu xmmword [esp + 0x50], xmm0
movdqu xmmword [esp + 0x40], xmm0
movdqu xmmword [esp + 0x30], xmm0
mov esi, dword [esp + 0x914]
push esi
lea edi, [esp + 0xd4]
push edi
call fcn.00564fd0
add esp, 8
push edi
push esi
lea edi, [esp + 0x38]
push edi
call fcn.00565140
add esp, 0xc
mov ecx, esi
mov edx, edi
lea eax, [esp + 0xa8]
push eax
call fcn.0056f7e0
add esp, 4
mov ebp, dword [esp + 8]
mov ecx, ebp
lea edx, [esp + 0x58]
lea esi, [esp + 0x80]
push esi
call fcn.0056f7e0
add esp, 4
mov ecx, ebx
mov edx, esi
lea eax, [esp + 0xa8]
push eax
call fcn.0056f7e0
add esp, 4
mov esi, dword [esp]
mov ecx, esi
mov edx, edi
lea eax, [esp + 0x58]
push eax
call fcn.0056f7e0
add esp, 4
mov ecx, edi
mov edx, dword [esp + 0x914]
lea eax, [esp + 0x180]
push eax
call fcn.005662f0
add esp, 4
mov ecx, dword [esp + 0x914]
mov edx, edi
lea eax, [esp + 0xa8]
push eax
call fcn.0056f7e0
add esp, 4
mov ecx, ebp
lea edx, [esp + 0x58]
lea ebp, [esp + 0x80]
push ebp
call fcn.0056f7e0
add esp, 4
mov ecx, ebx
mov edx, ebp
lea eax, [esp + 0xa8]
push eax
call fcn.0056f7e0
add esp, 4
mov ecx, esi
mov edx, edi
lea eax, [esp + 0x58]
push eax
call fcn.0056f7e0
add esp, 4
mov ecx, dword [esp + 0xc]
dec ecx
cmp ecx, 0x40
jb 0x565dc0
add esp, 0x900
pop esi
pop edi
pop ebx
pop ebp
ret