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

Disassembly:
push r12
push r13
push r14
mov eax, 0x5590
call fcn.1400f31b0
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 [0x1401542d0]
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.140079178
mov edx, r13d
lea rcx, [rsp + 0x180]
call fcn.1400782a4
mov r8d, r13d
lea rdx, str.Settings.reg
lea rcx, [rsp + 0x180]
call fcn.14008efc8
mov r8d, r13d
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x4580]
call fcn.14008eff0
test sil, sil
je 0x14000b027
mov r8d, r12d
lea rdx, str.ExportedSettings
lea rcx, [0x140111128]
call fcn.1400a11c0
jmp 0x14000b07b
mov byte [rsp + 0x20], 0
mov r9b, r12b
mov r8, r13
lea rdx, [rsp + 0x180]
lea rcx, str.Settings.reg
call fcn.140078f5c
lea rcx, [rsp + 0x180]
call fcn.140069278
test al, al
jne 0x14000b07b
test r14b, r14b
je 0x14000b063
xor al, al
jmp 0x14000b425
mov r8, r13
lea rdx, [rsp + 0x4580]
lea rcx, [rsp + 0x180]
call fcn.14008eff0
test r14b, r14b
jne 0x14000b0b9
mov al, sil
neg al
sbb ecx, ecx
add ecx, 0x5b5
call fcn.140088ebc
mov rdx, rax
mov byte [rsp + 0x20], sil
lea r9, str..reg
lea r8, [rsp + 0x180]
mov rcx, qword [0x14015bc78]
call fcn.1400077b0
test al, al
je 0x14000b05c
test sil, sil
jne 0x14000b200
lea rcx, [rsp + 0xc0]
call fcn.14008f024
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.14006a264
test al, al
jne 0x14000b12c
lea rdx, [rsp + 0x180]
lea rcx, [0x14018fe18]
call fcn.1400632bc
nop
lea rcx, [rsp + 0xc0]
call fcn.140004118
xor al, al
jmp 0x14000b425
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xc0]
call fcn.14008f0ec
test al, al
je 0x14000b1d2
mov rcx, qword [rsp + 0x40]
cmp word [rcx], 0x5b
jne 0x14000b1cd
mov r8d, 0x22
lea rdx, str._HKEY_CURRENT_USERSoftwareWinRAR
call fcn.14009211c
mov rcx, qword [rsp + 0x40]
test eax, eax
jne 0x14000b17f
movzx eax, word [rcx + 0x44]
sub ax, 0x5c
cmp ax, r12w
ja 0x14000b17f
mov bl, r12b
jmp 0x14000b181
xor bl, bl
mov r8d, 0x23
lea rdx, str._HKEY_LOCAL_MACHINESoftwareWinRAR
call fcn.14009211c
test eax, eax
jne 0x14000b1af
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + 0x46]
sub cx, 0x5c
cmp cx, r12w
ja 0x14000b1af
mov al, r12b
jmp 0x14000b1b1
xor al, al
test bl, bl
jne 0x14000b1cd
test al, al
jne 0x14000b1cd
lea rcx, [rsp + 0xc0]
call fcn.140004118
xor al, al
jmp 0x14000b425
jmp 0x14000b12c
lea rcx, [0x140111128]
call fcn.14009fd5c
nop
lea rcx, [rsp + 0xc0]
call fcn.140004118
jmp 0x14000b200
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.140079704
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 0x14000b268
lea r8, [0x1401124b8]
call fcn.140002694
mov ebx, 0x70
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400f4420
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x54], 0x40
mov rax, qword [0x14015bc78]
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 0x14000b2f0
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 0x14000b3a5
test bl, bl
je 0x14000b392
mov r8, r13
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x1180]
call fcn.14008eff0
mov rdx, r13
lea rcx, [rsp + 0x1180]
call fcn.140069750
test rax, rax
je 0x14000b392
lea r9, [rsp + 0x1180]
lea r8, str._e___s__HKEY_LOCAL_MACHINESoftwareWinRAR
mov rdx, rdi
lea rcx, [rsp + 0x2380]
call fcn.140002694
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14000b392
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.14000c7d8
lea rdx, str.ExportedSettings
lea rcx, [0x140111128]
call fcn.14009ffd4
test bl, bl
je 0x14000b404
test sil, sil
jne 0x14000b3b3
call fcn.14000ae88
neg sil
sbb ecx, ecx
add ecx, 0x461
call fcn.140088ebc
mov r8, rax
lea r9, [rsp + 0x180]
mov rdx, rdi
lea rcx, [rsp + 0x1180]
call fcn.140002694
mov ecx, 0x2fb
call fcn.140088ebc
mov r8, rax
xor r9d, r9d
lea rdx, [rsp + 0x1180]
mov rcx, qword [0x14015bc78]
call fcn.1400c81a0
jmp 0x14000b423
test r14b, r14b
jne 0x14000b423
mov ecx, 0x201
call fcn.140088ebc
mov rcx, rax
lea rdx, [rsp + 0x2380]
call fcn.1400cc528
mov al, bl
mov rcx, qword [rsp + 0x5580]
xor rcx, rsp
call fcn.1400f3220
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