Function at 0x140008aa8
Capabilities:
Create process on windows

Disassembly:
test ecx, ecx
je 0x140008e12
push rbx
sub rsp, 0x1e0
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov ebx, ecx
mov edx, ecx
lea rcx, [rsp + 0x150]
call fcn.14000adf0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x150]
call fcn.14000c250
nop
mov rdx, qword [rax]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x60]
call fcn.1400055c0
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc120u.dll_Ordinal_1496]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov r8, qword [rsp + 0x70]
lea rdx, str.InstallPath_to_exe_is:_s
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xc0], rax
mov r8d, 3
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xc0]
call fcn.140003100
nop
mov rcx, qword [rsp + 0xc0]
call fcn.140004fd0
nop
lea rax, [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
cmp rcx, rax
je 0x140008bae
call qword [sym.imp.MSVCR120.dll_free]
nop
mov r8, qword [rsp + 0x70]
lea rcx, [rsp + 0x68]
cmp ebx, 2
jne 0x140008bcc
lea rdx, str._sNitroPDFReader.exe
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
jmp 0x140008bd9
lea rdx, str._sNitroPDF.exe
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
xor ebx, ebx
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x60], rbx
xor edx, edx
lea r8d, [rbx + 0x60]
lea rcx, [rsp + 0xc8]
call sub.MSVCR120.dll_memset
mov qword [rsp + 0x98], rbx
xor eax, eax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0xc0], 0x68
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea rdx, [rsp + 0x88]
mov ecx, eax
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
jne 0x140008c5a
mov dword [rsp + 0x94], ebx
lea rdx, [0x140016400]
lea rcx, [rsp + 0x94]
call sub.MSVCR120.dll__CxxThrowException
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 1
xor r8d, r8d
mov edx, 0x2000000
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x140008ca7
mov dword [rsp + 0x84], ebx
lea rdx, [0x140016400]
lea rcx, [rsp + 0x84]
call sub.MSVCR120.dll__CxxThrowException
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x140008cd9
mov dword [rsp + 0x90], ebx
lea rdx, [0x140016400]
lea rcx, [rsp + 0x90]
call sub.MSVCR120.dll__CxxThrowException
lea rax, [rsp + 0x98]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x430
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x140008d48
mov dword [rsp + 0x80], ebx
lea rdx, [0x140016400]
lea rcx, [rsp + 0x80]
call sub.MSVCR120.dll__CxxThrowException
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, str.Nitro_started
call fcn.140004fd0
jmp 0x140008d73
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140008d86
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140008d96
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140008da7
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
mov r9, qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov edx, 8
lea r8d, [rdx + 4]
lea rcx, [rsp + 0x168]
call fcn.14000d1c8
nop
lea rcx, [rsp + 0x158]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x150]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14000ce90
add rsp, 0x1e0
pop rbx
ret