Function at 0x1402e1f30
Capabilities:
Create thread
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14040f080]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
mov qword [rbp - 0x10], rcx
xor r14d, r14d
mov r8, qword [0x140593270]
mov qword [r8 + 8], rdx
mov rax, qword [0x140593278]
mov qword [rax + 8], rdx
mov word [rax + 0x10], 0x100
mov byte [r8], 1
lea rcx, [r8 + 0x18]
lea r9, [0x140591dc8]
cmp rcx, r9
je 0x1402e1fe1
mov rdi, qword [0x140591dd8]
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova r9, qword [0x140591dc8]
mov rax, qword [rcx + 0x18]
cmp rdi, rax
ja 0x1402e1fd4
mov rsi, rcx
cmp rax, 0xf
jbe 0x1402e1fbc
mov rsi, qword [rcx]
mov qword [rcx + 0x10], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rdi], 0
jmp 0x1402e1fe1
movzx r8d, byte [rbp - 0x50]
mov rdx, rdi
call fcn.1402e5dc0
mov word [rbp - 0x22], r14w
mov qword [rbp - 0x20], reloc.WS2_32.dll_listen
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.Loader_Opened]
movsd qword [rbp - 0x30], xmm0
mov eax, dword [0x1403f2a90]
mov dword [rbp - 0x28], eax
movzx eax, byte [0x1403f2a94]
mov byte [rbp - 0x24], al
mov byte [rbp - 0x23], 0
lea rcx, [rbp - 0x30]
call fcn.1402d9480
call fcn.1402cae10
call fcn.1402e8080
mov ecx, 8
call fcn.1403b4fe4
lea rcx, [0x1402e1280]
mov qword [rax], rcx
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x1402c9000]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1402e2215
cmp dword [rbp - 0x28], 0
je 0x1402e2209
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1402e2209
call fcn.1402e1d30
mov rax, qword [0x140593270]
mov byte [rax + 0x13], 1
mov eax, dword [str.S_A3]
mov dword [rbp - 0x40], eax
cmp byte [0x1403f2d43], 0
je 0x1402e218e
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1402e214d
movdqa xmm3, xmmword [0x1403f45a0]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1403f4800]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1403f4800]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1403f45e0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1403f4630]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1403f4660]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x40], xmm2
jmp 0x1402e218e
lea r8, [rbp - 0x40]
mov ecx, r14d
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 4
jl 0x1402e2160
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1402e21cf
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1402e21ca
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1402e2202
mov rcx, r8
call fcn.1403b4e4c
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1403b5820
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3