Function at 0x10009bb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.10115600
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x170]
mov ecx, dword [esi + 0x174]
mov edx, dword [esi + 0x160]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x164]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
xor eax, eax
add ecx, dword [esi + 0x38]
mov dword [esp + 0x10], edx
adc eax, dword [esi + 0x3c]
cmp eax, 0xf
ja 0x10009e29
jb 0x10009c07
cmp ecx, 0xffffffe0
ja 0x10009e29
cmp dword [esi + 0x16c], 0
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
je 0x10009c2d
lea ecx, [esi + 0x60]
push ecx
lea eax, [esi + 0x40]
push eax
call edx
add esp, 8
mov dword [esi + 0x16c], 0
mov eax, dword [esi + 0x168]
test eax, eax
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov ebp, dword [esi + 0xc]
push edi
mov edi, dword [esp + 0x2c]
bswap ebp
mov dword [esp + 0x28], eax
je 0x10009c9d
jmp 0x10009c54
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x34], 0
je 0x10009c82
mov cl, byte [edi]
mov dl, byte [eax + esi + 0x10]
sub dword [esp + 0x34], 1
xor dl, cl
mov byte [ebx], dl
xor byte [eax + esi + 0x40], cl
add eax, 1
add edi, 1
add ebx, 1
and eax, 0xf
mov dword [esp + 0x28], eax
jne 0x10009c50
jmp 0x10009c8a
test eax, eax
jne 0x10009e19
lea eax, [esi + 0x60]
push eax
lea ecx, [esi + 0x40]
push ecx
call dword [esp + 0x24]
mov eax, dword [esp + 0x30]
add esp, 8
mov ecx, dword [esp + 0x34]
cmp ecx, 0xc00
jb 0x10009d3d
mov eax, 0xaaaaaaab
mul ecx
shr edx, 0xb
mov dword [esp + 0x1c], edx
jmp 0x10009cc0
push 0xc00
push edi
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
push eax
call dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x18], 0xc0
lea ecx, [ecx]
mov edx, dword [esp + 0x10]
push edx
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x20]
add ebp, 1
mov eax, ebp
bswap eax
mov dword [esi + 0xc], eax
mov ecx, dword [edi]
xor ecx, dword [esi + 0x10]
add esp, 0xc
mov dword [ebx], ecx
mov edx, dword [edi + 4]
xor edx, dword [esi + 0x14]
add ebx, 0x10
mov dword [ebx - 0xc], edx
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
add edi, 0x10
mov dword [ebx - 8], eax
mov ecx, dword [edi - 4]
xor ecx, dword [esi + 0x1c]
sub dword [esp + 0x18], 1
mov dword [ebx - 4], ecx
jne 0x10009ce0
sub dword [esp + 0x34], 0xc00
sub dword [esp + 0x1c], 1
jne 0x10009cc0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
and ecx, 0xfffffff0
je 0x10009dc3
push ecx
push edi
lea edx, [esi + 0x60]
push edx
lea eax, [esi + 0x40]
push eax
call dword [esp + 0x30]
add esp, 0x10
cmp dword [esp + 0x34], 0x10
jb 0x10009dbf
mov eax, dword [esp + 0x34]
shr eax, 4
mov dword [esp + 0x20], eax
lea esp, [esp]
mov ecx, dword [esp + 0x10]
push ecx
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x20]
add ebp, 1
sub dword [esp + 0x40], 0x10
mov edx, ebp
bswap edx
mov dword [esi + 0xc], edx
mov eax, dword [edi]
xor eax, dword [esi + 0x10]
add esp, 0xc
mov dword [ebx], eax
mov ecx, dword [edi + 4]
xor ecx, dword [esi + 0x14]
add ebx, 0x10
mov dword [ebx - 0xc], ecx
mov edx, dword [edi + 8]
xor edx, dword [esi + 0x18]
add edi, 0x10
mov dword [ebx - 8], edx
mov eax, dword [edi - 4]
xor eax, dword [esi + 0x1c]
sub dword [esp + 0x20], 1
mov dword [ebx - 4], eax
jne 0x10009d70
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x34], 0
je 0x10009e19
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esi + 0x10]
push edx
push esi
call dword [esp + 0x20]
mov eax, dword [esp + 0x34]
add ebp, 1
bswap ebp
add esp, 0xc
mov dword [esi + 0xc], ebp
lea ebp, [eax + ebx]
sub edi, ebx
lea esp, [esp]
mov cl, byte [edi + ebp]
mov bl, byte [esi + eax + 0x10]
mov edx, dword [esp + 0x34]
xor byte [esi + eax + 0x40], cl
xor bl, cl
sub edx, 1
mov byte [ebp], bl
add eax, 1
add ebp, 1
test edx, edx
mov dword [esp + 0x34], edx
jne 0x10009df0
mov dword [esp + 0x28], eax
pop edi
pop ebp
mov dword [esi + 0x168], eax
pop ebx
xor eax, eax
pop esi
add esp, 0x14
ret
or eax, 0xffffffff
pop esi
add esp, 0x14
ret