Function at 0x140046130
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 - 0x21d0]
mov eax, 0x22d0
call fcn.140087710
sub rsp, rax
mov rax, qword [0x1400c9028]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x68], rdx
xor ebx, ebx
mov qword [rcx + 0x10], rbx
mov r8d, dword [0x1400f4550]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [r14 + 0x18], rax
lea r9, [rsp + 0x70]
mov r8d, 0x2000
lea rdx, [rbp + 0xb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
mov dword [rsp + 0x30], ebx
mov eax, dword [rsp + 0x70]
test rax, 0xfffffffffffffff8
jbe 0x14004646a
lea r12, [rbp + 0xb0]
nop word [rax + rax]
mov r9d, 0x104
lea r8, [rbp + 0x20b0]
mov rdx, qword [r12]
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rbx
lea rax, [rbp + 0x20b0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140046210
lea rdx, [rbp + 0x20b0]
lea rcx, [rsp + 0x78]
call fcn.140007080
nop
lea rbx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
setae r13b
mov r15, qword [rsp + 0x78]
cmovae rbx, r15
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x1400462b7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov dword [rbp + 8], eax
xor edx, edx
mov r8d, 0xa3
lea rcx, [rbp + 0xd]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0xc], 1
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
add rax, rbx
movzx ecx, byte [rax]
cmp byte [rbp + rcx - 0x50], 0
jne 0x1400462b2
cmp rax, rbx
je 0x1400462b7
dec rax
movzx ecx, byte [rax]
cmp byte [rbp + rcx - 0x50], 0
je 0x1400462a0
sub rax, rbx
jmp 0x1400462be
mov rax, 0xffffffffffffffff
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
cmp rdi, rcx
jb 0x1400464f8
sub rdi, rcx
mov r8, 0xffffffffffffffff
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rsp + 0x78]
test r13b, r13b
cmovne rdx, r15
add rdx, rcx
lea rcx, [rsp + 0x38]
call fcn.140007080
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140046345
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046340
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400464e3
call fcn.140086794
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x78], xmm1
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140046365
mov rdx, qword [rsi]
lea rcx, [rsp + 0x78]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
cmp r8, qword [rsi + 0x10]
jne 0x14004640a
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14004640a
lea r9d, [rax + 0x18]
lea r8, [rbp - 0x68]
mov rdx, qword [r12]
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov rax, qword [r12]
mov qword [r14], rax
mov ebx, dword [rbp - 0x60]
mov qword [r14 + 8], rbx
mov ecx, ebx
call fcn.1400867c8
mov rdi, rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x60]
lea rbx, [r14 + 0x10]
cmp rbx, rax
je 0x1400463e4
mov rcx, qword [rbx]
mov qword [rbx], rdi
test rcx, rcx
je 0x1400463ec
jmp 0x1400463e7
mov rcx, rdi
call fcn.140086794
mov qword [rsp + 0x20], 0
mov r9, qword [r14 + 8]
mov r8, qword [rbx]
mov rdx, qword [r14]
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140046446
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046441
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400464ea
call fcn.140086794
mov ebx, dword [rsp + 0x30]
inc ebx
mov dword [rsp + 0x30], ebx
add r12, 8
mov ecx, dword [rsp + 0x70]
shr rcx, 3
movsxd rax, ebx
xor ebx, ebx
cmp rax, rcx
jb 0x1400461d0
mov rax, qword [r14]
mov qword [r14 + 0x20], rax
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400464a7
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400464a2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400464f1
mov rcx, r8
call fcn.140086794
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rax, r14
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.1400864e0
mov rbx, qword [rsp + 0x2320]
add rsp, 0x22d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
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]
nop
call fcn.140006ac0
int3