Function at 0x4b3340
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x68
push ebx
push ebp
mov ebp, dword [esp + 0x74]
sar eax, 1
push esi
xor esi, esi
cmp ecx, 4
lea ebx, [ebp + eax*4]
push edi
mov dword [esp + 0x7c], ebx
jl 0x4b3369
mov eax, ecx
sar eax, 1
lea edi, [eax*4 + 0x4e9430]
jmp 0x4b336e
mov edi, 0x4ea438
lea edx, [edi + 0x1000]
lea eax, [ecx*4]
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], eax
mov ecx, esi
sar ecx, 4
and ecx, 0xf
movzx eax, byte [ecx + 0x4fe39c]
mov edx, esi
and edx, 0xf
movzx ecx, byte [edx + 0x4fe39c]
shl ecx, 4
or eax, ecx
shl eax, 4
mov edx, esi
sar edx, 8
movzx ecx, byte [edx + 0x4fe39c]
or eax, ecx
mov ecx, dword [esp + 0x80]
mov edx, eax
xor edx, 0xfff
sar edx, cl
mov ecx, dword [esp + 0x7c]
inc esi
lea edx, [ecx + edx*4 - 4]
mov ecx, dword [esp + 0x80]
sar eax, cl
mov ecx, dword [esp + 0x7c]
lea eax, [ecx + eax*4]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
add ecx, eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x20], edx
cdq
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov eax, ecx
mov ecx, dword [esp + 0x44]
cdq
push edx
push eax
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x48]
push ecx
push edx
mov dword [esp + 0x60], eax
call fcn.004c0120
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], edx
cdq
mov ecx, eax
mov eax, dword [edi]
mov dword [esp + 0x4c], edx
cdq
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x4c]
push edx
push ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x44]
push ecx
push eax
mov dword [esp + 0x48], eax
call fcn.004c0120
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x5c]
add edx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x48]
push ecx
push edx
push eax
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004c0120
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.004c0120
mov ecx, dword [esp + 0x64]
sub ecx, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
add edi, edx
mov edx, dword [esp + 0x24]
add eax, edx
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x2c]
sar eax, 1
sar edx, 1
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
add edx, eax
mov dword [ebp], edx
mov edx, dword [esp + 0x14]
add edx, ecx
mov dword [ebp + 4], edx
sub eax, dword [esp + 0x10]
mov dword [ebx - 8], eax
sub ecx, dword [esp + 0x14]
mov dword [ebx - 4], ecx
sub ebx, 0x10
mov eax, esi
sar eax, 4
and eax, 0xf
movzx eax, byte [eax + 0x4fe39c]
mov ecx, esi
and ecx, 0xf
movzx edx, byte [ecx + 0x4fe39c]
shl edx, 4
or eax, edx
shl eax, 4
mov ecx, esi
sar ecx, 8
movzx edx, byte [ecx + 0x4fe39c]
mov ecx, dword [esp + 0x80]
or eax, edx
mov edx, eax
xor edx, 0xfff
sar edx, cl
mov ecx, dword [esp + 0x7c]
inc esi
lea edx, [ecx + edx*4 - 4]
mov ecx, dword [esp + 0x80]
sar eax, cl
mov ecx, dword [esp + 0x7c]
lea eax, [ecx + eax*4]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
add ecx, eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x20], edx
cdq
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov eax, ecx
mov ecx, dword [esp + 0x44]
cdq
push edx
push eax
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x48]
push ecx
push edx
mov dword [esp + 0x60], eax
call fcn.004c0120
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], edx
cdq
mov ecx, eax
mov eax, dword [edi]
mov dword [esp + 0x4c], edx
cdq
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x4c]
push edx
push ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x44]
push ecx
push eax
mov dword [esp + 0x48], eax
call fcn.004c0120
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
add edx, eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x4c]
push edx
push eax
push ecx
call fcn.004c0120
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.004c0120
mov ecx, dword [esp + 0x74]
sub ecx, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
add edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add eax, edx
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x2c]
sar eax, 1
sar edx, 1
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
add edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x14]
add edx, ecx
mov dword [ebp + 0xc], edx
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0x14]
mov dword [ebx], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 4], ecx
add ebp, 0x10
cmp edi, eax
jb 0x4b3383
mov eax, esi
sar eax, 4
and eax, 0xf
movzx eax, byte [eax + 0x4fe39c]
mov ecx, esi
and ecx, 0xf
movzx edx, byte [ecx + 0x4fe39c]
shl edx, 4
or eax, edx
shl eax, 4
mov ecx, esi
sar ecx, 8
movzx edx, byte [ecx + 0x4fe39c]
mov ecx, dword [esp + 0x80]
or eax, edx
mov edx, eax
xor edx, 0xfff
sar edx, cl
mov ecx, dword [esp + 0x7c]
inc esi
lea edx, [ecx + edx*4 - 4]
mov ecx, dword [esp + 0x80]
sar eax, cl
mov ecx, dword [esp + 0x7c]
lea eax, [ecx + eax*4]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
mov dword [esp + 0x20], eax
add eax, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x28], ecx
sub ecx, edx
mov dword [esp + 0x2c], edx
cdq
mov dword [esp + 0x14], ecx
sub edi, dword [esp + 0x1c]
mov ecx, eax
mov eax, dword [edi]
mov dword [esp + 0x4c], edx
cdq
push edx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x50]
push eax
push edx
push ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x48], eax
call fcn.004c0120
mov dword [esp + 0x70], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x74], edx
cdq
mov ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], edx
cdq
push edx
push eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x64], edx
call fcn.004c0120
mov ecx, dword [esp + 0x74]
add edx, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
push edx
push eax
push ecx
mov edx, dword [esp + 0x5c]
push edx
call fcn.004c0120
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x48]
push ecx
push edx
push eax
call fcn.004c0120
mov ecx, dword [esp + 0x6c]
sub ecx, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
add eax, edx
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x20]
sar eax, 1
sar edx, 1
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
add edx, eax
mov dword [ebp], edx
mov edx, dword [esp + 0x14]
add edx, ecx
mov dword [ebp + 4], edx
sub eax, dword [esp + 0x10]
mov dword [ebx - 8], eax
sub ecx, dword [esp + 0x14]
mov dword [ebx - 4], ecx
sub ebx, 0x10
mov eax, esi
sar eax, 4
and eax, 0xf
movzx eax, byte [eax + 0x4fe39c]
mov ecx, esi
and ecx, 0xf
movzx edx, byte [ecx + 0x4fe39c]
shl edx, 4
or eax, edx
shl eax, 4
mov ecx, esi
sar ecx, 8
movzx edx, byte [ecx + 0x4fe39c]
mov ecx, dword [esp + 0x80]
or eax, edx
mov edx, eax
xor edx, 0xfff
sar edx, cl
mov ecx, dword [esp + 0x7c]
inc esi
lea edx, [ecx + edx*4 - 4]
mov ecx, dword [esp + 0x80]
sar eax, cl
mov ecx, dword [esp + 0x7c]
lea eax, [ecx + eax*4]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
add eax, ecx
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x28], ecx
sub ecx, edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
cdq
sub edi, ecx
mov ecx, eax
mov dword [esp + 0x48], ecx
mov eax, dword [edi]
mov dword [esp + 0x4c], edx
cdq
push edx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x50]
push eax
push edx
push ecx
mov dword [esp + 0x48], eax
call fcn.004c0120
mov dword [esp + 0x60], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x64], edx
cdq
mov ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], edx
cdq
push edx
push eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x64], edx
call fcn.004c0120
mov ecx, dword [esp + 0x64]
add edx, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
push edx
call fcn.004c0120
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x48]
push ecx
push edx
push eax
call fcn.004c0120
mov ecx, dword [esp + 0x5c]
sub ecx, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
add eax, edx
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x20]
sar eax, 1
sar edx, 1
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
add edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x14]
add edx, ecx
mov dword [ebp + 0xc], edx
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0x14]
add ebp, 0x10
cmp ebp, ebx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jb 0x4b3676
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret