Function at 0x10190230
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.101bea50
push ebp
mov ebp, dword [esp + 0x3c]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 0x170]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x174]
mov dword [esp + 0x1c], eax
mov eax, ebp
add eax, dword [esi + 0x38]
adc ecx, dword [esi + 0x3c]
cmp ecx, 0xf
ja 0x1019063b
jb 0x10190276
cmp eax, 0xffffffe0
ja 0x1019063b
cmp dword [esi + 0x16c], 0
lea edx, [esi + 0x40]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x168]
mov dword [esi + 0x3c], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
je 0x101902ee
test ebp, ebp
jne 0x101902b5
lea eax, [esi + 0x60]
push eax
push edx
call fcn.10191930
add esp, 8
mov dword [esi + 0x16c], ebp
xor eax, eax
pop esi
pop ebp
add esp, 0x28
ret
movups xmm0, xmmword [edx]
mov dword [esp + 8], 0x10
movups xmmword [esi + 0x178], xmm0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x16c], 0
jmp 0x101902f2
mov dword [esp + 0xc], edx
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 + 0x10], ecx
mov ecx, dword [esp + 8]
mov eax, ecx
push ebx
mov ebx, dword [esp + 0x40]
and eax, 0xf
push edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
je 0x101903ab
lea edx, [esi + 0x178]
add edx, ecx
test ebp, ebp
je 0x1019039b
mov cl, byte [edi]
dec ebp
mov byte [edx], cl
inc edi
mov al, byte [eax + esi + 0x10]
inc edx
xor al, cl
mov ecx, dword [esp + 0x10]
mov byte [ebx], al
inc ecx
mov eax, dword [esp + 0x1c]
inc ebx
inc eax
mov dword [esp + 0x10], ecx
and eax, 0xf
mov dword [esp + 0x1c], eax
jne 0x10190336
push ecx
lea edx, [esi + 0x178]
lea eax, [esi + 0x60]
push edx
lea ecx, [esi + 0x60]
mov dword [esp + 0x28], eax
lea eax, [esi + 0x40]
push ecx
push eax
mov dword [esp + 0x24], eax
call fcn.10191700
mov eax, dword [esp + 0x2c]
lea edx, [esi + 0x40]
add esp, 0x10
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x10], ecx
jmp 0x101903b2
pop edi
pop ebx
mov dword [esi + 0x168], ecx
xor eax, eax
pop esi
pop ebp
add esp, 0x28
ret
lea eax, [esi + 0x60]
mov dword [esp + 0x20], eax
cmp ebp, 0x10
jb 0x101903d8
test ecx, ecx
je 0x101903d8
push ecx
lea eax, [esi + 0x178]
push eax
lea eax, [esi + 0x60]
push eax
push edx
call fcn.10191700
add esp, 0x10
mov dword [esp + 0x10], 0
cmp ebp, 0xc00
jb 0x10190499
mov eax, 0xaaaaaaab
mul ebp
shr edx, 0xb
mov dword [esp + 0x34], edx
push 0xc00
push edi
lea eax, [esi + 0x60]
push eax
push dword [esp + 0x20]
call fcn.10191700
add esp, 0x10
mov ebp, 0xc0
nop dword [eax]
push dword [esp + 0x24]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
add esp, 0xc
inc ecx
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
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [esi + 0x10]
xor eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ebx + 0xc], eax
add ebx, 0x10
mov dword [esp + 0x18], ecx
sub ebp, 1
jne 0x10190410
mov ebp, dword [esp + 0x48]
sub ebp, 0xc00
sub dword [esp + 0x34], 1
mov dword [esp + 0x48], ebp
jne 0x101903f2
lea eax, [esi + 0x60]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0xc]
mov dword [esp + 0x14], ecx
lea edx, [esi + 0xd]
lea ecx, [esi + 0xe]
mov dword [esp + 0x48], ebp
and dword [esp + 0x48], 0xfffffff0
mov dword [esp + 0x30], ecx
lea ecx, [esi + 0xf]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ecx
je 0x10190592
push dword [esp + 0x48]
push edi
push dword [esp + 0x28]
push eax
call fcn.10191700
lea eax, [esi + 0xc]
add esp, 0x10
mov dword [esp + 0x14], eax
lea eax, [esi + 0xd]
mov dword [esp + 0x2c], eax
lea eax, [esi + 0xe]
mov dword [esp + 0x30], eax
lea eax, [esi + 0xf]
mov dword [esp + 0x34], eax
cmp ebp, 0x10
jb 0x10190592
mov eax, ebp
lea ecx, [esi + 0x10]
shr eax, 4
mov dword [esp + 0x48], eax
nop dword [eax + eax]
push dword [esp + 0x24]
push ecx
push esi
call dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
add esp, 0xc
inc ecx
sub ebp, 0x10
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
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [esi + 0x10]
xor eax, dword [edi]
mov dword [esp + 0x18], ecx
lea ecx, [esi + 0x10]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ebx + 0xc], eax
add ebx, 0x10
sub dword [esp + 0x48], 1
jne 0x10190510
lea eax, [esi + 0xc]
mov dword [esp + 0x14], eax
lea eax, [esi + 0xd]
mov dword [esp + 0x2c], eax
lea eax, [esi + 0xe]
mov dword [esp + 0x30], eax
lea eax, [esi + 0xf]
mov dword [esp + 0x34], eax
test ebp, ebp
je 0x10190627
push dword [esp + 0x24]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x14]
inc ecx
mov eax, ecx
sub edi, ebx
shr eax, 0x18
mov byte [edx], al
mov eax, ecx
mov edx, dword [esp + 0x2c]
shr eax, 0x10
mov byte [edx], al
mov eax, ecx
mov edx, dword [esp + 0x30]
shr eax, 8
mov byte [edx], al
mov eax, dword [esp + 0x34]
mov byte [eax], cl
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
lea edx, [eax + ebx]
add eax, 0x10
add eax, esi
mov dword [esp + 0x34], eax
lea eax, [esi + 0x178]
mov esi, dword [esp + 0x34]
add eax, ecx
add ecx, ebp
mov dword [esp + 0x48], eax
mov dword [esp + 0x10], ecx
mov cl, byte [edi + edx]
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 + 0x48]
inc eax
mov dword [esp + 0x48], eax
sub ebp, 1
jne 0x10190602
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
pop edi
pop ebx
mov dword [esi + 0x168], eax
xor eax, eax
pop esi
pop ebp
add esp, 0x28
ret
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x28
ret