Function at 0x140012528
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.140119910
sub rsp, rax
mov rax, qword [0x140182c48]
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 0x1400125b9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400127f7
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 0x1400125b2
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.14009a774
nop
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.14009a854
mov r14d, 0x1c
mov edx, r14d
lea rcx, [rsp + 0x70]
call fcn.14009a88c
mov r8d, r14d
mov rdx, r15
lea rcx, [rsp + 0x70]
call fcn.14009a990
mov rdx, r12
lea rcx, [rsp + 0x70]
call fcn.140013144
mov rdx, r13
lea rcx, [rsp + 0x70]
call fcn.140013144
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.140013144
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.140013144
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x70]
call fcn.140013144
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.14009a7a4
mov r8, qword [rsp + 0x40]
mov rcx, rbx
cmp r8, 0x10000
jbe 0x1400126f3
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 0x1400126dd
call fcn.140125418
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400126ec
call fcn.140125418
xor al, al
jmp 0x1400127f7
mov rdx, qword [rsp + 0x38]
call fcn.14011bab0
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, [0x140140fd8]
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 0x1400127c5
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 0x1400127df
call fcn.140125418
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400127ef
call fcn.140125418
nop
jmp 0x1400127f5
mov al, bl
mov rcx, qword [rsp + 0x1110]
xor rcx, rsp
call fcn.140119970
add rsp, 0x1120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret