Function at 0x140012980
Capabilities:
Create process on windows

Disassembly:
push r13
push r14
push r15
mov eax, 0x22d0
call fcn.1400fc460
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x22f0], rbx
mov qword [rsp + 0x22f8], rsi
mov qword [rsp + 0x2300], rdi
mov qword [rsp + 0x2308], r12
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0x22c0], rax
mov edi, 0x800
mov r8d, edi
lea rdx, [rsp + 0x2c0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov dword [rsp + 0x20], eax
lea r9, str.elevate
lea r8, str.__s_d
mov edx, reloc.SHELL32.dll_SHRestricted
lea rcx, [rsp + 0x1f0]
call fcn.140002810
mov dword [rsp + 0x80], 0x70
mov dword [rsp + 0x84], 0x40
xor r13d, r13d
mov qword [rsp + 0x88], r13
lea rax, str.runas
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0xa0], rax
lea rax, [0x14011c97c]
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0xb0], 1
mov qword [rsp + 0xb8], r13
lea rcx, [rsp + 0x38]
call fcn.140083fc0
nop
lea rdx, [rsp + 0x38]
lea rcx, [0x14017fe00]
call fcn.140012200
lea rdx, [rsp + 0x38]
lea rcx, [0x14017fec0]
call fcn.140012200
lea rdx, [rsp + 0x38]
lea rcx, [0x14017ff80]
call fcn.140012200
lea rdx, [rsp + 0x38]
lea rcx, [0x140180040]
call fcn.140012200
lea rdx, [rsp + 0x38]
lea rcx, [0x140180100]
call fcn.140012200
nop
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140084354
mov r15, rax
mov dword [rsp + 0x20], ebx
lea r9, str.winrar_map_
lea r8, str._s_d
mov rdx, rdi
lea rcx, [rsp + 0x12c0]
call fcn.140002810
lea ecx, [r15 + 0xc950]
lea rax, [rsp + 0x12c0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor edx, edx
mov r8d, 0x8000004
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r14, rax
test rax, rax
jne 0x140012b50
jmp 0x140012d20
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 2]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
mov ecx, 0xc950
call fcn.1400fc0e8
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140012b8e
lea rcx, [rax + 0x10]
call fcn.140062378
nop
jmp 0x140012b91
mov rdi, r13
mov byte [rdi], r13b
mov dword [rdi + 4], r15d
mov rax, qword [0x140166d18]
mov qword [rdi + 8], rax
lea rdx, [0x140173880]
lea rcx, [rdi + 0x10]
call fcn.140010d04
mov ebx, 0x80
mov r8d, ebx
lea rdx, [rsp + 0xf0]
lea rcx, [0x1401788b0]
call fcn.140093544
mov byte [rdi + 0x5141], 1
lea rcx, [rdi + 0x5040]
lea rdx, [rsp + 0xf0]
call fcn.1400937d8
mov edx, 0x100
lea rcx, [rsp + 0xf0]
call fcn.140093830
mov rax, rsi
mov rcx, rdi
mov edx, 0x192
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
add rax, rbx
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
add rcx, rbx
sub rdx, 1
jne 0x140012c07
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
lea rcx, [rsp + 0x38]
call fcn.1400840a4
mov rdx, rax
lea rcx, [rsi + 0xc950]
mov r8d, r15d
call fcn.1400fd890
lea rcx, [rsp + 0x80]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140012ce2
mov edx, 0x2710
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov ebx, r13d
cmp byte [rsi], r13b
jne 0x140012cd2
mov ecx, reloc.SHELL32.dll_SHRestricted
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x64
jl 0x140012cbb
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140012ce9
mov byte [0x140167dc4], 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], rdi
lea rcx, [rdi + 0x10]
call fcn.140010c2c
mov edx, 0xc950
mov rcx, rdi
call fcn.1400fc57c
mov word [0x14017689e], r13w
jmp 0x140012d20
lea rcx, [rsp + 0x38]
call fcn.140004abc
mov rcx, qword [rsp + 0x22c0]
xor rcx, rsp
call fcn.1400fc4d0
lea r11, [rsp + 0x22d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret