Function at 0x140014488
Capabilities:
Enumerate processes

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb60
lea rdi, [rsp + 0x30]
mov ecx, 0x2cc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb70]
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xb58], rax
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov qword [rsp + 0x468], 0
mov r8, qword [rsp + 0xb70]
mov edx, 0x208
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rsp + 0x50]
call fcn.140014310
mov r8d, dword [rsp + 0xb78]
lea rdx, [rsp + 0x50]
lea rcx, str.GetShellPIDMatchingInstallerSessionID::_Looking_for_Process_and_session_ID:
call fcn.1400141a4
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x470], rax
cmp qword [rsp + 0x470], 0
je 0x14001457e
lea rdx, str.QueryFullProcessImageNameW
mov rcx, qword [rsp + 0x470]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x468], rax
cmp qword [rsp + 0x468], 0
jne 0x14001457e
mov eax, dword [rsp + 0x30]
jmp 0x14001474c
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x478], rax
cmp qword [rsp + 0x478], 0xffffffffffffffff
jne 0x1400145bf
cmp qword [rsp + 0x478], 0
je 0x1400145b6
mov rcx, qword [rsp + 0x478]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x30]
jmp 0x14001474c
mov dword [rsp + 0x490], 0x238
lea rdx, [rsp + 0x490]
mov rcx, qword [rsp + 0x478]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x140014605
cmp qword [rsp + 0x478], 0
je 0x1400145fc
mov rcx, qword [rsp + 0x478]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x30]
jmp 0x14001474c
lea rax, [rsp + 0x6f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov dword [rsp + 0xb14], 0x208
mov qword [rsp + 0x38], 0
mov r8d, dword [rsp + 0x498]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140014684
mov rax, qword [rsp + 0x468]
mov qword [rsp + 0xb50], rax
lea r9, [rsp + 0xb14]
lea r8, [rsp + 0x6f0]
xor edx, edx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0xb50]
call qword [0x1400197c0]
lea rcx, [rsp + 0x6f0]
call fcn.140014310
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x6f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400146ff
mov dword [rsp + 0xb34], 0
lea rdx, [rsp + 0xb34]
mov ecx, dword [rsp + 0x498]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x1400146ff
mov eax, dword [rsp + 0xb78]
cmp dword [rsp + 0xb34], eax
jne 0x1400146ff
mov eax, dword [rsp + 0x498]
mov dword [rsp + 0x30], eax
mov r8d, dword [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, str.GetShellPIDMatchingInstallerSessionID::_ProcessID_found_:
call fcn.1400141a4
jmp 0x14001471c
lea rdx, [rsp + 0x490]
mov rcx, qword [rsp + 0x478]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140014605
cmp qword [rsp + 0x478], 0
je 0x140014735
mov rcx, qword [rsp + 0x478]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x38], 0
je 0x140014748
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140050fd0]
call fcn.140015a64
mov rax, rdi
mov rcx, qword [rsp + 0xb58]
xor rcx, rsp
call fcn.140015b70
add rsp, 0xb60
pop rdi
ret