Function at 0x10190650
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 + 0x1c], eax
mov eax, ebx
add eax, dword [esi + 0x38]
adc ecx, dword [esi + 0x3c]
cmp ecx, 0xf
ja 0x101909a9
jb 0x1019068c
cmp eax, 0xffffffe0
ja 0x101909a9
cmp dword [esi + 0x16c], 0
mov dword [esi + 0x3c], ecx
lea ecx, [esi + 0x40]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x168]
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], ecx
je 0x10190704
test ebx, ebx
jne 0x101906cb
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 dword [esp + 0x30], 0x10
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 0x10190708
mov dword [esp + 0x10], 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 + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov edx, ecx
push ebp
mov ebp, dword [esp + 0x2c]
and edx, 0xf
push edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x20], edx
je 0x101907c0
lea eax, [esi + 0x178]
add eax, ecx
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x101907b0
mov cl, byte [ebp]
dec ebx
mov byte [eax], cl
inc ebp
mov al, byte [edx + esi + 0x10]
inc edx
xor al, cl
mov ecx, dword [esp + 0x38]
mov byte [edi], al
inc ecx
mov eax, dword [esp + 0x18]
inc edi
inc eax
mov dword [esp + 0x1c], edi
and edx, 0xf
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
jne 0x10190750
push ecx
lea edx, [esi + 0x178]
push edx
lea edx, [esi + 0x60]
lea eax, [esi + 0x40]
push edx
push eax
mov dword [esp + 0x28], eax
call fcn.10191700
mov eax, dword [esp + 0x30]
add esp, 0x10
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], ecx
jmp 0x101907c4
pop edi
pop ebp
mov dword [esi + 0x168], ecx
xor eax, eax
pop esi
pop ebx
add esp, 0x18
ret
mov dword [esp + 0x1c], edi
lea eax, [esi + 0x60]
mov edx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
cmp ebx, 0x10
jb 0x1019080d
mov dword [esp + 0x10], eax
lea edx, [esi + 0x60]
test ecx, ecx
je 0x1019080d
push ecx
lea ecx, [esi + 0x178]
push ecx
lea ecx, [esi + 0x60]
push ecx
push eax
call fcn.10191700
mov eax, dword [esp + 0x28]
lea ecx, [esi + 0x60]
add esp, 0x10
mov dword [esp + 0x38], 0
mov edx, ecx
mov dword [esp + 0x10], eax
jmp 0x10190810
lea ecx, [esi + 0x60]
cmp ebx, 0xc00
jb 0x101908a1
mov dword [esp + 0x10], eax
mov eax, 0xaaaaaaab
mul ebx
mov dword [esp + 0x18], ecx
shr edx, 0xb
mov dword [esp + 0x1c], edx
push 0xc00
push ebp
push ecx
push dword [esp + 0x1c]
call fcn.10191700
push esi
push dword [esp + 0x38]
push 0xc0
push edi
push ebp
call dword [esp + 0x60]
mov ecx, dword [esp + 0x38]
add esp, 0x24
add ecx, 0xc0
add edi, 0xc00
mov eax, ecx
mov dword [esp + 0x14], ecx
shr eax, 0x18
add ebp, 0xc00
mov byte [esi + 0xc], al
sub ebx, 0xc00
mov eax, ecx
mov byte [esi + 0xf], cl
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ecx
mov ecx, dword [esp + 0x18]
shr eax, 8
sub dword [esp + 0x1c], 1
mov byte [esi + 0xe], al
jne 0x10190832
mov dword [esp + 0x1c], edi
mov edx, ecx
mov eax, ebx
and eax, 0xfffffff0
mov dword [esp + 0x18], eax
je 0x10190902
push eax
push ebp
push edx
push dword [esp + 0x1c]
mov edi, eax
shr edi, 4
call fcn.10191700
push esi
push dword [esp + 0x38]
push edi
push dword [esp + 0x38]
push ebp
call dword [esp + 0x60]
mov ecx, dword [esp + 0x38]
add esp, 0x24
add ecx, edi
mov edi, dword [esp + 0x1c]
mov eax, ecx
mov dword [esp + 0x14], 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 + 0x18]
add edi, eax
add ebp, eax
mov byte [esi + 0xf], cl
sub ebx, eax
test ebx, ebx
je 0x10190995
push dword [esp + 0x24]
lea eax, [esi + 0x10]
push eax
mov eax, dword [esi + 0x170]
push esi
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
inc ecx
sub ebp, edi
mov eax, ecx
mov byte [esi + 0xf], cl
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ecx
mov ecx, dword [esp + 0x38]
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [esp + 0x20]
lea edx, [eax + edi]
add eax, 0x10
add eax, esi
mov dword [esp + 0x20], eax
lea eax, [esi + 0x178]
mov esi, dword [esp + 0x20]
add eax, ecx
add ecx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], ecx
nop word [eax + eax]
mov cl, byte [edx + ebp]
lea esi, [esi + 1]
mov byte [eax], cl
lea edx, [edx + 1]
mov al, byte [esi - 1]
xor al, cl
mov byte [edx - 1], al
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
sub ebx, 1
jne 0x10190970
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
pop edi
pop ebp
mov dword [esi + 0x168], eax
xor eax, eax
pop esi
pop ebx
add esp, 0x18
ret
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret