Function at 0x140002530
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.14000d260
sub rsp, rax
mov rax, qword [0x140014040]
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 0x140002860
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 0x140002855
test dword [rsp + 0x28], 0xfffffff8
mov r12d, r15d
jbe 0x140002855
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 0x140002842
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 0x140002620
cmp rdi, rsi
ja 0x1400028ea
cmp rdi, 7
ja 0x14000267a
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 0x140002732
mov rbp, rdi
or rbp, 7
cmp rbp, rsi
jbe 0x140002699
movabs rax, 0x7fffffffffffffff
mov rbp, rsi
lea rcx, [rax + rax]
jmp 0x1400026c9
cmp rbp, 0xa
mov eax, 0xa
cmovb rbp, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rbp + 1]
cmp rcx, rax
ja 0x1400028e4
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400026f5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400028e4
mov rcx, rax
call fcn.14000c370
test rax, rax
je 0x1400028dd
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140002707
test rcx, rcx
je 0x140002704
call fcn.14000c370
mov rsi, rax
jmp 0x140002707
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 0x140002740
cmp rbp, 7
lea rbx, [rsp + 0x30]
cmova rbx, rsi
cmp r10, rdi
ja 0x1400027f8
sub rdi, r10
test r10, r10
je 0x14000289d
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 0x1400027aa
cmp word [rax], r11w
je 0x1400027a7
cmp rcx, 1
je 0x1400027aa
add rax, 2
dec rcx
cmp word [rax], r11w
jne 0x140002794
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x1400027f8
mov r8, r10
mov rdx, r14
test r10, r10
je 0x1400027e8
mov r9, rax
sub r9, r14
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [r9 + rdx]
cmp cx, word [rdx]
jne 0x140002894
add rdx, 2
sub r8, 1
jne 0x1400027d0
sub rax, rbx
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x14000289d
cmp rbp, 7
jbe 0x140002833
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000282b
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400028dd
mov rcx, rsi
call fcn.14000c6c4
mov rbx, qword [rsp + 0x20]
movabs rsi, 0x7ffffffffffffffe
mov eax, dword [rsp + 0x28]
inc r12d
shr eax, 3
cmp r12d, eax
jb 0x1400025d0
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.14000c350
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 0x140002780
mov r15, qword [r13]
cmp rbp, 7
jbe 0x140002855
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400028d0
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400028dd
mov rcx, rsi
call fcn.14000c6c4
jmp 0x140002855
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400014c0
int3
call fcn.140001570
int3