Function at 0x5b9190
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push esi
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
sar ecx, 1
mov edx, dword [ebp - 0x14]
lea eax, [edx + ecx*4]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 4
jl 0x5b91d5
mov edx, dword [ebp + 0x10]
sar edx, 1
lea eax, [edx*4 + 0x626b80]
mov dword [ebp - 0xc4], eax
jmp 0x5b91df
mov dword [ebp - 0xc4], 0x627b88
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x1000
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
push ecx
call fcn.005b97b0
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x2c]
xor eax, 0xfff
mov ecx, dword [ebp + 0x14]
sar eax, cl
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*4 - 4]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0x14]
sar eax, cl
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*4]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
add ecx, dword [edx]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax + 4]
sub edx, dword [ecx + 4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
cdq
push edx
push eax
push esi
push ecx
call fcn.005ce0d0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
cdq
push edx
push eax
push esi
push ecx
call fcn.005ce0d0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
cdq
push edx
push eax
push esi
push ecx
call fcn.005ce0d0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x20]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
cdq
push edx
push eax
push esi
push ecx
call fcn.005ce0d0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx*4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
sub ecx, 0x10
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 4]
sar eax, 1
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ecx, dword [edx]
sub ecx, dword [eax]
sar ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0xcc]
push edx
call fcn.005b97b0
add esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x2c]
xor edx, 0xfff
mov ecx, dword [ebp + 0x14]
sar edx, cl
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*4 - 4]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0x14]
sar edx, cl
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov ecx, dword [edx + 4]
sub ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x20]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
cdq
push edx
push eax
push esi
push ecx
call fcn.005ce0d0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
cdq
push edx
push eax
push esi
push ecx
call fcn.005ce0d0
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
cdq
push edx
push eax
push esi
push ecx
call fcn.005ce0d0
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x20]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
cdq
push edx
push eax
push esi
push ecx
call fcn.005ce0d0
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x7c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx*4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x24]
add edx, dword [eax + 4]
sar edx, 1
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov eax, dword [ecx]
sub eax, dword [edx]
sar eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0xc]
jb 0x5b91f4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xd0]
push eax
call fcn.005b97b0
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x40]
xor edx, 0xfff
mov ecx, dword [ebp + 0x14]
sar edx, cl
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*4 - 4]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp + 0x14]
sar edx, cl
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x38]
add eax, dword [ecx]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [edx + 4]
sub ecx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x10]
shl edx, 2
mov eax, dword [ebp - 4]
sub eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
cdq
push edx
push eax
push esi
push ecx
call fcn.005ce0d0
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x30]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
cdq
push edx
push eax
push esi
push ecx
call fcn.005ce0d0
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x8c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
cdq
push edx
push eax
push esi
push ecx
call fcn.005ce0d0
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x34]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
cdq
push edx
push eax
push esi
push ecx
call fcn.005ce0d0
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x9c]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 8]
sub ecx, 0x10
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x38]
add eax, dword [ecx + 4]
sar eax, 1
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
mov ecx, dword [edx]
sub ecx, dword [eax]
sar ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0xd4]
push edx
call fcn.005b97b0
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x40]
xor edx, 0xfff
mov ecx, dword [ebp + 0x14]
sar edx, cl
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*4 - 4]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp + 0x14]
sar edx, cl
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x38]
add eax, dword [ecx]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [edx + 4]
sub ecx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x10]
shl edx, 2
mov eax, dword [ebp - 4]
sub eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
cdq
push edx
push eax
push esi
push ecx
call fcn.005ce0d0
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0x30]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
cdq
push edx
push eax
push esi
push ecx
call fcn.005ce0d0
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xa4]
add eax, dword [ebp - 0xac]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
cdq
push edx
push eax
push esi
push ecx
call fcn.005ce0d0
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0x34]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
cdq
push edx
push eax
push esi
push ecx
call fcn.005ce0d0
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0xbc]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x38]
add edx, dword [eax + 4]
sar edx, 1
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov eax, dword [ecx]
sub eax, dword [edx]
sar eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 8]
jb 0x5b94a9
pop esi
mov esp, ebp
pop ebp
ret