Function at 0x1400f0780
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rbp, qword [rcx + 0x18]
mov rax, rbp
inc rax
je 0x1400f0900
mov rbx, rdx
mov r10, rcx
mov rsi, qword [rcx + 8]
lea rdi, [rsi + 1]
mov rdx, rdi
shr rdx, 3
mov rcx, rdi
and rcx, 0xfffffffffffffff8
sub rcx, rdx
cmp rsi, 8
cmovb rcx, rsi
movabs r8, 0x7ffffffffffffff0
mov rdx, rcx
shr rdx, 1
cmp rax, rdx
mov qword [rsp + 0x30], r10
jbe 0x1400f0811
inc rcx
cmp rax, rcx
cmova rcx, rax
cmp rcx, 8
mov qword [rsp + 0x28], rbx
jae 0x1400f083e
xor eax, eax
cmp rcx, 4
setae al
lea r12, [rax*4 + 4]
jmp 0x1400f0898
mov r14, qword [r10]
mov rcx, rdi
shr rcx, 4
xor eax, eax
test dil, 0xf
setne al
add rax, rcx
je 0x1400f0b60
cmp rax, 1
jne 0x1400f0af1
xor ecx, ecx
jmp 0x1400f0b48
movabs rax, 0x1ffffffffffffffe
add rax, 2
cmp rcx, rax
jae 0x1400f0900
shl rcx, 3
mov r12d, 1
cmp rcx, 0xe
jb 0x1400f0898
movabs rdx, 0x2492492492492493
mov rax, rcx
mul rdx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 2
dec rcx
bsr rcx, rcx
not ecx
mov r12, 0xffffffffffffffff
shr r12, cl
inc r12
mov ecx, 0x18
mov rax, r12
mul rcx
jo 0x1400f0900
mov r13, rax
add r13, 0xf
and r13, 0xfffffffffffffff0
lea r15, [r12 + 0x10]
mov rbx, r13
add rbx, r15
jb 0x1400f0900
cmp rbx, r8
ja 0x1400f0900
test rbx, rbx
je 0x1400f0902
movzx eax, byte [0x140205110]
mov rcx, qword [0x140205100]
test rcx, rcx
jne 0x1400f08ee
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400f0900
mov rcx, rax
mov qword [0x140205100], rax
xor edx, edx
mov r8, rbx
call sub.kernel32.dll_HeapAlloc
mov rbx, rax
test rax, rax
jne 0x1400f0907
ud2
mov ebx, 0x10
mov qword [rsp + 0x48], rdi
lea r14, [r12 - 1]
mov rax, r12
shr rax, 3
mov rdi, r12
and rdi, 0xfffffffffffffff8
sub rdi, rax
cmp r12, 9
cmovb rdi, r14
add rbx, r13
mov rcx, rbx
mov dl, 0xff
mov r8, r15
call sub.msvcrt.dll_memset
mov r9, qword [rsp + 0x30]
mov r8, qword [r9]
test rbp, rbp
je 0x1400f0a92
mov qword [rsp + 0x40], rdi
movdqa xmm0, xmmword [r8]
pmovmskb edi, xmm0
not edi
mov rax, qword [rsp + 0x28]
movups xmm6, xmmword [rax]
xor r13d, r13d
mov qword [rsp + 0x28], rbp
mov r12, r8
mov qword [rsp + 0x38], r8
jmp 0x1400f09c9
lea ecx, [rdi - 1]
and ecx, edi
dec rbp
shr rax, 0x39
lea r10, [rdx - 0x10]
and r10, r14
mov byte [rbx + rdx], al
mov byte [r10 + rbx + 0x10], al
not r15
lea rax, [r15 + r15*2]
not rdx
lea rdx, [rdx + rdx*2]
mov r10, qword [r8 + rax*8 + 0x10]
mov qword [rbx + rdx*8 + 0x10], r10
movdqu xmm0, xmmword [r8 + rax*8]
movdqu xmmword [rbx + rdx*8], xmm0
mov edi, ecx
test rbp, rbp
je 0x1400f0a86
test di, di
jne 0x1400f09ed
nop
movdqa xmm0, xmmword [r12 + 0x10]
add r12, 0x10
pmovmskb edi, xmm0
add r13, 0x10
cmp edi, 0xffff
je 0x1400f09d0
not edi
tzcnt r15d, edi
add r15, r13
mov rax, r15
neg rax
lea rax, [rax + rax*2]
mov rdx, qword [r8 + rax*8 - 0x10]
mov r8, qword [r8 + rax*8 - 8]
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x50]
call fcn.1400f3180
mov rcx, rax
and rcx, r14
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x1400f0a57
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, r14
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x1400f0a40
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
tzcnt edx, edx
add rdx, rcx
and rdx, r14
cmp byte [rbx + rdx], 0
js 0x1400f0980
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x1400f0980
mov rax, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x40]
jmp 0x1400f0a94
xor eax, eax
sub rdi, rax
mov qword [r9], rbx
mov qword [r9 + 8], r14
mov qword [r9 + 0x10], rdi
mov qword [r9 + 0x18], rax
test rsi, rsi
movabs rdi, 0x7ffffffffffffff0
je 0x1400f12fd
mov ecx, 0x18
mov rax, qword [rsp + 0x48]
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add rsi, rax
cmp rsi, 0xffffffffffffffef
je 0x1400f12fd
sub r8, rax
mov rcx, qword [0x140205100]
xor edx, edx
call sub.kernel32.dll_HeapFree
jmp 0x1400f12fd
movabs rdx, 0x1ffffffffffffffe
and rdx, rax
xor ecx, ecx
movdqa xmm0, xmmword [0x14019a5e0]
nop dword [rax + rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [r14 + rcx]
por xmm1, xmm0
movdqa xmmword [r14 + rcx], xmm1
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [r14 + rcx + 0x10]
por xmm1, xmm0
movdqa xmmword [r14 + rcx + 0x10], xmm1
add rcx, 0x20
add rdx, 0xfffffffffffffffe
jne 0x1400f0b10
test al, 1
je 0x1400f0b60
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [r14 + rcx]
por xmm0, xmmword [0x14019a5e0]
movdqa xmmword [r14 + rcx], xmm0
cmp rdi, 0x10
jae 0x1400f0b87
lea rcx, [r14 + 0x10]
mov rdx, r14
mov r8, rdi
call sub.msvcrt.dll_memmove
mov r10, qword [rsp + 0x30]
cmp rsi, 0xffffffffffffffff
jne 0x1400f0b92
xor eax, eax
jmp 0x1400f12ec
movdqu xmm0, xmmword [r14]
movdqu xmmword [r14 + rdi], xmm0
movdqu xmm1, xmmword [rbx]
pshufd xmm0, xmm1, 0x44
pxor xmm0, xmmword [str.uespemosarenegylmodnarodsetybdet]
pshufd xmm1, xmm1, 0xee
pxor xmm1, xmmword [0x14019a600]
pshufd xmm2, xmm1, 0xee
movq qword [rsp + 0x38], xmm2
movq qword [rsp + 0x28], xmm0
movq qword [rsp + 0x48], xmm1
pshufd xmm2, xmm0, 0xee
movq qword [rsp + 0x40], xmm2
xor r12d, r12d
jmp 0x1400f0c06
shr r11, 0x39
lea rax, [r12 - 0x10]
and rax, rsi
mov byte [rbx + r12], r11b
mov byte [rax + r14 + 0x10], r11b
lea rax, [r12 + 1]
cmp r12, rsi
mov r12, rax
je 0x1400f12ca
cmp byte [r14 + r12], 0x80
jne 0x1400f0bf5
mov rax, r12
not rax
lea rax, [rax + rax*2]
lea r13, [r14 + rax*8]
mov rbp, r12
neg rbp
mov rbx, r14
nop word cs:[rax + rax]
lea rax, [rbp*2]
add rax, rbp
mov r15, qword [rbx + rax*8 - 0x10]
mov rdx, qword [rbx + rax*8 - 8]
mov rcx, rdx
and rcx, 0xfffffffffffffff8
je 0x1400f0d00
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
mov r11, qword [rsp + 0x38]
xor edi, edi
mov r8, qword [rsp + 0x28]
nop dword [rax + rax]
add r8, r9
rol r9, 0xd
mov r10, qword [r15 + rdi]
xor r9, r8
rol r8, 0x20
xor r11, r10
add rax, r11
rol r11, 0x10
xor r11, rax
add r8, r11
rol r11, 0x15
add rax, r9
rol r9, 0x11
xor r9, rax
rol rax, 0x20
xor r11, r8
xor r8, r10
add rdi, 8
cmp rdi, rcx
jb 0x1400f0c70
movq xmm3, r11
movq xmm2, r9
punpcklqdq xmm2, xmm3
movq xmm4, rax
movq xmm3, r8
punpcklqdq xmm3, xmm4
mov r10, qword [rsp + 0x30]
mov r11d, edx
and r11d, 7
cmp r11d, 4
jb 0x1400f0d17
mov r8d, dword [r15 + rdi]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r11
jb 0x1400f0d28
jmp 0x1400f0d42
movdqa xmm2, xmm1
movdqa xmm3, xmm0
xor edi, edi
mov r11d, edx
and r11d, 7
cmp r11d, 4
jae 0x1400f0ce1
xor r8d, r8d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r11
jae 0x1400f0d42
lea rcx, [rax + rdi]
movzx r9d, word [r15 + rcx]
lea ecx, [rax*8]
shl r9, cl
or r8, r9
or rax, 2
cmp rax, r11
jae 0x1400f0d60
add rdi, rax
movzx r9d, byte [r15 + rdi]
shl eax, 3
mov ecx, eax
shl r9, cl
or r8, r9
jmp 0x1400f0d69
test r11, r11
je 0x1400f0e49
lea ecx, [r11*8]
mov r15d, 0xff
shl r15, cl
or r15, r8
cmp r11, 7
jne 0x1400f0f6a
mov eax, 8
sub rax, r11
pshufd xmm4, xmm2, 0xee
movq rcx, xmm4
xor rcx, r15
movq xmm4, rcx
movdqa xmm5, xmm2
punpcklqdq xmm5, xmm4
paddq xmm3, xmm5
movq rcx, xmm3
rol rcx, 0x20
movdqa xmm4, xmm5
psrlq xmm4, 0x30
movdqa xmm6, xmm2
psrlq xmm6, 0x33
shufps xmm6, xmm4, 0xe4
psllq xmm5, 0x10
psllq xmm2, 0xd
shufps xmm2, xmm5, 0xe4
orps xmm2, xmm6
pxor xmm2, xmm3
pshufd xmm3, xmm3, 0xee
movq xmm4, rcx
punpcklqdq xmm3, xmm4
paddq xmm3, xmm2
movdqa xmm4, xmm2
psrlq xmm4, 0x2f
movdqa xmm5, xmm2
psrlq xmm5, 0x2b
movsd xmm5, xmm4
movdqa xmm4, xmm2
psllq xmm4, 0x11
psllq xmm2, 0x15
movsd xmm2, xmm4
orpd xmm2, xmm5
xorpd xmm2, xmm3
movq rcx, xmm3
rol rcx, 0x20
pshufd xmm3, xmm3, 0xee
movq r8, xmm3
xor r8, r15
movq xmm4, rcx
movq xmm3, r8
punpcklqdq xmm3, xmm4
jmp 0x1400f0e4b
xor eax, eax
mov ecx, 1
sub rcx, rax
mov edi, ecx
and edi, 7
and rcx, 0xfffffffffffffff8
cmp rax, rcx
jae 0x1400f0f20
movq r8, xmm3
pshufd xmm4, xmm2, 0xee
movq r9, xmm4
movq r15, xmm2
pshufd xmm2, xmm3, 0xee
movq r11, xmm2
nop word cs:[rax + rax]
add r8, r15
rol r15, 0xd
xor r15, r8
rol r8, 0x20
xor r9, 0xff
add r11, r9
rol r9, 0x10
xor r9, r11
add r8, r9
rol r9, 0x15
add r11, r15
rol r15, 0x11
xor r15, r11
rol r11, 0x20
xor r9, r8
xor r8, 0xff
add rax, 8
cmp rax, rcx
jb 0x1400f0e90
movq xmm3, r9
movq xmm2, r15
punpcklqdq xmm2, xmm3
movq xmm4, r11
movq xmm3, r8
punpcklqdq xmm3, xmm4
xor eax, eax
cmp rdi, 4
setae al
cmp edi, 4
mov r8d, 0
mov ecx, 0xff
cmovae r8, rcx
shl rax, 2
jmp 0x1400f0f25
xor r8d, r8d
xor eax, eax
mov r9, rax
or r9, 1
lea ecx, [rax*8]
mov r15d, 0xff
shl r15, cl
mov rcx, rax
or rcx, 2
cmp r9, rdi
mov r9d, 0
cmovae r15, r9
cmovae rcx, rax
or r15, r8
cmp rcx, rdi
jae 0x1400f0f6a
shl ecx, 3
mov eax, 0xff
shl rax, cl
or r15, rax
pshufd xmm4, xmm3, 0xee
movq rax, xmm4
movq rcx, xmm2
pshufd xmm4, xmm2, 0xee
movq rdi, xmm4
shl rdx, 0x38
movabs r8, 0x100000000000000
add rdx, r8
or rdx, r15
paddq xmm2, xmm3
rol rcx, 0xd
movq r15, xmm2
xor rcx, r15
rol r15, 0x20
xor rdi, rdx
add rax, rdi
rol rdi, 0x10
xor rdi, rax
add r15, rdi
rol rdi, 0x15
add rax, rcx
rol rcx, 0x11
xor rdi, r15
xor rcx, rax
rol rax, 0x20
xor r15, rdx
add r15, rcx
rol rcx, 0xd
xor rcx, r15
rol r15, 0x20
xor rax, 0xff
add rax, rdi
rol rdi, 0x10
xor rdi, rax
add r15, rdi
rol rdi, 0x15
add rax, rcx
rol rcx, 0x11
xor rcx, rax
rol rax, 0x20
xor rdi, r15
add r15, rcx
rol rcx, 0xd
xor rcx, r15
rol r15, 0x20
add rax, rdi
rol rdi, 0x10
xor rdi, rax
add r15, rdi
rol rdi, 0x15
add rax, rcx
rol rcx, 0x11
xor rcx, rax
rol rax, 0x20
xor rdi, r15
add r15, rcx
rol rcx, 0xd
add rax, rdi
rol rdi, 0x10
xor rdi, rax
rol rdi, 0x15
xor rcx, r15
add rax, rcx
rol rcx, 0x11
mov r11, rax
rol r11, 0x20
xor r11, rcx
xor r11, rdi
xor r11, rax
mov rax, rsi
and rax, r11
movdqu xmm2, xmmword [rbx + rax]
pmovmskb ecx, xmm2
mov rdx, rax
test ecx, ecx
jne 0x1400f10a7
mov r8d, 0x10
mov rdx, rax
nop word [rax + rax]
add rdx, r8
and rdx, rsi
movdqu xmm2, xmmword [rbx + rdx]
pmovmskb ecx, xmm2
add r8, 0x10
test ecx, ecx
je 0x1400f1090
tzcnt ecx, ecx
add rcx, rdx
and rcx, rsi
cmp byte [rbx + rcx], 0
js 0x1400f10c3
movdqa xmm2, xmmword [rbx]
pmovmskb ecx, xmm2
tzcnt ecx, ecx
mov rdx, r12
sub rdx, rax
mov r8, rcx
sub r8, rax
xor r8, rdx
and r8, rsi
cmp r8, 0x10
jb 0x1400f0be0
mov rax, rcx
not rax
lea rax, [rax + rax*2]
lea rax, [rbx + rax*8]
movzx edx, byte [rbx + rcx]
shr r11, 0x39
lea r8, [rcx - 0x10]
and r8, rsi
mov byte [rbx + rcx], r11b
mov byte [r8 + r14 + 0x10], r11b
cmp dl, 0xff
je 0x1400f12a0
movzx ecx, byte [r13]
movzx edx, byte [rax]
mov byte [r13], dl
mov byte [rax], cl
movzx ecx, byte [r13 + 1]
movzx edx, byte [rax + 1]
mov byte [r13 + 1], dl
mov byte [rax + 1], cl
movzx ecx, byte [r13 + 2]
movzx edx, byte [rax + 2]
mov byte [r13 + 2], dl
mov byte [rax + 2], cl
movzx ecx, byte [r13 + 3]
movzx edx, byte [rax + 3]
mov byte [r13 + 3], dl
mov byte [rax + 3], cl
movzx ecx, byte [r13 + 4]
movzx edx, byte [rax + 4]
mov byte [r13 + 4], dl
mov byte [rax + 4], cl
movzx ecx, byte [r13 + 5]
movzx edx, byte [rax + 5]
mov byte [r13 + 5], dl
mov byte [rax + 5], cl
movzx ecx, byte [r13 + 6]
movzx edx, byte [rax + 6]
mov byte [r13 + 6], dl
mov byte [rax + 6], cl
movzx ecx, byte [r13 + 7]
movzx edx, byte [rax + 7]
mov byte [r13 + 7], dl
mov byte [rax + 7], cl
movzx ecx, byte [r13 + 8]
movzx edx, byte [rax + 8]
mov byte [r13 + 8], dl
mov byte [rax + 8], cl
movzx ecx, byte [r13 + 9]
movzx edx, byte [rax + 9]
mov byte [r13 + 9], dl
mov byte [rax + 9], cl
movzx ecx, byte [r13 + 0xa]
movzx edx, byte [rax + 0xa]
mov byte [r13 + 0xa], dl
mov byte [rax + 0xa], cl
movzx ecx, byte [r13 + 0xb]
movzx edx, byte [rax + 0xb]
mov byte [r13 + 0xb], dl
mov byte [rax + 0xb], cl
movzx ecx, byte [r13 + 0xc]
movzx edx, byte [rax + 0xc]
mov byte [r13 + 0xc], dl
mov byte [rax + 0xc], cl
movzx ecx, byte [r13 + 0xd]
movzx edx, byte [rax + 0xd]
mov byte [r13 + 0xd], dl
mov byte [rax + 0xd], cl
movzx ecx, byte [r13 + 0xe]
movzx edx, byte [rax + 0xe]
mov byte [r13 + 0xe], dl
mov byte [rax + 0xe], cl
movzx ecx, byte [r13 + 0xf]
movzx edx, byte [rax + 0xf]
mov byte [r13 + 0xf], dl
mov byte [rax + 0xf], cl
movzx ecx, byte [r13 + 0x10]
movzx edx, byte [rax + 0x10]
mov byte [r13 + 0x10], dl
mov byte [rax + 0x10], cl
movzx ecx, byte [r13 + 0x11]
movzx edx, byte [rax + 0x11]
mov byte [r13 + 0x11], dl
mov byte [rax + 0x11], cl
movzx ecx, byte [r13 + 0x12]
movzx edx, byte [rax + 0x12]
mov byte [r13 + 0x12], dl
mov byte [rax + 0x12], cl
movzx ecx, byte [r13 + 0x13]
movzx edx, byte [rax + 0x13]
mov byte [r13 + 0x13], dl
mov byte [rax + 0x13], cl
movzx ecx, byte [r13 + 0x14]
movzx edx, byte [rax + 0x14]
mov byte [r13 + 0x14], dl
mov byte [rax + 0x14], cl
movzx ecx, byte [r13 + 0x15]
movzx edx, byte [rax + 0x15]
mov byte [r13 + 0x15], dl
mov byte [rax + 0x15], cl
movzx ecx, byte [r13 + 0x16]
movzx edx, byte [rax + 0x16]
mov byte [r13 + 0x16], dl
mov byte [rax + 0x16], cl
movzx ecx, byte [r13 + 0x17]
movzx edx, byte [rax + 0x17]
mov byte [r13 + 0x17], dl
mov byte [rax + 0x17], cl
mov rbx, qword [r10]
jmp 0x1400f0c30
lea rcx, [r12 - 0x10]
and rcx, rsi
mov byte [r14 + r12], 0xff
mov byte [rcx + r14 + 0x10], 0xff
mov rcx, qword [r13 + 0x10]
mov qword [rax + 0x10], rcx
movdqu xmm2, xmmword [r13]
movdqu xmmword [rax], xmm2
jmp 0x1400f0bf5
mov rcx, qword [r10 + 8]
mov rbp, qword [r10 + 0x18]
lea rax, [rcx + 1]
mov rdx, rax
shr rdx, 3
and rax, 0xfffffffffffffff8
sub rax, rdx
cmp rcx, 8
cmovb rax, rcx
sub rax, rbp
mov qword [r10 + 0x10], rax
movabs rdi, 0x7ffffffffffffff0
add rdi, 0x11
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret