Function at 0x180061250
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa20
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov rax, qword [0x1800f8370]
xor rax, rsp
mov qword [rsp + 0xa10], rax
mov rax, qword [rsp + 0xa30]
mov dword [rax + 0x18], 0
mov rax, qword [rsp + 0xa30]
mov rcx, rax
call fcn.180062250
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x78], 0
mov dword [rsp + 0xc0], 0
lea rax, [rsp + 0xc4]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
lea rcx, [rsp + 0x300]
call fcn.180061cb0
nop
lea rax, [0x1800cf7f8]
mov qword [rsp + 0xb0], rax
mov edx, 1
mov rcx, qword [rsp + 0xa30]
call fcn.1800610a0
test eax, eax
jne 0x180061315
mov rax, qword [rsp + 0xa30]
mov dword [rax + 0x18], 1
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
jne 0x180061359
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xa30]
mov ecx, dword [rsp + 0x48]
mov dword [rax + 0x18], ecx
lea rcx, [rsp + 0x300]
call fcn.180038f70
jmp 0x1800616ef
mov dword [rsp + 0xc0], 0x238
lea rdx, [rsp + 0x3c0]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Module32FirstW
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x180061582
xor eax, eax
mov word [rsp + 0x800], ax
lea rax, [rsp + 0x802]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x300], eax
lea rdx, [rsp + 0xec]
lea rcx, [rsp + 0x380]
call fcn.18002dd50
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x308]
call fcn.18000e300
lea rcx, [rsp + 0x380]
call fcn.180007220
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0xa30]
add rax, 0x20
mov rcx, rax
call fcn.18001dae0
test rax, rax
je 0x180061490
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
jmp 0x180061432
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0xa30]
add rcx, 0x20
call fcn.18001dae0
mov rcx, qword [rsp + 0x70]
cmp rcx, rax
jae 0x180061490
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xa30]
add rcx, 0x20
mov rdx, rax
call fcn.18006a710
mov rdx, rax
lea rcx, [rsp + 0x308]
call fcn.18002e0e0
movzx eax, al
test eax, eax
je 0x18006148e
mov byte [rsp + 0x20], 1
jmp 0x180061490
jmp 0x180061428
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x180061568
mov r8d, dword [rsp + 0xc8]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x18006153c
lea r9, [rsp + 0x60]
mov r8d, 8
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call sub.PSAPI.DLL_EnumProcessModules
mov r9d, 0x208
lea r8, [rsp + 0x800]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call sub.PSAPI.DLL_GetModuleFileNameExW
lea rdx, [rsp + 0x800]
lea rcx, [rsp + 0x360]
call fcn.18002dd50
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x328]
call fcn.18000e300
lea rcx, [rsp + 0x360]
call fcn.180007220
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180061550
lea rdx, [0x1800cf7f4]
lea rcx, [rsp + 0x328]
call fcn.18000e3f0
mov rax, qword [rsp + 0xa30]
lea rdx, [rsp + 0x300]
mov rcx, rax
call fcn.180062390
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x180061390
lea rcx, [rsp + 0x28]
call fcn.180058ea0
mov rax, qword [rsp + 0xa30]
lea rdx, [rsp + 0x90]
mov rcx, rax
call fcn.18006b9a0
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
jmp 0x1800615c3
xor r8d, r8d
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x28]
call fcn.180061d70
mov rax, qword [rsp + 0xa30]
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.18006bb10
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.180028d90
movzx eax, al
test eax, eax
je 0x1800616c7
lea rcx, [rsp + 0x28]
call fcn.180061d30
mov edx, dword [rax]
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x3c0], 0x438
lea rdx, [rsp + 0x3c0]
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x18006163e
lea rcx, [rsp + 0x28]
call fcn.180061d30
cmp dword [rax], 0
jne 0x18006164e
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800615ae
lea rdx, [rsp + 0x5f0]
lea rcx, [rsp + 0x3a0]
call fcn.18002dd50
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x28]
call fcn.180061d30
add rax, 0x48
mov rdx, qword [rsp + 0x88]
mov rcx, rax
call fcn.180034370
nop
lea rcx, [rsp + 0x3a0]
call fcn.180007220
lea rdx, [rsp + 0x3c0]
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x18006164e
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800615ae
xor edx, edx
mov rcx, qword [rsp + 0xa30]
call fcn.1800610a0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x300]
call fcn.180038f70
mov rcx, qword [rsp + 0xa10]
xor rcx, rsp
call fcn.18007e510
add rsp, 0xa20
pop rdi
ret