Function at 0x1400803e0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x14017c080]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, rdx
mov r13, rcx
mov qword [rsp + 0x20], rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x140080430
mov r15, qword [rdx]
mov rsi, r15
add r15, qword [rdx + 0x10]
jmp 0x14008043a
mov r15, qword [rdx + 0x10]
add r15, rdi
mov rsi, rdi
xorps xmm0, xmm0
movups xmmword [rbp + 0x370], xmm0
xor r14d, r14d
cmp rsi, r15
jne 0x14008046b
mov qword [rbp + 0x380], r14
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], r14w
jmp 0x1400805a8
mov rax, r15
sub rax, rsi
mov rdx, r14
mov qword [rbp + 0x380], rdx
mov ebx, 7
mov qword [rbp + 0x388], rbx
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x14008078e
cmp rax, rbx
jbe 0x140080550
mov rbx, rax
or rbx, 7
cmp rbx, rcx
jbe 0x1400804c2
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1400804f1
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140080788
add rcx, rcx
cmp rcx, 0x1000
jb 0x140080527
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140080788
mov rcx, rax
call fcn.1401353f8
mov rcx, rax
test rax, rax
je 0x14008070a
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rbp + 0x380]
jmp 0x14008053d
test rcx, rcx
je 0x14008053a
call fcn.1401353f8
mov rdx, qword [rbp + 0x380]
jmp 0x14008053d
mov rax, r14
mov qword [rbp + 0x370], rax
mov qword [rbp + 0x388], rbx
nop dword [rax + rax]
lea rcx, [rbp + 0x370]
cmp rbx, 7
cmova rcx, qword [rbp + 0x370]
movsx eax, byte [rsi]
mov word [rcx + rdx*2], ax
mov rdx, qword [rbp + 0x380]
inc rdx
mov qword [rbp + 0x380], rdx
inc rsi
cmp rsi, r15
je 0x14008058c
mov rbx, qword [rbp + 0x388]
jmp 0x140080550
lea rax, [rbp + 0x370]
cmp qword [rbp + 0x388], 7
cmova rax, qword [rbp + 0x370]
mov word [rax + rdx*2], r14w
mov edx, dword [r13 + 8]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140080659
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x14008060a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140080605
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008070a
call fcn.140135744
mov qword [rbp + 0x380], r14
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], r14w
mov rcx, rdi
call fcn.140048e70
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140135a80
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
mov dword [rsp + 0x30], 0x438
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x1400806b8
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp + 0x370]
cmp qword [rbp + 0x388], 7
cmova rdx, qword [rbp + 0x370]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x140080711
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140080680
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x14008060a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140080605
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140080605
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x48]
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x14008075e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140080759
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008070a
call fcn.140135744
mov qword [rbp + 0x380], r14
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], r14w
mov rcx, rdi
call fcn.140048e70
mov rax, rbx
jmp 0x14008062e
call fcn.1400080b0
int3
call fcn.14003c370
int3