Function at 0x140002320
Capabilities:
Create thread
Encode data using xor
Enumerate processes
Get session user name
Inject thread

Disassembly:
mov rax, rsp
sub rsp, 0x238
lea rdx, [rax + 8]
mov dword [rax + 8], 0x64
lea rcx, [rax - 0x88]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x14000288f
mov eax, dword [0x140080e60]
mov qword [rsp + 0x248], rbx
mov qword [rsp + 0x250], rsi
lea rsi, [0x140075ea1]
mov qword [rsp + 0x230], rdi
movaps xmmword [rsp + 0x220], xmm6
cmp eax, 1
jne 0x14000254a
mov eax, dword [0x140076348]
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm0, xmmword [str.v_fkoPT_SJMc____17i__K]
mov dword [rsp + 0x50], eax
movzx eax, word [0x14007634c]
mov word [rsp + 0x54], ax
movzx eax, byte [0x14007634e]
mov byte [rsp + 0x56], al
movups xmmword [rsp + 0x40], xmm0
jl 0x1400024f7
movdqa xmm0, xmmword [0x140076450]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140076400]
movdqa xmm4, xmmword [0x140076440]
movdqa xmm6, xmmword [0x140076420]
movdqa xmmword [rsp + 0x70], xmm0
mov edx, dword [rsp + 0x70]
nop dword [rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140076430]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140076430]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400023f0
cmp r8d, 0x17
jge 0x140002540
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop word [rax + 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, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x140002510
lea rsi, [rsp + 0x40]
jmp 0x140002715
cmp eax, 2
jne 0x140002715
cmp byte [0x140076389], 0
movups xmm0, xmmword [str.v_fkoPT_SJMc]
movzx eax, word [0x140076388]
mov word [rsp + 0x67], ax
movups xmmword [rsp + 0x57], xmm0
je 0x140002710
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400026c7
movdqa xmm0, xmmword [0x140076450]
lea rcx, [rsp + 0x5b]
movdqa xmm5, xmmword [0x140076400]
movdqa xmm4, xmmword [0x140076440]
movdqa xmm6, xmmword [0x140076420]
movdqa xmmword [rsp + 0x70], xmm0
mov edx, dword [rsp + 0x70]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140076430]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140076430]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400025c0
cmp r8d, 0x12
jge 0x140002710
movsxd rax, r8d
lea r9, [rsp + 0x57]
add r9, rax
nop dword [rax]
nop word [rax + 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, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x1400026e0
lea rsi, [rsp + 0x57]
movaps xmm6, xmmword [rsp + 0x220]
nop dword [rax]
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002797
lea rdx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140002797
nop word [rax + rax]
lea rdx, str.HD_Player.exe
lea rcx, [rsp + 0xac]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140002790
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140002760
jmp 0x140002797
mov edi, dword [rsp + 0x88]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, reloc.WLDAP32.dll_Ordinal_30
call qword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
je 0x140002720
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140002877
cmp rax, 0xffffffffffffffff
je 0x14000286e
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x140002835
mov r9, 0xffffffffffffffff
nop word [rax + rax]
inc r9
cmp byte [rsi + r9], 0
jne 0x140002810
inc r9
mov qword [rsp + 0x20], 0
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
mov qword [rsp + 0x30], 0
xor edx, edx
mov dword [rsp + 0x28], 0
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x14000286e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x250]
mov rbx, qword [rsp + 0x248]
mov rdi, qword [rsp + 0x230]
add rsp, 0x238
ret