Function at 0x14003f8c0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x140057010]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14003fb65
xor edx, edx
mov r8d, 0x434
lea rcx, [rsp + 0x34]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x438
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
cmp eax, 1
jne 0x14003fb5c
lea rax, [rbp + 0x370]
mov qword [rsp + 0x20], rax
xor r15d, r15d
nop
mov qword [rbp + 0x390], r15
mov qword [rbp + 0x3a0], r15
mov qword [rbp + 0x3a8], 7
mov word [rbp + 0x390], r15w
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14003f980
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x390]
call fcn.140040b00
nop
lea rdx, [rbp + 0x390]
cmp qword [rbp + 0x3a8], 8
cmovae rdx, qword [rbp + 0x390]
mov rax, qword [rbp + 0x3a0]
lea rdi, [rdx + rax*2]
lea rbx, [rbp + 0x390]
cmovae rbx, qword [rbp + 0x390]
mov qword [rbp + 0x370], r15
mov rcx, r15
mov qword [rbp + 0x380], rcx
mov r8d, 0xf
mov qword [rbp + 0x388], r8
mov rdx, rdi
sub rdx, rbx
sar rdx, 1
cmp rdx, 0x10
jb 0x14003fa18
lea rcx, [rbp + 0x370]
call fcn.140041a50
mov rcx, r15
mov qword [rbp + 0x380], rcx
mov r8, qword [rbp + 0x388]
cmp rbx, rdi
je 0x14003fa77
nop dword [rax]
movzx r9d, byte [rbx]
cmp rcx, r8
jae 0x14003fa52
lea rax, [rcx + 1]
mov qword [rbp + 0x380], rax
lea rax, [rbp + 0x370]
cmp r8, 0x10
cmovae rax, qword [rbp + 0x370]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14003fa5e
lea rcx, [rbp + 0x370]
call fcn.140041230
add rbx, 2
mov r8, qword [rbp + 0x388]
cmp rbx, rdi
je 0x14003fa77
mov rcx, qword [rbp + 0x380]
jmp 0x14003fa20
lea rdx, [rbp + 0x370]
cmp r8, 0x10
cmovae rdx, qword [rbp + 0x370]
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14003fa97
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14003fb8d
mov rdx, qword [rbp + 0x388]
cmp rdx, 0x10
jb 0x14003fae6
inc rdx
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fae1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003fbd3
call fcn.140045054
mov qword [rbp + 0x380], r15
mov qword [rbp + 0x388], 0xf
mov byte [rbp + 0x370], 0
mov rdx, qword [rbp + 0x3a8]
cmp rdx, 8
jb 0x14003fb45
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x390]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fb40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003fc35
call fcn.140045054
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Module32NextW]
cmp eax, 1
je 0x14003f950
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140044c50
mov rbx, qword [rsp + 0x500]
add rsp, 0x4c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x58]
mov rdx, qword [rbp + 0x388]
cmp rdx, 0x10
jb 0x14003fbdf
inc rdx
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fbda
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003fbda
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140045054
mov qword [rbp + 0x380], r15
mov qword [rbp + 0x388], 0xf
mov byte [rbp + 0x370], 0
mov rdx, qword [rbp + 0x3a8]
cmp rdx, 8
jb 0x14003fc41
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x390]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fc3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003fc3c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140045054
mov rax, rbx
jmp 0x14003fb67