Function at 0x140037850
Capabilities:
Enumerate process modules
Enumerate processes
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x9f0]
sub rsp, 0xaf0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x9e0], rax
mov r14, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x238
call fcn.14003da30
xor edx, edx
lea ecx, [rdx + 2]
lea r12d, [rdx + 3]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140037ae2
nop dword [rax]
nop word [rax + rax]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, r15
xor ebx, ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140037aab
nop
xor edx, edx
lea rcx, [rbp + 0x170]
mov r8d, 0x438
call fcn.14003da30
mov edx, dword [rsp + 0x38]
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140037977
lea rdx, [rbp + 0x170]
mov dword [rbp + 0x170], 0x438
mov rcx, rax
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x140037a8d
nop dword [rax]
mov r8d, 0x104
lea rdx, [rbp + 0x5c0]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea rdx, [rbp + 0x5c0]
mov rcx, r14
call fcn.140043990
test eax, eax
jne 0x14003795f
inc ebx
lea rdx, [rbp + 0x170]
mov rcx, rdi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x140037930
jmp 0x140037a8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12b
jne 0x140037a8d
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x1000
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rcx, str.Kernel32.dll
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.QueryFullProcessImageNameW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400379ea
lea r9, [rsp + 0x20]
xor edx, edx
lea r8, [rbp + 0x7d0]
mov rcx, rsi
call rax
test eax, eax
je 0x140037a84
mov rcx, r14
jmp 0x140037a72
lea rcx, str.Psapi.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetProcessImageFileNameW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140037a84
mov r8d, dword [rsp + 0x20]
lea rdx, [rbp + 0x7d0]
mov rcx, rsi
call rax
test eax, eax
je 0x140037a84
mov r9d, 2
lea rcx, [rbp + 0x5b0]
mov r8, r14
lea edx, [r9 + 1]
call fcn.1400438ac
mov r8d, 0x104
lea rdx, [rbp + 0x5c0]
lea rcx, [rbp + 0x5b0]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov edx, 0x104
lea r8, [r14 + 4]
sub edx, eax
lea rcx, [rbp + 0x5c0]
call fcn.140002130
lea rcx, [rbp + 0x5c0]
lea rdx, [rbp + 0x7d0]
call fcn.140043990
test eax, eax
jne 0x140037a84
inc ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, r15
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400378e0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
dec r12d
test ebx, ebx
jle 0x140037b11
test r12d, r12d
js 0x140037b0f
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x1400378c0
xor al, al
mov rcx, qword [rbp + 0x9e0]
xor rcx, rsp
call fcn.14003a3d0
lea r11, [rsp + 0xaf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
test ebx, ebx
setg al
jmp 0x140037ae4