Function at 0x140063a70
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4eb0]
mov eax, 0x4fb0
call fcn.14006ee90
sub rsp, rax
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x5000], rbx
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rbp + 0x4ea0], rax
mov rdi, rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xor edx, edx
mov r8d, 0x4000
lea rcx, [rbp + 0x2a0]
call fcn.14006d020
mov dword [rbp + 0x280], r15d
xor r12d, r12d
lea r8, [rbp + 0x280]
mov edx, 0x4000
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_K32EnumProcesses]
or r13, 0xffffffffffffffff
test eax, eax
je 0x140063dbf
mov esi, dword [rbp + 0x280]
shr rsi, 2
mov qword [rsp + 0x48], rsi
test rsi, rsi
je 0x140063dbf
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov eax, 1
test r12d, r12d
jne 0x140063dbf
mov r8d, dword [rbp + rbx*4 + 0x2a0]
mov edx, eax
mov ecx, 0x1fffff
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_OpenProcess]
mov r14, rax
test rax, rax
je 0x140063dae
mov qword [rsp + 0x70], 0
lea r9, [rbp + 0x280]
lea r8d, [r12 + 8]
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_K32EnumProcessModules]
test eax, eax
je 0x140063da5
test dword [rbp + 0x280], 0xfffffff8
jbe 0x140063da5
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x46a0]
call fcn.14006d020
mov r9d, 0x3ff
lea r8, [rbp + 0x46a0]
mov rdx, qword [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_K32GetModuleBaseNameW]
lea rdx, [rbp + 0x46a0]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140063da5
mov rax, qword [rdi]
cmp dword [rax - 0x10], r12d
jne 0x140063bfe
mov r12d, 1
jmp 0x140063da5
xor eax, eax
mov qword [rbp + 0x288], rax
call fcn.140003520
mov rcx, rax
test rax, rax
je 0x140063e2c
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rbp + 0x288], rbx
or r15d, 1
mov dword [rsp + 0x30], r15d
xor esi, esi
mov qword [rbp + 0x290], rsi
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 0x30]
lea r8, [rsp + 0x78]
xor edx, edx
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
setns sil
test eax, eax
js 0x140063d1c
mov rdx, qword [rbp - 0x80]
test rdx, rdx
je 0x140063d1c
lea rax, [rbp + 0x290]
mov qword [rsp + 0x20], rax
mov r9d, 0x2c8
lea r8, [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_ReadProcessMemory]
mov esi, eax
test eax, eax
je 0x140063d20
mov rdi, qword [rbp - 0x30]
test rdi, rdi
je 0x140063d17
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x42a0]
call fcn.14006d020
lea rax, [rbp + 0x290]
mov qword [rsp + 0x20], rax
mov r9d, 0x400
lea r8, [rbp + 0x42a0]
mov rdx, qword [rdi + 0x78]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_ReadProcessMemory]
mov esi, eax
test eax, eax
je 0x140063d20
lea rcx, [rbp + 0x42a0]
mov rax, r13
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140063cf0
mov r8d, eax
lea rdx, [rbp + 0x42a0]
lea rcx, [rbp + 0x288]
call fcn.140002f50
mov rbx, qword [rbp + 0x288]
mov rdi, qword [rsp + 0x38]
test esi, esi
jne 0x140063d47
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r9d, eax
mov r8d, 0x1eb
lea rdx, str.CWin32AppMgr::GetAppCommandline
lea rcx, str._s__d_dwErr_d
call fcn.140026f80
mov rdi, qword [rsp + 0x38]
mov rdx, qword [rdi]
test rdx, rdx
je 0x140063d73
cmp dword [rbx - 0x10], 0
jl 0x140063d73
mov rcx, rbx
call fcn.14006c5dc
test rax, rax
je 0x140063d73
sub rax, rbx
sar rax, 1
test eax, eax
mov eax, 1
cmovns r12d, eax
and r15d, 0xfffffffe
mov dword [rsp + 0x30], r15d
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140063d96
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov r15d, dword [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
inc rbx
mov qword [rsp + 0x40], rbx
cmp rbx, rsi
jl 0x140063b34
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
sub rdx, 0x18
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140063de2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], r13d
sub r13d, 1
jg 0x140063dff
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r12d
mov rcx, qword [rbp + 0x4ea0]
xor rcx, rsp
call fcn.140065bd0
mov rbx, qword [rsp + 0x5000]
add rsp, 0x4fb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003270
int3