Function at 0x5b3220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov ecx, dword [ebp + 8]
push ebx
sar eax, 1
push esi
xor esi, esi
cmp edx, 4
lea ebx, [ecx + eax*4]
push edi
mov dword [ebp - 8], ecx
mov dword [ebp + 8], ebx
jl 0x5b324b
mov eax, edx
sar eax, 1
lea edi, [eax*4 + 0x625548]
jmp 0x5b3250
mov edi, 0x626550
lea ecx, [edi + 0x1000]
shl edx, 2
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x18], edx
nop
mov eax, esi
sar eax, 4
and eax, 0xf
movzx eax, byte [eax + 0x653c64]
mov ecx, esi
and ecx, 0xf
movzx edx, byte [ecx + 0x653c64]
shl edx, 4
or eax, edx
shl eax, 4
mov ecx, esi
sar ecx, 8
movzx edx, byte [ecx + 0x653c64]
mov ecx, dword [ebp + 0xc]
or eax, edx
mov edx, eax
xor edx, 0xfff
sar edx, cl
mov ecx, dword [ebp + 8]
inc esi
lea edx, [ecx + edx*4 - 4]
mov ecx, dword [ebp + 0xc]
sar eax, cl
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*4]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
add ecx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
sub eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x28], edx
cdq
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, ecx
mov ecx, dword [ebp - 0x4c]
cdq
push edx
push eax
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x50]
push ecx
push edx
mov dword [ebp - 0x48], eax
call fcn.005e25e0
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x5c], edx
cdq
mov ecx, eax
mov eax, dword [edi]
mov dword [ebp - 0x3c], edx
cdq
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x3c]
push edx
push ecx
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x34]
push ecx
push eax
mov dword [ebp - 0x38], eax
call fcn.005e25e0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x5c]
add edx, eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x40]
push ecx
push edx
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.005e25e0
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x64], edx
mov edx, dword [ebp - 0x44]
push edx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x48]
push eax
push ecx
push edx
call fcn.005e25e0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x64]
sub eax, edx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
add edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
sub ecx, edx
mov edx, dword [ebp - 4]
sar ecx, 1
sar eax, 1
add edx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
mov dword [ecx], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
sub eax, ecx
mov dword [ebx - 8], eax
mov eax, dword [ebp - 0x10]
sub eax, edx
sub ebx, 0x10
mov dword [ebx + 0xc], eax
mov edx, esi
sar edx, 4
and edx, 0xf
movzx eax, byte [edx + 0x653c64]
mov ecx, esi
and ecx, 0xf
movzx edx, byte [ecx + 0x653c64]
shl edx, 4
or eax, edx
shl eax, 4
mov ecx, esi
sar ecx, 8
movzx edx, byte [ecx + 0x653c64]
mov ecx, dword [ebp + 0xc]
or eax, edx
mov edx, eax
xor edx, 0xfff
sar edx, cl
mov ecx, dword [ebp + 8]
inc esi
lea edx, [ecx + edx*4 - 4]
mov ecx, dword [ebp + 0xc]
sar eax, cl
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*4]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
add ecx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
sub eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x2c], edx
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov eax, ecx
mov ecx, dword [ebp - 0x54]
cdq
push edx
push eax
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x58]
push ecx
push edx
mov dword [ebp - 0x48], eax
call fcn.005e25e0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x6c], edx
cdq
mov ecx, eax
mov eax, dword [edi]
mov dword [ebp - 0x3c], edx
cdq
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x3c]
push edx
push ecx
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x34]
push ecx
push eax
mov dword [ebp - 0x38], eax
call fcn.005e25e0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x6c]
add edx, eax
mov eax, dword [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x40]
push edx
push eax
push ecx
call fcn.005e25e0
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x44]
push edx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x48]
push eax
push ecx
push edx
call fcn.005e25e0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
sub eax, edx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
add edi, edx
sub ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
sar ecx, 1
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
sar eax, 1
add edx, eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
add edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], edx
sub eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [ebx], eax
mov eax, dword [ebp - 0x10]
sub eax, edx
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x30]
add ecx, 0x10
cmp edi, eax
mov dword [ebp - 8], ecx
jb 0x5b3260
mov edx, esi
sar edx, 4
and edx, 0xf
movzx eax, byte [edx + 0x653c64]
mov ecx, esi
and ecx, 0xf
movzx edx, byte [ecx + 0x653c64]
shl edx, 4
or eax, edx
shl eax, 4
mov ecx, esi
sar ecx, 8
movzx edx, byte [ecx + 0x653c64]
mov ecx, dword [ebp + 0xc]
or eax, edx
mov edx, eax
xor edx, 0xfff
sar edx, cl
mov ecx, dword [ebp + 8]
inc esi
lea edx, [ecx + edx*4 - 4]
mov ecx, dword [ebp + 0xc]
sar eax, cl
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*4]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
add eax, ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x2c], ecx
sub ecx, edx
mov dword [ebp - 0x30], edx
cdq
mov dword [ebp - 0xc], ecx
sub edi, dword [ebp - 0x18]
mov ecx, eax
mov eax, dword [edi]
mov dword [ebp - 0x3c], edx
cdq
push edx
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x3c]
push eax
push edx
push ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], eax
call fcn.005e25e0
mov dword [ebp - 0x78], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x74], edx
cdq
mov ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x54], edx
cdq
push edx
push eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x54]
push eax
push ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x44], edx
call fcn.005e25e0
mov ecx, dword [ebp - 0x74]
add edx, ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
push edx
push eax
push ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.005e25e0
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x6c], edx
mov edx, dword [ebp - 0x54]
push ecx
push edx
push eax
call fcn.005e25e0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x6c]
sub eax, edx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
lea eax, [ecx + edx]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
sar eax, 1
lea edx, [eax + ecx]
mov ecx, dword [ebp - 8]
mov dword [ecx], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
sub eax, ecx
mov dword [ebx - 8], eax
mov eax, dword [ebp - 0x10]
sub eax, edx
sub ebx, 0x10
mov dword [ebx + 0xc], eax
mov edx, esi
sar edx, 4
and edx, 0xf
movzx eax, byte [edx + 0x653c64]
mov ecx, esi
and ecx, 0xf
movzx edx, byte [ecx + 0x653c64]
shl edx, 4
or eax, edx
mov ecx, esi
sar ecx, 8
movzx edx, byte [ecx + 0x653c64]
mov ecx, dword [ebp + 0xc]
shl eax, 4
or eax, edx
mov edx, eax
xor edx, 0xfff
sar edx, cl
mov ecx, dword [ebp + 8]
inc esi
lea edx, [ecx + edx*4 - 4]
mov ecx, dword [ebp + 0xc]
sar eax, cl
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*4]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], eax
add eax, ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
sub ecx, edx
cdq
mov dword [ebp - 0xc], ecx
sub edi, dword [ebp - 0x18]
mov ecx, eax
mov eax, dword [edi]
mov dword [ebp - 0x3c], edx
cdq
push edx
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x3c]
push eax
push edx
push ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], eax
call fcn.005e25e0
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x64], edx
cdq
mov ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], edx
cdq
push edx
push eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x4c]
push eax
push ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x44], edx
call fcn.005e25e0
mov ecx, dword [ebp - 0x64]
add edx, ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x34]
push edx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
push eax
push ecx
push edx
call fcn.005e25e0
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], edx
mov edx, dword [ebp - 0x4c]
push ecx
push edx
push eax
call fcn.005e25e0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x5c]
sub eax, edx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
lea eax, [ecx + edx]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
sar eax, 1
lea edx, [eax + ecx]
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], edx
sub eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [ebx], eax
mov eax, dword [ebp - 0x10]
add ecx, 0x10
sub eax, edx
cmp ecx, ebx
mov dword [ebx + 4], eax
mov dword [ebp - 8], ecx
jb 0x5b3508
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret