Function at 0x101909c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2c
call fcn.101bea50
push ebp
mov ebp, dword [esp + 0x40]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 0x170]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x174]
mov dword [esp + 0x28], eax
mov eax, ebp
add eax, dword [esi + 0x38]
adc ecx, dword [esi + 0x3c]
cmp ecx, 0xf
ja 0x10190def
jb 0x10190a06
cmp eax, 0xffffffe0
ja 0x10190def
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 + 0x38], edx
mov dword [esp + 8], ecx
je 0x10190a7e
test ebp, ebp
jne 0x10190a45
lea eax, [esi + 0x60]
push eax
push ecx
call fcn.10191930
add esp, 8
mov dword [esi + 0x16c], ebp
xor eax, eax
pop esi
pop ebp
add esp, 0x2c
ret
movups xmm0, xmmword [ecx]
mov dword [esp + 0x38], 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 0x10190a82
mov dword [esp + 8], ecx
movzx ecx, byte [esi + 0xc]
lea eax, [esi + 0xc]
shl ecx, 8
lea edx, [esi + 0xd]
mov dword [esp + 0x14], eax
movzx eax, byte [edx]
or ecx, eax
mov dword [esp + 0x18], edx
movzx eax, byte [esi + 0xe]
push ebx
lea ebx, [esi + 0xe]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x20], ebx
movzx eax, byte [esi + 0xf]
mov ebx, dword [esp + 0x44]
push edi
lea edi, [esi + 0xf]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x40]
mov edx, eax
mov edi, dword [esp + 0x44]
and edx, 0xf
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], edx
je 0x10190b7a
lea ecx, [esi + 0x178]
add ecx, eax
test ebp, ebp
je 0x10190b6a
mov al, byte [edx + esi + 0x10]
dec ebp
xor al, byte [edi]
inc edx
mov byte [ebx], al
inc edi
mov byte [ecx], al
inc ebx
mov eax, dword [esp + 0x40]
inc ecx
inc eax
and edx, 0xf
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], edx
jne 0x10190ae5
mov edx, dword [esp + 0x40]
lea ecx, [esi + 0x178]
push edx
push ecx
lea eax, [esi + 0x60]
lea ecx, [esi + 0x60]
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x40]
push ecx
push eax
mov dword [esp + 0x20], eax
call fcn.10191700
lea eax, [esi + 0xc]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x2c], eax
lea ecx, [esi + 0x60]
lea eax, [esi + 0xd]
xor edx, edx
mov dword [esp + 0x30], eax
add esp, 0x10
lea eax, [esi + 0xe]
mov dword [esp + 0x40], edx
mov dword [esp + 0x24], eax
lea eax, [esi + 0xf]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
xor eax, eax
jmp 0x10190b81
pop edi
pop ebx
mov dword [esi + 0x168], eax
xor eax, eax
pop esi
pop ebp
add esp, 0x2c
ret
lea ecx, [esi + 0x60]
mov dword [esp + 0x14], ecx
cmp ebp, 0x10
jb 0x10190ba7
test eax, eax
je 0x10190ba7
push eax
lea eax, [esi + 0x178]
push eax
push ecx
push dword [esp + 0x1c]
call fcn.10191700
add esp, 0x10
mov dword [esp + 0x40], 0
cmp ebp, 0xc00
jb 0x10190c8d
lea eax, [esi + 0x60]
mov dword [esp + 0x14], eax
lea ecx, [esi + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, 0xaaaaaaab
mul ebp
shr edx, 0xb
mov dword [esp + 0x28], edx
mov ebp, 0xc0
push dword [esp + 0x30]
push ecx
push esi
call dword [esp + 0x40]
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 [edi]
xor eax, dword [esi + 0x10]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [esp + 0x18], ecx
lea ecx, [esi + 0x10]
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 ebp, 1
jne 0x10190bd8
push 0xc00
lea eax, [ebx - 0xc00]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.10191700
mov ebp, dword [esp + 0x5c]
lea ecx, [esi + 0x10]
sub ebp, 0xc00
add esp, 0x10
sub dword [esp + 0x28], 1
mov dword [esp + 0x4c], ebp
jne 0x10190bd3
lea eax, [esi + 0xc]
mov dword [esp + 0x1c], eax
lea eax, [esi + 0xd]
mov dword [esp + 0x20], eax
lea eax, [esi + 0xe]
mov dword [esp + 0x24], eax
lea eax, [esi + 0xf]
mov dword [esp + 0x28], eax
mov ecx, ebp
and ecx, 0xfffffff0
mov dword [esp + 0x38], ecx
je 0x10190d5b
cmp ebp, 0x10
jb 0x10190d29
mov eax, ebp
lea ecx, [esi + 0x10]
shr eax, 4
mov dword [esp + 0x4c], eax
push dword [esp + 0x30]
push ecx
push esi
call dword [esp + 0x40]
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 [edi]
xor eax, dword [esi + 0x10]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [esp + 0x18], ecx
lea ecx, [esi + 0x10]
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 + 0x4c], 1
jne 0x10190cb1
mov ecx, dword [esp + 0x38]
lea eax, [esi + 0x60]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x40]
mov dword [esp + 0x10], eax
push ecx
mov eax, ebx
sub eax, ecx
push eax
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.10191700
lea eax, [esi + 0xc]
add esp, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esi + 0xd]
mov dword [esp + 0x20], eax
lea eax, [esi + 0xe]
mov dword [esp + 0x24], eax
lea eax, [esi + 0xf]
mov dword [esp + 0x28], eax
test ebp, ebp
je 0x10190ddb
push dword [esp + 0x30]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
sub edi, ebx
mov edx, dword [esp + 0x28]
inc ecx
mov eax, ecx
add esp, 0xc
shr eax, 0x18
mov byte [edx], al
mov eax, ecx
mov edx, dword [esp + 0x20]
shr eax, 0x10
mov byte [edx], al
mov eax, ecx
mov edx, dword [esp + 0x24]
shr eax, 8
mov byte [edx], al
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
add edx, 0x178
add edx, esi
mov byte [eax], cl
mov eax, dword [esp + 0x2c]
lea ecx, [eax + ebx]
add eax, 0x10
add eax, esi
add dword [esp + 0x40], ebp
mov dword [esp + 0x4c], eax
mov ebx, eax
mov al, byte [edi + ecx]
lea edx, [edx + 1]
xor al, byte [ebx]
lea ebx, [ebx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
mov byte [edx - 1], al
sub ebp, 1
jne 0x10190dc3
mov edx, dword [esp + 0x40]
xor eax, eax
pop edi
pop ebx
mov dword [esi + 0x168], edx
pop esi
pop ebp
add esp, 0x2c
ret
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x2c
ret