Function at 0x1400420c0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov rax, qword [0x140129200]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov r12, r8
mov qword [rsp + 0x68], r8
mov rsi, rdx
mov qword [rbp - 0x58], rdx
mov rbx, rcx
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x80], rcx
xor r14d, r14d
mov r13d, r14d
mov dword [rsp + 0x20], r14d
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
lea ecx, [r14 + 0x18]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x70], rax
cmp rax, 0xffffffffffffffff
jne 0x140042149
mov r8, r12
mov rdx, rsi
mov rcx, rbx
call fcn.140041dc0
jmp 0x1400424ec
mov dword [rbp - 0x50], 0x438
lea rdx, [rbp - 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
mov rax, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
lea rcx, [rbp - 0x20]
mov r8, rax
nop word [rax + rax]
inc r8
cmp word [rcx + r8*2], 0
jne 0x140042180
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x78]
call fcn.140040840
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov rsi, r14
mov qword [rsp + 0x38], r14
mov r15d, 7
mov qword [rsp + 0x40], r15
mov word [rsp + 0x28], r14w
or r13d, 2
mov dword [rsp + 0x20], r13d
mov rdi, qword [rbp - 0x68]
cmp rdi, 8
jb 0x1400421e4
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140045670
mov qword [rsp + 0x38], r14
mov r15, qword [rsp + 0x40]
lea rbx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
seta cl
mov rdx, qword [rbp - 0x78]
mov qword [rbp - 0x80], rdx
cmova rbx, rdx
lea rax, [rbp - 0x78]
test cl, cl
cmovne rax, rdx
lea rdi, [rax + rdi*2]
cmp rbx, rdi
je 0x14004226a
nop
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
cmp rsi, r15
jae 0x140042242
lea rcx, [rsi + 1]
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x28]
cmp r15, 7
cmova rcx, qword [rsp + 0x28]
mov word [rcx + rsi*2], ax
mov word [rcx + rsi*2 + 2], r14w
jmp 0x140042257
movzx r9d, ax
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x28]
call fcn.1400457f0
add rbx, 2
mov r15, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
cmp rbx, rdi
jne 0x140042210
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov rbx, r14
mov qword [rsp + 0x58], rbx
mov r14d, 7
mov qword [rsp + 0x60], r14
xor edi, edi
mov word [rsp + 0x48], di
or r13d, 4
mov dword [rsp + 0x20], r13d
mov rdx, qword [r12 + 0x10]
mov rcx, rdx
cmp rdx, r14
jbe 0x1400422bd
lea rcx, [rsp + 0x48]
call fcn.140045670
mov ebx, edi
mov qword [rsp + 0x58], rbx
mov rcx, qword [r12 + 0x10]
mov r14, qword [rsp + 0x60]
mov rax, r12
cmp qword [r12 + 0x18], 7
jbe 0x1400422d1
mov rax, qword [r12]
mov rdx, rax
jmp 0x1400422d4
mov rdx, r12
mov rdi, rax
lea r12, [rdx + rcx*2]
cmp rax, r12
je 0x140042342
xor r15d, r15d
movzx ecx, word [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
cmp rbx, r14
jae 0x140042315
lea rcx, [rbx + 1]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x48]
cmp r14, 7
cmova rcx, qword [rsp + 0x48]
mov word [rcx + rbx*2], ax
mov word [rcx + rbx*2 + 2], r15w
jmp 0x14004232a
movzx r9d, ax
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x48]
call fcn.1400457f0
add rdi, 2
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
cmp rdi, r12
jne 0x1400422e3
mov r15, qword [rsp + 0x40]
lea rcx, [rsp + 0x28]
mov rdi, qword [rsp + 0x28]
cmp r15, 7
cmova rcx, rdi
lea rdx, [rsp + 0x48]
mov r8, qword [rsp + 0x48]
cmp r14, 7
cmova rdx, r8
cmp rbx, rsi
jne 0x14004238a
test rbx, rbx
je 0x140042386
sub rdx, rcx
movzx eax, word [rcx + rdx]
cmp ax, word [rcx]
jne 0x14004238a
add rcx, 2
sub rbx, 1
jne 0x140042373
mov bl, 1
jmp 0x14004238c
xor bl, bl
and r13d, 0xfffffffb
cmp r14, 7
jbe 0x1400423cb
lea rdx, [r14*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x1400423c3
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004246a
mov rcx, r8
call fcn.1400d8070
and r13d, 0xfffffffd
cmp r15, 7
jbe 0x140042407
lea rdx, [r15*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400423fe
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042471
mov rcx, rdi
call fcn.1400d8070
nop
mov rax, qword [rbp - 0x60]
cmp rax, 7
jbe 0x140042443
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004243e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042478
call fcn.1400d8070
test bl, bl
jne 0x1400424a2
lea rdx, [rbp - 0x50]
mov rdi, qword [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
je 0x14004247f
mov r12, qword [rsp + 0x68]
xor r14d, r14d
jmp 0x14004215d
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rsp + 0x78]
call fcn.140041dc0
mov rax, qword [rsp + 0x78]
jmp 0x1400424ef
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x78]
movups xmmword [rbx], xmm0
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
lea rcx, [rbp + 0x1e0]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400424d0
mov r8, rax
lea rdx, [rbp + 0x1e0]
mov rcx, rbx
call fcn.140040840
mov rax, rbx
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.1400d7f80
mov rbx, qword [rsp + 0x558]
add rsp, 0x500
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret