Function at 0x140008790
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.1400048d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r14, rax
lea r8, [0x140010848]
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 0x1400088d1
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x1400088d1
mov rcx, qword [0x140017238]
xor edi, edi
test rcx, rcx
mov edx, edi
je 0x14000882d
lea rdx, [rcx + 0x2c4]
lea r8, [0x140010850]
lea rcx, [rsp + 0x198]
call fcn.14000a530
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.14000bf80
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc120u.dll_Ordinal_1117]
jmp 0x1400088d3
xor edi, edi
lea rdx, [rsp + 0x90]
mov rcx, rsi
call fcn.14000bb80
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov rax, qword [0x140017a78]
cmp r12d, 2
jle 0x140008956
mov rcx, rsi
cmp dword [rax + 8], 2
jne 0x14000892e
call fcn.14000af40
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 0x14000897d
call fcn.14000af40
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 0x14000897d
lea rcx, [rsp + 0x60]
cmp dword [rax + 8], 2
jne 0x140008970
lea rdx, str._Reader
call qword [sym.imp.mfc120u.dll_Ordinal_13477]
jmp 0x14000897d
lea rdx, str._Pro
call qword [sym.imp.mfc120u.dll_Ordinal_13477]
mov edx, r12d
lea rcx, [rsp + 0x198]
call fcn.14000c370
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
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea rdx, [rsp + 0x78]
mov ecx, eax
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
jne 0x140008a2b
mov dword [rsp + 0x98], edi
lea rdx, [0x1400157a0]
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 0x140008a75
mov dword [rsp + 0x88], edi
lea rdx, [0x1400157a0]
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 0x140008aaa
mov dword [rsp + 0xa0], edi
lea rdx, [0x1400157a0]
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 0x140008b1e
mov dword [rsp + 0x9c], edi
lea rdx, [0x1400157a0]
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.1400049d0
jmp 0x140008b51
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140008b61
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140008b71
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140008b85
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 0x140008bb2
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