Function at 0x140018140
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14008e3a8]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
lea rcx, [rsp + 0x58]
call fcn.140017ef0
cmp qword [rsp + 0x58], 0
je 0x1400182ca
cmp qword [rsp + 0x60], 0
je 0x1400182ca
mov qword [rsp + 0x2f0], rbx
xor edx, edx
mov qword [rsp + 0x300], r14
mov r14d, 2
mov ecx, r14d
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400181cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, str.CreateToolhelp32Snapshot_failed.
call qword [sym.imp.Qt5Core.dll_void___cdecl_qErrnoWarning_int__char_const____ptr64_]
jmp 0x140018291
xor edx, edx
lea rcx, [rbp - 0x6c]
mov r8d, 0x234
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x238
mov rcx, rbx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x140018218
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.Cannot_retrieve_parent_process_handle.
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const____ptr64_const___ptr64]
jmp 0x140018291
xor esi, esi
mov qword [rsp + 0x2f8], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
nop word [rax + rax]
cmp dword [rbp - 0x68], edi
je 0x140018247
lea rdx, [rbp - 0x70]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140018230
jmp 0x14001824a
mov esi, dword [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x140018289
mov r8d, esi
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
lea rdx, [rsp + 0x28]
mov rbx, rax
call qword [rsp + 0x58]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
cmove r14d, dword [rsp + 0x28]
mov rdi, qword [rsp + 0x2f8]
mov ecx, r14d
call qword [rsp + 0x60]
mov r14, qword [rsp + 0x300]
mov rbx, qword [rsp + 0x2f0]
test eax, eax
je 0x14001834a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, str.SetProcessDPIAwareness_failed.
call qword [sym.imp.Qt5Core.dll_void___cdecl_qErrnoWarning_int__char_const____ptr64_]
jmp 0x14001834a
xor esi, esi
lea rcx, [rsp + 0x38]
xor edx, edx
mov qword [rsp + 0x30], rsi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QLibrary::constructor_class_QObject____ptr64____ptr64]
lea rdx, [rsp + 0x28]
mov byte [rsp + 0x20], sil
lea rcx, [rsp + 0x20]
call fcn.140018080
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QLibrary::setFileName_class_QString_const____ptr64____ptr64]
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QLibrary::load_void____ptr64]
test al, al
je 0x140018333
lea rdx, str.SetProcessDPIAware
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void____cdecl___void____cdecl_QLibrary::resolve_char_const____ptr64____ptr64]
mov qword [rsp + 0x30], rax
jmp 0x140018338
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x14001833f
call rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public_virtual:_void___cdecl_QLibrary::destructor_void____ptr64]
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public_virtual:_void___cdecl_QLibrary::destructor_void____ptr64]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140075580
mov rsi, qword [rsp + 0x308]
add rsp, 0x2e0
pop rbp
ret