Function at 0x10081de0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.1011abd0
push ebx
mov ebx, dword [esp + 0x1c]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x174]
mov edx, dword [ebx + 0x160]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x164]
mov dword [esp + 0x14], eax
mov eax, esi
add eax, dword [ebx + 0x38]
mov dword [esp + 0x18], edx
adc ecx, dword [ebx + 0x3c]
cmp ecx, 0xf
ja 0x10081fed
jb 0x10081e30
cmp eax, 0xffffffe0
ja 0x10081fed
cmp dword [ebx + 0x16c], 0
mov dword [ebx + 0x38], eax
lea eax, [ebx + 0x40]
mov dword [ebx + 0x3c], ecx
lea ecx, [ebx + 0x60]
mov dword [esp + 0xc], eax
je 0x10081e5c
push ecx
push eax
call edx
add esp, 8
mov dword [ebx + 0x16c], 0
jmp 0x10081e60
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xc]
bswap eax
push ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x168]
mov dword [esp + 0x24], eax
push edi
mov edi, dword [esp + 0x30]
test eax, eax
je 0x10081ec7
test esi, esi
je 0x10081fdd
mov dl, byte [ebp]
lea ecx, [eax + ebx]
mov al, byte [ecx + 0x10]
inc ebp
xor al, dl
dec esi
mov byte [edi], al
inc edi
mov eax, dword [esp + 0x28]
xor byte [ecx + 0x40], dl
inc eax
and eax, 0xf
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], eax
jne 0x10081e81
lea ecx, [ebx + 0x60]
lea eax, [ebx + 0x40]
push ecx
push eax
call dword [esp + 0x28]
mov eax, dword [esp + 0x30]
add esp, 8
mov dword [esp + 0x28], eax
jmp 0x10081ecb
mov dword [esp + 0x34], edi
cmp esi, 0xc00
jb 0x10081f38
mov eax, 0xaaaaaaab
mul esi
shr edx, 0xb
mov dword [esp + 0x34], edx
push 0xc00
push ebp
lea eax, [ebx + 0x60]
push eax
push dword [esp + 0x20]
call dword [esp + 0x2c]
push ebx
push dword [esp + 0x2c]
push 0xc0
push edi
push ebp
call dword [esp + 0x5c]
mov ecx, dword [esp + 0x34]
add esp, 0x24
add ecx, 0xc0
add edi, 0xc00
mov eax, ecx
mov dword [esp + 0x10], ecx
bswap eax
add ebp, 0xc00
mov dword [ebx + 0xc], eax
sub esi, 0xc00
sub dword [esp + 0x34], 1
jne 0x10081ee1
mov dword [esp + 0x34], edi
mov eax, esi
and eax, 0xfffffff0
mov dword [esp + 0x20], eax
je 0x10081f89
push eax
mov edi, eax
lea eax, [ebx + 0x60]
push ebp
push eax
push dword [esp + 0x20]
shr edi, 4
call dword [esp + 0x2c]
push ebx
push dword [esp + 0x2c]
push edi
push dword [esp + 0x50]
push ebp
call dword [esp + 0x5c]
mov eax, dword [esp + 0x34]
add esp, 0x24
add eax, edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x10], eax
bswap eax
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x20]
add edi, eax
add ebp, eax
mov dword [esp + 0x34], edi
sub esi, eax
test esi, esi
je 0x10081fd9
push dword [esp + 0x18]
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x170]
push ebx
call eax
mov eax, dword [esp + 0x1c]
lea edx, [ebx + 0x40]
sub ebp, dword [esp + 0x40]
inc eax
bswap eax
mov dword [ebx + 0xc], eax
add esp, 0xc
mov eax, dword [esp + 0x28]
add edi, eax
add edx, eax
add eax, esi
mov dword [esp + 0x28], eax
mov cl, byte [edi + ebp]
lea edx, [edx + 1]
mov al, byte [edx - 0x31]
lea edi, [edi + 1]
xor byte [edx - 1], cl
xor al, cl
mov byte [edi - 1], al
sub esi, 1
jne 0x10081fc0
mov eax, dword [esp + 0x28]
pop edi
pop ebp
mov dword [ebx + 0x168], eax
xor eax, eax
pop esi
pop ebx
add esp, 0x14
ret
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret