Function at 0x18001bc60
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rbx, r8
movzx r13d, dl
call fcn.18001ab80
call fcn.180021370
test eax, eax
jne 0x18001bf44
test r13b, r13b
je 0x18001bf14
movups xmm0, xmmword [0x1800b6f10]
movups xmmword [rbp - 0x19], xmm0
mov eax, dword [0x1800b6f20]
mov dword [rbp - 9], eax
xor ebx, ebx
cmp byte [0x1800b6f23], bl
je 0x18001be80
mov r8d, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x18001be37
movdqa xmm5, xmmword [0x1800b9500]
movdqa xmm4, xmmword [0x1800b95a0]
mov r14d, 4
movd xmm6, r14d
movdqa xmm7, xmmword [0x1800b9520]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x15]
mov edx, dword [rbp - 0x39]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800b9580]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800b9580]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x18001bd30
cmp r8d, 0x14
jge 0x18001be80
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x14
jl 0x18001be50
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rbx
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x39], bl
lea rax, [rbp - 0x19]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x18001bea6
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x39]
call fcn.180009130
nop
lea rdx, [rbp - 0x39]
xor ecx, ecx
call fcn.180039830
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x18001bf04
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001beff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001c407
call fcn.18009d5c8
mov byte [rbp - 0x39], 0
mov qword [rbp - 0x21], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x29], rbx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor edx, edx
call fcn.18001c6d0
mov rax, qword [rbx + 0x10]
mov rdx, rbx
mov rcx, qword [rbx + 0x18]
cmp rcx, 0x10
jb 0x18001bf5f
mov rdx, qword [rbx]
cmp rax, 4
jne 0x18001bf79
cmp dword [rdx], 0x64616568
jne 0x18001bf79
mov rsi, qword [0x1800e3418]
jmp 0x18001c013
mov rdx, rbx
cmp rcx, 0x10
jb 0x18001bf85
mov rdx, qword [rbx]
cmp rax, 4
jne 0x18001bf9c
cmp dword [rdx], 0x6b63656e
jne 0x18001bf9c
mov rsi, qword [0x1800e3410]
jmp 0x18001c013
mov rdx, rbx
cmp rcx, 0x10
jb 0x18001bfa8
mov rdx, qword [rbx]
cmp rax, 0xc
jne 0x18001bfcf
movabs r8, 0x65635f7473656863
cmp qword [rdx], r8
jne 0x18001bfcf
cmp dword [rdx + 8], 0x7265746e
jne 0x18001bfcf
mov rsi, qword [0x1800e3420]
jmp 0x18001c013
cmp rcx, 0x10
jb 0x18001bfd8
mov rbx, qword [rbx]
cmp rax, 0xd
jne 0x18001c1b3
movabs rax, 0x7265646c756f6873
cmp qword [rbx], rax
jne 0x18001c1b3
cmp dword [rbx + 8], 0x66656c5f
jne 0x18001c1b3
cmp byte [rbx + 0xc], 0x74
jne 0x18001c1b3
mov rsi, qword [0x1800e3428]
mov r12, qword [0x1800e33f8]
mov rdi, qword [0x1800e33f0]
xor ebx, ebx
cmp rdi, r12
je 0x18001c0c2
lea r14d, [rbx + 4]
mov rcx, qword [rdi]
mov rdx, qword [0x1800e3408]
add rdx, rcx
lea r15, [rcx + rsi]
cmp rsi, qword [0x1800e3418]
jne 0x18001c050
lea r8, [rdi + 0xc]
jmp 0x18001c07b
cmp rsi, qword [0x1800e3410]
jne 0x18001c05f
lea r8, [rdi + 0x10]
jmp 0x18001c07b
cmp rsi, qword [0x1800e3420]
jne 0x18001c06e
lea r8, [rdi + 0x14]
jmp 0x18001c07b
cmp rsi, qword [0x1800e3428]
jne 0x18001c090
lea r8, [rdi + 0x18]
mov qword [rsp + 0x20], rbx
mov r9, r14
mov rcx, qword [0x1800e33b8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp rsi, qword [0x1800e3418]
je 0x18001c0b5
lea r8, [rdi + 8]
mov qword [rsp + 0x20], rbx
mov r9, r14
mov rdx, r15
mov rcx, qword [0x1800e33b8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add rdi, 0x20
cmp rdi, r12
jne 0x18001c030
test r13b, r13b
je 0x18001bf14
movsd xmm0, qword [str.yZNRJJZ_A]
movsd qword [rbp - 0x39], xmm0
movzx eax, word [0x1800b63f8]
mov word [rbp - 0x31], ax
cmp byte [0x1800b63f9], bl
je 0x18001c113
mov byte [rbp - 0x39], 0x41
xor byte [rbp - 0x38], 0x39
xor byte [rbp - 0x37], 0x3a
xor byte [rbp - 0x36], 0x3b
xor byte [rbp - 0x35], 0x3c
xor byte [rbp - 0x34], 0x3d
xor byte [rbp - 0x33], 0x3e
xor byte [rbp - 0x32], 0x3f
xor byte [rbp - 0x31], 0x40
xor byte [rbp - 0x30], 0x41
mov qword [rbp - 0x19], rbx
mov qword [rbp - 9], rbx
mov qword [rbp - 1], rbx
mov qword [rbp - 9], rbx
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x19], bl
lea rax, [rbp - 0x39]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x18001c140
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x19]
call fcn.180009130
nop
lea rdx, [rbp - 0x19]
mov cl, 1
call fcn.180039830
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x18001c19e
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001c199
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001c407
call fcn.18009d5c8
mov qword [rbp - 9], rbx
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x19], 0
jmp 0x18001bf14
test r13b, r13b
je 0x18001bf14
movups xmm0, xmmword [str.qWLZPTZ]
movups xmmword [rbp - 0x19], xmm0
movzx eax, byte [0x1800b6de0]
mov byte [rbp - 9], al
xor ebx, ebx
mov r8d, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x18001c337
movdqa xmm5, xmmword [0x1800b9500]
movdqa xmm4, xmmword [0x1800b95a0]
mov r14d, 4
movd xmm6, r14d
movdqa xmm7, xmmword [0x1800b9520]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x15]
mov edx, dword [rbp - 0x39]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800b9580]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800b9580]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x18001c230
cmp r8d, 0x11
jge 0x18001c380
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x18001c350
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rbx
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x39], bl
lea rax, [rbp - 0x19]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x18001c3a6
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x39]
call fcn.180009130
nop
lea rdx, [rbp - 0x39]
xor ecx, ecx
call fcn.180039830
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x18001bf04
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001beff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001beff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3