Function at 0x14004a2d0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x628
mov rax, qword [0x140068040]
xor rax, rsp
mov qword [rsp + 0x610], rax
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x58]
call fcn.140002a80
nop
mov dword [rsp + 0x28], 0
mov eax, dword [rsp + 0x28]
xor edx, edx
mov ecx, 8
div rcx
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400028d0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
mov rax, qword [rax + 0x10]
sub rax, rcx
sar rax, 3
shl rax, 3
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x98], rax
lea r9, [rsp + 0x28]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x638]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
jne 0x14004a3c1
lea rdx, str.Could_not_get_module_snapshot_for_remote_process.
lea rcx, [rsp + 0x148]
call fcn.140001890
lea rdx, [0x140066590]
lea rcx, [rsp + 0x148]
call fcn.1400263a8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x78]
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0x10]
sub rcx, rdx
sar rcx, 3
shl rcx, 3
cmp rax, rcx
ja 0x14004a313
lea rax, [rsp + 0x2c]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x28]
xor edx, edx
mov ecx, 8
div rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xb8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xf0], rax
mov r9, qword [rsp + 0xe0]
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x160]
call fcn.140004a00
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x58]
call fcn.1400029b0
nop
lea rcx, [rsp + 0x160]
call fcn.140003330
mov byte [rsp + 0x20], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 8]
mov qword [rsp + 0x108], rax
jmp 0x14004a5ad
mov rax, qword [rsp + 0x38]
add rax, 8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x108]
cmp qword [rsp + 0x38], rax
je 0x14004a79d
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov r9d, 0x104
lea r8, [rsp + 0x1f0]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x638]
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
test eax, eax
jne 0x14004a61a
lea rdx, str.Could_not_get_ModuleName.
lea rcx, [rsp + 0x178]
call fcn.140001890
lea rdx, [0x140066590]
lea rcx, [rsp + 0x178]
call fcn.1400263a8
mov r9d, 0x104
lea r8, [rsp + 0x400]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x638]
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
jne 0x14004a66a
lea rdx, str.Could_not_get_ExePath.
lea rcx, [rsp + 0x190]
call fcn.140001890
lea rdx, [0x140066590]
lea rcx, [rsp + 0x190]
call fcn.1400263a8
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x1c8]
call fcn.140002f20
nop
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
mov r8, qword [rsp + 0x640]
lea rdx, [rsp + 0x1c8]
mov rcx, qword [rsp + 0x630]
call fcn.14004a7e0
movzx eax, al
test eax, eax
jne 0x14004a6fe
lea rdx, [rsp + 0x400]
lea rcx, [rsp + 0x1a8]
call fcn.140002f20
nop
mov eax, dword [rsp + 0x24]
or eax, 2
mov dword [rsp + 0x24], eax
mov r8, qword [rsp + 0x640]
lea rdx, [rsp + 0x1a8]
mov rcx, qword [rsp + 0x630]
call fcn.14004a7e0
movzx eax, al
test eax, eax
jne 0x14004a6fe
mov dword [rsp + 0x30], 0
jmp 0x14004a706
mov dword [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x24]
and eax, 2
test eax, eax
je 0x14004a73d
and dword [rsp + 0x24], 0xfffffffd
lea rcx, [rsp + 0x1a8]
call fcn.140003430
nop
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x130], rax
mov eax, dword [rsp + 0x24]
and eax, 1
test eax, eax
je 0x14004a76b
and dword [rsp + 0x24], 0xfffffffe
lea rcx, [rsp + 0x1c8]
call fcn.140003430
nop
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x138], rax
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14004a798
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x110], rax
lea rcx, [rsp + 0x58]
call fcn.140003330
mov rax, qword [rsp + 0x110]
jmp 0x14004a7bb
jmp 0x14004a59f
mov qword [rsp + 0x118], 0
lea rcx, [rsp + 0x58]
call fcn.140003330
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x610]
xor rcx, rsp
call fcn.140024720
add rsp, 0x628
ret