Function at 0x1400e4460
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov dword [rsp + 0x50], 0x400
movsxd rax, dword [rsp + 0x50]
mov qword [rsp + 0xa8], rax
mov eax, 4
mov rcx, qword [rsp + 0xa8]
mul rcx
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
lea rdx, [0x1402da2a0]
mov rcx, rax
call fcn.140261400
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400e44cf
xor al, al
jmp 0x1400e496c
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 0x1400e44fb
xor al, al
jmp 0x1400e496c
mov byte [rsp + 0x40], 1
mov eax, dword [rsp + 0x60]
cmp rax, qword [rsp + 0x58]
jne 0x1400e4615
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1400e4615
mov rax, qword [rsp + 0x58]
shl rax, 1
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.140260fe8
nop
mov eax, 4
mul qword [rsp + 0x58]
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
lea rdx, [0x1402da2a0]
mov rcx, rax
call fcn.140261400
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400e45f2
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.140260fe8
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, [0x1402da2a0]
mov rcx, rax
call fcn.140261400
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
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 0x1400e4610
xor al, al
jmp 0x1400e496c
jmp 0x1400e4500
mov eax, dword [rsp + 0x60]
xor edx, edx
mov ecx, 4
div rcx
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], 0
jmp 0x1400e463b
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x54], eax
jge 0x1400e494f
movsxd rax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x68], eax
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1400e494a
lea rcx, [rsp + 0x70]
call fcn.140013530
nop
mov dword [rsp + 0x88], 0x104
mov r9d, 1
mov r8d, 0x104
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x140]
call fcn.1400e3a20
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call fcn.140029a10
lea r9, [rsp + 0x88]
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
lea rcx, [rsp + 0x140]
call fcn.1400e3e10
nop
lea rcx, [rsp + 0x70]
call fcn.14000f0c0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.140013470
nop
lea rcx, [rsp + 0x98]
call fcn.140013530
nop
lea rcx, [rsp + 0x90]
call fcn.140013530
nop
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.1400e4bc0
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x80]
call fcn.1400133e0
nop
lea rax, [rsp + 0x118]
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0x80]
call fcn.1400d8d20
mov rdx, rax
mov rcx, qword [rsp + 0xe0]
call fcn.1400133e0
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe8]
call fcn.1400c3aa0
mov r8d, eax
lea rdx, [0x1402bee70]
lea rcx, [rsp + 0x80]
call fcn.14001d4a0
nop
mov dword [rsp + 0x64], 0
lea rdx, [rsp + 0x64]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_IsProcessCritical]
cmp dword [rsp + 0x64], 0
je 0x1400e47dc
mov byte [rsp + 0x41], 1
jmp 0x1400e47e1
mov byte [rsp + 0x41], 0
movzx eax, byte [rsp + 0x41]
mov byte [rsp + 0x38], al
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa0]
mov r8d, dword [rsp + 0x68]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x158]
call fcn.1400e3c60
nop
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x1a0]
call fcn.14002dfd0
mov rax, qword [rax]
mov qword [rsp + 0xf0], rax
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0x1a0]
call fcn.140029900
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
lea r9, [rsp + 0x158]
mov r8, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x130]
call fcn.1400e3920
mov qword [rsp + 0x108], rax
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0x1a0]
call fcn.14002dfd0
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
call fcn.140017c90
movzx eax, al
test eax, eax
je 0x1400e48ed
lea rdx, [rsp + 0x158]
mov rcx, qword [rsp + 0x1a0]
call fcn.1400e51b0
nop
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x158]
call fcn.140038fe0
nop
lea rcx, [rsp + 0x80]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x90]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x98]
call fcn.1400165c0
nop
lea rcx, [rsp + 0xa0]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x70]
call fcn.1400165c0
nop
jmp 0x1400e4631
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x110]
call fcn.140260fe8
nop
mov al, 1
add rsp, 0x198
ret