Function at 0x563280
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63e49d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x6adb70
call fcn.00409430
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], eax
mov eax, dword [0x6adb74]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
mov ecx, dword [0x6adb88]
test cl, 1
je 0x5632f9
mov esi, 2
jmp 0x5634f5
xor edi, edi
test cl, 2
jne 0x56334b
mov edi, dword [ebx + 8]
lea ecx, [edi + 4]
call fcn.005acb50
mov ecx, edi
mov esi, eax
call fcn.005acb50
xor eax, esi
xor edx, edx
div dword [0x6adb80]
mov eax, dword [0x6adb84]
mov esi, dword [eax + edx*4]
lea edi, [eax + edx*4]
test esi, esi
je 0x563345
nop dword [eax]
push dword [ebx + 8]
lea ecx, [esi + 4]
call fcn.0053b040
test al, al
jne 0x563379
mov esi, dword [esi]
test esi, esi
jne 0x563330
mov ecx, dword [0x6adb88]
mov esi, dword [0x6adb7c]
mov eax, dword [0x6adb78]
cmp esi, eax
jb 0x5634ad
lea edx, [eax + eax]
cmp eax, 2
jae 0x56336b
mov edx, 2
cmp edx, esi
jae 0x563383
mov esi, 3
jmp 0x5634f5
mov esi, 1
jmp 0x5634f5
mov eax, dword [0x6adb70]
push ecx
push 0x6adb70
push edx
mov eax, dword [eax + 8]
mov ecx, 0x6adb70
call eax
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
je 0x5634c5
mov cl, byte [esi + 0x18]
not cl
test cl, 1
je 0x5634c5
mov ecx, dword [0x6adb84]
test ecx, ecx
je 0x563470
xor edi, edi
mov dword [ebp - 0x1c], edi
cmp dword [0x6adb80], edi
jbe 0x563470
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
nop dword [eax + eax]
mov edx, dword [eax + ecx]
mov dword [ebp - 0x18], edx
test edx, edx
je 0x563443
nop word [eax + eax]
mov eax, dword [edx]
lea edi, [edx + 4]
dec dword [0x6adb7c]
lea ecx, [edi + 4]
mov dword [ebp - 0x2c], eax
call fcn.005acb50
mov ecx, edi
mov esi, eax
call fcn.005acb50
xor eax, esi
xor edx, edx
mov esi, dword [ebp - 0x28]
div dword [esi + 0x10]
mov eax, dword [esi + 0x14]
lea ecx, [eax + edx*4]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx], edx
mov edx, eax
inc dword [esi + 0xc]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x5633f0
mov ecx, dword [0x6adb84]
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
inc edi
add eax, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], eax
mov dword [edx + ecx], 0
add edx, 4
mov dword [ebp - 0x24], edx
cmp edi, dword [0x6adb80]
jae 0x563470
mov ecx, dword [0x6adb84]
jmp 0x5633e0
mov eax, dword [0x6adb70]
mov ecx, 0x6adb70
push esi
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0xc]
mov edi, dword [ebx + 8]
lea ecx, [edi + 4]
call fcn.005acb50
mov ecx, edi
mov esi, eax
call fcn.005acb50
xor eax, esi
xor edx, edx
div dword [0x6adb80]
mov eax, dword [0x6adb84]
lea edi, [eax + edx*4]
push ecx
mov ecx, dword [0x6adb74]
push 0x6adb74
call fcn.00568ef0
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x5634cc
mov esi, 2
jmp 0x5634f5
push dword [ebx + 0xc]
mov ecx, dword [ebp - 0x14]
push dword [ebx + 8]
call fcn.00569040
mov eax, dword [ebp - 0x14]
mov ecx, dword [edi]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
inc dword [0x6adb7c]
xor esi, esi
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x56350a
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x30]
push eax
call fcn.00562710
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc