Function at 0x1011c5c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, dword [ebp + 0x14]
xor edx, edx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x170]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x174]
mov dword [ebp - 0x14], eax
mov eax, ecx
add eax, dword [esi + 0x38]
adc edx, dword [esi + 0x3c]
cmp edx, 0xf
ja 0x1011c8a4
jb 0x1011c5fd
cmp eax, 0xffffffe0
ja 0x1011c8a4
cmp dword [esi + 0x16c], 0
mov dword [esi + 0x3c], edx
lea edx, [esi + 0x40]
mov dword [esi + 0x38], eax
lea eax, [esi + 0x60]
mov dword [ebp - 8], edx
je 0x1011c631
push eax
push edx
call fcn.1011d8b0
mov ecx, dword [ebp + 0x14]
lea edx, [esi + 0x40]
add esp, 8
mov dword [esi + 0x16c], 0
jmp 0x1011c634
mov dword [ebp - 8], edx
movzx eax, byte [esi + 0xd]
push ebx
movzx ebx, byte [esi + 0xc]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0xe]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0xf]
shl ebx, 8
or ebx, eax
mov eax, dword [esi + 0x168]
mov dword [ebp - 0xc], eax
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x1011c6d7
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
nop
test ecx, ecx
je 0x1011c6b2
mov al, byte [eax + esi + 0x10]
mov cl, byte [edi]
inc edi
xor al, cl
mov byte [edx], al
lea eax, [esi + 0x40]
mov dword [ebp - 0x10], eax
inc edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], edx
xor byte [eax + esi + 0x40], cl
inc eax
mov ecx, dword [ebp + 0x14]
dec ecx
and eax, 0xf
mov dword [ebp + 0x14], ecx
mov dword [ebp - 0xc], eax
jne 0x1011c670
mov ecx, dword [ebp - 0x10]
lea eax, [esi + 0x60]
push eax
push ecx
call fcn.1011d8b0
add esp, 8
jmp 0x1011c6dd
mov ecx, dword [ebp - 0x10]
test eax, eax
jne 0x1011c6c8
lea eax, [esi + 0x60]
push eax
push ecx
call fcn.1011d8b0
add esp, 8
jmp 0x1011c6dd
pop edi
mov dword [esi + 0x168], eax
xor eax, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
cmp ecx, 0xc00
jb 0x1011c794
mov eax, 0xaaaaaaab
mul ecx
shr edx, 0xb
mov dword [ebp - 0x1c], edx
nop dword [eax]
push 0xc00
push edi
lea eax, [esi + 0x60]
push eax
push dword [ebp - 8]
call fcn.1011d690
add esp, 0x10
mov dword [ebp - 0x10], 0xc0
nop dword [eax]
push dword [ebp - 0x14]
lea eax, [esi + 0x10]
push eax
push esi
call dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
inc ebx
mov eax, ebx
mov byte [esi + 0xf], bl
shr eax, 0x18
add esp, 0xc
mov byte [esi + 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ebx
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [edi]
xor eax, dword [esi + 0x10]
mov dword [ecx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ecx + 0xc], eax
add ecx, 0x10
sub dword [ebp - 0x10], 1
mov dword [ebp - 4], ecx
jne 0x1011c720
mov ecx, dword [ebp + 0x14]
sub ecx, 0xc00
sub dword [ebp - 0x1c], 1
mov dword [ebp + 0x14], ecx
jne 0x1011c700
mov eax, ecx
and eax, 0xfffffff0
je 0x1011c828
push eax
push edi
lea eax, [esi + 0x60]
push eax
push dword [ebp - 8]
call fcn.1011d690
mov ecx, dword [ebp + 0x14]
add esp, 0x10
cmp ecx, 0x10
jb 0x1011c828
shr ecx, 4
lea eax, [esi + 0x10]
mov dword [ebp - 0x1c], ecx
push dword [ebp - 0x14]
push eax
push esi
call dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
inc ebx
mov eax, ebx
mov byte [esi + 0xf], bl
shr eax, 0x18
add esp, 0xc
mov byte [esi + 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ebx
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [edi]
xor eax, dword [esi + 0x10]
mov dword [ecx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ecx + 0xc], eax
add ecx, 0x10
mov dword [ebp - 4], ecx
lea eax, [esi + 0x10]
mov ecx, dword [ebp + 0x14]
sub ecx, 0x10
sub dword [ebp - 0x1c], 1
mov dword [ebp + 0x14], ecx
jne 0x1011c7c1
test ecx, ecx
je 0x1011c892
push dword [ebp - 0x14]
lea eax, [esi + 0x10]
push eax
push esi
call dword [ebp - 0x18]
mov edx, dword [ebp + 0x14]
inc ebx
mov eax, ebx
mov byte [esi + 0xf], bl
shr eax, 0x18
add esp, 0xc
mov byte [esi + 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ebx
mov ebx, dword [ebp - 0xc]
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [ebp - 4]
sub edi, eax
lea esi, [ebx + eax]
mov eax, dword [ebp - 8]
lea esi, [esi + 1]
mov cl, byte [edi + esi - 1]
xor byte [eax + ebx], cl
mov al, byte [eax + ebx - 0x30]
inc ebx
xor al, cl
mov byte [esi - 1], al
sub edx, 1
jne 0x1011c864
mov esi, dword [ebp + 8]
xor eax, eax
pop edi
mov dword [esi + 0x168], ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0xc]
xor eax, eax
pop edi
mov dword [esi + 0x168], ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret