Function at 0x1401f2860
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rbx, rdx
xor edx, edx
mov rsi, rcx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x29]
call fcn.1402577d0
mov rcx, qword [rbx]
sub rcx, 0x18
call fcn.1400026b0
cmp dword [rax + 0x10], 1
lea rbx, [rax + 0x18]
mov qword [rbp - 0x69], rbx
jle 0x1401f28b3
mov edx, dword [rbx - 0x10]
lea rcx, [rbp - 0x69]
call fcn.140002860
mov rbx, qword [rbp - 0x69]
xor edi, edi
lea rax, [rbp - 0x41]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x29]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov rdx, rbx
xor ecx, ecx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1401f2aaf
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x41]
mov edx, 0x8000
mov qword [rsi], rcx
mov dword [rbp + 0x6f], edi
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov rcx, qword [rsi]
mov edx, 0xdbba0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1401f2a03
mov rax, qword [0x14042f270]
lea rcx, [0x14042f270]
mov dword [rbp + 0x77], edi
call qword [rax + 0x18]
lea rdx, str.waiting_time_for_7za.exe_has_exceeded_its_limit
add rax, 0x18
mov qword [rbp - 0x61], rax
test rdx, 0xffffffffffff0000
jne 0x1401f297c
movzx ebx, dx
xor edx, edx
mov ecx, ebx
call fcn.140001440
test rax, rax
je 0x1401f298b
lea rcx, [rbp - 0x61]
mov r8d, ebx
mov rdx, rax
call fcn.140002960
jmp 0x1401f298b
lea rcx, [rbp - 0x61]
mov r8d, 0x2f
call fcn.140002560
call fcn.1401f0280
mov rbx, rax
lea rcx, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 8]
lea r8, [rbp - 0x61]
mov rcx, qword [rcx]
lea rdx, [rbp + 0x77]
call fcn.1401a7260
lea rcx, [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdx, qword [rbp - 0x61]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401f29dc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsi]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdx, qword [rbp - 0x69]
add rdx, 0xffffffffffffffe8
jmp 0x1401f2b3d
mov rcx, qword [rbp - 0x41]
lea rdx, [rbp + 0x6f]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsi]
test rcx, rcx
je 0x1401f2a22
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi], rdi
cmp dword [rbp + 0x6f], edi
jne 0x1401f2a49
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x1401f2a42
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov al, 1
jmp 0x1401f2b53
mov rax, qword [0x14042f270]
lea rcx, [0x14042f270]
call qword [rax + 0x18]
mov r8d, dword [rbp + 0x6f]
lea rdx, str.7za.exe:_exit_code:__i
add rax, 0x18
lea rcx, [rbp - 0x59]
mov qword [rbp - 0x59], rax
call fcn.14001bdb0
mov dword [rbp + 0x7f], edi
call fcn.1401f0280
mov rbx, rax
lea rcx, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 8]
lea r8, [rbp - 0x59]
mov rcx, qword [rcx]
lea rdx, [rbp + 0x7f]
call fcn.1401a7260
lea rcx, [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdx, qword [rbp - 0x59]
jmp 0x1401f2b18
mov rax, qword [0x14042f270]
lea rcx, [0x14042f270]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x51], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.7z_CreateProcess_FAILED._last_error__i
lea rcx, [rbp - 0x51]
mov r8d, eax
call fcn.14001bdb0
mov dword [rbp - 0x49], edi
call fcn.1401f0280
lea rcx, [rax + 0x28]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 8]
lea r8, [rbp - 0x51]
mov rcx, qword [rcx]
lea rdx, [rbp - 0x49]
call fcn.1401a7260
lea rcx, [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdx, qword [rbp - 0x51]
or ebx, 0xffffffff
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401f2b35
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbp - 0x69]
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x1401f2b51
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
mov rbx, qword [rsp + 0x120]
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret