Function at 0x140002470
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x21d0]
mov eax, 0x22d0
call fcn.14000ca00
sub rsp, rax
mov rax, qword [0x140014040]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
mov r14, rcx
xor r15d, r15d
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0x30]
mov r8d, 0x2000
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
test eax, eax
je 0x1400028a2
mov esi, r15d
test dword [rsp + 0x30], 0xfffffff8
jbe 0x140002973
nop word [rax + rax]
mov edx, esi
mov r9d, 0x104
lea r8, [rbp + 0x1fb0]
mov rdx, qword [rbp + rdx*8 - 0x80]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x140002666
lea rcx, [rbp + 0x1fb0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140008400
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.140001d70
nop
lea rdx, [rsp + 0x38]
call fcn.14000a9e0
and rax, qword [0x140014a00]
add rax, rax
mov rdi, qword [0x1400149e8]
mov rbx, qword [rdi + rax*8 + 8]
mov rcx, qword [0x1400149d8]
cmp rbx, rcx
jne 0x140002571
mov rbx, r15
jmp 0x1400025b3
mov rdi, qword [rdi + rax*8]
lea rdx, [rbx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x140002583
mov rdx, qword [rdx]
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400025ac
cmp rbx, rdi
je 0x1400025a9
mov rbx, qword [rbx + 8]
jmp 0x140002575
mov rbx, r15
mov rcx, qword [0x1400149d8]
mov rax, rcx
test rbx, rbx
cmovne rax, rbx
cmp rax, rcx
jne 0x140002783
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140002608
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002603
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002828
call fcn.14000bd2c
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14000276d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002768
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002881
jmp 0x140002768
lea r9, [rbp + 0x1faa]
mov r8d, esi
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x140002670
lea r8, [rbp + 0x1faa]
mov rdx, r9
lea rcx, [rsp + 0x58]
call fcn.14000a6c0
nop
lea r8, [rsp + 0x58]
lea rdx, str._ERROR__Failed_to_get_module_name_for_module_index:
lea rcx, [rsp + 0x38]
call fcn.140008f10
nop
mov rcx, rax
call fcn.140001860
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140002717
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002712
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002894
call fcn.14000bd2c
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14000276d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002768
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000289b
call fcn.14000bd2c
inc esi
mov eax, dword [rsp + 0x30]
shr eax, 3
cmp esi, eax
jb 0x1400024f0
jmp 0x140002973
lea r8, [rsp + 0x38]
lea rdx, str.Target_DLL_loaded:
lea rcx, [rbp + 0x1f80]
call fcn.140008d90
nop
mov rcx, rax
call fcn.140001860
nop
mov rdx, qword [rbp + 0x1f98]
cmp rdx, 7
jbe 0x1400027ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400027e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bd2c
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140002834
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000282f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000282f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bd2c
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14000288d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002888
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002888
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bd2c
mov al, 1
jmp 0x140002975
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
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov ecx, 0x70
call fcn.14000b9e0
mov qword [rsp + 0x38], rax
movdqa xmm0, xmmword [0x140010210]
movdqu xmmword [rsp + 0x48], xmm0
movaps xmm0, xmmword [str._ERROR__Failed_to_enumerate_modules_for_the_process.]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x14000ecf0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x14000ed00]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x14000ed10]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x14000ed20]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x14000ed30]
movups xmmword [rax + 0x50], xmm1
movsd xmm0, qword [0x14000ed40]
movsd qword [rax + 0x60], xmm0
mov word [rax + 0x68], r15w
lea rcx, [rsp + 0x38]
call fcn.140001860
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140002973
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000296e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000296e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bd2c
xor al, al
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.14000b8a0
lea r11, [rsp + 0x22d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret