Function at 0x560060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1a0
mov dword [esp + 8], edx
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x7a8498]
xor edx, ebp
mov dword [esp + 0x198], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x140], xmm0
movdqa xmmword [esp + 0x130], xmm0
movdqa xmmword [esp + 0x120], xmm0
movdqa xmmword [esp + 0x110], xmm0
mov edx, dword [ecx + 4]
mov dword [esp + 0xc], edx
pxor xmm0, xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
mov dword [esp + 0xc0], 0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x70], xmm0
mov dword [esp + 0x80], 0
movdqa xmmword [esp + 0x10], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov dword [esp + 0x40], 0
mov edx, dword [ebp + 0x10]
sub esp, 4
lea ebx, [esp + 0x14]
push ecx
push edx
push eax
push ebx
call fcn.00554d50
add esp, 0x14
xor edi, edi
test eax, eax
je 0x560786
lea eax, [esp + 0x24]
lea ecx, [esp + 0xa4]
push eax
push ecx
call fcn.00540990
add esp, 8
test eax, eax
je 0x560786
lea eax, [esp + 0x34]
lea ecx, [esp + 0xb4]
push eax
push ecx
call fcn.00540990
add esp, 8
test eax, eax
je 0x560786
lea eax, [esp + 0x14]
lea ecx, [esp + 0x94]
push eax
push ecx
call fcn.00540990
add esp, 8
test eax, eax
je 0x560786
mov eax, dword [esp + 0x10]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
lea ebx, [esp + 0x9c]
push ebx
call ecx
add esp, 0xc
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push ebx
call ecx
add esp, 0xc
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push ebx
call ecx
add esp, 0xc
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x180], xmm0
movdqa xmmword [esp + 0x170], xmm0
movdqa xmmword [esp + 0x160], xmm0
movdqa xmmword [esp + 0x150], xmm0
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
lea eax, [esp + 0x150]
push eax
push ebx
call ecx
add esp, 8
mov eax, dword [esp + 0x94]
mov edi, dword [eax + 4]
push dword [eax + 0x1c]
push dword [esp + 0x9c]
call fcn.004c9c70
add esp, 8
lea eax, [esp + 0xb4]
push eax
push ebx
call fcn.00540990
add esp, 8
test eax, eax
je 0x560780
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push edi
lea eax, [esp + 0x154]
push eax
lea edi, [esp + 0x9c]
push edi
call ecx
add esp, 0xc
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
lea eax, [esp + 0x110]
push eax
push edi
call ecx
add esp, 8
mov eax, dword [esp + 0x94]
mov edi, dword [eax + 4]
push dword [eax + 0x1c]
push dword [esp + 0x9c]
call fcn.004c9c70
add esp, 8
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x100], xmm0
movdqa xmmword [esp + 0xf0], xmm0
movdqa xmmword [esp + 0xe0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.00540990
add esp, 8
test eax, eax
je 0x560780
lea ebx, [esp + 0x54]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.00540990
add esp, 8
test eax, eax
je 0x560780
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.00540990
add esp, 8
test eax, eax
je 0x560780
mov eax, dword [esp + 0x10]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push edi
lea eax, [esp + 0x114]
push eax
lea edi, [esp + 0x9c]
push edi
call ecx
add esp, 0xc
mov eax, dword [esp + 0xc]
cmp dword [esp + 8], eax
jbe 0x5603f5
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00540990
add esp, 8
test eax, eax
je 0x560780
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00540990
add esp, 8
test eax, eax
je 0x560780
lea eax, [esp + 0x94]
push eax
push ebx
call fcn.00540990
add esp, 8
test eax, eax
je 0x560780
mov eax, dword [esp + 0x90]
mov dword [esp + 0x50], eax
lea edi, [esp + 0x94]
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
call ecx
add esp, 0xc
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push edi
call ecx
add esp, 0xc
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push edi
call ecx
add esp, 0xc
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x180], xmm0
movdqa xmmword [esp + 0x170], xmm0
movdqa xmmword [esp + 0x160], xmm0
movdqa xmmword [esp + 0x150], xmm0
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
lea eax, [esp + 0x150]
push eax
push edi
call ecx
add esp, 8
mov eax, dword [esp + 0x94]
mov ebx, dword [eax + 4]
push dword [eax + 0x1c]
push dword [esp + 0x9c]
call fcn.004c9c70
add esp, 8
lea eax, [esp + 0xb4]
push eax
push edi
call fcn.00540990
add esp, 8
test eax, eax
je 0x560780
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push ebx
lea eax, [esp + 0x154]
push eax
push edi
call ecx
add esp, 0xc
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
lea eax, [esp + 0xd0]
push eax
push edi
call ecx
add esp, 8
mov eax, dword [esp + 0x94]
mov edi, dword [eax + 4]
push dword [eax + 0x1c]
push dword [esp + 0x9c]
call fcn.004c9c70
add esp, 8
mov eax, dword [esp + 8]
cmp edi, eax
mov ebx, edi
cmova ebx, eax
test ebx, ebx
pcmpeqd xmm3, xmm3
je 0x560662
xor eax, eax
cmp ebx, 8
jb 0x560650
xor eax, eax
cmp ebx, 0x20
jb 0x56060e
mov eax, ebx
and eax, 0xffffffe0
lea ecx, [eax - 0x20]
mov edx, ecx
shr edx, 5
add edx, 1
test ecx, ecx
mov dword [esp + 4], edx
je 0x5605d0
and edx, 0xfffffffe
xor ecx, ecx
nop word [eax + eax]
movups xmm0, xmmword [esp + ecx + 0xd0]
movups xmm1, xmmword [esp + ecx + 0xe0]
movups xmm2, xmmword [esi + ecx]
xorps xmm2, xmm0
movups xmm0, xmmword [esi + ecx + 0x10]
xorps xmm0, xmm1
movups xmmword [esi + ecx], xmm2
movups xmmword [esi + ecx + 0x10], xmm0
movups xmm0, xmmword [esp + ecx + 0xf0]
movdqu xmm1, xmmword [esp + ecx + 0x100]
movups xmm2, xmmword [esi + ecx + 0x20]
xorps xmm2, xmm0
movdqu xmm0, xmmword [esi + ecx + 0x30]
pxor xmm0, xmm1
movups xmmword [esi + ecx + 0x20], xmm2
movdqu xmmword [esi + ecx + 0x30], xmm0
add ecx, 0x40
add edx, 0xfffffffe
jne 0x560570
jmp 0x5605d2
xor ecx, ecx
test byte [esp + 4], 1
je 0x560605
movups xmm0, xmmword [esp + ecx + 0xd0]
movdqu xmm1, xmmword [esp + ecx + 0xe0]
movups xmm2, xmmword [esi + ecx]
xorps xmm2, xmm0
movdqu xmm0, xmmword [esi + ecx + 0x10]
pxor xmm0, xmm1
movups xmmword [esi + ecx], xmm2
movdqu xmmword [esi + ecx + 0x10], xmm0
cmp ebx, eax
je 0x560662
test bl, 0x18
je 0x560650
mov ecx, eax
mov eax, dword [esp + 8]
cmp eax, edi
cmovb edi, eax
mov eax, edi
and eax, 0xfffffff8
nop
movq xmm0, qword [esp + ecx + 0xd0]
movq xmm1, qword [esi + ecx]
pxor xmm1, xmm0
movq qword [esi + ecx], xmm1
add ecx, 8
cmp eax, ecx
jne 0x560620
cmp edi, eax
je 0x560662
nop word cs:[eax + eax]
nop dword [eax]
movzx ecx, byte [esp + eax + 0xd0]
xor byte [esi + eax], cl
add eax, 1
cmp ebx, eax
jne 0x560650
sub dword [esp + 8], ebx
je 0x5607d6
movdqa xmmword [esp + 0x180], xmm3
movdqa xmmword [esp + 0x170], xmm3
movdqa xmmword [esp + 0x160], xmm3
movdqa xmmword [esp + 0x150], xmm3
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
lea eax, [esp + 0x150]
push eax
lea edi, [esp + 0x58]
push edi
call ecx
add esp, 8
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
mov dword [esp + 4], ecx
push dword [eax + 0x1c]
push dword [esp + 0x5c]
call fcn.004c9c70
add esp, 8
lea eax, [esp + 0x74]
push eax
push edi
call fcn.00540990
add esp, 8
test eax, eax
je 0x560780
add esi, ebx
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push dword [esp + 4]
lea eax, [esp + 0x154]
push eax
push edi
call ecx
add esp, 0xc
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
lea eax, [esp + 0x110]
push eax
push edi
call ecx
add esp, 8
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
mov dword [esp + 4], ecx
push dword [eax + 0x1c]
push dword [esp + 0x5c]
call fcn.004c9c70
add esp, 8
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x100], xmm0
movdqa xmmword [esp + 0xf0], xmm0
movdqa xmmword [esp + 0xe0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.00540990
add esp, 8
test eax, eax
mov ebx, edi
mov edi, dword [esp + 4]
jne 0x56031b
xor edi, edi
lea ebx, [esp + 0x10]
lea eax, [esp + 0x110]
push 0x40
push eax
call fcn.004c9c70
add esp, 8
lea eax, [esp + 0x90]
push eax
call fcn.00555250
add esp, 4
lea eax, [esp + 0x50]
push eax
call fcn.00555250
add esp, 4
push ebx
call fcn.00555250
add esp, 4
mov ecx, dword [esp + 0x198]
xor ecx, ebp
call fcn.006c9121
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, 1
jmp 0x560782