Function at 0x140004e80
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2090]
mov eax, 0x2190
call fcn.140014db0
sub rsp, rax
mov rax, qword [0x140021040]
xor rax, rsp
mov qword [rbp + 0x2080], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], rdx
lea r9, [rsp + 0x48]
mov r8d, 0x2000
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x140005148
xor eax, eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x48]
test rax, 0xfffffffffffffff8
jbe 0x140005148
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x30], rdx
nop dword [rax]
nop dword [rax + rax]
mov r9d, 0x104
lea r8, [rbp + 0x1f70]
mov rdx, qword [rdx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
test eax, eax
je 0x14000511d
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
lea rax, [rbp + 0x1f70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140004f60
lea rdx, [rbp + 0x1f70]
lea rcx, [rsp + 0x50]
call fcn.1400047f0
nop
lea r12, [rsp + 0x50]
mov r13, qword [rsp + 0x68]
cmp r13, 0xf
seta al
mov r15, qword [rsp + 0x50]
cmova r12, r15
lea rcx, [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
test al, al
je 0x140004fad
mov rbx, r15
lea r14, [rsi + r15]
jmp 0x140004fb6
lea r14, [rcx + rsi]
lea rbx, [rsp + 0x50]
cmp rbx, r14
je 0x140004fe4
sub r12, rbx
nop
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [r12 + rbx], al
inc rbx
cmp rbx, r14
jne 0x140004fc0
mov r13, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov r15, qword [rsp + 0x50]
mov r14, rdi
mov rdx, qword [rdi + 0x18]
mov rcx, qword [rdi + 0x10]
cmp rdx, 0xf
jbe 0x140004ffe
mov r14, qword [rdi]
lea r12, [rcx + r14]
jmp 0x140005007
lea r12, [rcx + rdi]
mov rbx, rdi
jbe 0x14000500a
mov rbx, qword [rdi]
cmp rbx, r12
je 0x14000503e
sub r14, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [r14 + rbx], al
inc rbx
cmp rbx, r12
jne 0x140005012
mov rdx, qword [rdi + 0x18]
mov rcx, qword [rdi + 0x10]
mov r13, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov r15, qword [rsp + 0x50]
lea r14, [rsp + 0x50]
cmp r13, 0xf
seta byte [rsp + 0x20]
cmova r14, r15
mov r12, rdi
cmp rdx, 0xf
jbe 0x14000505c
mov r12, qword [rdi]
cmp rsi, rcx
ja 0x1400050e0
sub rcx, rsi
test rsi, rsi
je 0x1400051c1
lea rax, [rcx + 1]
add rax, r12
mov qword [rsp + 0x38], rax
movsx edx, byte [r14]
mov r8, rax
sub r8, r12
mov rcx, r12
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400050e0
nop dword [rax]
nop word [rax + rax]
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400050d3
inc rbx
mov r8, qword [rsp + 0x38]
sub r8, rbx
movsx edx, byte [r14]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1400050a0
jmp 0x1400050e0
sub rbx, r12
cmp rbx, 0xffffffffffffffff
jne 0x1400051c1
cmp byte [rsp + 0x20], 0
je 0x140005118
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140005110
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000525c
mov rcx, r15
call fcn.140013d00
mov rbx, qword [rsp + 0x28]
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rdx, qword [rsp + 0x30]
add rdx, 8
mov qword [rsp + 0x30], rdx
mov ecx, dword [rsp + 0x48]
shr rcx, 3
cdqe
cmp rax, rcx
jb 0x140004f10
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140005182
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000517d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005263
mov rcx, r8
call fcn.140013d00
mov qword [rdi + 0x10], 0
xor eax, eax
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov rcx, qword [rbp + 0x2080]
xor rcx, rsp
call fcn.140013ce0
mov rbx, qword [rsp + 0x21e0]
add rsp, 0x2190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movsxd rax, dword [rsp + 0x24]
mov rbx, qword [rsp + rax*8 + 0x70]
cmp r13, 0xf
jbe 0x1400051fe
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x1400051f6
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000525c
mov rcx, r15
call fcn.140013d00
xor esi, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], sil
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140005249
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140005244
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005255
mov rcx, r8
call fcn.140013d00
mov qword [rdi + 0x10], rsi
mov rax, rbx
jmp 0x14000518c
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