Function at 0x1400d0580
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov dword [rsp + 0x50], 0x400
movsxd rax, dword [rsp + 0x50]
mov qword [rsp + 0xa0], rax
mov eax, 4
mov rcx, qword [rsp + 0xa0]
mul rcx
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
lea rdx, [0x14026fa4a]
mov rcx, rax
call fcn.14020d680
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400d05ef
xor al, al
jmp 0x1400d0a4f
movsxd rax, dword [rsp + 0x50]
shl rax, 3
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
jne 0x1400d061b
xor al, al
jmp 0x1400d0a4f
mov byte [rsp + 0x40], 1
mov eax, dword [rsp + 0x60]
cmp rax, qword [rsp + 0x58]
jne 0x1400d0735
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1400d0735
mov rax, qword [rsp + 0x58]
shl rax, 1
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.14020d264
nop
mov eax, 4
mul qword [rsp + 0x58]
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
lea rdx, [0x14026fa4a]
mov rcx, rax
call fcn.14020d680
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400d0712
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.14020d264
nop
xor edx, edx
mov rax, qword [rsp + 0x58]
mov ecx, 2
div rcx
mov qword [rsp + 0x58], rax
mov eax, 4
mul qword [rsp + 0x58]
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
lea rdx, [0x14026fa4a]
mov rcx, rax
call fcn.14020d680
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], 0
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
jne 0x1400d0730
xor al, al
jmp 0x1400d0a4f
jmp 0x1400d0620
mov eax, dword [rsp + 0x60]
xor edx, edx
mov ecx, 4
div rcx
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], 0
jmp 0x1400d075b
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x54], eax
jge 0x1400d0a32
movsxd rax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x64], eax
mov r8d, dword [rsp + 0x64]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x1400d0a2d
lea rcx, [rsp + 0x68]
call fcn.14001f6f0
nop
mov dword [rsp + 0x78], 0x104
mov r9d, 1
mov r8d, 0x104
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x138]
call fcn.1400cfe20
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.140047490
lea r9, [rsp + 0x78]
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
lea rcx, [rsp + 0x138]
call fcn.1400d0040
nop
lea rcx, [rsp + 0x68]
call fcn.140013ae0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.14001f5f0
nop
lea rcx, [rsp + 0x90]
call fcn.14001f6f0
nop
lea rcx, [rsp + 0x88]
call fcn.14001f6f0
nop
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x68]
call fcn.1400d0ca0
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x70]
call fcn.14001f4d0
nop
lea rax, [rsp + 0x110]
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0x70]
call fcn.1400375c0
mov rdx, rax
mov rcx, qword [rsp + 0xd8]
call fcn.14001f4d0
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call fcn.1400b0340
mov r8d, eax
lea rdx, [0x1402631e4]
lea rcx, [rsp + 0x70]
call fcn.140036d20
nop
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x98]
mov r8d, dword [rsp + 0x64]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x150]
call fcn.1400cff70
nop
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x190]
call fcn.14004e250
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x190]
call fcn.140046f30
mov rax, qword [rax]
mov qword [rsp + 0xf0], rax
lea r9, [rsp + 0x150]
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x128]
call fcn.1400cfd20
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x190]
call fcn.14004e250
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x100]
call fcn.14002a990
movzx eax, al
test eax, eax
je 0x1400d09d0
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x190]
call fcn.1400d13b0
nop
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x150]
call fcn.140029100
nop
lea rcx, [rsp + 0x70]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x88]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x90]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x98]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x68]
call fcn.140026cc0
nop
jmp 0x1400d0751
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x108]
call fcn.14020d264
nop
mov al, 1
add rsp, 0x188
ret