Function at 0x1000140b
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1013a3a0
mov eax, 0x44
call fcn.10001f96
mov eax, dword [0x1025e3d4]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
push ebx
mov ebx, dword [esp + 0x54]
push esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], eax
mov dl, byte [esi]
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
mov byte [esp + 0xb], dl
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
push edi
test dl, 0x40
jne 0x1013a408
push eax
lea eax, [esi + 0x10]
push eax
push esi
call ecx
mov dl, byte [esp + 0x1b]
add esp, 0xc
add dword [esi + 0x20], 1
adc dword [esi + 0x24], 0
movzx eax, dl
xor ecx, ecx
and eax, 7
mov edx, 0xf
sub edx, eax
mov byte [esi], al
mov dword [esp + 0x38], edx
cmp edx, 0xf
jae 0x1013a435
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x1013a422
movzx eax, byte [esi + 0xf]
mov edi, dword [esp + 0x60]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, edi
je 0x1013a45c
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.100032f1
add esp, 0x44
ret
lea eax, [edi + 0xf]
or eax, 8
shr eax, 3
add dword [esi + 0x20], eax
adc dword [esi + 0x24], 0
cmp dword [esi + 0x24], 0x20000000
jb 0x1013a494
ja 0x1013a47d
cmp dword [esi + 0x20], 0
jbe 0x1013a494
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.100032f1
add esp, 0x44
ret
push ebp
mov ebp, edi
lea eax, [esi + 0x10]
shr ebp, 4
test ebp, ebp
je 0x1013a4e1
push eax
push esi
push dword [esp + 0x20]
push ebp
push ebx
push dword [esp + 0x28]
call dword [esp + 0x38]
shl ebp, 4
add esp, 0x18
add dword [esp + 0x14], ebp
add ebx, ebp
sub edi, ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x64], edi
je 0x1013a64b
shr ebp, 4
push ebp
push esi
call fcn.1013a8c0
lea eax, [esi + 0x10]
add esp, 8
mov ecx, eax
jmp 0x1013a4eb
mov ecx, eax
test edi, edi
je 0x1013a64b
test edi, edi
je 0x1013a522
mov edx, dword [esp + 0x14]
mov ebp, edi
mov al, byte [edx]
lea edx, [edx + 1]
xor byte [ecx], al
lea ecx, [ecx + 1]
sub ebp, 1
jne 0x1013a4f5
mov ebp, dword [esp + 0x18]
lea eax, [esi + 0x10]
push ebp
push eax
push eax
call dword [esp + 0x28]
push ebp
lea eax, [esp + 0x50]
push eax
push esi
call dword [esp + 0x34]
add esp, 0x18
jmp 0x1013a543
mov ebp, dword [esp + 0x18]
push ebp
push eax
push eax
call dword [esp + 0x28]
push ebp
lea eax, [esp + 0x50]
push eax
push esi
call dword [esp + 0x34]
add esp, 0x18
test edi, edi
je 0x1013a64f
mov ebp, dword [esp + 0x14]
xor edx, edx
cmp edi, 0x40
jb 0x1013a630
lea ecx, [ebx - 1]
lea eax, [esp + edi + 0x3f]
add ecx, edi
cmp ebx, eax
ja 0x1013a56b
lea eax, [esp + 0x40]
cmp ecx, eax
jae 0x1013a630
lea eax, [ebp - 1]
add eax, edi
cmp ebx, eax
ja 0x1013a57c
cmp ecx, ebp
jae 0x1013a630
mov esi, ebp
lea ecx, [ebp + 0x30]
lea ebp, [esp + 0x40]
mov eax, edi
sub ebp, ebx
sub esi, ebx
mov dword [esp + 0x2c], ebp
and eax, 0xffffffc0
mov edi, dword [esp + 0x2c]
lea ebp, [esp + 0x50]
sub ebp, ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ebp
lea eax, [ebx + 0x10]
lea ebp, [esp + 0x60]
mov dword [esp + 0x20], esi
sub ebp, ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x34], ebp
mov ebp, esi
nop dword [eax + eax]
movups xmm0, xmmword [ecx - 0x30]
mov esi, dword [esp + 0x34]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [esp + edx + 0x40]
add edx, 0x40
lea eax, [eax + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax + ebp - 0x40]
movups xmmword [eax - 0x50], xmm1
movups xmm1, xmmword [edi + eax - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x50]
movups xmmword [eax - 0x40], xmm1
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [esi + eax - 0x40]
mov esi, dword [esp + 0x24]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, dword [esp + 0x38]
jb 0x1013a5c0
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x24], edx
cmp edx, edi
jae 0x1013a64b
lea eax, [esp + 0x40]
sub ebp, eax
sub ebx, eax
lea ecx, [esp + 0x40]
add ecx, edx
inc edx
mov al, byte [ecx + ebp]
xor al, byte [ecx]
mov byte [ecx + ebx], al
cmp edx, edi
jb 0x1013a638
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x10
jae 0x1013a66e
mov eax, 0x10
sub eax, ecx
push eax
lea eax, [ecx + esi]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push ebp
lea eax, [esp + 0x44]
push eax
push esi
call dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
add esp, 0xc
xor dword [esi + 0x10], eax
mov eax, dword [esp + 0x44]
xor dword [esi + 0x14], eax
mov eax, dword [esp + 0x48]
xor dword [esi + 0x18], eax
mov eax, dword [esp + 0x4c]
xor dword [esi + 0x1c], eax
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x50]
pop ebp
pop edi
mov byte [esi], al
xor eax, eax
pop esi
pop ebx
xor ecx, esp
call fcn.100032f1
add esp, 0x44
ret