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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x140]
sub rsp, 0x240
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18005f3cb
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x18005f3cb
nop dword [rax + rax]
lea rdx, str.HD_Player.exe
lea rcx, [rbp - 0x44]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x18005f3c8
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x18005f3a0
jmp 0x18005f3cb
mov edi, dword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x18005f91f
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18005f43b
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x18005f43b
nop word [rax + rax]
lea rdx, str.Bluestacks.exe
lea rcx, [rbp - 0x44]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x18005f438
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x18005f410
jmp 0x18005f43b
mov edi, dword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x18005f91f
lea rdx, [rbp + 0x150]
mov dword [rbp + 0x150], 0x64
lea rcx, [rbp + 0xc0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x18005f91f
mov eax, dword [0x1802d764c]
lea rdi, [0x1800a3c5a]
movaps xmmword [rsp + 0x230], xmm6
cmp eax, 1
jne 0x18005f659
cmp byte [0x1800b2349], 0
movups xmm0, xmmword [0x1800b2330]
movzx eax, word [0x1800b2348]
mov word [rbp - 0x7f], ax
movups xmmword [rsp + 0x69], xmm0
movsd xmm0, qword [0x1800b2340]
movsd qword [rsp + 0x79], xmm0
je 0x18005f64f
xor ecx, ecx
cmp dword [0x1800cb208], 2
jl 0x18005f614
movdqa xmm0, xmmword [0x1800b6bf0]
lea rdx, [rsp + 0x6d]
movdqa xmm5, xmmword [0x1800b6a70]
movdqa xmm4, xmmword [0x1800b6ff0]
movdqa xmm6, xmmword [0x1800b6aa0]
movdqa xmmword [rsp + 0x40], xmm0
mov r8d, dword [rsp + 0x40]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 [0x1800b6b30]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800b6b30]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x18005f510
cmp ecx, 0x1a
jge 0x18005f64f
movsxd rax, ecx
lea r8, [rsp + 0x69]
add r8, rax
nop
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x34
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 0x1a
jl 0x18005f620
lea rdi, [rsp + 0x69]
jmp 0x18005f828
cmp eax, 2
jne 0x18005f828
movups xmm0, xmmword [0x1800b2468]
movzx eax, byte [0x1800b2480]
xor r8d, r8d
cmp dword [0x1800cb208], 2
movups xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x68], al
movsd xmm0, qword [0x1800b2478]
movsd qword [rsp + 0x60], xmm0
jl 0x18005f7d7
movdqa xmm0, xmmword [0x1800b6bf0]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x1800b6a70]
movdqa xmm4, xmmword [0x1800b6ff0]
movdqa xmm6, xmmword [0x1800b6aa0]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
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, 4
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 [0x1800b6b30]
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, 4
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 [0x1800b6b30]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x18005f6d0
cmp r8d, 0x19
jge 0x18005f823
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x34
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x19
jl 0x18005f7f0
lea rdi, [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x230]
lea rcx, str.HD_Player.exe
call fcn.18005f2b0
mov ecx, 0x1e
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
je 0x18005f830
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x18005f91f
cmp rax, 0xffffffffffffffff
je 0x18005f916
xor edx, edx
mov qword [rsp + 0x258], rsi
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x18005f8d5
mov r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp byte [rdi + r9], 0
jne 0x18005f8b0
inc r9
mov qword [rsp + 0x20], 0
mov r8, rdi
mov rdx, rsi
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], rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rsi, qword [rsp + 0x258]
test rax, rax
je 0x18005f916
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret