Function at 0x140038590
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2e0
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x2f0], rbx
mov rax, qword [0x1401c5e00]
xor rax, rbp
mov qword [rbp + 0x290], rax
mov r15, rdx
mov r14, rcx
mov qword [rbp + 8], rdx
lea rcx, [rbp + 0x10]
call fcn.1400125f0
mov rdi, rax
mov dword [rbp + 0x50], 0x238
xor edx, edx
mov ecx, 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
lea rdx, [rbp + 0x50]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
xor r12d, r12d
movabs r13, 0xffffffffffffff0
nop word [rax + rax]
lea rcx, [rbp + 0x7c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140038620
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14003869c
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14003864b
mov rcx, r13
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400d3480
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14003869c
mov byte [rbx], r12b
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 0xffffffff
lea r8, [rbp + 0x7c]
xor edx, edx
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r12
jmp 0x14003869f
mov rbx, r12
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400386ac
mov rdx, qword [rdi]
sub rdx, rbx
nop
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x1400386c2
inc rbx
test eax, eax
jne 0x1400386b0
test ecx, ecx
mov rcx, rsi
je 0x1400386f1
lea rdx, [rbp + 0x50]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140038610
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.1400077b0
mov dword [r14 + 0x10], r12d
jmp 0x14003870a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rbp + 0x58]
mov rcx, rdi
call fcn.1400077b0
mov dword [r14 + 0x10], ebx
test ebx, ebx
jne 0x14003871c
mov rcx, r15
call fcn.1400077b0
mov eax, 1
jmp 0x1400387f2
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, str..AimStarDriver
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x1401c6f68], rax
cmp rax, 0xffffffffffffffff
je 0x14003875e
mov dword [0x1401c6f70], ebx
jmp 0x140038764
mov ebx, dword [0x1401c6f70]
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rbp + 0x14], xmm0
mov qword [rbp + 0x24], r12
mov dword [rbp + 0x2c], r12d
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], r12
mov ecx, 0x80000002
mov qword [rbp + 0x30], rcx
mov dword [rbp + 0x10], ebx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x38
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
mov r9d, 0x38
lea r8, [rbp + 0x10]
mov edx, 0x221dd4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rdx, qword [rbp + 0x38]
mov qword [0x1401c6f78], rdx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [0x140010760]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov byte [r14], 1
mov rcx, r15
call fcn.1400077b0
xor eax, eax
mov rcx, qword [rbp + 0x290]
xor rcx, rbp
call fcn.1400d3390
mov rbx, qword [rbp + 0x2f0]
lea rsp, [rbp + 0x2a0]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret