Function at 0x1400641f0
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 r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movsd xmm0, qword [str.UIB__GSE]
movsd qword [rbp - 0x19], xmm0
mov eax, dword [0x1401b7f30]
mov dword [rbp - 0x11], eax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_60]
mov byte [rbp - 0xd], al
xor esi, esi
mov r8d, esi
lea r14d, [rsi + 5]
lea r15d, [rsi + 0x1f]
mov ebx, dword [reloc.WS2_32.dll_accept]
cmp ebx, 2
jl 0x140064363
movdqa xmm4, xmmword [0x1401b9770]
movd xmm6, r14d
movd xmm5, r15d
movdqa xmm2, xmmword [0x1401b9240]
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 [0x1401b9280]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401b9320]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, dword [str.UIB__GSE]
pxor xmm2, xmm0
movd dword [rbp - 0x19], xmm2
movdqa xmm3, xmmword [0x1401b9260]
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 [0x1401b9280]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401b9320]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, dword [rbp - 0x15]
pxor xmm2, xmm0
movd dword [rbp - 0x15], xmm2
mov r8d, 8
mov eax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop dword [rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x140064370
mov qword [rbp - 9], rsi
mov qword [rbp + 7], rsi
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
lea rax, [rbp - 0x19]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400643c0
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 9]
call fcn.14004ef70
lea rax, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rax, qword [rbp - 9]
mov qword [rbp - 0x19], rax
mov rax, qword [rbp + 7]
mov qword [rbp - 0x11], rax
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
lea rcx, [rbp - 0x19]
call fcn.140064080
movsxd rdi, eax
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140064444
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006443f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006443f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016c298
movups xmm0, xmmword [0x1401b8380]
movups xmmword [rbp - 9], xmm0
mov eax, dword [str._9C]
mov dword [rbp + 7], eax
cmp byte [0x1401b8393], 0
je 0x1400645fe
mov ecx, esi
cmp ebx, 2
jl 0x1400645bc
movdqa xmm5, xmmword [0x1401b9240]
movdqa xmm4, xmmword [0x1401b9770]
movd xmm6, r14d
movdqa xmm7, xmmword [0x1401b9280]
movd xmm8, r15d
movdqa xmm0, xmmword [str.0000000000000000]
movdqa xmmword [rbp - 0x19], xmm0
lea rdx, [rbp - 5]
mov r8d, dword [rbp - 0x19]
nop word [rax + rax]
movd xmm2, ecx
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
paddd xmm1, xmm2
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 [0x1401b9320]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
pxor xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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
paddd xmm1, xmm3
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 [0x1401b9320]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
pxor xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x1400644b0
cmp ecx, 0x14
jge 0x1400645fe
movsxd rax, ecx
lea r8, [rbp - 9]
add r8, rax
nop word [rax + rax]
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, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x14
jl 0x1400645d0
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
lea rcx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x1401faf08], rax
mov rcx, rdi
mov qword [0x1401fa4a0], rcx
test rax, rax
je 0x140064680
mov dword [rbp - 0x19], ecx
mov qword [rbp - 0x11], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rcx, [rbp - 0x19]
mov qword [rsp + 0x20], rcx
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp - 0x19]
mov edx, 0x12e51a4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp qword [rbp - 0x11], 0
je 0x140064680
mov al, 1
jmp 0x140064682
xor al, al
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret