Function at 0x1400284b8
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 [0x1401d4618]
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 0x140028532
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 0x140028520
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 0x14002856d
mov rbx, qword [rdi]
lea rcx, [rdi + 0x10]
xor r8d, r8d
mov dl, 1
call fcn.14000867c
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 0x14002854b
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.140028af8
xor r14d, r14d
test al, al
jne 0x1400285ff
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.14000867c
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400285f8
cmp byte [rsp + 0x58], r14b
je 0x1400285f8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400288d6
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.140029818
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 0x14002866f
cmp rax, rcx
ja 0x1400286b1
lea r9, [rsp + 0x34]
mov r8d, eax
mov rdx, rbx
mov rcx, rsi
call sub.KERNEL32.dll_K32EnumProcessModules
jmp 0x140028690
cmp rax, rcx
ja 0x140028899
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 0x14002880e
mov r14d, dword [rsp + 0x34]
shr r14d, 3
mov eax, r14d
cmp rdi, rax
jae 0x1400286e5
xor r14d, r14d
jmp 0x140028626
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, [0x1401e3810]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
xor r13d, r13d
test r14d, r14d
je 0x1400287c9
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.140027718
mov rdx, qword [r12 + 8]
movabs rcx, 0xaaaaaaaaaaaaaa9
sub rcx, rdx
cmp rcx, 1
jb 0x1400287bb
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.140028068
mov rdi, qword [r15]
lea r9, [rbp - 0x78]
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, r15
call fcn.140027748
mov rdx, qword [r15 + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x1400287ad
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 0x1400286f1
mov rsi, qword [rsp + 0x50]
jmp 0x1400287c9
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 0x1400287e3
mov rdx, qword [rsp + 0x78]
sub rdx, rbx
sar rdx, 3
mov rcx, rbx
call fcn.140089b20
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.14000867c
nop
test rsi, rsi
je 0x140028807
cmp byte [rsp + 0x58], r13b
je 0x140028807
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400288d6
cmp byte [rsp + 0x30], r14b
je 0x14002885a
test rbx, rbx
je 0x14002882f
mov rdx, qword [rsp + 0x78]
sub rdx, rbx
sar rdx, 3
mov rcx, rbx
call fcn.140089b20
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.14000867c
nop
test rsi, rsi
je 0x1400285f8
cmp byte [rsp + 0x58], r14b
je 0x1400285f8
mov rcx, rsi
jmp 0x1400285f2
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.140026ac4
lea rdx, [0x1401e3810]
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, [0x1401e3810]
lea rcx, [rbp + 0x340]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, qword [rbp + 0xa60]
xor rcx, rsp
call fcn.140121d80
mov rbx, qword [rsp + 0xbb8]
add rsp, 0xb70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret