Function at 0x14001cf00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
movaps xmmword [rsp + 0x1f0], xmm6
mov rax, qword [0x1401e56c8]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r13, r9
mov r12, r8
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r15d, r15d
mov esi, r15d
mov dword [rsp + 0x78], r15d
cmp dword [rdx], 0x20000000
jae 0x14001d020
mov dword [rcx], r15d
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
mov rbx, 0xffffffffffffffff
mov dword [rcx + 0x20], ebx
mov qword [rcx + 0x28], r15
mov qword [rcx + 0x30], r15
add rcx, 0x38
mov byte [rsp + 0x40], sil
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
lea rax, [rsp + 0x40]
mov r8, rbx
inc r8
cmp byte [rax + r8], sil
jne 0x14001cfa0
lea rdx, [rsp + 0x40]
call fcn.140010900
nop
lea rcx, [rdi + 0x58]
mov byte [rsp + 0x40], 0
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
lea rax, [rsp + 0x40]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14001cfd3
lea rdx, [rsp + 0x40]
call fcn.140010900
nop
lea rcx, [rdi + 0x78]
mov byte [rsp + 0x40], 0
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
lea rax, [rsp + 0x40]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14001d004
mov r8, rbx
lea rdx, [rsp + 0x40]
call fcn.140010900
nop
jmp 0x14001d5f4
cmp byte [0x1401ea198], sil
jne 0x14001d0ed
mov rax, qword [rbp + 0x178]
cmp byte [rax], sil
jne 0x14001d0ed
call fcn.140011e30
mov dword [rbp + 0x38], eax
xorps xmm0, xmm0
test eax, eax
je 0x14001d193
mov byte [rsp + 0x40], 1
movups xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x1401c4af0]
movdqu xmmword [rsp + 0x68], xmm1
mov byte [rsp + 0x58], sil
mov byte [rsp + 0x41], 1
mov byte [rsp + 0x42], 1
mov byte [rsp + 0x43], 1
mov byte [rsp + 0x44], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x41]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x42]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x43]
lea r8, [rsp + 0x44]
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x80]
call fcn.14001cf00
lea rcx, [rbp - 8]
call fcn.140010730
lea rcx, [rbp - 0x28]
call fcn.140010730
lea rcx, [rbp - 0x48]
call fcn.140010730
nop
lea rcx, [rsp + 0x58]
call fcn.140010730
mov byte [0x1401ea198], 1
lea rcx, [rbp + 0x40]
call fcn.14001d7f0
nop
mov eax, dword [r14]
mov dword [rbp + 0x40], eax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
mov qword [rbp + 0x30], r15
mov ecx, 0x5dc
call fcn.14015be00
mov qword [rbp + 0x20], rax
lea rbx, [rax + 0x5dc]
mov qword [rbp + 0x30], rbx
xor edx, edx
mov r8d, 0x5dc
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x28], rbx
mov r15, qword [rbp + 0x20]
mov ebx, dword [r14]
movzx eax, word [0x1401ea110]
imul rbx, rax
add rbx, qword [0x1401eca38]
mov r14, qword [0x1401ea128]
cmp byte [0x1401ec478], 0
jne 0x14001d164
call fcn.1400c9300
mov rax, qword [0x1401ec358]
mov qword [rsp + 0x20], 0
mov r9d, 0x5dc
mov r8, r15
mov rdx, rbx
mov rcx, r14
test rax, rax
je 0x14001d25d
call rax
jmp 0x14001d263
mov byte [0x1401ea198], sil
mov dword [rdi], r15d
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov rbx, 0xffffffffffffffff
mov dword [rdi + 0x20], ebx
mov qword [rdi + 0x28], r15
mov qword [rdi + 0x30], r15
lea rcx, [rdi + 0x38]
mov byte [rsp + 0x40], sil
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
lea rax, [rsp + 0x40]
mov r8, rbx
inc r8
cmp byte [rax + r8], sil
jne 0x14001d1d7
lea rdx, [rsp + 0x40]
call fcn.140010900
nop
lea rcx, [rdi + 0x58]
mov byte [rsp + 0x40], 0
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
lea rax, [rsp + 0x40]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14001d210
lea rdx, [rsp + 0x40]
call fcn.140010900
nop
lea rcx, [rdi + 0x78]
mov byte [rsp + 0x40], 0
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
lea rax, [rsp + 0x40]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14001d241
mov r8, rbx
lea rdx, [rsp + 0x40]
call fcn.140010900
nop
jmp 0x14001d5f4
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.140017690
mov rdx, qword [rbp + 0x170]
mov rax, qword [rdx + 0x10]
test rax, rax
je 0x14001d2b8
cmp qword [rdx + 0x18], 0x10
jb 0x14001d28a
mov rdx, qword [rdx]
lea rcx, [rbp + 0x78]
cmp qword [rbp + 0x90], 0x10
cmovae rcx, qword [rbp + 0x78]
mov r8, qword [rbp + 0x88]
cmp r8, rax
jne 0x14001d4b9
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001d4b9
movsd xmm0, qword [str.P__GiDLXT__sW6]
movsd qword [rsp + 0x48], xmm0
mov eax, dword [0x1401ba420]
mov dword [rsp + 0x50], eax
cmp byte [reloc.WLDAP32.dll_Ordinal_60], 0
je 0x14001d443
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14001d3ff
movdqa xmm4, xmmword [0x1401c4ea0]
mov eax, 5
movd xmm6, eax
mov eax, Ordinal_35
movd xmm5, eax
movdqa xmm2, xmmword [0x1401c4b30]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401c4c20]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401c4d70]
movd xmm0, dword [str.P__GiDLXT__sW6]
xorps xmm2, xmm0
movd dword [rsp + 0x48], xmm2
movdqa xmm3, xmmword [0x1401c4b40]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401c4c20]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401c4d70]
movd xmm0, dword [rsp + 0x4c]
xorps xmm2, xmm0
movd dword [rsp + 0x4c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x48]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x14001d410
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rsp + 0x48]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14001d460
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.140010900
mov esi, 2
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdx, qword [rsp + 0x58]
lea rcx, [rbp + 0x78]
cmp qword [rbp + 0x90], 0x10
cmovae rcx, qword [rbp + 0x78]
mov r8, qword [rbp + 0x88]
cmp r8, qword [rsp + 0x68]
jne 0x14001d4c3
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001d4c3
mov bl, 1
test sil, 2
je 0x14001d4d7
jmp 0x14001d4c5
xor bl, bl
lea rcx, [rsp + 0x58]
call fcn.140010730
test bl, bl
je 0x14001d629
mov eax, dword [rbp + 0x40]
mov dword [rdi], eax
movups xmm0, xmmword [rbp + 0x48]
movups xmmword [rdi + 8], xmm0
movsd xmm1, qword [rbp + 0x58]
movsd qword [rdi + 0x18], xmm1
mov eax, dword [rbp + 0x60]
mov dword [rdi + 0x20], eax
mov rax, qword [rbp + 0x68]
mov qword [rdi + 0x28], rax
mov rax, qword [rbp + 0x70]
mov qword [rdi + 0x30], rax
xor ebx, ebx
movups xmm0, xmmword [rbp + 0x78]
movups xmmword [rdi + 0x38], xmm0
movups xmm1, xmmword [rbp + 0x88]
movups xmmword [rdi + 0x48], xmm1
mov qword [rbp + 0x88], rbx
mov qword [rbp + 0x90], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x78], bl
movups xmm0, xmmword [rbp + 0x98]
movups xmmword [rdi + 0x58], xmm0
movups xmm1, xmmword [rbp + 0xa8]
movups xmmword [rdi + 0x68], xmm1
mov qword [rbp + 0xa8], rbx
mov qword [rbp + 0xb0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x98], bl
movups xmm0, xmmword [rbp + 0xb8]
movups xmmword [rdi + 0x78], xmm0
movups xmm1, xmmword [rbp + 0xc8]
movups xmmword [rdi + 0x88], xmm1
mov qword [rbp + 0xc8], rbx
mov qword [rbp + 0xd0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb8], bl
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14001d5d3
mov rdx, qword [rbp + 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d5c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d7cf
call fcn.14015c094
xorps xmm0, xmm0
mov qword [rbp + 0x30], rbx
movdqu xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 0xb8]
call fcn.140010730
lea rcx, [rbp + 0x98]
call fcn.140010730
lea rcx, [rbp + 0x78]
call fcn.140010730
mov rax, rdi
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.14015bde0
mov rbx, qword [rsp + 0x250]
movaps xmm6, xmmword [rsp + 0x1f0]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rbp + 0x20]
cmp byte [r12], 0
je 0x14001d68e
cmp byte [0x1401ea1e8], 0
je 0x14001d7d6
mov rax, qword [rbp + 0x28]
sub rax, rcx
xorps xmm1, xmm1
cmp rax, 0x18
jae 0x14001d65d
movsd qword [rbp + 0x48], xmm1
movsd qword [rbp + 0x50], xmm1
jmp 0x14001d689
movsd xmm0, qword [rcx + 0x10]
movsd qword [rbp + 0x48], xmm0
cmp rax, 0x20
jae 0x14001d674
movsd qword [rbp + 0x50], xmm1
jmp 0x14001d689
movsd xmm0, qword [rcx + 0x18]
movsd qword [rbp + 0x50], xmm0
cmp rax, 0x28
jb 0x14001d689
movsd xmm1, qword [rcx + 0x20]
movsd qword [rbp + 0x58], xmm1
cmp byte [r13], 0
je 0x14001d6a6
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.140016540
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x160]
cmp byte [rax], 0
je 0x14001d6c3
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.140016e60
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x168]
cmp byte [rax], 0
je 0x14001d6e0
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.1400172b0
mov rcx, qword [rbp + 0x20]
mov eax, dword [rbp + 0x40]
mov dword [rdi], eax
movups xmm0, xmmword [rbp + 0x48]
movups xmmword [rdi + 8], xmm0
movsd xmm1, qword [rbp + 0x58]
movsd qword [rdi + 0x18], xmm1
mov eax, dword [rbp + 0x60]
mov dword [rdi + 0x20], eax
mov rax, qword [rbp + 0x68]
mov qword [rdi + 0x28], rax
mov rax, qword [rbp + 0x70]
mov qword [rdi + 0x30], rax
xor ebx, ebx
movups xmm0, xmmword [rbp + 0x78]
movups xmmword [rdi + 0x38], xmm0
movups xmm1, xmmword [rbp + 0x88]
movups xmmword [rdi + 0x48], xmm1
mov qword [rbp + 0x88], rbx
mov qword [rbp + 0x90], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x78], bl
movups xmm0, xmmword [rbp + 0x98]
movups xmmword [rdi + 0x58], xmm0
movups xmm1, xmmword [rbp + 0xa8]
movups xmmword [rdi + 0x68], xmm1
mov qword [rbp + 0xa8], rbx
mov qword [rbp + 0xb0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x98], bl
movups xmm0, xmmword [rbp + 0xb8]
movups xmmword [rdi + 0x78], xmm0
movups xmm1, xmmword [rbp + 0xc8]
movups xmmword [rdi + 0x88], xmm1
mov qword [rbp + 0xc8], rbx
mov qword [rbp + 0xd0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb8], bl
test rcx, rcx
je 0x14001d5d3
mov rdx, qword [rbp + 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d5c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d5c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movss xmm0, dword [0x1401c4720]
call fcn.1400cdb40
int3