Function at 0x18005c300
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, 0xc0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x18013a080]
xor rax, rsp
mov qword [rbp + 0x17], rax
movsd xmm0, qword [0x18011fa48]
movsd qword [rbp - 0x39], xmm0
mov eax, dword [0x18011fa50]
mov dword [rbp - 0x31], eax
movzx eax, byte [0x18011fa54]
mov byte [rbp - 0x2d], al
xor ebx, ebx
mov ecx, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x18005c474
movdqa xmm4, xmmword [0x180127d60]
mov eax, 5
movd xmm6, eax
mov eax, Ordinal_33
movd xmm5, eax
movdqa xmm2, xmmword [0x180127970]
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 [0x1801279b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180127a30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180127ae0]
movd xmm0, dword [0x18011fa48]
xorps xmm2, xmm0
movd dword [rbp - 0x39], xmm2
movdqa xmm3, xmmword [0x180127990]
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 [0x1801279b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180127a30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180127ae0]
movd xmm0, dword [rbp - 0x35]
xorps xmm2, xmm0
movd dword [rbp - 0x35], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rbp - 0x39]
add r8, rax
nop
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x37
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xd
jl 0x18005c480
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], rbx
lea rax, [rbp - 0x39]
mov r13, 0xffffffffffffffff
mov r8, r13
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], bl
jne 0x18005c4d0
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x21]
call fcn.18005a420
nop
lea rdx, [rbp - 0x21]
call fcn.18005b740
mov rdi, rax
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x18005c531
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005c52c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005c52c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e6490
test rdi, rdi
je 0x18005ca72
lea rax, str.xxx____xx
mov qword [rsp + 0x28], rax
lea rax, [0x18011e450]
mov qword [rsp + 0x20], rax
mov r9, rdi
call fcn.18005c0a0
test rax, rax
je 0x18005ca72
mov r8, rax
call fcn.18005c230
lea rsi, [rax - 8]
mov ecx, dword [0x1801faecc]
mov rax, qword gs:[0x58]
lea r15, [rax + rcx*8]
mov qword [rbp - 0x29], r15
mov r12d, 4
mov r14, qword [r15]
add r14, r12
mov eax, dword [r14]
cmp dword [0x1801fb8d8], eax
jle 0x18005c5db
lea rcx, [0x1801fb8d8]
call fcn.1800e65b0
cmp dword [0x1801fb8d8], 0xffffffff
jne 0x18005c5db
xor r8d, r8d
lea rdx, str.RtlCopyMemory
lea rcx, [0x18011e2d8]
call fcn.180059e10
mov qword [0x1801fb780], rax
lea rcx, [0x1801fb8d8]
call fcn.1800e6544
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9, rsi
lea r8, [rbp - 1]
mov rdx, qword [0x1801fb780]
call fcn.18007c2f0
mov rdi, rbx
test rsi, rsi
cmovne rdi, qword [rbp - 1]
add rsi, 8
mov qword [rbp - 0x39], rsi
nop word [rax + rax]
mov eax, dword [r14]
cmp dword [0x1801fb8d8], eax
jle 0x18005c659
lea rcx, [0x1801fb8d8]
call fcn.1800e65b0
cmp dword [0x1801fb8d8], 0xffffffff
jne 0x18005c659
xor r8d, r8d
lea rdx, str.RtlCopyMemory
lea rcx, [0x18011e2d8]
call fcn.180059e10
mov qword [0x1801fb780], rax
lea rcx, [0x1801fb8d8]
call fcn.1800e6544
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9, rsi
lea r8, [rbp + 7]
mov rdx, qword [0x1801fb780]
call fcn.18007c2f0
mov rax, rbx
test rsi, rsi
cmovne rax, qword [rbp + 7]
cmp rdi, rax
je 0x18005ca6e
lea rsi, [rdi + 0x10]
add r12, qword [r15]
mov eax, dword [r12]
cmp dword [0x1801fb8d8], eax
jle 0x18005c6da
lea rcx, [0x1801fb8d8]
call fcn.1800e65b0
cmp dword [0x1801fb8d8], 0xffffffff
jne 0x18005c6da
xor r8d, r8d
lea rdx, str.RtlCopyMemory
lea rcx, [0x18011e2d8]
call fcn.180059e10
mov qword [0x1801fb780], rax
lea rcx, [0x1801fb8d8]
call fcn.1800e6544
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9, rsi
lea r8, [rbp - 0x21]
mov rdx, qword [0x1801fb780]
call fcn.18007c2f0
test rsi, rsi
je 0x18005c830
movzx ecx, word [rbp - 0x21]
shr rcx, 1
inc rcx
mov eax, 2
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.1800e6cb4
mov rsi, rax
movzx r8d, word [rbp - 0x21]
add r8, 2
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
movzx r13d, word [rbp - 0x21]
mov r15, qword [rbp - 0x19]
mov ecx, dword [r12]
cmp dword [0x1801fb8d8], ecx
jle 0x18005c786
lea rcx, [0x1801fb8d8]
call fcn.1800e65b0
cmp dword [0x1801fb8d8], 0xffffffff
jne 0x18005c786
xor r8d, r8d
lea rdx, str.RtlCopyMemory
lea rcx, [0x18011e2d8]
call fcn.180059e10
mov qword [0x1801fb780], rax
lea rcx, [0x1801fb8d8]
call fcn.1800e6544
mov qword [rsp + 0x20], r13
mov r9, r15
mov r8, rsi
mov rdx, qword [0x1801fb780]
call fcn.18007c2f0
test r15, r15
je 0x18005c81d
lea rdx, [rbp - 0x59]
call fcn.18005b970
cmp qword [rax + 0x18], 8
jb 0x18005c7b5
mov rax, qword [rax]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov r15, rax
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x18005c804
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005c7ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005c8b2
call fcn.1800e6490
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], 7
mov word [rbp - 0x59], bx
test r15, r15
jne 0x18005c8b9
mov rcx, rsi
call fcn.1800e6490
mov r15, qword [rbp - 0x29]
mov r13, 0xffffffffffffffff
mov eax, dword [r14]
cmp dword [0x1801fb8d8], eax
jle 0x18005c879
lea rcx, [0x1801fb8d8]
call fcn.1800e65b0
cmp dword [0x1801fb8d8], 0xffffffff
jne 0x18005c879
xor r8d, r8d
lea rdx, str.RtlCopyMemory
lea rcx, [0x18011e2d8]
call fcn.180059e10
mov qword [0x1801fb780], rax
lea rcx, [0x1801fb8d8]
call fcn.1800e6544
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9, rdi
lea r8, [rbp + 0xf]
mov rdx, qword [0x1801fb780]
call fcn.18007c2f0
mov rax, rbx
test rdi, rdi
cmovne rax, qword [rbp + 0xf]
mov rdi, rax
mov rsi, qword [rbp - 0x39]
mov r12d, 4
jmp 0x18005c610
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov eax, dword [r14]
cmp dword [0x1801fb8d8], eax
jle 0x18005c902
lea rcx, [0x1801fb8d8]
call fcn.1800e65b0
cmp dword [0x1801fb8d8], 0xffffffff
jne 0x18005c902
xor r8d, r8d
lea rdx, str.RtlCopyMemory
lea rcx, [0x18011e2d8]
call fcn.180059e10
mov qword [0x1801fb780], rax
lea rcx, [0x1801fb8d8]
call fcn.1800e6544
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9, rdi
lea r8, [rbp - 0x39]
mov rdx, qword [0x1801fb780]
call fcn.18007c2f0
mov r15, rbx
test rdi, rdi
cmovne r15, qword [rbp - 0x39]
add rdi, 8
mov eax, dword [r14]
cmp dword [0x1801fb8d8], eax
jle 0x18005c976
lea rcx, [0x1801fb8d8]
call fcn.1800e65b0
cmp dword [0x1801fb8d8], 0xffffffff
jne 0x18005c976
xor r8d, r8d
lea rdx, str.RtlCopyMemory
lea rcx, [0x18011e2d8]
call fcn.180059e10
mov qword [0x1801fb780], rax
lea rcx, [0x1801fb8d8]
call fcn.1800e6544
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9, rdi
lea r8, [rbp - 0x29]
mov rdx, qword [0x1801fb780]
call fcn.18007c2f0
test rdi, rdi
cmovne rbx, qword [rbp - 0x29]
mov eax, dword [r14]
cmp dword [0x1801fb92c], eax
jle 0x18005c9e3
lea rcx, [0x1801fb92c]
call fcn.1800e65b0
cmp dword [0x1801fb92c], 0xffffffff
jne 0x18005c9e3
xor r8d, r8d
lea rdx, str.RtlCopyMemory
lea rcx, [0x18011e2d8]
call fcn.180059e10
mov qword [0x1801fb8b0], rax
lea rcx, [0x1801fb92c]
call fcn.1800e6544
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9, r15
mov r8, rbx
mov rdx, qword [0x1801fb8b0]
call fcn.18007c2f0
mov eax, dword [r14]
cmp dword [0x1801fb92c], eax
jle 0x18005ca47
lea rcx, [0x1801fb92c]
call fcn.1800e65b0
cmp dword [0x1801fb92c], 0xffffffff
jne 0x18005ca47
xor r8d, r8d
lea rdx, str.RtlCopyMemory
lea rcx, [0x18011e2d8]
call fcn.180059e10
mov qword [0x1801fb8b0], rax
lea rcx, [0x1801fb92c]
call fcn.1800e6544
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9, rbx
lea r8, [r15 + 0x80]
mov rdx, qword [0x1801fb8b0]
call fcn.18007c2f0
mov rcx, rsi
call fcn.1800e6490
mov al, 1
jmp 0x18005ca74
xor al, al
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1800e63a0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret