Function at 0x180024b30
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x2398
call fcn.1800c0d70
sub rsp, rax
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x2380], rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0xffffffffffffffff
jne 0x180024b75
xor al, al
jmp 0x180024e9e
mov dword [rsp + 0xf0], 0x130
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x180024ba9
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x180024e9e
mov r8d, dword [rsp + 0xf8]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x180024e76
lea r9, [rsp + 0x220]
mov r8d, 0x2000
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x180024e6a
mov dword [rsp + 0x34], 0
jmp 0x180024c0c
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov qword [rsp + 0x48], rax
mov ecx, dword [rsp + 0x220]
xor edx, edx
mov eax, ecx
mov ecx, 8
div rcx
mov rcx, qword [rsp + 0x48]
cmp rcx, rax
jae 0x180024e6a
mov eax, dword [rsp + 0x34]
mov r9d, 0x104
lea r8, [rsp + 0x2270]
mov rdx, qword [rsp + rax*8 + 0x270]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x180024e65
lea rdx, [rsp + 0x2270]
lea rcx, [rsp + 0x248]
call fcn.180019fc0
nop
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x248]
call fcn.18002e840
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x248]
call fcn.18002e790
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x248]
call fcn.18002e840
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov rax, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0xc8]
call fcn.180038490
nop
mov rdx, qword [rsp + 0x23a0]
lea rcx, [rsp + 0x228]
call fcn.180025d50
nop
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x228]
call fcn.18002e840
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x228]
call fcn.18002e790
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x228]
call fcn.18002e840
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa8], rax
mov rax, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0xe8]
call fcn.180038490
nop
xor r8d, r8d
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x248]
call fcn.18002e5c0
cmp rax, 0xffffffffffffffff
je 0x180024e4a
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x228]
call fcn.180019f10
lea rcx, [rsp + 0x248]
call fcn.180019f10
movzx eax, byte [rsp + 0x30]
jmp 0x180024e9e
lea rcx, [rsp + 0x228]
call fcn.180019f10
lea rcx, [rsp + 0x248]
call fcn.180019f10
nop
jmp 0x180024c02
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180024ba9
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x2380]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0x2398
ret