Function at 0x1400050f0
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.140015030
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 0x1400053b8
xor eax, eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x48]
test rax, 0xfffffffffffffff8
jbe 0x1400053b8
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 0x14000538d
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 0x1400051d0
lea rdx, [rbp + 0x1f70]
lea rcx, [rsp + 0x50]
call fcn.140004a60
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 0x14000521d
mov rbx, r15
lea r14, [rsi + r15]
jmp 0x140005226
lea r14, [rcx + rsi]
lea rbx, [rsp + 0x50]
cmp rbx, r14
je 0x140005254
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 0x140005230
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 0x14000526e
mov r14, qword [rdi]
lea r12, [rcx + r14]
jmp 0x140005277
lea r12, [rcx + rdi]
mov rbx, rdi
jbe 0x14000527a
mov rbx, qword [rdi]
cmp rbx, r12
je 0x1400052ae
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 0x140005282
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 0x1400052cc
mov r12, qword [rdi]
cmp rsi, rcx
ja 0x140005350
sub rcx, rsi
test rsi, rsi
je 0x140005431
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 0x140005350
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 0x140005343
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 0x140005310
jmp 0x140005350
sub rbx, r12
cmp rbx, 0xffffffffffffffff
jne 0x140005431
cmp byte [rsp + 0x20], 0
je 0x140005388
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140005380
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400054cc
mov rcx, r15
call fcn.140013f80
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 0x140005180
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400053f2
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400053ed
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400054d3
mov rcx, r8
call fcn.140013f80
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.140013f60
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 0x14000546e
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140005466
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400054cc
mov rcx, r15
call fcn.140013f80
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 0x1400054b9
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400054b4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400054c5
mov rcx, r8
call fcn.140013f80
mov qword [rdi + 0x10], rsi
mov rax, rbx
jmp 0x1400053fc
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