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

Disassembly:
push r12
push r13
push r14
mov eax, 0x5590
call fcn.140100e60
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 [0x140191630]
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.14008053c
mov edx, r13d
lea rcx, [rsp + 0x180]
call fcn.14007f660
mov r8d, r13d
lea rdx, str.Settings.reg
lea rcx, [rsp + 0x180]
call fcn.140096d58
mov r8d, r13d
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x4580]
call fcn.140096d80
test sil, sil
je 0x14000d57f
mov r8d, r12d
lea rdx, str.ExportedSettings
lea rcx, [0x1401413c8]
call fcn.1400a9118
jmp 0x14000d5d3
mov byte [rsp + 0x20], 0
mov r9b, r12b
mov r8, r13
lea rdx, [rsp + 0x180]
lea rcx, str.Settings.reg
call fcn.140080320
lea rcx, [rsp + 0x180]
call fcn.140070398
test al, al
jne 0x14000d5d3
test r14b, r14b
je 0x14000d5bb
xor al, al
jmp 0x14000d97d
mov r8, r13
lea rdx, [rsp + 0x4580]
lea rcx, [rsp + 0x180]
call fcn.140096d80
test r14b, r14b
jne 0x14000d611
mov al, sil
neg al
sbb ecx, ecx
add ecx, 0x5b5
call fcn.140090bf0
mov rdx, rax
mov byte [rsp + 0x20], sil
lea r9, str..reg
lea r8, [rsp + 0x180]
mov rcx, qword [0x14019a6f0]
call fcn.140009d90
test al, al
je 0x14000d5b4
test sil, sil
jne 0x14000d758
lea rcx, [rsp + 0xc0]
call fcn.140096db4
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.140071380
test al, al
jne 0x14000d684
lea rdx, [rsp + 0x180]
lea rcx, [0x1401d4778]
call fcn.140069e10
nop
lea rcx, [rsp + 0xc0]
call fcn.140004e58
xor al, al
jmp 0x14000d97d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xc0]
call fcn.140096e7c
test al, al
je 0x14000d72a
mov rcx, qword [rsp + 0x40]
cmp word [rcx], 0x5b
jne 0x14000d725
mov r8d, 0x22
lea rdx, str._HKEY_CURRENT_USERSoftwareWinRAR
call fcn.140099f78
mov rcx, qword [rsp + 0x40]
test eax, eax
jne 0x14000d6d7
movzx eax, word [rcx + 0x44]
sub ax, 0x5c
cmp ax, r12w
ja 0x14000d6d7
mov bl, r12b
jmp 0x14000d6d9
xor bl, bl
mov r8d, 0x23
lea rdx, str._HKEY_LOCAL_MACHINESoftwareWinRAR
call fcn.140099f78
test eax, eax
jne 0x14000d707
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + 0x46]
sub cx, 0x5c
cmp cx, r12w
ja 0x14000d707
mov al, r12b
jmp 0x14000d709
xor al, al
test bl, bl
jne 0x14000d725
test al, al
jne 0x14000d725
lea rcx, [rsp + 0xc0]
call fcn.140004e58
xor al, al
jmp 0x14000d97d
jmp 0x14000d684
lea rcx, [0x1401413c8]
call fcn.1400a7ce0
nop
lea rcx, [rsp + 0xc0]
call fcn.140004e58
jmp 0x14000d758
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.140080ac8
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 0x14000d7c0
lea r8, [0x140142b88]
call fcn.140002910
mov ebx, 0x70
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1401203b0
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x54], 0x40
mov rax, qword [0x14019a6f0]
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 0x14000d848
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 0x14000d8fd
test bl, bl
je 0x14000d8ea
mov r8, r13
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x1180]
call fcn.140096d80
mov rdx, r13
lea rcx, [rsp + 0x1180]
call fcn.14007086c
test rax, rax
je 0x14000d8ea
lea r9, [rsp + 0x1180]
lea r8, str._e___s__HKEY_LOCAL_MACHINESoftwareWinRAR
mov rdx, rdi
lea rcx, [rsp + 0x2380]
call fcn.140002910
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14000d8ea
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.14000edf4
lea rdx, str.ExportedSettings
lea rcx, [0x1401413c8]
call fcn.1400a7f58
test bl, bl
je 0x14000d95c
test sil, sil
jne 0x14000d90b
call fcn.14000d3e0
neg sil
sbb ecx, ecx
add ecx, 0x461
call fcn.140090bf0
mov r8, rax
lea r9, [rsp + 0x180]
mov rdx, rdi
lea rcx, [rsp + 0x1180]
call fcn.140002910
mov ecx, 0x2fb
call fcn.140090bf0
mov r8, rax
xor r9d, r9d
lea rdx, [rsp + 0x1180]
mov rcx, qword [0x14019a6f0]
call fcn.1400d1204
jmp 0x14000d97b
test r14b, r14b
jne 0x14000d97b
mov ecx, 0x201
call fcn.140090bf0
mov rcx, rax
lea rdx, [rsp + 0x2380]
call fcn.1400d5c14
mov al, bl
mov rcx, qword [rsp + 0x5580]
xor rcx, rsp
call fcn.140100ed0
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