Function at 0x14000ce34
Capabilities:
Create process on windows
Get common file path

Disassembly:
push r12
push r13
push r14
mov eax, 0x5590
call fcn.1400fc480
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x55b8], rbx
mov qword [rsp + 0x55c0], rsi
mov qword [rsp + 0x55c8], rdi
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0x5580], rax
mov r14b, dl
mov sil, cl
mov r12d, 1
mov r8b, r12b
mov r13d, 0x800
mov edx, r13d
lea rcx, [rsp + 0x180]
call fcn.14007f90c
mov edx, r13d
lea rcx, [rsp + 0x180]
call fcn.14007ea30
mov r8d, r13d
lea rdx, str.Settings.reg
lea rcx, [rsp + 0x180]
call fcn.140096270
mov r8d, r13d
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x4580]
call fcn.140096298
test sil, sil
je 0x14000cefb
mov r8d, r12d
lea rdx, str.ExportedSettings
lea rcx, [0x14011bd58]
call fcn.1400a84e8
jmp 0x14000cf4f
mov byte [rsp + 0x20], 0
mov r9b, r12b
mov r8, r13
lea rdx, [rsp + 0x180]
lea rcx, str.Settings.reg
call fcn.14007f6f0
lea rcx, [rsp + 0x180]
call fcn.14006f794
test al, al
jne 0x14000cf4f
test r14b, r14b
je 0x14000cf37
xor al, al
jmp 0x14000d2f9
mov r8, r13
lea rdx, [rsp + 0x4580]
lea rcx, [rsp + 0x180]
call fcn.140096298
test r14b, r14b
jne 0x14000cf8d
mov al, sil
neg al
sbb ecx, ecx
add ecx, 0x5b5
call fcn.1400901c8
mov rdx, rax
mov byte [rsp + 0x20], sil
lea r9, str..reg
lea r8, [rsp + 0x180]
mov rcx, qword [0x140166d18]
call fcn.1400096a0
test al, al
je 0x14000cf30
test sil, sil
jne 0x14000d0d4
lea rcx, [rsp + 0xc0]
call fcn.1400962cc
nop
mov byte [rsp + 0x38], sil
mov byte [rsp + 0x30], sil
mov byte [rsp + 0x28], sil
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x180]
call fcn.14007077c
test al, al
jne 0x14000d000
lea rdx, [rsp + 0x180]
lea rcx, [0x14019bd38]
call fcn.140069630
nop
lea rcx, [rsp + 0xc0]
call fcn.140004acc
xor al, al
jmp 0x14000d2f9
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xc0]
call fcn.140096394
test al, al
je 0x14000d0a6
mov rcx, qword [rsp + 0x40]
cmp word [rcx], 0x5b
jne 0x14000d0a1
mov r8d, 0x22
lea rdx, str._HKEY_CURRENT_USERSoftwareWinRAR
call fcn.140099480
mov rcx, qword [rsp + 0x40]
test eax, eax
jne 0x14000d053
movzx eax, word [rcx + 0x44]
sub ax, 0x5c
cmp ax, r12w
ja 0x14000d053
mov bl, r12b
jmp 0x14000d055
xor bl, bl
mov r8d, 0x23
lea rdx, str._HKEY_LOCAL_MACHINESoftwareWinRAR
call fcn.140099480
test eax, eax
jne 0x14000d083
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + 0x46]
sub cx, 0x5c
cmp cx, r12w
ja 0x14000d083
mov al, r12b
jmp 0x14000d085
xor al, al
test bl, bl
jne 0x14000d0a1
test al, al
jne 0x14000d0a1
lea rcx, [rsp + 0xc0]
call fcn.140004acc
xor al, al
jmp 0x14000d2f9
jmp 0x14000d000
lea rcx, [0x14011bd58]
call fcn.1400a70b0
nop
lea rcx, [rsp + 0xc0]
call fcn.140004acc
jmp 0x14000d0d4
lea rax, [rsp + 0x3580]
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor r8d, r8d
lea edx, [r8 + 0x24]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov r9, r13
lea r8, [rsp + 0x3580]
lea rdx, str.regedit.exe
lea rcx, [rsp + 0x3580]
call fcn.14007fe98
lea r9, [rsp + 0x180]
mov edi, 0x900
lea rcx, [rsp + 0x2380]
mov edx, edi
test sil, sil
lea r8, str._e___s__HKEY_CURRENT_USERSoftwareWinRAR
jne 0x14000d13c
lea r8, [0x14011d4b8]
call fcn.140002810
mov ebx, 0x70
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400fd700
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x54], 0x40
mov rax, qword [0x140166d18]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x3580]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x2380]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x80], r12d
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne bl
test bl, bl
je 0x14000d1c4
mov edx, 0x2710
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test sil, sil
je 0x14000d279
test bl, bl
je 0x14000d266
mov r8, r13
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x1180]
call fcn.140096298
mov rdx, r13
lea rcx, [rsp + 0x1180]
call fcn.14006fc68
test rax, rax
je 0x14000d266
lea r9, [rsp + 0x1180]
lea r8, str._e___s__HKEY_LOCAL_MACHINESoftwareWinRAR
mov rdx, rdi
lea rcx, [rsp + 0x2380]
call fcn.140002810
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14000d266
mov edx, 0x2710
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x1180]
lea rcx, [rsp + 0x180]
call fcn.14000e774
lea rdx, str.ExportedSettings
lea rcx, [0x14011bd58]
call fcn.1400a7328
test bl, bl
je 0x14000d2d8
test sil, sil
jne 0x14000d287
call fcn.14000cd5c
neg sil
sbb ecx, ecx
add ecx, 0x461
call fcn.1400901c8
mov r8, rax
lea r9, [rsp + 0x180]
mov rdx, rdi
lea rcx, [rsp + 0x1180]
call fcn.140002810
mov ecx, 0x2fb
call fcn.1400901c8
mov r8, rax
xor r9d, r9d
lea rdx, [rsp + 0x1180]
mov rcx, qword [0x140166d18]
call fcn.1400d0120
jmp 0x14000d2f7
test r14b, r14b
jne 0x14000d2f7
mov ecx, 0x201
call fcn.1400901c8
mov rcx, rax
lea rdx, [rsp + 0x2380]
call fcn.1400d4974
mov al, bl
mov rcx, qword [rsp + 0x5580]
xor rcx, rsp
call fcn.1400fc4f0
lea r11, [rsp + 0x5590]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret