Function at 0x10112530
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10112530
mov eax, 0x2c
call fcn.101aa6d0
mov eax, dword [0x102745f0]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
mov bl, byte [esi]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x2c]
push edi
mov byte [esp + 0x13], bl
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
test bl, 0x40
jne 0x1011258d
push eax
lea eax, [esi + 0x10]
push eax
push esi
call ecx
add esp, 0xc
add dword [esi + 0x20], 1
adc dword [esi + 0x24], 0
movzx eax, bl
and eax, 7
mov edx, 0xf
sub edx, eax
xor ecx, ecx
mov byte [esi], al
mov dword [esp + 0x20], edx
cmp edx, 0xf
jae 0x101125c3
jmp 0x101125b0
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x101125b0
movzx eax, byte [esi + 0xf]
mov edi, dword [esp + 0x4c]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, edi
je 0x101125eb
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.101aa6fb
add esp, 0x2c
ret
lea eax, [edi + 0xf]
or eax, 8
shr eax, 3
add dword [esi + 0x20], eax
adc dword [esi + 0x24], 0
cmp dword [esi + 0x24], 0x20000000
jb 0x10112624
ja 0x1011260c
cmp dword [esi + 0x20], 0
jbe 0x10112624
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.101aa6fb
add esp, 0x2c
ret
mov ebx, edi
shr ebx, 4
test ebx, ebx
je 0x1011265d
lea eax, [esi + 0x10]
push eax
push esi
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x28]
push ebp
call dword [esp + 0x3c]
shl ebx, 4
add dword [esp + 0x30], ebx
add esp, 0x18
add ebp, ebx
sub edi, ebx
je 0x101126b4
shr ebx, 4
push ebx
push esi
call fcn.101128e0
add esp, 8
test edi, edi
je 0x101126b4
xor ecx, ecx
test edi, edi
je 0x10112673
mov al, byte [ecx + ebp]
xor byte [esi + ecx + 0x10], al
inc ecx
cmp ecx, edi
jb 0x10112667
mov ebx, dword [esp + 0x14]
lea eax, [esi + 0x10]
push ebx
push eax
push eax
call dword [esp + 0x28]
push ebx
lea eax, [esp + 0x38]
push eax
push esi
call dword [esp + 0x34]
add esp, 0x18
xor edx, edx
test edi, edi
je 0x101126b8
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x28]
sub ebp, eax
sub ebx, eax
lea ecx, [esp + 0x28]
add ecx, edx
inc edx
mov al, byte [ecx + ebp]
xor al, byte [ecx]
mov byte [ebx + ecx], al
cmp edx, edi
jb 0x101126a1
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp eax, 0x10
jae 0x101126db
mov ecx, 0x10
sub ecx, eax
mov edx, ecx
shr ecx, 2
lea edi, [esi + eax]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x2c]
push eax
push esi
call dword [esp + 0x28]
mov eax, dword [esp + 0x34]
xor dword [esi + 0x10], eax
mov eax, dword [esp + 0x38]
xor dword [esi + 0x14], eax
mov eax, dword [esp + 0x3c]
xor dword [esi + 0x18], eax
mov eax, dword [esp + 0x40]
xor dword [esi + 0x1c], eax
mov al, byte [esp + 0x1f]
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov byte [esi], al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.101aa6fb
add esp, 0x2c
ret