Function at 0x140007b3c
Capabilities:
Accept command line arguments
Check if file exists
Check os version
Get file attributes
Log keystrokes via polling
Set current directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
lea rcx, [0x1400073f4]
call qword [sym.imp.msvcrt.dll_int____cdecl___unsigned_long_long_unsigned___int64_____cdecl__set_new_handler_int____cdecl___unsigned_long_long_unsigned___int64___]
call fcn.140004358
lea rcx, [rbp + 0xa0]
mov dword [rbp + 0xa0], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor edi, edi
test eax, eax
je 0x140008d50
lea r15d, [rdi + 2]
cmp dword [rbp + 0xb0], r15d
jne 0x140008d50
cmp dword [rbp + 0xa4], 5
jb 0x140008d50
lea rcx, [rsp + 0x78]
mov byte [str.___InstallEnd__], 0x3b
mov byte [str.___Install__UTF_8_], 0x3b
call fcn.140014e4c
lea rcx, [rbp - 8]
call fcn.140014e4c
lea rcx, [rbp - 0x38]
call fcn.140014e4c
call fcn.140006acc
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.1400037e8
lea rcx, [rbp - 0x38]
mov rdx, rax
call fcn.140014f1c
lea rcx, [rbp - 0x38]
call fcn.140005650
mov rsi, qword [rbp - 0x38]
lea r14d, [rdi + 1]
lea rdx, [0x140021378]
lea rcx, str.SfxVarModulePlatform
mov r8d, r14d
call fcn.140006400
call fcn.140004c68
lea rcx, str.SfxVarSystemPlatform
mov rdx, rax
mov r8d, r14d
call fcn.140006400
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, str.SfxVarCmdLine0
mov rdx, rax
mov r8d, r14d
call fcn.140006400
movzx ebx, word [0x140027ae8]
lea r13d, [rdi + 0x20]
lea rcx, [rsp + 0x78]
mov edx, r13d
call fcn.140005074
lea rdx, [0x140022534]
mov r8d, ebx
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rsp + 0x78]
mov r11d, edi
cmp word [rcx], di
je 0x140007c9d
mov rax, rcx
add rax, r15
add r11d, r14d
cmp word [rax], di
jne 0x140007c92
mov eax, r11d
mov dword [rbp - 0x80], r11d
mov r8d, r14d
mov word [rcx + rax*2], di
mov rdx, qword [rsp + 0x78]
lea rcx, str.SfxVarSystemLanguage
call fcn.140006400
lea rdx, str.sfxlang
mov rcx, rsi
call fcn.140006e64
test rax, rax
je 0x140007d04
cmp word [rax], 0x3a
jne 0x140007d04
lea rcx, [rax + 2]
call qword [sym.imp.msvcrt.dll__wtol]
movzx edx, word [0x140027ae8]
lea ecx, [rax - 1]
cmp ecx, 0xfffe
cmovbe dx, ax
mov word [0x140027ae8], dx
add rsi, r15
cmp word [rsi], r13w
ja 0x140007cfb
lea rdx, str.sfxversion
mov rcx, rsi
call fcn.140006e64
test rax, rax
je 0x140007d22
call fcn.14000761c
jmp 0x140008b3c
lea rdx, str.sfxwaitall
mov rcx, rsi
call fcn.140006e64
test rax, rax
je 0x140007d45
mov rcx, rax
call fcn.1400023a0
mov edi, eax
jmp 0x140008b3c
lea rdx, str.sfxelevation
mov rcx, rsi
mov r12b, dil
call fcn.140006e64
test rax, rax
je 0x140007d62
mov r12b, r14b
mov rsi, rax
mov ebx, 0x208
lea rcx, [0x140027c90]
mov edx, ebx
call fcn.140005074
mov r8d, ebx
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140007d9a
lea edx, [rax + 6]
mov ecx, r14d
call fcn.14000c414
mov edi, r14d
jmp 0x140008b3c
mov rdx, qword [0x140027c90]
mov eax, edi
cmp word [rdx], di
je 0x140007db6
mov rcx, rdx
add rcx, r15
add eax, r14d
cmp word [rcx], di
jne 0x140007dab
mov dword [0x140027c98], eax
mov word [rdx + rax*2], di
lea rdx, str.sfxtest
mov rcx, rsi
call fcn.140006e64
mov r8d, 0x61
mov rbx, rax
test rax, rax
je 0x140007fab
cmp word [rax], 0x3a
je 0x140007df1
mov edi, 0x64
jmp 0x140008b3c
movzx edx, word [rax + 2]
mov ecx, edx
or ecx, r13d
sub ecx, r8d
je 0x140007f34
sub ecx, r15d
je 0x140007f1c
dec ecx
je 0x140007e73
sub ecx, 0xb
je 0x140007e24
cmp ecx, 7
jne 0x140007de7
mov edi, 0x4f3d
jmp 0x140008b3c
cmp word [rax + 4], 0x3a
jne 0x140008b3c
movzx ecx, word [rax + 6]
sub ecx, 0x31
je 0x140007d92
dec ecx
je 0x140007e69
dec ecx
je 0x140007e5f
dec ecx
je 0x140007e55
dec ecx
jne 0x140008b3c
jmp 0x140008b37
mov edi, 0x3fff
jmp 0x140008b3c
mov edi, 0x1f
jmp 0x140008b3c
mov edi, 0x597
jmp 0x140008b3c
cmp edx, 0x44
jne 0x140007ede
cmp word [rax + 4], 0x3a
jne 0x140007de7
mov edx, dword [0x140027d48]
add rbx, 6
movzx esi, word [rbx]
cmp si, r13w
jbe 0x140007ed5
cmp si, 0x3a
je 0x140007ed5
cmp dword [0x140027d4c], edx
jne 0x140007eb6
lea rcx, [0x140027d40]
call fcn.140014ba0
mov edx, dword [0x140027d48]
mov rcx, qword [0x140027d40]
mov eax, edx
add edx, r14d
mov word [rcx + rax*2], si
mov word [rcx + rdx*2], di
mov dword [0x140027d48], edx
add rbx, r15
jmp 0x140007e8d
test edx, edx
jne 0x140007ee2
jmp 0x140007de7
add rbx, 4
mov dword [0x140027d38], edi
cmp word [rbx], 0x3a
jne 0x140007f09
lea rcx, [rbx + 2]
call qword [sym.imp.msvcrt.dll__wtol]
mov dword [0x140027d38], eax
cmp eax, 0xe10
ja 0x140007f09
test eax, eax
jne 0x140007f13
mov dword [0x140027d38], 0xa
mov dword [0x140027d3c], r14d
jmp 0x140007f40
movzx eax, word [rax + 4]
sub ax, 0x63
neg ax
sbb eax, eax
add eax, 4
mov dword [0x140027d3c], eax
jmp 0x140007f40
mov dword [0x140027d3c], r15d
jmp 0x140007f40
add rbx, r15
cmp word [rbx], r13w
ja 0x140007f3d
lea rdx, str.sfxconfig
mov rcx, rbx
mov rsi, rbx
call fcn.140006e64
mov rcx, rax
test rax, rax
je 0x140007fab
cmp word [rax], 0x3a
jne 0x140007f71
jmp 0x140007f6e
cmp ax, r13w
ja 0x140007f79
add rcx, r15
movzx eax, word [rcx]
test ax, ax
jne 0x140007f68
mov rax, qword [rsp + 0x78]
mov dword [rbp - 0x80], edi
lea rdx, [rsp + 0x78]
mov word [rax], di
call fcn.1400037e8
cmp dword [0x140027d3c], r15d
mov rsi, rax
je 0x140007fab
lea rdx, [rsp + 0x78]
lea rcx, [0x140027c90]
call fcn.140014fac
lea rdx, [0x140027c90]
lea rcx, [0x140027b88]
call fcn.140014fac
lea rdx, [0x140027c90]
lea rcx, [0x140027ba8]
call fcn.140014fac
lea rcx, [0x140027c90]
call fcn.140004320
test eax, eax
js 0x14000809d
mov rcx, qword [0x140027b88]
mov edx, eax
mov dword [0x140027b90], eax
mov word [rcx + rdx*2], di
movsxd rbx, eax
mov rax, qword [0x140027c90]
lea rdx, [rax + rbx*2 + 2]
lea rcx, [0x140027ba8]
call fcn.140014f1c
mov r11, qword [0x140027c90]
lea rdx, [r11 + rbx*2 + 2]
lea rbx, [0x140027cd0]
mov rcx, rbx
call fcn.140014f1c
mov edx, 0x2e
mov rcx, rbx
call fcn.140015244
test eax, eax
jle 0x140008052
mov dword [0x140027cd8], eax
mov ecx, eax
mov rax, qword [0x140027cd0]
mov word [rax + rcx*2], di
lea rcx, [0x140027cb0]
mov rdx, rbx
call fcn.140014fac
mov ecx, 4
call fcn.140004a00
lea rcx, [0x140027cb0]
mov rdx, rax
call fcn.140015030
mov r11, qword [0x140027cd0]
mov rax, qword [0x140027cb0]
mov qword [0x140027af0], r11
mov qword [0x140027b40], rax
mov qword [0x140027b48], r11
call fcn.140004c68
lea rcx, [0x140027ca0]
mov rdx, rax
call fcn.140014f1c
mov rdx, qword [0x140027c90]
lea rcx, [0x140027bc0]
call fcn.140001304
test al, al
jne 0x1400080e4
mov r8, qword [0x140027c90]
mov edx, 7
mov ecx, r14d
call fcn.14000c414
mov edi, r15d
jmp 0x140008b3c
lea rcx, [rsp + 0x48]
call fcn.14001481c
lea rcx, [0x140027b98]
call fcn.14000797c
mov rcx, qword [0x140027bc8]
lea r8, [rsp + 0x48]
xor edx, edx
call fcn.1400069c8
mov ebx, eax
test eax, eax
je 0x140008124
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov edi, ebx
jmp 0x140008b3c
mov eax, dword [0x140027d3c]
test eax, eax
jne 0x1400081ac
lea rdx, str.sfxconfig
mov rcx, rsi
call fcn.140006e64
test rax, rax
je 0x1400081a6
cmp word [rax], 0x3a
jne 0x14000814b
add rax, r15
movzx ecx, word [rax]
test cx, cx
je 0x1400083e0
cmp cx, r13w
ja 0x140008168
add rax, r15
movzx ecx, word [rax]
test cx, cx
jne 0x140008157
cmp word [rax], di
je 0x1400083e0
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400079ec
test al, al
jne 0x1400083e0
mov edx, 0xa
xor ecx, ecx
call fcn.14000c414
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov edi, 4
jmp 0x140008b3c
mov eax, dword [0x140027d3c]
cmp eax, 4
je 0x1400083e0
mov eax, dword [0x140027190]
lea rbx, [0x140027190]
jmp 0x1400081f3
lea rdx, str.SfxString_d
lea rcx, [rbp + 0x20]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [rbx]
call fcn.140004a00
lea rcx, [rbp + 0x20]
xor r8d, r8d
mov rdx, rax
call fcn.140006400
add rbx, r13
mov eax, dword [rbx]
test eax, eax
jne 0x1400081c4
lea rdx, [0x1400210f8]
lea rcx, [0x140027be8]
call fcn.140014f1c
lea rcx, [0x140027be8]
mov rdx, rsi
call fcn.140015030
call fcn.1400018e4
mov r13, rax
test rax, rax
jne 0x140008239
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
lea edi, [r13 + 0x20]
jmp 0x140008b3c
call fcn.140006f10
lea rcx, [0x140027bc0]
call fcn.140001350
lea rcx, [0x140027b98]
call fcn.14000797c
mov rcx, qword [0x140027bc8]
xor r8d, r8d
xor edx, edx
call fcn.1400069c8
call fcn.140006f10
lea rcx, [0x140027bc0]
call fcn.1400013e0
call fcn.1400018e4
call fcn.140006f10
test r12b, r12b
jne 0x1400083ef
test byte [0x140027b60], 4
je 0x1400083ef
call fcn.140004c8c
test eax, eax
jne 0x1400083ef
lea rcx, [rbp - 0x68]
call fcn.140014e4c
lea rcx, [rbp - 0x28]
call fcn.140014e4c
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.1400037e8
lea rcx, [rsp + 0x68]
mov rdx, rax
call fcn.140014e84
lea r8, [rbp - 0x68]
lea rdx, [0x140021010]
lea rcx, [rbp - 0x48]
call fcn.140014e08
lea r8, [0x1400210f0]
lea rcx, [rbp - 0x18]
mov rdx, rax
call fcn.140014dc4
lea r8, str.sfxelevation
lea rcx, [rbp + 8]
mov rdx, rax
call fcn.140014dc4
lea rcx, [rbp - 0x58]
mov r8d, 0x20
mov rdx, rax
call fcn.140014cb4
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x58]
call fcn.140014d98
lea rcx, [rbp - 0x28]
mov rdx, qword [rax]
call fcn.140014f1c
mov rcx, qword [rsp + 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp + 8]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x18]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
or rsi, 0xffffffffffffffff
mov r8, rsi
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov rcx, qword [rbp - 0x28]
xor r8d, r8d
mov edx, r15d
call fcn.140001f54
mov rcx, qword [rsp + 0x68]
test eax, eax
jne 0x1400083c9
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x28]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x68]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
lea edi, [rsi + 0xc]
jmp 0x140008b3c
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x28]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x68]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x140008b3c
mov dword [rsp + 0x40], edi
jmp 0x140008447
lea rcx, [rsp + 0x58]
mov rdx, rbx
call fcn.140014e84
mov rcx, qword [rsp + 0x58]
mov edx, 0x3d
call fcn.14001459c
mov rcx, qword [rsp + 0x58]
test eax, eax
jle 0x140008462
mov edx, eax
mov dword [rsp + 0x60], eax
cdqe
mov word [rcx + rdx*2], di
mov rcx, qword [rsp + 0x58]
lea rdx, [rbx + rax*2 + 2]
xor r8d, r8d
call fcn.140006400
mov rcx, qword [rsp + 0x58]
add dword [rsp + 0x40], r14d
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
lea rdx, [rsp + 0x40]
lea rcx, str.SetEnvironment
call fcn.1400063e8
mov rbx, rax
test rax, rax
jne 0x1400083f5
jmp 0x140008467
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
call fcn.140007778
mov r11d, dword [0x140027778]
or rsi, 0xffffffffffffffff
cmp r11d, esi
cmove r11d, edi
cmp byte [0x140027be3], dil
mov dword [0x140027778], r11d
je 0x1400084f5
lea rcx, str.HelpText
xor edx, edx
call fcn.1400063e8
mov rbx, rax
test rax, rax
jne 0x1400084af
lea ecx, [rsi + 0x19]
call fcn.140004a00
mov rbx, rax
lea rcx, [rbp + 0x20]
call fcn.140009544
mov r8, qword [0x140027af0]
lea r11, [0x1400221c0]
lea rcx, [rbp + 0x20]
mov r9, rbx
mov edx, reloc.COMCTL32.dll_InitCommonControls
mov qword [rbp + 0x20], r11
mov dword [rbp + 0x70], 0x7d6
mov qword [rsp + 0x20], rdi
call fcn.1400099ac
lea rcx, [rbp + 0x20]
call fcn.1400095c4
jmp 0x1400083e0
cmp byte [0x140027be1], dil
je 0x14000850a
btr r11d, 8
mov dword [0x140027778], r11d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rcx, str.InstallPath
xor edx, edx
call fcn.1400063e8
test rax, rax
je 0x14000853b
lea rcx, [0x140027ce0]
mov rdx, rax
call fcn.140014f1c
mov byte [0x140027b00], r14b
lea rcx, [0x140027ce0]
call fcn.140006c1c
lea rcx, str.BeginPromptTimeout
xor edx, edx
call fcn.1400063e8
test rax, rax
je 0x140008569
mov rcx, rax
call qword [sym.imp.msvcrt.dll__wtol]
mov dword [0x140027b6c], eax
cmp dword [0x140027d48], edi
je 0x14000857d
call fcn.14000cf30
mov edi, eax
jmp 0x1400083e0
cmp dword [0x140027d3c], 3
jne 0x14000858d
call fcn.14000ce20
jmp 0x140008576
lea rbx, [0x140021060]
lea rcx, str.SfxVarApiPath
xor r8d, r8d
mov rdx, rbx
call fcn.140006400
call fcn.140007778
lea rcx, str.ExecuteOnLoad
xor edx, edx
call fcn.1400063e8
test rax, rax
je 0x140008631
cmp byte [0x140027be2], dil
jne 0x140008631
lea rcx, [0x1400277e0]
call fcn.140009204
mov rdx, qword [0x1400277e8]
lea rcx, str.SfxVarApiPath
xor r8d, r8d
call fcn.140006400
call fcn.140007778
lea rcx, [rsp + 0x68]
mov rdx, rbx
call fcn.140014e84
lea rcx, [0x1400277e0]
call fcn.140009204
mov rdx, qword [0x1400277e8]
lea r9, [rsp + 0x68]
lea rcx, str.ExecuteOnLoad
mov r8, rbx
mov qword [rsp + 0x20], rbx
call fcn.1400027b4
mov rcx, qword [rsp + 0x68]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
lea rcx, [0x140027c18]
call fcn.14000a7b4
lea rcx, str.BeginPrompt
xor edx, edx
call fcn.1400063e8
test rax, rax
je 0x14000869e
cmp byte [0x140027be1], dil
jne 0x14000869e
mov rcx, qword [0x140027af0]
mov rdx, rax
call fcn.14000b348
test eax, eax
je 0x14000883b
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14000868e
mov word [0x140027be0], 0x101
cmp dword [0x140027d18], edi
je 0x14000869e
btr dword [0x140027778], 7
lea rcx, [rsp + 0x30]
call fcn.140014e4c
cmp byte [0x140027be0], dil
je 0x140008755
mov rbx, qword [0x140027bd8]
lea rdx, str.AutoInstall
lea rcx, [rsp + 0x30]
call fcn.140014f1c
mov edx, dword [rsp + 0x38]
movzx r12d, word [rbx]
cmp dword [rsp + 0x3c], edx
jne 0x1400086e9
lea rcx, [rsp + 0x30]
call fcn.140014ba0
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov eax, edx
add edx, r14d
mov word [rcx + rax*2], r12w
mov word [rcx + rdx*2], di
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x38], edx
xor edx, edx
call fcn.1400063e8
test rax, rax
je 0x140008807
add rbx, r15
cmp word [rbx], 0x30
jb 0x140008724
cmp word [rbx], 0x39
jbe 0x1400086bc
mov eax, 0x61
cmp word [rbx], ax
jb 0x140008734
cmp word [rbx], 0x7a
jbe 0x1400086bc
cmp word [rbx], 0x41
jb 0x140008744
cmp word [rbx], 0x5a
jbe 0x1400086bc
lea rdx, str.AutoInstall
lea rcx, [rsp + 0x30]
call fcn.140014f1c
mov r12b, dil
cmp dword [rsp + 0x38], edi
jne 0x1400087af
lea rcx, str.ExecuteFile
xor edx, edx
call fcn.1400063e8
test rax, rax
je 0x140008785
lea rdx, str.ExecuteFile
lea rcx, [rsp + 0x30]
call fcn.140014f1c
mov r12b, r14b
cmp dword [rsp + 0x38], edi
jne 0x1400087af
lea rcx, str.RunProgram
xor edx, edx
call fcn.1400063e8
test rax, rax
je 0x1400087af
lea rdx, str.RunProgram
lea rcx, [rsp + 0x30]
call fcn.140014f1c
cmp byte [0x140027be0], dil
jne 0x14000884f
cmp byte [0x140027be1], dil
jne 0x14000884f
mov eax, dword [0x140027778]
and eax, 0xc0
cmp al, 0x80
jne 0x14000884f
mov rdx, qword [0x140027b10]
mov rcx, qword [0x140027b28]
call fcn.14000b424
test eax, eax
jne 0x14000884f
cmp byte [0x140027b70], dil
mov rcx, qword [rsp + 0x30]
je 0x140008836
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x14000863d
mov r8, qword [rsp + 0x30]
mov edx, InitCommonControls
xor ecx, ecx
call fcn.14000c414
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov edi, 6
jmp 0x140008b3c
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov edi, 5
jmp 0x140008b3c
cmp dword [0x140027ce8], edi
jne 0x14000888b
lea rdx, str.7ZipSfx._03x
lea rcx, [rbp - 0x48]
call fcn.1400051a4
lea r15, [0x140027ce0]
mov rdx, rax
mov rcx, r15
call fcn.140014fac
mov rcx, qword [rbp - 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov byte [0x140027b00], dil
jmp 0x1400088c8
lea r15, [0x140027ce0]
lea rcx, [rbp - 0x68]
mov rdx, r15
call fcn.140014ee0
lea rcx, [rbp - 0x68]
call fcn.140006c1c
cmp dword [rbp - 0x60], edi
je 0x1400088b8
lea rdx, [rbp - 0x68]
mov rcx, r15
call fcn.140014fac
mov rcx, qword [rbp - 0x68]
mov byte [0x140027b00], r14b
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov ecx, dword [0x140027ce8]
mov rdx, qword [0x140027ce0]
dec ecx
cmp word [rdx + rcx*2], 0x5c
je 0x1400088e5
cmp word [rdx + rcx*2], 0x2f
jne 0x1400088ef
mov dword [0x140027ce8], ecx
mov word [rdx + rcx*2], di
cmp byte [0x140027be1], dil
je 0x1400088ff
or dword [0x140027b60], 3
lea rdx, str.PreExtract
lea rcx, [rbp - 0x78]
call fcn.140014e84
mov r11, qword [0x140027bd8]
mov edx, dword [rbp - 0x70]
movzx ebx, word [r11]
cmp dword [rbp - 0x6c], edx
jne 0x14000892e
lea rcx, [rbp - 0x78]
call fcn.140014ba0
mov edx, dword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov eax, edx
add edx, r14d
mov word [rcx + rax*2], bx
mov word [rcx + rdx*2], di
mov rcx, qword [rbp - 0x78]
mov dword [rbp - 0x70], edx
xor edx, edx
call fcn.1400063e8
test rax, rax
je 0x1400089db
cmp byte [0x140027be2], dil
jne 0x1400089db
lea rcx, [0x1400277e0]
call fcn.140009204
mov rdx, qword [0x1400277e8]
lea rcx, str.SfxVarApiPath
xor r8d, r8d
call fcn.140006400
call fcn.140007778
lea rdx, [0x140021060]
lea rcx, [rsp + 0x68]
call fcn.140014e84
mov rbx, qword [0x140027bd8]
lea rcx, [0x1400277e0]
call fcn.140009204
mov rdx, qword [0x1400277e8]
lea rax, [0x140021060]
lea r9, [rsp + 0x68]
lea rcx, str.PreExtract
mov r8, rbx
mov qword [rsp + 0x20], rax
call fcn.1400027b4
mov rcx, qword [rsp + 0x68]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
cmp dword [0x140027d38], edi
jne 0x1400089ed
mov rcx, r15
call fcn.1400033b0
jmp 0x1400089fb
call fcn.14000b4c0
test eax, eax
jne 0x140008a3b
mov eax, 0x80004005
test eax, eax
je 0x140008a3b
cmp byte [0x140027b00], dil
jne 0x140008a14
mov rcx, qword [0x140027ce0]
call fcn.140003d94
mov rcx, qword [rbp - 0x78]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov edi, 8
jmp 0x140008b3c
call fcn.140007778
cmp byte [0x140027be2], dil
je 0x140008a56
cmp byte [0x140027b00], dil
jne 0x140008c3b
lea rcx, [rsp + 0x58]
call fcn.140014e4c
lea rcx, [rbp - 0x58]
call fcn.140014e4c
cmp byte [0x140027be0], dil
jne 0x140008a7c
lea rcx, [rsp + 0x58]
call fcn.140001ec4
cmp dword [rsp + 0x38], edi
jne 0x140008b9d
cmp byte [0x140027b00], dil
jne 0x140008bbf
lea r8, [0x14002124c]
lea rcx, [rbp - 0x18]
mov rdx, r15
call fcn.140014dc4
lea r8, [0x140022440]
lea rcx, [rbp - 0x48]
mov rdx, rax
call fcn.140014dc4
lea rcx, [rbp - 0x58]
mov rdx, qword [rax]
call fcn.140014f1c
mov rcx, qword [rbp - 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x18]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140008b5f
cmp byte [0x140027b00], dil
jne 0x140008afb
mov rcx, qword [0x140027ce0]
call fcn.140003d94
mov edx, InitCommonControls
xor ecx, ecx
call fcn.14000c414
mov rcx, qword [rbp - 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x78]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov edi, 7
mov rcx, qword [rbp - 0x38]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 8]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x78]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov eax, edi
jmp 0x140008d71
mov rbx, qword [0x140027ce0]
lea rdx, [0x140022440]
lea rcx, [rsp + 0x68]
call fcn.140014e84
lea r9, [rsp + 0x58]
lea rcx, [rsp + 0x68]
mov r8b, r12b
mov rdx, rbx
mov qword [rsp + 0x20], r13
call fcn.140002414
mov rcx, qword [rsp + 0x68]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x140008bbf
mov r8, qword [0x140027bd8]
mov rdx, qword [0x140027ce0]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r13
call fcn.1400027b4
cmp dword [0x140027d3c], edi
jne 0x140008c28
call fcn.140007778
mov r8, qword [0x140027bd8]
lea rdx, str.Shortcut
lea rcx, [0x1400077f0]
mov r9d, esi
call fcn.14000725c
mov rcx, qword [0x140027b88]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov r8, qword [0x140027bd8]
lea rdx, str.Delete
lea rcx, [0x140007228]
mov r9d, esi
call fcn.14000725c
cmp byte [0x140027b00], dil
jne 0x140008c28
mov rcx, qword [0x140027ce0]
call fcn.140003d94
mov rcx, qword [rbp - 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov eax, dword [0x140027784]
cmp eax, esi
jne 0x140008c57
cmp byte [0x140027be1], dil
jne 0x140008cc8
mov eax, r14d
mov dword [0x140027784], eax
test eax, eax
jle 0x140008cc8
lea rcx, str.FinishMessage
xor edx, edx
call fcn.1400063e8
mov rbx, rax
test rax, rax
je 0x140008cc8
mov ecx, dword [0x140027784]
mov eax, 0x3e7
cmp ecx, eax
cmovg ecx, eax
mov dword [0x140027784], ecx
lea rcx, [rbp + 0x20]
call fcn.140009544
mov r8, qword [0x140027af0]
lea r11, [0x140022330]
lea rcx, [rbp + 0x20]
mov r9, rbx
mov edx, reloc.COMCTL32.dll_InitCommonControls
mov qword [rbp + 0x20], r11
mov dword [rbp + 0x70], 0x7d5
mov qword [rsp + 0x20], rdi
call fcn.1400099ac
lea rcx, [rbp + 0x20]
call fcn.1400095c4
cmp byte [0x140027be2], dil
jne 0x140008d13
cmp dword [0x140027d3c], edi
jne 0x140008d13
lea rcx, str.SelfDelete
xor edx, edx
call fcn.1400063e8
mov r11, rax
test rax, rax
je 0x140008d13
mov eax, 0x31
cmp word [r11], ax
jne 0x140008d13
lea rdx, [0x140027c90]
lea rcx, [rbp - 0x48]
call fcn.140014ee0
lea rcx, [rbp - 0x48]
call fcn.14000741c
mov rcx, qword [rbp - 0x78]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x38]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 8]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x78]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
xor eax, eax
jmp 0x140008d71
lea r8, str.7_Zip_SFX
lea rdx, str.Sorry__this_program_requires_Microsoft_Windows_2000_or_later.
mov r9d, InitCommonControls
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x14
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret