Function at 0x140012478
Capabilities:
Create process on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1120
call fcn.140117f40
sub rsp, rax
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rsp + 0x1110], rax
mov r12, r9
mov r15, r8
movzx r14d, dl
mov rsi, rcx
mov r13, qword [rsp + 0x1180]
mov rax, qword [rsp + 0x1188]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x1190]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x1198]
mov qword [rsp + 0x68], rax
lea rbx, str.winrar_config_integration
mov r8, rbx
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
test rax, rax
je 0x140012509
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140012747
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x10000
xor r9d, r9d
xor edx, edx
mov r8d, 0x8000004
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
test rax, rax
je 0x140012502
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x70]
call fcn.140098f84
nop
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140099064
mov r14d, 0x1c
mov edx, r14d
lea rcx, [rsp + 0x70]
call fcn.14009909c
mov r8d, r14d
mov rdx, r15
lea rcx, [rsp + 0x70]
call fcn.1400991a0
mov rdx, r12
lea rcx, [rsp + 0x70]
call fcn.140013094
mov rdx, r13
lea rcx, [rsp + 0x70]
call fcn.140013094
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.140013094
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.140013094
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x70]
call fcn.140013094
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x70]
call fcn.140098fb4
mov r8, qword [rsp + 0x40]
mov rcx, rbx
cmp r8, 0x10000
jbe 0x140012643
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001262d
call fcn.140123a48
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001263c
call fcn.140123a48
xor al, al
jmp 0x140012747
mov rdx, qword [rsp + 0x38]
call fcn.14011a0e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov r8d, 0x800
lea rdx, [rsp + 0x110]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [rsp + 0xa0], 0x70
mov dword [rsp + 0xa4], 0x40
mov qword [rsp + 0xa8], rsi
lea rax, str.runas
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0xb8], rax
lea rax, str._setup_integration
mov qword [rsp + 0xc0], rax
lea rax, [0x14013ffc8]
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0xd0], 1
mov qword [rsp + 0xd8], r14
lea rcx, [rsp + 0xa0]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
sete bl
mov byte [rsp + 0x30], bl
test bl, bl
je 0x140012715
or edx, 0xffffffff
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001272f
call fcn.140123a48
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001273f
call fcn.140123a48
nop
jmp 0x140012745
mov al, bl
mov rcx, qword [rsp + 0x1110]
xor rcx, rsp
call fcn.140117fa0
add rsp, 0x1120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret