Function at 0x140002e20
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2270
call fcn.140072dc0
sub rsp, rax
mov rax, qword [0x1400930c0]
xor rax, rsp
mov qword [rsp + 0x2260], rax
mov r14, rdx
mov r8d, ecx
xor edx, edx
mov ecx, 0x410
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x20], rax
mov rbx, rax
test rax, rax
je 0x140003150
lea r9, [rsp + 0x28]
mov r8d, 0x2000
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x140003145
test dword [rsp + 0x28], 0xfffffff8
mov r12d, r15d
jbe 0x140003145
movabs rsi, 0x7ffffffffffffffe
nop word [rax + rax]
mov eax, r12d
lea r13, [rsp + 0x50]
mov rdx, qword [r13 + rax*8]
lea r13, [r13 + rax*8]
mov r9d, 0x104
lea r8, [rsp + 0x2050]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x140003132
xorps xmm0, xmm0
lea rax, [rsp + 0x2050]
movups xmmword [rsp + 0x30], xmm0
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], r15w
jne 0x140002f10
cmp rdi, rsi
ja 0x1400031da
cmp rdi, 7
ja 0x140002f6a
lea rbx, [rdi + rdi]
mov qword [rsp + 0x40], rdi
mov r8, rbx
mov qword [rsp + 0x48], 7
lea rdx, [rsp + 0x2050]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x30], r15w
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x30]
jmp 0x140003022
mov rbp, rdi
or rbp, 7
cmp rbp, rsi
jbe 0x140002f89
movabs rax, 0x7fffffffffffffff
mov rbp, rsi
lea rcx, [rax + rax]
jmp 0x140002fb9
cmp rbp, 0xa
mov eax, 0xa
cmovb rbp, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rbp + 1]
cmp rcx, rax
ja 0x1400031d4
add rcx, rcx
cmp rcx, 0x1000
jb 0x140002fe5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400031d4
mov rcx, rax
call fcn.140072540
test rax, rax
je 0x1400031cd
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140002ff7
test rcx, rcx
je 0x140002ff4
call fcn.140072540
mov rsi, rax
jmp 0x140002ff7
mov rsi, r15
lea rbx, [rdi + rdi]
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov qword [rsp + 0x40], rdi
lea rdx, [rsp + 0x2050]
mov qword [rsp + 0x48], rbp
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rsi], r15w
mov r10, 0xffffffffffffffff
nop dword [rax]
inc r10
cmp word [r14 + r10*2], r15w
jne 0x140003030
cmp rbp, 7
lea rbx, [rsp + 0x30]
cmova rbx, rsi
cmp r10, rdi
ja 0x1400030e8
sub rdi, r10
test r10, r10
je 0x14000318d
movzx r11d, word [r14]
inc rdi
mov rax, rbx
lea rdi, [rbx + rdi*2]
nop word [rax + rax]
mov rcx, rdi
mov rdx, r15
sub rcx, rax
sar rcx, 1
je 0x14000309a
cmp word [rax], r11w
je 0x140003097
cmp rcx, 1
je 0x14000309a
add rax, 2
dec rcx
cmp word [rax], r11w
jne 0x140003084
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x1400030e8
mov r8, r10
mov rdx, r14
test r10, r10
je 0x1400030d8
mov r9, rax
sub r9, r14
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [r9 + rdx]
cmp cx, word [rdx]
jne 0x140003184
add rdx, 2
sub r8, 1
jne 0x1400030c0
sub rax, rbx
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x14000318d
cmp rbp, 7
jbe 0x140003123
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000311b
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400031cd
mov rcx, rsi
call fcn.140072894
mov rbx, qword [rsp + 0x20]
movabs rsi, 0x7ffffffffffffffe
mov eax, dword [rsp + 0x28]
inc r12d
shr eax, 3
cmp r12d, eax
jb 0x140002ec0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r15
mov rcx, qword [rsp + 0x2260]
xor rcx, rsp
call fcn.140072520
lea r11, [rsp + 0x2270]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
add rax, 2
jmp 0x140003070
mov r15, qword [r13]
cmp rbp, 7
jbe 0x140003145
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400031c0
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400031cd
mov rcx, rsi
call fcn.140072894
jmp 0x140003145
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400019f0
int3
call fcn.140001aa0
int3