Function at 0x180002080
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2f0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1800930c0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x70], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov esi, 1
mov dword [rsp + 0x30], esi
xor eax, eax
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0x130], rax
movups xmm0, xmmword [str.hWmV]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [0x180085be0]
movups xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [0x180085bf0]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [0x180085c00]
movups xmmword [rbp - 0x30], xmm1
movzx eax, byte [0x180085c10]
mov byte [rbp - 0x20], al
mov ecx, r14d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x180002264
movdqa xmm4, xmmword [0x180085dd0]
movdqa xmm3, xmmword [0x180085e20]
movdqa xmm5, xmmword [0x180085e00]
movdqa xmm0, xmmword [0x180085e30]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rbp - 0x5c]
movdqa xmm6, xmmword [0x180085e10]
mov r8d, dword [rsp + 0x40]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x40
jl 0x180002180
cmp ecx, 0x41
jge 0x18000229b
movsxd rax, ecx
lea r8, [rbp - 0x60]
add r8, rax
nop
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x41
jl 0x180002270
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x110]
call fcn.180003d00
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
cmp qword [rbx + 0x18], 0xf
jbe 0x180002301
mov rdx, qword [rbx]
mov r10, rdx
add rdx, qword [rbx + 0x10]
jmp 0x18000230b
mov rdx, qword [rbx + 0x10]
add rdx, rbx
mov r10, rbx
mov qword [rbp + 0x80], r10
mov qword [rbp + 0x88], rdx
lea rax, [rbp + 0x110]
mov qword [rbp + 0x90], rax
mov dword [rbp + 0x98], r14d
mov qword [rbp + 0xa0], r14
mov byte [rbp + 0xa8], 0
movdqu xmmword [rbp + 0xb0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc0], xmm1
mov qword [rbp + 0xd0], r14
mov byte [rbp + 0xd8], 0
movdqu xmmword [rbp + 0xe0], xmm0
mov byte [rbp + 0xf0], 0
mov qword [rbp + 0xf8], r14
mov qword [rbp + 0x100], r14
mov byte [rbp + 0x108], 0
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x20], r14d
lea r9, [rbp + 0x110]
lea r8, [rbp + 0xa0]
mov rcx, r10
call fcn.180004de0
mov rcx, qword [rbp + 0x90]
test al, al
cmove rcx, r14
mov qword [rbp + 0x90], rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
mov qword [rbp + 0x140], r14
mov qword [rbp + 0x148], r14
mov qword [rbp + 0x150], r14
mov qword [rbp + 0x160], r14
mov byte [rbp + 0x168], 0
movdqu xmmword [rbp + 0x170], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x180], xmm1
mov qword [rbp + 0x190], r14
mov byte [rbp + 0x198], 0
movdqu xmmword [rbp + 0x1a0], xmm0
mov byte [rbp + 0x1b0], 0
mov qword [rbp + 0x1b8], r14
mov qword [rbp + 0x1c0], r14
mov byte [rbp + 0x1c8], 0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x10]
call fcn.1800027a0
nop
movabs r15, 0x2aaaaaaaaaaaaaab
nop dword [rax]
cmp qword [rbp], 0
je 0x180002704
mov rcx, qword [rbp + 0x28]
sub rcx, qword [rbp + 0x20]
mov rax, r15
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [rbp + 0x68]
cmovne rax, qword [rbp + 0x20]
cmp byte [rax + 0x10], 0
je 0x1800024d0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
jmp 0x1800024d9
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov rax, r14
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], r14
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
cmp rdx, r8
jne 0x180002506
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], al
jmp 0x18000251b
sub r8, rdx
lea rcx, [rsp + 0x70]
call fcn.180005010
mov rdx, qword [rbp - 0x78]
mov rax, qword [rbp - 0x80]
or esi, 0xe
mov dword [rsp + 0x30], esi
cmp rax, 0x23
sete bl
cmp rdx, 0xf
jbe 0x180002561
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000255c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800026fd
call fcn.18007393c
test bl, bl
je 0x180002667
mov rcx, qword [rbp + 0x28]
sub rcx, qword [rbp + 0x20]
mov rax, r15
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [rbp + 0x68]
cmovne rax, qword [rbp + 0x20]
cmp byte [rax + 0x10], 0
je 0x18000259e
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
jmp 0x1800025a7
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
cmp rdx, r8
jne 0x1800025dd
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
jmp 0x1800025ea
sub r8, rdx
lea rcx, [rsp + 0x50]
call fcn.180005010
or esi, 0x70
mov dword [rsp + 0x30], esi
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x18000261d
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x10], xmm1
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
add qword [rdi + 8], 0x20
jmp 0x18000262f
lea r8, [rsp + 0x50]
mov rcx, rdi
call fcn.180006430
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180002667
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002662
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800026fd
call fcn.18007393c
mov r8, qword [rbp + 0x20]
mov rbx, qword [r8 + 8]
xor dl, dl
cmp qword [r8], rbx
jne 0x1800026b6
cmp rbx, qword [rbp - 8]
jne 0x180002685
mov qword [rbp], r14
jmp 0x180002490
mov ecx, dword [rbp + 8]
or ecx, 0x60
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov r9, qword [rbp]
lea r8, [rbp + 0x10]
mov rdx, qword [rbp - 8]
mov rcx, rbx
call fcn.180004de0
test al, al
jne 0x180002490
mov dl, 1
mov eax, dword [rbp + 8]
bts eax, 8
mov dword [rbp + 8], eax
mov ecx, eax
bts ecx, 0xe
test dl, dl
cmove ecx, eax
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov r9, qword [rbp]
lea r8, [rbp + 0x10]
mov rdx, qword [rbp - 8]
mov rcx, rbx
call fcn.180004de0
test al, al
jne 0x180002490
mov qword [rbp], r14
jmp 0x180002490
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0x20]
call fcn.180004620
nop
lea rcx, [rbp + 0x170]
call fcn.180004620
nop
lea rcx, [rbp + 0xb0]
call fcn.180004620
nop
lea rcx, [rbp + 0x110]
call fcn.1800046a0
mov rcx, qword [rbp + 0x130]
test rcx, rcx
je 0x18000275a
mov r8, qword [rcx]
call qword [r8 + reloc.WS2_32.dll_recv]
test rax, rax
je 0x18000275a
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, rdi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.180073570
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret