Function at 0x565960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a0459
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x82f184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
mov ebx, dword [ebp + 8]
push 0
lea ecx, [ebx + 8]
mov byte [ebx], 0
call fcn.004353f0
mov edi, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x10], 1
mov byte [ebp - 0x24], 0
movq qword [ebp - 0x1c], xmm0
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00436bf0
mov dword [ebp - 4], 2
mov eax, 9
mov dword [ebp - 0x34], eax
xor ecx, ecx
mov dword [ebp - 0x30], 0xc9dbcdcb
mov dword [ebp - 0x2c], 0xcbdff9c8
mov dword [ebp - 0x28], 0xc1a5
nop
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x30], al
inc ecx
mov eax, dword [ebp - 0x34]
cmp ecx, eax
jb 0x5659f0
mov byte [ebp + eax - 0x30], 0
mov ecx, ebx
lea eax, [ebp - 0x30]
push eax
call fcn.00435a40
mov esi, eax
mov al, byte [ebp - 0x24]
mov cl, byte [esi]
mov byte [esi], al
mov eax, dword [ebp - 0x1c]
mov edx, dword [esi + 0xc]
mov byte [ebp - 0x24], cl
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x24]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x18], edx
call fcn.00434950
lea eax, [edi + 0x10]
mov byte [ebp - 0x34], 0
push eax
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x2c], xmm0
call fcn.00436bf0
mov dword [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x1c], 0xffc8ccdb
mov dword [ebp - 0x18], 0xbfdbc9dd
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x1c], al
inc ecx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x565a72
mov byte [ebp + eax - 0x1c], 0
mov ecx, ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.00435a40
mov esi, eax
mov al, byte [ebp - 0x34]
mov cl, byte [esi]
mov byte [esi], al
mov eax, dword [ebp - 0x2c]
mov edx, dword [esi + 0xc]
mov byte [ebp - 0x34], cl
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x34]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x28], edx
call fcn.00434950
lea eax, [edi + 0x18]
mov byte [ebp - 0x34], 0
push eax
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x2c], xmm0
call fcn.00436bf0
mov dword [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x1c], 0xffded7dd
mov dword [ebp - 0x18], 0xbfdbc9dd
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x1c], al
inc ecx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x565af4
mov byte [ebp + eax - 0x1c], 0
mov ecx, ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.00435a40
mov esi, eax
mov byte [ebp - 4], 0
mov al, byte [ebp - 0x34]
mov cl, byte [esi]
mov byte [esi], al
mov eax, dword [ebp - 0x2c]
mov edx, dword [esi + 0xc]
mov byte [ebp - 0x34], cl
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x34]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x28], edx
call fcn.00434950
mov eax, dword [edi]
cmp eax, 1
jne 0x565c0f
mov eax, 6
mov dword [ebp - 0x1c], 0xd2cedad9
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov dword [ebp - 0x18], 0xbed8ca
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x1c], al
inc ecx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x565b66
mov byte [ebp + eax - 0x1c], 0
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x1c]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
call fcn.00435c40
mov dword [ebp - 4], 5
xor ecx, ecx
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x2c], 0xded9d0d4
mov dword [ebp - 0x28], 0xbfdbced2
nop word [eax + eax]
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x2c], al
inc ecx
mov eax, dword [ebp - 0x30]
cmp ecx, eax
jb 0x565bb0
mov byte [ebp + eax - 0x2c], 0
mov ecx, ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.00435a40
mov edi, eax
mov al, byte [ebp - 0x44]
mov cl, byte [edi]
mov byte [edi], al
mov byte [ebp - 0x44], cl
mov ecx, dword [ebp - 0x3c]
mov edx, dword [edi + 8]
mov esi, dword [edi + 0xc]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], esi
call fcn.00434950
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x565cb0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x2c], 0xd2cac1dd
mov dword [ebp - 0x28], 0xbfdad8ce
call fcn.004131e0
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x44]
lea eax, [ebp + 0xc]
push eax
call fcn.00435c40
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x1c], 0xded9d0d4
mov dword [ebp - 0x18], 0xbfdbced2
call fcn.004131e0
push eax
mov ecx, ebx
call fcn.00435a40
mov cl, byte [ebp - 0x44]
mov esi, eax
mov dl, byte [esi]
mov byte [esi], cl
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 0x44], dl
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x38], edx
call fcn.00434950
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x565cec
movaps xmm0, xmmword [0x7e32a0]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0xc
movups xmmword [ebp - 0x44], xmm0
call fcn.004131e0
sub esp, 0x10
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00435c40
mov dword [ebp - 4], 7
jmp 0x565d67
cmp eax, 4
jne 0x565d28
movaps xmm0, xmmword [0x7e3400]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0xd
movups xmmword [ebp - 0x44], xmm0
call fcn.004131e0
sub esp, 0x10
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00435c40
mov dword [ebp - 4], 8
jmp 0x565d67
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0xa
mov dword [ebp - 0x20], 0xe4ced6d6
mov dword [ebp - 0x1c], 0xd6cadedd
mov dword [ebp - 0x18], 0xc2a4b6
call fcn.004131e0
sub esp, 0x10
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00435c40
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x2c], 0xded9d0d4
mov dword [ebp - 0x28], 0xbfdbced2
call fcn.004131e0
push eax
mov ecx, ebx
call fcn.00435a40
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00434a30
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret