Function at 0x140001170
Capabilities:
Set current directory

Disassembly:
push rbx
sub rsp, 0xf00
mov dword [0x140022a80], 0
mov dword [0x140022b60], 0
lea rcx, str.EXITCODE
lea rdx, [0x14001a03e]
call qword [sym.imp.pbcore64.dll_SetVar]
lea rcx, str.TOTALEXTFILE
lea rdx, [0x14001a03e]
call qword [sym.imp.pbcore64.dll_SetVar]
lea rcx, str.NEEDREBOOT
lea rdx, [0x14001a03e]
call qword [sym.imp.pbcore64.dll_SetVar]
lea rcx, str.SILENT
lea rdx, [0x14001a03e]
call qword [sym.imp.pbcore64.dll_SetVar]
lea rcx, str.ARCFILEVER
lea rdx, [0x140019fda]
call qword [sym.imp.pbcore64.dll_SetVar]
lea rcx, str.ARCPRODVER
lea rdx, [0x140019fda]
call qword [sym.imp.pbcore64.dll_SetVar]
lea rcx, str.USERPROFILE
lea rdx, str.USERPROFILE
call fcn.140015370
lea rcx, str.SELLANG
mov rdx, qword [str.English]
call qword [sym.imp.pbcore64.dll_SetVar]
movzx ecx, word [0x14001d010]
lea rdx, [rsp + 0xeb6]
mov r8d, 0xa
call fcn.14000c800
lea rcx, str.PBLANGID
lea rdx, [rsp + 0xeb6]
call qword [sym.imp.pbcore64.dll_SetVar]
lea rcx, str.DESTPATH
lea rdx, [0x140019f76]
call qword [sym.imp.pbcore64.dll_SetVar]
lea rcx, str.VCOMPMAIN
lea rdx, [0x140019f5e]
call qword [sym.imp.pbcore64.dll_SetVar]
mov rax, qword [0x140022aa0]
cmp qword [0x140022ac0], rax
jne 0x140001438
mov byte [0x140022b40], 0
lea rcx, str.DESTPATH
lea rdx, str._MYDOCDIR_
call qword [sym.imp.pbcore64.dll_SetVar]
lea rcx, [rsp + 0xc6c]
call fcn.140015d30
test al, al
je 0x14000145f
lea rcx, str.DESTPATH
lea rdx, [rsp + 0xc6c]
call qword [sym.imp.pbcore64.dll_SetVar]
lea rcx, str._SILENT_
call qword [sym.imp.pbcore64.dll_EvalVar]
mov rdx, rax
lea r8, [0x140019ef0]
xor ecx, ecx
mov ax, word [rdx + rcx]
cmp ax, word [r8 + rcx]
jne 0x14000130c
add rcx, 2
test ax, ax
jne 0x1400012f4
xor eax, eax
jmp 0x140001311
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete bl
lea rcx, str.PBEXTTEXT
lea rdx, str.Extracting
call qword [sym.imp.pbcore64.dll_SetVar]
lea rcx, str.PBEXTHC
lea rdx, [0x140019f5e]
call qword [sym.imp.pbcore64.dll_SetVar]
lea rcx, str._DESTPATH_
lea rdx, [rsp + 0x650]
mov r8d, 0x61c
call qword [sym.imp.pbcore64.dll_EvalVarBuf]
mov eax, dword [0x140022ae0]
add eax, 0x12
mov dword [rsp + 0x30], eax
lea rax, [0x1400010e0]
mov qword [rsp + 0x28], rax
lea rax, section..text
mov qword [rsp + 0x20], rax
lea rcx, [0x1400231e0]
lea rdx, [rsp + 0x650]
lea r8, [rsp + 0x30]
mov r9b, bl
call fcn.140002000
mov ebx, eax
mov ecx, dword [0x140022a80]
lea rdx, [rsp + 0xe74]
mov r8d, 0xa
call fcn.14000c800
lea rcx, str.TOTALEXTFILE
lea rdx, [rsp + 0xe74]
call qword [sym.imp.pbcore64.dll_SetVar]
cmp byte [0x140022840], 0
jne 0x140001521
test ebx, ebx
je 0x14000148e
mov ecx, ebx
lea rdx, [rsp + 0x60e]
mov r8d, 0xa
call fcn.14000c800
lea rcx, str.PBEXTERR
lea rdx, [rsp + 0x60e]
call qword [sym.imp.pbcore64.dll_SetVar]
lea rcx, str.ErrorUnpacking__PBEXTERR_
call qword [sym.imp.pbcore64.dll_EvalVar]
mov rdx, rax
xor ecx, ecx
lea r8, [0x140022860]
mov r9d, InitCommonControls
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
jmp 0x140001526
lea rcx, str.CorruptedPack
call qword [sym.imp.pbcore64.dll_EvalVar]
mov rdx, rax
xor ecx, ecx
lea r8, [0x140022860]
mov r9d, InitCommonControls
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140001484
lea rcx, str.ErrorDestFolder
call qword [sym.imp.pbcore64.dll_EvalVar]
mov rdx, rax
xor ecx, ecx
lea r8, [0x140022860]
mov r9d, InitCommonControls
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 3
jmp 0x140001526
lea rax, str.PBSETUPEXITCODE
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0
lea rcx, str._DESTPATH__s0fs.bat
lea rdx, [0x140019f76]
lea r8, [0x140019f76]
mov r9b, 1
call qword [sym.imp.pbcore64.dll_ExecuteProgram]
lea rcx, [0x140023800]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, str._DESTPATH__
call qword [sym.imp.pbcore64.dll_EvalVar]
mov rcx, rax
call fcn.140001550
lea rcx, str._DESTPATH__
lea rdx, [rsp + 0x34]
mov r8d, 0x61c
call qword [sym.imp.pbcore64.dll_EvalVarBuf]
lea rcx, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, str._EXITCODE_
call qword [sym.imp.pbcore64.dll_EvalVar]
mov rcx, rax
xor edx, edx
mov r8d, 0xa
call fcn.14000c8f0
jmp 0x140001526
mov eax, 2
add rsp, 0xf00
pop rbx
ret