Function at 0x1400f1320
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 r14, qword [rcx + 0x18]
mov rax, r14
inc rax
je 0x1400f149b
mov rbp, rdx
mov r10, rcx
mov r12, qword [rcx + 8]
lea r8, [r12 + 1]
mov rdx, r8
shr rdx, 3
mov rcx, r8
and rcx, 0xfffffffffffffff8
sub rcx, rdx
cmp r12, 8
cmovb rcx, r12
movabs r13, 0x7ffffffffffffff0
mov rdx, rcx
shr rdx, 1
cmp rax, rdx
mov qword [rsp + 0x30], r10
jbe 0x1400f13ad
inc rcx
cmp rax, rcx
cmova rcx, rax
cmp rcx, 8
jae 0x1400f13dd
xor eax, eax
cmp rcx, 4
setae al
lea rsi, [rax*4 + 4]
jmp 0x1400f1445
mov rsi, r14
mov r14, qword [r10]
mov rcx, r8
shr rcx, 4
xor eax, eax
test r8b, 0xf
setne al
add rax, rcx
je 0x1400f1700
cmp rax, 1
jne 0x1400f1697
xor ecx, ecx
jmp 0x1400f16e8
movabs rax, 0x1ffffffffffffffe
add rax, 2
cmp rcx, rax
jae 0x1400f149b
shl rcx, 3
mov esi, 1
cmp rcx, 0xe
jb 0x1400f1445
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 rsi, 0xffffffffffffffff
shr rsi, cl
movabs rax, 0x7fffffffffffffe
cmp rsi, rax
ja 0x1400f149b
inc rsi
mov rdi, rsi
shl rdi, 5
lea r15, [rsi + 0x10]
mov rbx, rdi
add rbx, r15
jb 0x1400f149b
cmp rbx, r13
ja 0x1400f149b
test rbx, rbx
je 0x1400f149d
movzx eax, byte [0x140205110]
mov rcx, qword [0x140205100]
test rcx, rcx
jne 0x1400f1489
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400f149b
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 0x1400f14a2
ud2
mov ebx, 0x10
mov qword [rsp + 0x28], rbp
lea rbp, [rsi - 1]
mov rax, rsi
shr rax, 3
mov rcx, rsi
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rsi, 9
cmovb rcx, rbp
mov qword [rsp + 0x38], rcx
add rbx, rdi
mov rcx, rbx
mov dl, 0xff
mov r8, r15
call sub.msvcrt.dll_memset
mov r9, qword [rsp + 0x30]
mov r8, qword [r9]
test r14, r14
je 0x1400f1647
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], r14
mov rsi, r14
mov r15, r8
mov qword [rsp + 0x40], r8
jmp 0x1400f156c
lea ecx, [rdi - 1]
and ecx, edi
dec rsi
shr rax, 0x39
lea r10, [rdx - 0x10]
and r10, rbp
mov byte [rbx + rdx], al
mov byte [r10 + rbx + 0x10], al
not r14
shl r14, 5
not rdx
shl rdx, 5
movdqu xmm0, xmmword [r8 + r14]
movdqu xmm1, xmmword [r8 + r14 + 0x10]
movdqu xmmword [rbx + rdx + 0x10], xmm1
movdqu xmmword [rbx + rdx], xmm0
mov edi, ecx
test rsi, rsi
je 0x1400f1636
test di, di
jne 0x1400f159c
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r15 + 0x10]
add r15, 0x10
pmovmskb edi, xmm0
add r13, 0x10
cmp edi, 0xffff
je 0x1400f1580
not edi
tzcnt r14d, edi
add r14, r13
mov rax, r14
shl rax, 5
mov rcx, r8
sub rcx, rax
mov rdx, qword [rcx - 0x18]
mov r8, qword [rcx - 0x10]
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x50]
call fcn.1400f3180
mov rcx, rax
and rcx, rbp
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x1400f1607
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, rbp
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x1400f15f0
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
tzcnt edx, edx
add rdx, rcx
and rdx, rbp
cmp byte [rbx + rdx], 0
js 0x1400f1520
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x1400f1520
movabs r13, 0x7ffffffffffffff0
mov rax, qword [rsp + 0x28]
jmp 0x1400f1649
xor eax, eax
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov qword [r9], rbx
mov qword [r9 + 8], rbp
mov qword [r9 + 0x10], rcx
mov qword [r9 + 0x18], rax
test r12, r12
je 0x1400f1edd
mov rax, r12
shl rax, 5
add r12, rax
cmp r12, 0xffffffffffffffcf
je 0x1400f1edd
sub r8, rax
add r8, 0xffffffffffffffe0
mov rcx, qword [0x140205100]
xor edx, edx
call sub.kernel32.dll_HeapFree
jmp 0x1400f1edd
movabs rdx, 0x1ffffffffffffffe
and rdx, rax
xor ecx, ecx
movdqa xmm0, xmmword [0x14019a610]
nop
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 0x1400f16b0
test al, 1
je 0x1400f1700
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [r14 + rcx]
por xmm0, xmmword [0x14019a610]
movdqa xmmword [r14 + rcx], xmm0
cmp r8, 0x10
jae 0x1400f1724
lea rcx, [r14 + 0x10]
mov rdx, r14
call sub.msvcrt.dll_memmove
mov r10, qword [rsp + 0x30]
cmp r12, 0xffffffffffffffff
jne 0x1400f172f
xor eax, eax
jmp 0x1400f1ed6
movdqu xmm0, xmmword [r14]
movdqu xmmword [r14 + r8], xmm0
movdqu xmm1, xmmword [rbp]
pshufd xmm0, xmm1, 0x44
pxor xmm0, xmmword [str.uespemosarenegylmodnarodsetybdetuespemosarenegylmodnarodsetybdet]
pshufd xmm1, xmm1, 0xee
pxor xmm1, xmmword [0x14019a630]
pshufd xmm2, xmm1, 0xee
movq qword [rsp + 0x40], xmm2
movq qword [rsp + 0x38], xmm0
movq qword [rsp + 0x28], xmm1
pshufd xmm2, xmm0, 0xee
movq qword [rsp + 0x48], xmm2
xor r13d, r13d
jmp 0x1400f17a4
shr r11, 0x39
lea rax, [r13 - 0x10]
and rax, r12
mov byte [rbx + r13], r11b
mov byte [rax + r14 + 0x10], r11b
lea rax, [r13 + 1]
cmp r13, r12
mov r13, rax
je 0x1400f1eaa
cmp byte [r14 + r13], 0x80
jne 0x1400f1794
mov rbp, r13
not rbp
shl rbp, 5
add rbp, r14
mov rsi, r13
neg rsi
mov rbx, r14
nop word cs:[rax + rax]
mov rax, rsi
shl rax, 5
mov r15, qword [rbx + rax - 0x18]
mov rdx, qword [rbx + rax - 0x10]
mov rcx, rdx
and rcx, 0xfffffffffffffff8
je 0x1400f18a0
mov rax, qword [rsp + 0x48]
mov r9, qword [rsp + 0x28]
mov r11, qword [rsp + 0x40]
xor edi, edi
mov r8, qword [rsp + 0x38]
nop word cs:[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 0x1400f1810
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 0x1400f18b7
mov r8d, dword [r15 + rdi]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r11
jb 0x1400f18c8
jmp 0x1400f18e2
movdqa xmm2, xmm1
movdqa xmm3, xmm0
xor edi, edi
mov r11d, edx
and r11d, 7
cmp r11d, 4
jae 0x1400f1881
xor r8d, r8d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r11
jae 0x1400f18e2
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 0x1400f1900
add rdi, rax
movzx r9d, byte [r15 + rdi]
shl eax, 3
mov ecx, eax
shl r9, cl
or r8, r9
jmp 0x1400f1909
test r11, r11
je 0x1400f19e9
lea ecx, [r11*8]
mov r15d, 0xff
shl r15, cl
or r15, r8
cmp r11, 7
jne 0x1400f1b0a
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 0x1400f19eb
xor eax, eax
mov ecx, 1
sub rcx, rax
mov edi, ecx
and edi, 7
and rcx, 0xfffffffffffffff8
cmp rax, rcx
jae 0x1400f1ac0
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 0x1400f1a30
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 0x1400f1ac5
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 0x1400f1b0a
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, r12
and rax, r11
movdqu xmm2, xmmword [rbx + rax]
pmovmskb ecx, xmm2
mov rdx, rax
test ecx, ecx
jne 0x1400f1c47
mov r8d, 0x10
mov rdx, rax
nop word [rax + rax]
add rdx, r8
and rdx, r12
movdqu xmm2, xmmword [rbx + rdx]
pmovmskb ecx, xmm2
add r8, 0x10
test ecx, ecx
je 0x1400f1c30
tzcnt ecx, ecx
add rcx, rdx
and rcx, r12
cmp byte [rbx + rcx], 0
js 0x1400f1c63
movdqa xmm2, xmmword [rbx]
pmovmskb ecx, xmm2
tzcnt ecx, ecx
mov rdx, r13
sub rdx, rax
mov r8, rcx
sub r8, rax
xor r8, rdx
and r8, r12
cmp r8, 0x10
jb 0x1400f1780
mov rax, rcx
not rax
shl rax, 5
add rax, rbx
movzx edx, byte [rbx + rcx]
shr r11, 0x39
lea r8, [rcx - 0x10]
and r8, r12
mov byte [rbx + rcx], r11b
mov byte [r8 + r14 + 0x10], r11b
cmp dl, 0xff
je 0x1400f1e80
movzx ecx, byte [rbp]
movzx edx, byte [rax]
mov byte [rbp], dl
mov byte [rax], cl
movzx ecx, byte [rbp + 1]
movzx edx, byte [rax + 1]
mov byte [rbp + 1], dl
mov byte [rax + 1], cl
movzx ecx, byte [rbp + 2]
movzx edx, byte [rax + 2]
mov byte [rbp + 2], dl
mov byte [rax + 2], cl
movzx ecx, byte [rbp + 3]
movzx edx, byte [rax + 3]
mov byte [rbp + 3], dl
mov byte [rax + 3], cl
movzx ecx, byte [rbp + 4]
movzx edx, byte [rax + 4]
mov byte [rbp + 4], dl
mov byte [rax + 4], cl
movzx ecx, byte [rbp + 5]
movzx edx, byte [rax + 5]
mov byte [rbp + 5], dl
mov byte [rax + 5], cl
movzx ecx, byte [rbp + 6]
movzx edx, byte [rax + 6]
mov byte [rbp + 6], dl
mov byte [rax + 6], cl
movzx ecx, byte [rbp + 7]
movzx edx, byte [rax + 7]
mov byte [rbp + 7], dl
mov byte [rax + 7], cl
movzx ecx, byte [rbp + 8]
movzx edx, byte [rax + 8]
mov byte [rbp + 8], dl
mov byte [rax + 8], cl
movzx ecx, byte [rbp + 9]
movzx edx, byte [rax + 9]
mov byte [rbp + 9], dl
mov byte [rax + 9], cl
movzx ecx, byte [rbp + 0xa]
movzx edx, byte [rax + 0xa]
mov byte [rbp + 0xa], dl
mov byte [rax + 0xa], cl
movzx ecx, byte [rbp + 0xb]
movzx edx, byte [rax + 0xb]
mov byte [rbp + 0xb], dl
mov byte [rax + 0xb], cl
movzx ecx, byte [rbp + 0xc]
movzx edx, byte [rax + 0xc]
mov byte [rbp + 0xc], dl
mov byte [rax + 0xc], cl
movzx ecx, byte [rbp + 0xd]
movzx edx, byte [rax + 0xd]
mov byte [rbp + 0xd], dl
mov byte [rax + 0xd], cl
movzx ecx, byte [rbp + 0xe]
movzx edx, byte [rax + 0xe]
mov byte [rbp + 0xe], dl
mov byte [rax + 0xe], cl
movzx ecx, byte [rbp + 0xf]
movzx edx, byte [rax + 0xf]
mov byte [rbp + 0xf], dl
mov byte [rax + 0xf], cl
movzx ecx, byte [rbp + 0x10]
movzx edx, byte [rax + 0x10]
mov byte [rbp + 0x10], dl
mov byte [rax + 0x10], cl
movzx ecx, byte [rbp + 0x11]
movzx edx, byte [rax + 0x11]
mov byte [rbp + 0x11], dl
mov byte [rax + 0x11], cl
movzx ecx, byte [rbp + 0x12]
movzx edx, byte [rax + 0x12]
mov byte [rbp + 0x12], dl
mov byte [rax + 0x12], cl
movzx ecx, byte [rbp + 0x13]
movzx edx, byte [rax + 0x13]
mov byte [rbp + 0x13], dl
mov byte [rax + 0x13], cl
movzx ecx, byte [rbp + 0x14]
movzx edx, byte [rax + 0x14]
mov byte [rbp + 0x14], dl
mov byte [rax + 0x14], cl
movzx ecx, byte [rbp + 0x15]
movzx edx, byte [rax + 0x15]
mov byte [rbp + 0x15], dl
mov byte [rax + 0x15], cl
movzx ecx, byte [rbp + 0x16]
movzx edx, byte [rax + 0x16]
mov byte [rbp + 0x16], dl
mov byte [rax + 0x16], cl
movzx ecx, byte [rbp + 0x17]
movzx edx, byte [rax + 0x17]
mov byte [rbp + 0x17], dl
mov byte [rax + 0x17], cl
movzx ecx, byte [rbp + 0x18]
movzx edx, byte [rax + 0x18]
mov byte [rbp + 0x18], dl
mov byte [rax + 0x18], cl
movzx ecx, byte [rbp + 0x19]
movzx edx, byte [rax + 0x19]
mov byte [rbp + 0x19], dl
mov byte [rax + 0x19], cl
movzx ecx, byte [rbp + 0x1a]
movzx edx, byte [rax + 0x1a]
mov byte [rbp + 0x1a], dl
mov byte [rax + 0x1a], cl
movzx ecx, byte [rbp + 0x1b]
movzx edx, byte [rax + 0x1b]
mov byte [rbp + 0x1b], dl
mov byte [rax + 0x1b], cl
movzx ecx, byte [rbp + 0x1c]
movzx edx, byte [rax + 0x1c]
mov byte [rbp + 0x1c], dl
mov byte [rax + 0x1c], cl
movzx ecx, byte [rbp + 0x1d]
movzx edx, byte [rax + 0x1d]
mov byte [rbp + 0x1d], dl
mov byte [rax + 0x1d], cl
movzx ecx, byte [rbp + 0x1e]
movzx edx, byte [rax + 0x1e]
mov byte [rbp + 0x1e], dl
mov byte [rax + 0x1e], cl
movzx ecx, byte [rbp + 0x1f]
movzx edx, byte [rax + 0x1f]
mov byte [rbp + 0x1f], dl
mov byte [rax + 0x1f], cl
mov rbx, qword [r10]
jmp 0x1400f17d0
lea rcx, [r13 - 0x10]
and rcx, r12
mov byte [r14 + r13], 0xff
mov byte [rcx + r14 + 0x10], 0xff
movdqu xmm2, xmmword [rbp]
movdqu xmm3, xmmword [rbp + 0x10]
movdqu xmmword [rax + 0x10], xmm3
movdqu xmmword [rax], xmm2
jmp 0x1400f1794
mov rcx, qword [r10 + 8]
mov rsi, 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
movabs r13, 0x7ffffffffffffff0
sub rax, rsi
mov qword [r10 + 0x10], rax
add r13, 0x11
mov rax, r13
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