Function at 0x140008ea0
Capabilities:
Create process on windows
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov qword [rax - 0xa8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov r13, r8
mov rsi, rdx
mov r12d, ecx
xor ecx, ecx
call fcn.140004f30
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r14, rax
lea r8, [0x140011978]
mov edx, 0x65
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r15, rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
test r15, r15
je 0x140008fe1
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140008fe1
mov rcx, qword [0x140018248]
xor edi, edi
test rcx, rcx
mov edx, edi
je 0x140008f3d
lea rdx, [rcx + 0x2c4]
lea r8, str.Nitro_UpdateMessenger.exe
lea rcx, [rsp + 0x198]
call fcn.14000ac80
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_1496]
nop
lea rcx, [rsp + 0x198]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov r8d, 0x1001
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc120u.dll_Ordinal_486]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc120u.dll_Ordinal_14085]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc120u.dll_Ordinal_2759]
mov rdx, qword [rsp + 0x68]
mov rcx, rsi
call fcn.14000c6d0
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc120u.dll_Ordinal_1117]
jmp 0x140008fe3
xor edi, edi
lea rdx, [rsp + 0x90]
mov rcx, rsi
call fcn.14000c2d0
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov rax, qword [0x140018a88]
cmp r12d, 2
jle 0x140009066
mov rcx, rsi
cmp dword [rax + 8], 2
jne 0x14000903e
call fcn.14000b690
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x90]
mov r8, r13
lea rdx, str.___s___s_Reader__d
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
jmp 0x14000908d
call fcn.14000b690
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x90]
mov r8, r13
lea rdx, str.___s___s_Pro__d
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
jmp 0x14000908d
lea rcx, [rsp + 0x60]
cmp dword [rax + 8], 2
jne 0x140009080
lea rdx, str._Reader
call qword [sym.imp.mfc120u.dll_Ordinal_13477]
jmp 0x14000908d
lea rdx, str._Pro
call qword [sym.imp.mfc120u.dll_Ordinal_13477]
mov edx, r12d
lea rcx, [rsp + 0x198]
call fcn.14000cac0
nop
mov r8, qword [rax]
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_7629]
nop
lea rcx, [rsp + 0x198]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x80], rdi
mov bl, 1
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rsp + 0xe8]
call sub.MSVCR120.dll_memset
mov qword [rsp + 0xa8], rdi
xor eax, eax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0xe0], 0x68
mov rax, qword [0x140018248]
test rax, rax
mov ecx, edi
je 0x14000911d
mov ecx, dword [rax + 0x4cc]
lea rdx, [rsp + 0x78]
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
jne 0x140009147
mov dword [rsp + 0x98], edi
lea rdx, [0x140016430]
lea rcx, [rsp + 0x98]
call sub.MSVCR120.dll__CxxThrowException
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 1
xor r8d, r8d
mov edx, 0x2000000
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x140009191
mov dword [rsp + 0x88], edi
lea rdx, [0x140016430]
lea rcx, [rsp + 0x88]
call sub.MSVCR120.dll__CxxThrowException
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x80]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x1400091c6
mov dword [rsp + 0xa0], edi
lea rdx, [0x140016430]
lea rcx, [rsp + 0xa0]
call sub.MSVCR120.dll__CxxThrowException
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x430
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x14000923a
mov dword [rsp + 0x9c], edi
lea rdx, [0x140016430]
lea rcx, [rsp + 0x9c]
call sub.MSVCR120.dll__CxxThrowException
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, str.Nitro_UpdateMessenger_started
call fcn.140005030
jmp 0x14000926d
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000927d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000928d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400092a1
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
movzx eax, bl
jmp 0x1400092ce
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret