Function at 0x140013028
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.140012eb0
mov r8d, dword [rsp + 0xb78]
lea rdx, [rsp + 0x50]
lea rcx, str.GetShellPIDMatchingInstallerSessionID::_Looking_for_Process_and_session_ID:
call fcn.140012d44
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x470], rax
cmp qword [rsp + 0x470], 0
je 0x14001311e
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 0x14001311e
mov eax, dword [rsp + 0x30]
jmp 0x1400132ec
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x478], rax
cmp qword [rsp + 0x478], 0xffffffffffffffff
jne 0x14001315f
cmp qword [rsp + 0x478], 0
je 0x140013156
mov rcx, qword [rsp + 0x478]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x30]
jmp 0x1400132ec
mov dword [rsp + 0x490], 0x238
lea rdx, [rsp + 0x490]
mov rcx, qword [rsp + 0x478]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1400131a5
cmp qword [rsp + 0x478], 0
je 0x14001319c
mov rcx, qword [rsp + 0x478]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x30]
jmp 0x1400132ec
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 0x140013224
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 [0x1400187a0]
lea rcx, [rsp + 0x6f0]
call fcn.140012eb0
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 0x14001329f
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 0x14001329f
mov eax, dword [rsp + 0xb78]
cmp dword [rsp + 0xb34], eax
jne 0x14001329f
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.140012d44
jmp 0x1400132bc
lea rdx, [rsp + 0x490]
mov rcx, qword [rsp + 0x478]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400131a5
cmp qword [rsp + 0x478], 0
je 0x1400132d5
mov rcx, qword [rsp + 0x478]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x38], 0
je 0x1400132e8
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, [0x14004efe0]
call fcn.140014604
mov rax, rdi
mov rcx, qword [rsp + 0xb58]
xor rcx, rsp
call fcn.140014710
add rsp, 0xb60
pop rdi
ret