Function at 0x10190e00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.101bea50
push ebx
mov ebx, dword [esp + 0x2c]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x174]
mov dword [esp + 0x18], eax
mov eax, ebx
add eax, dword [esi + 0x38]
adc ecx, dword [esi + 0x3c]
cmp ecx, 0xf
ja 0x1019110f
jb 0x10190e3c
cmp eax, 0xffffffe0
ja 0x1019110f
cmp dword [esi + 0x16c], 0
mov edx, dword [esi + 0x168]
mov dword [esi + 0x3c], ecx
lea ecx, [esi + 0x40]
mov dword [esi + 0x38], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0xc], ecx
je 0x10190eb5
test ebx, ebx
jne 0x10190e7b
lea eax, [esi + 0x60]
push eax
push ecx
call fcn.10191930
add esp, 8
mov dword [esi + 0x16c], ebx
xor eax, eax
pop esi
pop ebx
add esp, 0x18
ret
movups xmm0, xmmword [ecx]
mov edx, 0x10
mov dword [esp + 0x30], edx
movups xmmword [esi + 0x178], xmm0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x16c], 0
jmp 0x10190eb9
mov dword [esp + 0xc], ecx
movzx ecx, byte [esi + 0xc]
movzx eax, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xf]
shl ecx, 8
or ecx, eax
mov dword [esp + 8], ecx
mov ecx, edx
push ebp
mov ebp, dword [esp + 0x2c]
and ecx, 0xf
push edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
je 0x10190f5d
lea eax, [esi + 0x178]
add eax, edx
mov dword [esp + 0x38], eax
nop dword [eax]
test ebx, ebx
je 0x101910ff
mov al, byte [ecx + esi + 0x10]
inc edx
xor al, byte [ebp]
inc ecx
mov esi, dword [esp + 0x38]
inc ebp
inc dword [esp + 0x38]
dec ebx
mov byte [edi], al
inc edi
and ecx, 0xf
mov dword [esp + 0x18], edi
mov byte [esi], al
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
jne 0x10190f00
push edx
lea ecx, [esi + 0x178]
push ecx
lea ecx, [esi + 0x60]
lea eax, [esi + 0x40]
push ecx
push eax
mov dword [esp + 0x24], eax
call fcn.10191700
mov eax, dword [esp + 0x2c]
add esp, 0x10
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], edx
jmp 0x10190f61
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
cmp ebx, 0x10
jb 0x10190f9b
mov dword [esp + 0x2c], eax
test edx, edx
je 0x10190f9b
push edx
lea ecx, [esi + 0x178]
push ecx
lea ecx, [esi + 0x60]
push ecx
push eax
call fcn.10191700
mov eax, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], eax
cmp ebx, 0xc00
jb 0x10191021
mov dword [esp + 0x2c], eax
mov eax, 0xaaaaaaab
mul ebx
shr edx, 0xb
mov dword [esp + 0x24], edx
push esi
push dword [esp + 0x24]
push 0xc0
push edi
push ebp
call dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
add ecx, 0xc0
mov eax, ecx
mov dword [esp + 0x24], ecx
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ecx
shr eax, 8
push 0xc00
mov byte [esi + 0xe], al
lea eax, [esi + 0x60]
push edi
push eax
push dword [esp + 0x4c]
mov byte [esi + 0xf], cl
call fcn.10191700
add esp, 0x24
add edi, 0xc00
add ebp, 0xc00
sub ebx, 0xc00
sub dword [esp + 0x24], 1
jne 0x10190fb5
mov dword [esp + 0x18], edi
mov eax, ebx
and eax, 0xfffffff0
mov dword [esp + 0x24], eax
je 0x10191087
push esi
push dword [esp + 0x24]
mov edi, eax
shr edi, 4
push edi
push dword [esp + 0x24]
push ebp
call dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
add ecx, edi
mov edi, dword [esp + 0x2c]
mov eax, ecx
mov dword [esp + 0x24], ecx
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [esp + 0x38]
add ebp, eax
push eax
sub ebx, eax
mov byte [esi + 0xf], cl
push edi
lea eax, [esi + 0x60]
push eax
push dword [esp + 0x4c]
call fcn.10191700
add esp, 0x24
add edi, dword [esp + 0x24]
test ebx, ebx
je 0x101910fb
push dword [esp + 0x20]
lea eax, [esi + 0x10]
push eax
mov eax, dword [esi + 0x170]
push esi
call eax
mov ecx, dword [esp + 0x1c]
sub ebp, edi
mov edx, dword [esp + 0x44]
inc ecx
mov eax, ecx
mov byte [esi + 0xf], cl
shr eax, 0x18
add edx, 0x178
mov byte [esi + 0xc], al
add esp, 0xc
mov eax, ecx
add edx, esi
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [esp + 0x1c]
lea ecx, [eax + edi]
add eax, 0x10
add eax, esi
add dword [esp + 0x38], ebx
mov dword [esp + 0x2c], eax
mov edi, eax
mov al, byte [ecx + ebp]
lea edx, [edx + 1]
xor al, byte [edi]
lea edi, [edi + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x101910e3
mov edx, dword [esp + 0x38]
pop edi
pop ebp
mov dword [esi + 0x168], edx
xor eax, eax
pop esi
pop ebx
add esp, 0x18
ret
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret