Function at 0x140001950
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rdi
push r14
lea rbp, [r11 - 0x5f]
sub rsp, 0xc0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, r8
mov r10, rdx
mov rdi, rcx
test rcx, rcx
je 0x140001eb7
test edi, edi
js 0x140001eb7
test r8, r8
je 0x140001eb7
mov qword [r11 + 0x10], rbx
mov eax, 0xffffffff
xor ebx, ebx
mov qword [r11 + 0x20], rsi
shl r10, 0xc
mov r8d, ebx
movaps xmmword [r11 - 0x28], xmm6
mov r11, qword [0x140006660]
mov dword [rbp + 0x27], ebx
cmp r10, rax
jae 0x140001b9f
movups xmm0, xmmword [str.1234567O9:_]
movzx eax, byte [0x140004300]
movups xmm1, xmmword [0x1400042f0]
mov dword [r11 + 4], 0x20
cmp dword [0x140006050], 2
movups xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x29], al
movups xmmword [rbp - 0x39], xmm1
jl 0x140001b29
movdqa xmm0, xmmword [str.1111111111111111]
lea rcx, [rbp - 0x45]
movdqa xmm5, xmmword [0x140004390]
movdqa xmm4, xmmword [0x1400043d0]
movdqa xmm6, xmmword [str.5555]
movdqa xmmword [rbp + 0x17], xmm0
mov edx, dword [rbp + 0x17]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400043b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400043b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x20
jl 0x140001a22
cmp r8d, 0x21
jge 0x140001b71
movsxd rax, r8d
lea r9, [rbp - 0x49]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x21
jl 0x140001b40
movzx ecx, byte [r11]
lea r8, [rbp - 0x49]
movzx eax, word [r11 + 2]
cmp cl, 0xee
mov word [rbp - 0x41], ax
mov edx, ebx
bswap r10d
lea eax, [rcx + 1]
mov byte [rbp - 0x3f], cl
movzx eax, al
cmovbe edx, eax
mov dword [rbp - 0x39], r10d
jmp 0x140001d8a
movups xmm0, xmmword [0x140004320]
movzx eax, byte [0x140004348]
movups xmm1, xmmword [0x140004330]
mov dword [r11 + 4], 0x28
cmp dword [0x140006050], 2
movups xmmword [rbp - 0x21], xmm0
mov byte [rbp + 7], al
movsd xmm0, qword [0x140004340]
movsd qword [rbp - 1], xmm0
movups xmmword [rbp - 0x11], xmm1
jl 0x140001d17
movdqa xmm0, xmmword [str.1111111111111111]
lea rcx, [rbp - 0x1d]
movdqa xmm5, xmmword [0x140004390]
movdqa xmm4, xmmword [0x1400043d0]
movdqa xmm6, xmmword [str.5555]
movdqa xmmword [rbp + 0x17], xmm0
mov edx, dword [rbp + 0x17]
nop dword [rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400043b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400043b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x28
jl 0x140001c10
cmp r8d, 0x29
jge 0x140001d52
movsxd rax, r8d
lea r9, [rbp - 0x21]
add r9, rax
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x29
jl 0x140001d21
movzx edx, byte [r11]
lea r8, [rbp - 0x21]
movzx eax, word [r11 + 2]
mov ecx, ebx
mov word [rbp - 0x19], ax
mov rax, r10
shr rax, 0x20
bswap eax
mov dword [rbp - 0x11], eax
cmp dl, 0xee
lea eax, [rdx + 1]
mov byte [rbp - 0x17], dl
movzx eax, al
cmovbe ecx, eax
bswap r10d
movzx edx, cl
mov dword [rbp - 9], r10d
mov r9d, dword [r11 + 4]
lea rax, [rbp + 0x27]
mov rcx, rdi
mov qword [rsp + 0x20], rax
mov byte [r11], dl
call fcn.140001590
mov ecx, 0x2000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9d, 0x2000
mov rcx, rdi
mov rsi, rax
lea rax, [rbp + 0x27]
mov r8, rsi
mov qword [rsp + 0x20], rax
call fcn.140001480
mov r8d, dword [rbp + 0x27]
mov r10d, 0x34
movaps xmm6, xmmword [rsp + 0xb0]
mov r11d, ebx
cmp r8d, r10d
jbe 0x140001ea7
mov r9, rbx
lea rdi, [rsi + 0x34]
nop
lea eax, [r10 - 0x34]
and eax, 0x8000001f
jge 0x140001e02
dec eax
or eax, 0xffffffe0
inc eax
test eax, eax
je 0x140001e4e
mov eax, 0x7a44c6b
mov ecx, r11d
imul r11d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x10c
sub ecx, eax
test ecx, 0xfffffff3
jne 0x140001e30
cmp ecx, 0xc
jne 0x140001e4a
mov eax, dword [rdi]
add ebx, 4
mov dword [r9 + rsi], eax
add r9, 4
cmp r9, 0x1000
je 0x140001e5b
mov r8d, dword [rbp + 0x27]
add r11d, 4
add r10d, 4
add rdi, 4
cmp r10d, r8d
jb 0x140001df0
cmp ebx, 0x1000
jne 0x140001ea7
mov r8d, ebx
mov rdx, rsi
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 1
mov rbx, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0xf8]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140002700
add rsp, 0xc0
pop r14
pop rdi
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 0xffffffff
jmp 0x140001e7f
mov eax, 0xffffffff
jmp 0x140001e8f