Function at 0x1400031e8
Capabilities:
Enumerate process modules

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14002b460]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rdx
mov rbx, rcx
lea rax, vtable.PROCESS_UTIL::CTaskDllMgrEx.0
mov qword [rsp + 0x48], rax
lea rdx, [0x140024d74]
lea rcx, [rsp + 0x50]
call fcn.140005224
nop
lea rdx, [0x140024d74]
lea rcx, [rsp + 0x58]
call fcn.140005224
nop
xor r15d, r15d
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
call fcn.140006174
mov qword [rsp + 0x60], rax
lea rax, vtable.PROCESS_UTIL::CTaskMgr.0
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
cmp qword [0x14002dab0], r15
jne 0x1400032b9
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400032b9
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14002dab0], rax
test rbx, rbx
jne 0x1400032c3
mov eax, r15d
jmp 0x1400032d1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], r15w
jne 0x1400032c7
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14000580c
test rdi, rdi
jne 0x1400032eb
mov eax, r15d
jmp 0x1400032f9
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], r15w
jne 0x1400032ef
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.14000580c
lea rax, [rsp + 0x48]
mov qword [rbp - 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.14000a558
mov rbx, r15
mov dword [rsp + 0x20], r15d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call sub.msvcrt.dll_memset
mov edi, 0x400
test rbx, rbx
je 0x140003355
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
add edi, edi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, edi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x14000341a
lea r8, [rsp + 0x20]
mov edx, edi
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x140003406
mov eax, dword [rsp + 0x20]
cmp eax, edi
je 0x14000333a
shr eax, 2
mov dword [rsp + 0x20], eax
mov edi, r15d
test eax, eax
je 0x140003406
mov word [rbp - 0x60], r15w
mov r14d, edi
mov r8d, dword [rbx + r14*4]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x1400033de
mov r9d, 0x104
lea r8, [rbp - 0x60]
xor edx, edx
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x1400033fe
lea r8, [rbp - 0x60]
mov edx, dword [rbx + r14*4]
lea rcx, [rsp + 0x70]
call fcn.14000a5b0
inc edi
cmp edi, dword [rsp + 0x20]
jb 0x14000339f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140005f00
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.140005350
nop
lea r8, str.LocalD3743DC1_C64C_4c84_8435_F6799EABAAE7
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov rbx, rax
cmp qword [rsp + 0x40], r15
je 0x140003479
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.140005350
mov r8, rbx
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.140002f1c
jmp 0x140003487
test rbx, rbx
je 0x140003495
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEvent]
test rbx, rbx
je 0x140003495
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, r15d
cmp qword [rsp + 0x40], r15
setne bl
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400034c0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
lea rcx, [rsp + 0x38]
call fcn.1400054f4
mov edx, 0x28
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
nop
lea rcx, [rsp + 0x70]
call fcn.14000a4e8
nop
lea rcx, [rsp + 0x48]
call fcn.140009c48
mov eax, ebx
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14001a4a0
mov rbx, qword [rsp + 0x300]
add rsp, 0x2c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret