Function at 0x180020e30
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x530], rbx
mov rax, qword [0x1801485f0]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov eax, edx
mov r15, rcx
mov qword [rsp + 0x58], rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov r14d, r13d
mov qword [rsp + 0x28], r13
mov ebx, r13d
mov qword [rsp + 0x30], rbx
mov edi, r13d
mov qword [rsp + 0x38], r13
test edx, edx
jne 0x180020ea1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
test rax, rax
jne 0x180020ed5
mov qword [r15], r13
mov qword [r15 + 8], r13
mov qword [r15 + 0x10], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
jmp 0x1800211d4
xor edx, edx
mov r8d, 0x434
lea rcx, [rbp - 0x6c]
call fcn.1800b6c70
mov dword [rbp - 0x70], 0x438
lea rdx, [rbp - 0x70]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
mov rcx, r12
test eax, eax
jne 0x180020f17
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r15], r13
mov qword [r15 + 8], r13
mov qword [r15 + 0x10], r13
jmp 0x1800211c5
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
je 0x1800211ba
movabs rsi, 0x7ffffffffffffff
nop word [rax + rax]
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r13
mov word [rsp + 0x70], r13w
cmp word [rbp + 0x1c0], 0
jne 0x180020f69
mov r8, r13
jmp 0x180020f7f
lea rax, [rbp + 0x1c0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180020f74
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x70]
call fcn.1800166f0
nop
lea rax, [rsp + 0x70]
cmp rax, rbx
jae 0x180021072
lea rax, [rsp + 0x70]
cmp r14, rax
ja 0x180021072
lea rsi, [rsp + 0x70]
sub rsi, r14
cmp rbx, rdi
jne 0x180021031
mov rax, rdi
sub rax, rbx
sar rax, 5
cmp rax, 1
jae 0x180021031
sub rbx, r14
sar rbx, 5
movabs rdx, 0x7ffffffffffffff
mov rax, rdx
sub rax, rbx
cmp rax, 1
jb 0x1800211a0
inc rbx
sub rdi, r14
sar rdi, 5
mov rcx, rdi
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp rax, rdi
jae 0x18002100b
mov rdi, r13
jmp 0x18002100e
add rdi, rcx
cmp rdi, rbx
cmovb rdi, rbx
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.1800187d0
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
and rsi, 0xffffffffffffffe0
add rsi, r14
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
test rbx, rbx
je 0x180021063
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
mov rdx, rsi
mov rcx, rbx
call fcn.180016260
nop
movabs rsi, 0x7ffffffffffffff
jmp 0x18002115e
cmp rbx, rdi
jne 0x1800210e4
mov rax, rdi
sub rax, rbx
sar rax, 5
cmp rax, 1
jae 0x1800210e4
sub rbx, r14
sar rbx, 5
mov rax, rsi
sub rax, rbx
cmp rax, 1
jb 0x1800211ad
inc rbx
sub rdi, r14
sar rdi, 5
mov rcx, rdi
shr rcx, 1
mov rax, rsi
sub rax, rcx
cmp rax, rdi
jae 0x1800210be
mov rdi, r13
jmp 0x1800210c1
add rdi, rcx
cmp rdi, rbx
cmovb rdi, rbx
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.1800187d0
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
test rbx, rbx
je 0x18002115e
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
cmp qword [rbp - 0x78], 8
jae 0x180021125
mov r8, qword [rbp - 0x80]
inc r8
je 0x18002113c
add r8, r8
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1800b59d0
jmp 0x18002113c
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rbx
mov rax, qword [rsp + 0x70]
mov qword [rbx], rax
mov qword [rsp + 0x70], r13
mov rax, qword [rbp - 0x80]
mov qword [rbx + 0x10], rax
mov rax, qword [rbp - 0x78]
mov qword [rbx + 0x18], rax
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r13
mov word [rsp + 0x70], r13w
add rbx, 0x20
mov qword [rsp + 0x30], rbx
cmp qword [rbp - 0x78], 8
jb 0x180021178
mov rcx, qword [rsp + 0x70]
call fcn.1800b5700
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r13
mov word [rsp + 0x70], r13w
lea rdx, [rbp - 0x70]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
je 0x1800211ba
jmp 0x180020f40
lea rcx, str.vector_T__too_long
call fcn.1800b0d28
int3
lea rcx, str.vector_T__too_long
call fcn.1800b0d28
nop
mov qword [r15], r14
mov qword [r15 + 8], rbx
mov qword [r15 + 0x10], rdi
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 1
mov rax, r15
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.1800b6c40
mov rbx, qword [rsp + 0x530]
add rsp, 0x4e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret