Function at 0x14002b8ec
Capabilities:
Enumerate process modules

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xaa8]
sub rsp, 0xb70
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x140191810]
xor rax, rsp
mov qword [rbp + 0xa60], rax
mov r15, r9
mov r12, r8
mov r14b, dl
mov byte [rsp + 0x30], dl
mov esi, ecx
mov dword [rsp + 0x38], ecx
mov rax, qword [r8]
mov rcx, qword [rax]
mov qword [rax], rax
mov rax, qword [r8]
mov qword [rax + 8], rax
xor r13d, r13d
mov qword [r8 + 8], r13
cmp rcx, qword [r8]
je 0x14002b966
mov rbx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
cmp rbx, qword [r12]
jne 0x14002b954
mov rax, qword [r15]
mov rdi, qword [rax]
mov qword [rax], rax
mov rax, qword [r15]
mov qword [rax + 8], rax
mov qword [r15 + 8], r13
cmp rdi, qword [r15]
je 0x14002b9a1
mov rbx, qword [rdi]
lea rcx, [rdi + 0x10]
xor r8d, r8d
mov dl, 1
call fcn.140007a08
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, rbx
cmp rbx, qword [r15]
jne 0x14002b97f
lea rax, vtable.RefCounted.0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], r13d
lea rax, vtable.OHandle.0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], r13
mov byte [rsp + 0x58], r13b
mov dword [rsp + 0x5c], 0x55
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r13
mov word [rbp - 0x78], r13w
test r14b, r14b
sete al
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x40]
mov r8d, esi
xor edx, edx
mov ecx, 0x410
call fcn.14002bf2c
xor r14d, r14d
test al, al
jne 0x14002ba33
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.140007a08
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002ba2c
cmp byte [rsp + 0x58], r14b
je 0x14002ba2c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14002bd0a
mov dword [rsp + 0x34], 0x2000
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r14
mov eax, 0x400
mov r13d, dword [rbp + 0xad0]
mov rsi, qword [rsp + 0x50]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14002cdd0
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
mov ecx, 0xffffffff
sub rdi, rbx
sar rdi, 3
mov rax, rdi
shl rax, 3
test r13d, r13d
jne 0x14002baa3
cmp rax, rcx
ja 0x14002bae5
lea r9, [rsp + 0x34]
mov r8d, eax
mov rdx, rbx
mov rcx, rsi
call sub.KERNEL32.dll_K32EnumProcessModules
jmp 0x14002bac4
cmp rax, rcx
ja 0x14002bccd
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x34]
mov r8d, eax
mov rdx, rbx
mov rcx, rsi
call sub.KERNEL32.dll_K32EnumProcessModulesEx
test eax, eax
je 0x14002bc42
mov r14d, dword [rsp + 0x34]
shr r14d, 3
mov eax, r14d
cmp rdi, rax
jae 0x14002bb19
xor r14d, r14d
jmp 0x14002ba5a
mov dword [rbp - 0x50], 0x5d
mov dword [rbp + 0x1b4], r14d
mov word [rbp + 0x2b8], r14w
mov word [rbp + 0x1b8], r14w
mov word [rbp - 0x4c], r14w
lea rdx, [0x1401df028]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
xor r13d, r13d
test r14d, r14d
je 0x14002bbfd
mov eax, 0xffffffff
add r14d, eax
mov rcx, qword [rbx + r14*8]
mov qword [rsp + 0x60], rcx
mov rdi, qword [r12]
lea r9, [rsp + 0x60]
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, r12
call fcn.14002a8bc
mov rdx, qword [r12 + 8]
movabs rcx, 0xaaaaaaaaaaaaaa9
sub rcx, rdx
cmp rcx, 1
jb 0x14002bbef
lea rcx, [rdx + 1]
mov qword [r12 + 8], rcx
mov qword [rdi + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
lea r8, [rbp - 0x78]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14002b2b8
mov rdi, qword [r15]
lea r9, [rbp - 0x78]
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, r15
call fcn.14002a8f0
mov rdx, qword [r15 + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x14002bbe1
lea rcx, [rdx + 1]
mov qword [r15 + 8], rcx
mov qword [rdi + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
test r14d, r14d
jne 0x14002bb25
mov rsi, qword [rsp + 0x50]
jmp 0x14002bbfd
lea rcx, str.list_T__too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rcx, str.list_T__too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop
test rbx, rbx
je 0x14002bc17
mov rdx, qword [rsp + 0x78]
sub rdx, rbx
sar rdx, 3
mov rcx, rbx
call fcn.140073cc0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.140007a08
nop
test rsi, rsi
je 0x14002bc3b
cmp byte [rsp + 0x58], r13b
je 0x14002bc3b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14002bd0a
cmp byte [rsp + 0x30], r14b
je 0x14002bc8e
test rbx, rbx
je 0x14002bc63
mov rdx, qword [rsp + 0x78]
sub rdx, rbx
sar rdx, 3
mov rcx, rbx
call fcn.140073cc0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.140007a08
nop
test rsi, rsi
je 0x14002ba2c
cmp byte [rsp + 0x58], r14b
je 0x14002ba2c
mov rcx, rsi
jmp 0x14002ba26
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, str.::EnumProcessModules___failed_to_enumerate_the_list_of_modules_for_the_processid:__d
mov edx, 0xf
lea rcx, [rbp + 0x6d0]
call fcn.140029ae0
lea rdx, [0x1401df028]
lea rcx, [rbp + 0x6d0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov dword [rbp + 0x340], 0x5d
mov dword [rbp + 0x544], r14d
mov word [rbp + 0x648], r14w
mov word [rbp + 0x548], r14w
mov word [rbp + 0x344], r14w
lea rdx, [0x1401df028]
lea rcx, [rbp + 0x340]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, qword [rbp + 0xa60]
xor rcx, rsp
call fcn.140021f10
mov rbx, qword [rsp + 0xbb8]
add rsp, 0xb70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret