Function at 0x1400cf480
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, [0x14026676a]
mov rcx, rax
call fcn.1402047d0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400cf4ef
xor al, al
jmp 0x1400cf94f
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 0x1400cf51b
xor al, al
jmp 0x1400cf94f
mov byte [rsp + 0x40], 1
mov eax, dword [rsp + 0x60]
cmp rax, qword [rsp + 0x58]
jne 0x1400cf635
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1400cf635
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.1402043b4
nop
mov eax, 4
mul qword [rsp + 0x58]
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
lea rdx, [0x14026676a]
mov rcx, rax
call fcn.1402047d0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400cf612
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.1402043b4
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, [0x14026676a]
mov rcx, rax
call fcn.1402047d0
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 0x1400cf630
xor al, al
jmp 0x1400cf94f
jmp 0x1400cf520
mov eax, dword [rsp + 0x60]
xor edx, edx
mov ecx, 4
div rcx
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], 0
jmp 0x1400cf65b
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x54], eax
jge 0x1400cf932
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 0x1400cf92d
lea rcx, [rsp + 0x68]
call fcn.14001f650
nop
mov dword [rsp + 0x78], 0x104
mov r9d, 1
mov r8d, 0x104
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x138]
call fcn.1400cee60
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.1400470b0
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.1400cf080
nop
lea rcx, [rsp + 0x68]
call fcn.140013a90
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.14001f550
nop
lea rcx, [rsp + 0x90]
call fcn.14001f650
nop
lea rcx, [rsp + 0x88]
call fcn.14001f650
nop
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x68]
call fcn.1400cfb80
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x70]
call fcn.14001f430
nop
lea rax, [rsp + 0x110]
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0x70]
call fcn.140037350
mov rdx, rax
mov rcx, qword [rsp + 0xd8]
call fcn.14001f430
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call fcn.1400af630
mov r8d, eax
lea rdx, [0x14025a230]
lea rcx, [rsp + 0x70]
call fcn.140036ab0
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.1400cefb0
nop
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x190]
call fcn.14004de70
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x190]
call fcn.140046b50
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.1400cedd0
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x190]
call fcn.14004de70
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x100]
call fcn.14002a8e0
movzx eax, al
test eax, eax
je 0x1400cf8d0
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x190]
call fcn.1400d0290
nop
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x150]
call fcn.140029050
nop
lea rcx, [rsp + 0x70]
call fcn.140026c10
nop
lea rcx, [rsp + 0x88]
call fcn.140026c10
nop
lea rcx, [rsp + 0x90]
call fcn.140026c10
nop
lea rcx, [rsp + 0x98]
call fcn.140026c10
nop
lea rcx, [rsp + 0x68]
call fcn.140026c10
nop
jmp 0x1400cf651
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x108]
call fcn.1402043b4
nop
mov al, 1
add rsp, 0x188
ret