Function at 0x1033b470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x80], 0xa2
nop
mov cl, byte [esi + 0x9ac]
xor edx, edx
mov dword [ebp - 0x64], edx
test cl, cl
je 0x1033b672
mov eax, ebx
mov dword [ebp - 0x58], edx
and eax, 1
test ebx, ebx
mov dword [ebp - 0x70], eax
mov eax, 0xc
cmovne eax, dword [ebp - 0x80]
mov dword [ebp - 0x78], eax
mov eax, ebx
shl eax, 6
add eax, 0x60
add eax, edi
mov dword [ebp - 0x5c], eax
nop dword [eax]
lea ecx, [ebx*4]
test ebx, ebx
je 0x1033b4f4
mov al, byte [esi + edx*8 + 0x783]
jmp 0x1033b4fb
mov al, byte [esi + edx*8 + 0x784]
movzx eax, al
lea edi, [ebp - 0x54]
add eax, ecx
xor edx, edx
imul ebx, eax, 0xf0
xor ecx, ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x60], edx
add ebx, esi
sub eax, ebx
mov dword [ebp - 0x84], ebx
mov esi, ebx
mov dword [ebp - 0x60], eax
lea ebx, [edx + 0x10]
mov byte [eax + esi], dl
mov al, byte [esi]
mov dword [edi], ecx
test al, al
je 0x1033b537
movzx eax, al
add edx, eax
add ecx, eax
mov eax, dword [ebp - 0x60]
add ecx, ecx
add edi, 4
inc esi
sub ebx, 1
jne 0x1033b525
mov eax, dword [ebp - 0x64]
lea edi, [ebp - 0x54]
and eax, 3
mov dword [ebp - 0x60], edx
mov edx, dword [ebp - 0x5c]
xor esi, esi
mov dword [ebp - 0x6c], 0x10
lea ebx, [eax + eax]
mov eax, dword [edi]
lea edx, [edx + 4]
movzx ecx, byte [ebp + esi - 0x14]
lea edi, [edi + 4]
shl eax, 8
or ecx, eax
mov eax, esi
shl ecx, 4
and eax, 0xf
or ecx, eax
inc esi
shl ecx, 3
or ecx, ebx
or ecx, dword [ebp - 0x70]
sub dword [ebp - 0x6c], 1
mov dword [edx - 4], ecx
jne 0x1033b560
mov edx, dword [ebp - 0x60]
xor edi, edi
test edx, edx
je 0x1033b5fb
cmp dword [ebp - 0x68], edi
mov ecx, 0x84
mov eax, 0x78
cmovne eax, ecx
mov ecx, dword [ebp - 0x74]
add eax, dword [ebp - 0x58]
lea esi, [ecx + eax*4]
mov ecx, dword [ebp - 0x70]
lea eax, [edi*8]
or ecx, ebx
lea esi, [esi + 4]
or ecx, dword [esi - 4]
xor ecx, eax
mov eax, dword [esi - 4]
and eax, 0xfffffffe
and ecx, 0x7f8
or eax, dword [ebp - 0x70]
and eax, 0xfffffff9
or eax, ebx
xor ecx, eax
mov eax, dword [ebp - 0x84]
mov dword [esi - 4], ecx
and ecx, 0xfff807ff
movzx eax, byte [eax + edi + 0x10]
inc edi
shl eax, 0xb
or eax, ecx
mov dword [esi - 4], eax
cmp edi, edx
jb 0x1033b5b0
mov edi, dword [ebp - 0x78]
cmp edx, edi
jae 0x1033b646
cmp dword [ebp - 0x68], 0
mov ecx, 0x84
mov eax, 0x78
cmovne eax, ecx
mov ecx, dword [ebp - 0x74]
add eax, dword [ebp - 0x58]
add eax, edx
lea esi, [ecx + eax*4]
nop
mov ecx, dword [esi]
lea esi, [esi + 4]
and ecx, 0xfffffffe
movzx eax, dl
or ecx, dword [ebp - 0x70]
inc edx
and ecx, 0xfffffff9
shl eax, 3
or ecx, ebx
and ecx, 0xfff80007
or ecx, eax
mov dword [esi - 4], ecx
cmp edx, edi
jb 0x1033b620
mov esi, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x64]
sub dword [ebp - 0x5c], 0xffffff80
inc edx
add dword [ebp - 0x58], 0xae
mov cl, byte [esi + 0x9ac]
mov ebx, dword [ebp - 0x68]
movzx eax, cl
mov dword [ebp - 0x64], edx
cmp edx, eax
jb 0x1033b4e0
mov edi, dword [ebp - 0x74]
inc ebx
mov dword [ebp - 0x68], ebx
cmp ebx, 1
jbe 0x1033b4a0
xor edx, edx
mov dword [ebp - 0x58], edx
movzx esi, cl
mov dword [ebp - 0x60], esi
cmp esi, 3
jae 0x1033b775
mov ebx, edx
mov ecx, 0xa2
and ebx, 1
mov eax, 0xc
test edx, edx
mov dword [ebp - 0x64], ebx
cmovne eax, ecx
mov ecx, 0x78
mov dword [ebp - 0x78], eax
mov eax, 0x84
cmovne ecx, eax
imul eax, esi, 0xae
add ecx, eax
lea eax, [edi + ecx*4]
mov dword [ebp - 0x5c], eax
lea ecx, [edi + 0x60]
lea eax, [edx + esi*2]
shl eax, 6
add ecx, eax
mov dword [ebp - 0x6c], ecx
nop word [eax + eax]
and esi, 3
mov edx, 1
lea edi, [esi + esi]
mov esi, ecx
nop dword [eax]
mov ecx, ebx
lea eax, [edx - 1]
and ecx, 1
lea esi, [esi + 4]
or ecx, edi
and eax, 0xf
and ecx, 7
shl eax, 3
or ecx, eax
inc edx
mov dword [esi - 4], ecx
cmp edx, 0x10
jbe 0x1033b6f0
mov eax, dword [ebp - 0x5c]
xor ebx, ebx
mov esi, dword [ebp - 0x64]
nop dword [eax]
mov edx, dword [eax]
lea eax, [eax + 4]
and edx, 0xfffffffe
movzx ecx, bl
or edx, esi
shl ecx, 3
and edx, 0xfffffff9
inc ebx
or edx, edi
and edx, 0xfff80007
or edx, ecx
mov dword [eax - 4], edx
cmp ebx, dword [ebp - 0x78]
jb 0x1033b720
mov esi, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x6c]
inc esi
add dword [ebp - 0x5c], 0x2b8
sub ecx, 0xffffff80
mov ebx, dword [ebp - 0x64]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x6c], ecx
cmp esi, 3
jb 0x1033b6e0
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x58]
mov cl, byte [eax + 0x9ac]
mov edi, dword [ebp - 0x74]
inc edx
mov dword [ebp - 0x58], edx
cmp edx, 1
jbe 0x1033b684
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 8