Function at 0x14001a850
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 [0x14014ab80]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r14, rdx
mov r13, rcx
mov qword [rsp + 0x20], rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14001a8a0
mov rdi, qword [rdx]
mov rbx, rdi
add rdi, qword [rdx + 0x10]
jmp 0x14001a8aa
mov rdi, qword [rdx + 0x10]
add rdi, r14
mov rbx, r14
xorps xmm0, xmm0
movups xmmword [rbp + 0x370], xmm0
xor esi, esi
mov qword [rbp + 0x388], 7
mov qword [rbp + 0x380], rsi
cmp rbx, rdi
jne 0x14001a8d9
mov word [rbp + 0x370], si
jmp 0x14001aa00
sub rdi, rbx
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
ja 0x14001abdc
mov r15d, 7
cmp rdi, r15
jbe 0x14001a9b6
mov r15, rdi
or r15, 7
cmp r15, rax
jbe 0x14001a91d
mov r15, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x14001a94c
mov eax, 0xa
cmp r15, rax
cmovb r15, rax
lea rcx, [r15 + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14001abd6
add rcx, rcx
cmp rcx, 0x1000
jb 0x14001a989
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14001abd6
mov rcx, rax
call fcn.14004b254
mov rcx, rax
test rax, rax
je 0x14001ab59
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp + 0x370], rax
mov qword [rbp + 0x388], r15
jmp 0x14001a9bd
test rcx, rcx
je 0x14001a9a3
call fcn.14004b254
mov qword [rbp + 0x370], rax
mov qword [rbp + 0x388], r15
jmp 0x14001a9bd
mov rax, rsi
mov qword [rbp + 0x370], rax
mov qword [rbp + 0x388], r15
jmp 0x14001a9bd
mov rax, qword [rbp + 0x370]
lea r9, [rbp + 0x370]
cmp r15, 7
cmova r9, rax
mov rcx, r9
mov r8, rdi
test rdi, rdi
je 0x14001a9f4
nop word [rax + rax]
movsx eax, byte [rbx]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rbx, [rbx + 1]
sub r8, 1
jne 0x14001a9e0
mov qword [rbp + 0x380], rdi
mov word [r9 + rdi*2], si
mov edx, dword [r13 + 8]
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14001aaaf
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x14001aa61
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001aa5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ab59
call fcn.14004b290
mov qword [rbp + 0x380], rsi
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], si
mov rcx, r14
call fcn.140001590
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14004b770
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 sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x14001ab07
nop dword [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 0x14001ab60
lea rdx, [rsp + 0x30]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x14001aad0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x14001aa61
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001aa5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001aa5c
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 0x14001abad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001aba8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ab59
call fcn.14004b290
mov qword [rbp + 0x380], rsi
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], si
mov rcx, r14
call fcn.140001590
mov rax, rbx
jmp 0x14001aa84
call fcn.140001b90
int3
call fcn.140001bb0
int3