Function at 0x140001430
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
cmp qword [rcx + 0x18], 0x10
jb 0x14000147f
mov r15, qword [rcx]
mov r14, r15
add r15, qword [rcx + 0x10]
jmp 0x140001489
mov r14, rbx
mov r15, qword [rcx + 0x10]
add r15, rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x370], xmm0
xor esi, esi
cmp r14, r15
jne 0x1400014b8
mov qword [rbp + 0x380], rsi
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], si
jmp 0x1400015f8
mov rax, r15
sub rax, r14
mov rdx, rsi
mov qword [rbp + 0x380], rdx
mov edi, 7
mov qword [rbp + 0x388], rdi
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x14000184e
cmp rax, 8
jb 0x1400015a0
mov rdi, rax
or rdi, 7
cmp rdi, rcx
jbe 0x140001502
mov rdi, rcx
jmp 0x14000150e
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
mov rcx, rdi
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140001848
add rcx, rcx
cmp rcx, 0x1000
jb 0x140001575
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001848
mov rcx, rax
call fcn.140001f10
mov rcx, rax
test rax, rax
je 0x14000183a
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rbp + 0x380]
jmp 0x14000158b
test rcx, rcx
je 0x140001588
call fcn.140001f10
mov rdx, qword [rbp + 0x380]
jmp 0x14000158b
mov rax, rsi
mov qword [rbp + 0x370], rax
mov qword [rbp + 0x388], rdi
nop dword [rax]
lea rcx, [rbp + 0x370]
cmp rdi, 8
cmovae rcx, qword [rbp + 0x370]
movsx eax, byte [r14]
mov word [rcx + rdx*2], ax
mov rdx, qword [rbp + 0x380]
inc rdx
mov qword [rbp + 0x380], rdx
inc r14
cmp r14, r15
je 0x1400015dd
mov rdi, qword [rbp + 0x388]
jmp 0x1400015a0
lea rax, [rbp + 0x370]
cmp qword [rbp + 0x388], 8
cmovae rax, qword [rbp + 0x370]
mov word [rax + rdx*2], si
mov edx, dword [0x1400056c8]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400016ec
mov rdx, qword [rbp + 0x388]
cmp rdx, 8
jb 0x14000165c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001657
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000183a
call fcn.140001f00
mov qword [rbp + 0x380], rsi
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], si
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400016af
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400016aa
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001841
mov rcx, r8
call fcn.140001f00
xor eax, eax
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140001ee0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov dword [rsp + 0x30], 0x438
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x1400017e8
lea rdx, [rbp + 0x370]
cmp qword [rbp + 0x388], 8
cmovae rdx, qword [rbp + 0x370]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rdi
test eax, eax
je 0x140001740
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
jmp 0x140001702
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x48]
mov rdx, qword [rbp + 0x388]
cmp rdx, 8
jb 0x140001791
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000178c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000183a
call fcn.140001f00
mov qword [rbp + 0x380], rsi
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], si
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400017e0
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400017db
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001841
mov rcx, r8
call fcn.140001f00
mov rax, rdi
jmp 0x1400016b1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x388]
cmp rdx, 8
jb 0x14000165c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001657
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001657
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001370
int3
call fcn.140001410
int3