Function at 0x562b63
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x34], edx
mov edx, dword [ecx + 0x24]
push ebx
mov dword [ebp - 0x1c], edx
mov edx, dword [ecx + 8]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], ecx
add ecx, 0x40
mov dword [ebp - 0x20], edx
sar edx, 3
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x30], ecx
push edi
cmp esi, eax
jge 0x562e74
lea eax, [ecx + esi*4]
mov dword [ebp - 0x18], eax
nop
xor edi, edi
xor ebx, ebx
or edx, 0xffffffff
mov dword [ebp - 0x14], edi
mov ecx, esi
cmp esi, dword [ebp - 0x1c]
jge 0x562e80
mov edi, dword [ebp - 4]
nop dword [eax + eax]
mov eax, dword [edi + ecx*4 + 0xbd4]
mov al, byte [esi + eax]
test al, al
je 0x562be3
cmp al, 1
jne 0x562bdb
cmp edx, 0xffffffff
cmove edx, ebx
mov dword [edi + ebx*4 + 0x28e4], ecx
inc ebx
inc ecx
cmp ecx, dword [ebp - 0x1c]
jl 0x562bc3
mov edi, dword [ebp - 0x14]
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x562e80
mov ecx, dword [ebp - 0x34]
cmp ecx, esi
jge 0x562c23
mov ebx, dword [ebp - 4]
nop
mov eax, dword [ebx + ecx*4 + 0xbd4]
cmp byte [esi + eax], 0
je 0x562c18
mov dword [ebx + edi*4 + 0x231c], ecx
inc edi
inc ecx
cmp ecx, esi
jl 0x562c03
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x14], edi
test edx, edx
jle 0x562c44
mov edi, dword [ebp - 4]
mov ecx, dword [edi + 0x28e4]
mov eax, dword [edi + edx*4 + 0x28e4]
mov dword [edi + 0x28e4], eax
mov dword [edi + edx*4 + 0x28e4], ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x28e4]
mov dword [ebp - 0xc], eax
mov edi, dword [ecx + eax*4 + 0xbd4]
mov al, byte [edi + esi]
cmp al, 1
jbe 0x562cca
mov ecx, dword [ebp - 0x30]
movzx eax, al
movzx edx, byte [eax + 0x6e6a90]
mov eax, dword [ebp - 0xc]
shl edx, 8
add edx, 0x6d6600
mov eax, dword [ecx + eax*4]
xor ecx, ecx
add eax, 8
cmp dword [ebp - 0x20], ecx
jle 0x562cab
mov esi, dword [ebp - 0x20]
mov ebx, eax
movzx eax, byte [ecx + ebx]
mov al, byte [eax + edx]
mov byte [ecx + ebx], al
inc ecx
cmp ecx, esi
jl 0x562c89
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebx + eax*4 + 0xbd4]
mov ebx, dword [ebp - 8]
mov ecx, esi
cmp esi, dword [ebp - 0x10]
jge 0x562cc7
mov ebx, dword [ebp - 0x10]
movzx eax, byte [ecx + edi]
mov al, byte [eax + edx]
mov byte [ecx + edi], al
inc ecx
cmp ecx, ebx
jl 0x562cb5
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x30], 0
mov eax, dword [ecx + eax*4 + 0x40]
add eax, 8
mov dword [ecx + 0x11a4], eax
mov eax, 1
mov dword [ebp + 8], eax
cmp ebx, eax
jle 0x562d8a
nop
mov eax, dword [ecx + eax*4 + 0x28e4]
lea edx, [eax*4]
mov eax, dword [edx + ecx + 0xbd4]
lea edi, [edx + ecx]
mov al, byte [esi + eax]
mov byte [ebp - 0x24], al
test al, al
je 0x562d7b
push dword [ebp - 0x28]
mov edx, dword [edx + ecx + 0x40]
push dword [ebp - 0x24]
add edx, 8
call fcn.005636e3
mov eax, dword [ebp - 0xc]
add esp, 8
mov ecx, dword [ebp - 4]
movzx ebx, byte [ebp - 0x24]
mov edx, dword [edi + 0xbd4]
shl ebx, 8
mov edi, dword [ecx + eax*4 + 0xbd4]
add ebx, 0x6d6600
mov eax, dword [ebp - 0x10]
cmp esi, eax
jge 0x562d78
lea ecx, [edx + esi]
sub edi, edx
mov edx, eax
sub edx, esi
nop word [eax + eax]
movzx eax, byte [edi + ecx]
lea ecx, [ecx + 1]
mov al, byte [eax + ebx]
xor byte [ecx - 1], al
sub edx, 1
jne 0x562d63
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp eax, ebx
jl 0x562cf3
xor eax, eax
mov dword [ebp + 8], eax
cmp dword [ebp - 0x14], eax
jle 0x562e2d
nop word [eax + eax]
mov eax, dword [ecx + eax*4 + 0x231c]
lea edx, [eax*4]
mov eax, dword [edx + ecx + 0xbd4]
lea edi, [edx + ecx]
mov al, byte [esi + eax]
mov byte [ebp - 0x2c], al
test al, al
je 0x562e1d
push dword [ebp - 0x28]
mov edx, dword [edx + ecx + 0x40]
push dword [ebp - 0x2c]
add edx, 8
call fcn.005636e3
mov ecx, dword [edi + 0xbd4]
add esp, 8
movzx edi, byte [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
shl edi, 8
add edi, 0x6d6600
mov ebx, dword [ebx + eax*4 + 0xbd4]
cmp esi, edx
jge 0x562e1a
sub ebx, ecx
lea eax, [ecx + esi]
sub edx, esi
movzx ecx, byte [ebx + eax]
lea eax, [eax + 1]
mov cl, byte [ecx + edi]
xor byte [eax - 1], cl
sub edx, 1
jne 0x562e08
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [ebp - 0x14]
jl 0x562da3
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
cmp edx, esi
je 0x562e61
mov ebx, dword [ebp - 4]
mov ecx, dword [edi + 0xb94]
mov eax, dword [ebx + edx*4 + 0xbd4]
mov dword [edi + 0xb94], eax
mov dword [ebx + edx*4 + 0xbd4], ecx
mov ebx, dword [ebp - 0x30]
mov ecx, dword [edi]
mov eax, dword [ebx + edx*4]
mov dword [edi], eax
mov dword [ebx + edx*4], ecx
inc esi
add edi, 4
mov dword [ebp + 8], esi
mov dword [ebp - 0x18], edi
cmp esi, dword [ebp - 0x10]
jl 0x562ba3
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret