Function at 0x140001460
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1090]
mov eax, 0x1190
call fcn.140003a80
sub rsp, rax
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rbp + 0x1080], rax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov edi, r14d
mov dword [rsp + 0x24], r14d
lea r8, [rsp + 0x68]
mov edx, 0x1000
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x14000173b
mov ebx, dword [rsp + 0x68]
shr ebx, 2
mov dword [rsp + 0x20], ebx
mov r12d, r14d
test ebx, ebx
je 0x140001738
lea r13, [rsp + 0x70]
movabs rsi, 0x7fffffffffffffff
nop dword [rax]
mov r8d, dword [r13]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
test rax, rax
je 0x140001728
lea r9, [rsp + 0x6c]
mov r8d, 8
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x1400016ee
mov r9d, 0x104
lea r8, [rbp + 0xf70]
mov rdx, qword [rsp + 0x48]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
test eax, eax
je 0x1400016ee
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
lea rax, [rbp + 0xf70]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140001581
cmp rbx, rsi
ja 0x1400017c7
mov qword [rsp + 0x40], 0xf
cmp rbx, 0x10
jae 0x1400015c5
mov qword [rsp + 0x38], rbx
mov r8, rbx
lea rdx, [rbp + 0xf70]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x28], 0
jmp 0x14000166f
mov rdi, rbx
or rdi, 0xf
cmp rdi, rsi
jbe 0x1400015e4
mov rdi, rsi
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x14000160b
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x14000162a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400017cd
mov rcx, rax
call fcn.140002c10
test rax, rax
je 0x140001788
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000163c
test rcx, rcx
je 0x140001639
call fcn.140002c10
mov rsi, rax
jmp 0x14000163c
mov rsi, r14
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
mov r8, rbx
lea rdx, [rbp + 0xf70]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov edi, dword [rsp + 0x24]
movabs rsi, 0x7fffffffffffffff
mov rdx, qword [rsp + 0x58]
cmp rdx, qword [rsp + 0x60]
je 0x14000169e
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x28], 0
add qword [rsp + 0x58], 0x20
jmp 0x1400016b2
lea r8, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140002930
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400016ea
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001788
call fcn.140002c4c
mov ebx, dword [rsp + 0x20]
lea rdx, str.notepad.exe
lea rcx, [rbp + 0xf70]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14000171f
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, 1
jne 0x14000171f
inc edi
mov dword [rsp + 0x24], edi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r12d
add r13, 4
cmp r12d, ebx
jb 0x140001500
mov r14d, edi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140001794
mov rdx, qword [rsp + 0x58]
call fcn.1400028a0
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000178f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000178f
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.140002c4c
mov eax, r14d
mov rcx, qword [rbp + 0x1080]
xor rcx, rsp
call fcn.140002bf0
lea r11, [rsp + 0x1190]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001210
nop
call fcn.140001170
int3