Function at 0x140007b28
Capabilities:
Accept command line arguments
Check if file exists
Check os version
Encode data using xor
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 - 0x288]
sub rsp, 0x360
lea rcx, [0x1400073e0]
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.140004374
lea rcx, [rbp + 0x140]
mov dword [rbp + 0x140], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor edi, edi
test eax, eax
je 0x140008e67
lea r15d, [rdi + 2]
cmp dword [rbp + 0x150], r15d
jne 0x140008e67
cmp dword [rbp + 0x144], 5
jb 0x140008e67
lea rcx, [rsp + 0x78]
mov byte [str.___InstallEnd__], 0x3b
mov byte [str.___Install__UTF_8_], 0x3b
call fcn.140015d14
lea rcx, [rbp + 8]
call fcn.140015d14
lea rcx, [rbp - 0x28]
call fcn.140015d14
call fcn.140006ae8
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.140003804
lea rcx, [rbp - 0x28]
mov rdx, rax
call fcn.140015de4
lea rcx, [rbp - 0x28]
call fcn.14000566c
mov rsi, qword [rbp - 0x28]
lea r14d, [rdi + 1]
lea rdx, [0x1400233a8]
lea rcx, str.SfxVarModulePlatform
mov r8d, r14d
call fcn.14000641c
call fcn.140004c84
lea rcx, str.SfxVarSystemPlatform
mov rdx, rax
mov r8d, r14d
call fcn.14000641c
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, str.SfxVarCmdLine0
mov rdx, rax
mov r8d, r14d
call fcn.14000641c
movzx ebx, word [0x140029ae8]
lea r13d, [rdi + 0x20]
lea rcx, [rsp + 0x78]
mov edx, r13d
call fcn.140005090
lea rdx, [0x1400245a4]
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 0x140007c89
mov rax, rcx
add rax, r15
add r11d, r14d
cmp word [rax], di
jne 0x140007c7e
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.14000641c
lea rdx, str.sfxlang
mov rcx, rsi
call fcn.140006e80
test rax, rax
je 0x140007cf0
cmp word [rax], 0x3a
jne 0x140007cf0
lea rcx, [rax + 2]
call qword [sym.imp.msvcrt.dll__wtol]
movzx edx, word [0x140029ae8]
lea ecx, [rax - 1]
cmp ecx, 0xfffe
cmovbe dx, ax
mov word [0x140029ae8], dx
add rsi, r15
cmp word [rsi], r13w
ja 0x140007ce7
lea rdx, str.sfxversion
mov rcx, rsi
call fcn.140006e80
test rax, rax
je 0x140007d0e
call fcn.140007608
jmp 0x140008c4f
lea rdx, str.sfxwaitall
mov rcx, rsi
call fcn.140006e80
test rax, rax
je 0x140007d31
mov rcx, rax
call fcn.1400023a4
mov edi, eax
jmp 0x140008c4f
lea rdx, str.sfxelevation
mov rcx, rsi
mov r12b, dil
call fcn.140006e80
test rax, rax
je 0x140007d4e
mov r12b, r14b
mov rsi, rax
mov ebx, 0x208
lea rcx, [0x140029c90]
mov edx, ebx
call fcn.140005090
mov r8d, ebx
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140007d86
lea edx, [rax + 6]
mov ecx, r14d
call fcn.14000c52c
mov edi, r14d
jmp 0x140008c4f
mov rdx, qword [0x140029c90]
mov eax, edi
cmp word [rdx], di
je 0x140007da2
mov rcx, rdx
add rcx, r15
add eax, r14d
cmp word [rcx], di
jne 0x140007d97
mov dword [0x140029c98], eax
mov word [rdx + rax*2], di
lea rdx, str.sfxtest
mov rcx, rsi
call fcn.140006e80
mov r8d, 0x61
mov rbx, rax
test rax, rax
je 0x140007f97
cmp word [rax], 0x3a
je 0x140007ddd
mov edi, 0x64
jmp 0x140008c4f
movzx edx, word [rax + 2]
mov ecx, edx
or ecx, r13d
sub ecx, r8d
je 0x140007f20
sub ecx, r15d
je 0x140007f08
dec ecx
je 0x140007e5f
sub ecx, 0xb
je 0x140007e10
cmp ecx, 7
jne 0x140007dd3
mov edi, 0x4f3c
jmp 0x140008c4f
cmp word [rax + 4], 0x3a
jne 0x140008c4f
movzx ecx, word [rax + 6]
sub ecx, 0x31
je 0x140007d7e
dec ecx
je 0x140007e55
dec ecx
je 0x140007e4b
dec ecx
je 0x140007e41
dec ecx
jne 0x140008c4f
jmp 0x140008c4a
mov edi, 0x3fff
jmp 0x140008c4f
mov edi, 0x1f
jmp 0x140008c4f
mov edi, 0x5b7
jmp 0x140008c4f
cmp edx, 0x44
jne 0x140007eca
cmp word [rax + 4], 0x3a
jne 0x140007dd3
mov edx, dword [0x140029d48]
add rbx, 6
movzx esi, word [rbx]
cmp si, r13w
jbe 0x140007ec1
cmp si, 0x3a
je 0x140007ec1
cmp dword [0x140029d4c], edx
jne 0x140007ea2
lea rcx, [0x140029d40]
call fcn.140015a68
mov edx, dword [0x140029d48]
mov rcx, qword [0x140029d40]
mov eax, edx
add edx, r14d
mov word [rcx + rax*2], si
mov word [rcx + rdx*2], di
mov dword [0x140029d48], edx
add rbx, r15
jmp 0x140007e79
test edx, edx
jne 0x140007ece
jmp 0x140007dd3
add rbx, 4
mov dword [0x140029d38], edi
cmp word [rbx], 0x3a
jne 0x140007ef5
lea rcx, [rbx + 2]
call qword [sym.imp.msvcrt.dll__wtol]
mov dword [0x140029d38], eax
cmp eax, 0xe10
ja 0x140007ef5
test eax, eax
jne 0x140007eff
mov dword [0x140029d38], 0xa
mov dword [0x140029d3c], r14d
jmp 0x140007f2c
movzx eax, word [rax + 4]
sub ax, 0x63
neg ax
sbb eax, eax
add eax, 4
mov dword [0x140029d3c], eax
jmp 0x140007f2c
mov dword [0x140029d3c], r15d
jmp 0x140007f2c
add rbx, r15
cmp word [rbx], r13w
ja 0x140007f29
lea rdx, str.sfxconfig
mov rcx, rbx
mov rsi, rbx
call fcn.140006e80
mov rcx, rax
test rax, rax
je 0x140007f97
cmp word [rax], 0x3a
jne 0x140007f5d
jmp 0x140007f5a
cmp ax, r13w
ja 0x140007f65
add rcx, r15
movzx eax, word [rcx]
test ax, ax
jne 0x140007f54
mov rax, qword [rsp + 0x78]
mov dword [rbp - 0x80], edi
lea rdx, [rsp + 0x78]
mov word [rax], di
call fcn.140003804
cmp dword [0x140029d3c], r15d
mov rsi, rax
je 0x140007f97
lea rdx, [rsp + 0x78]
lea rcx, [0x140029c90]
call fcn.140015e74
lea rdx, [0x140029c90]
lea rcx, [0x140029b88]
call fcn.140015e74
lea rdx, [0x140029c90]
lea rcx, [0x140029ba8]
call fcn.140015e74
lea rcx, [0x140029c90]
call fcn.14000433c
test eax, eax
js 0x140008089
mov rcx, qword [0x140029b88]
mov edx, eax
mov dword [0x140029b90], eax
mov word [rcx + rdx*2], di
movsxd rbx, eax
mov rax, qword [0x140029c90]
lea rdx, [rax + rbx*2 + 2]
lea rcx, [0x140029ba8]
call fcn.140015de4
mov r11, qword [0x140029c90]
lea rdx, [r11 + rbx*2 + 2]
lea rbx, [0x140029cd0]
mov rcx, rbx
call fcn.140015de4
mov edx, 0x2e
mov rcx, rbx
call fcn.14001610c
test eax, eax
jle 0x14000803e
mov dword [0x140029cd8], eax
mov ecx, eax
mov rax, qword [0x140029cd0]
mov word [rax + rcx*2], di
lea rcx, [0x140029cb0]
mov rdx, rbx
call fcn.140015e74
mov ecx, 4
call fcn.140004a1c
lea rcx, [0x140029cb0]
mov rdx, rax
call fcn.140015ef8
mov r11, qword [0x140029cd0]
mov rax, qword [0x140029cb0]
mov qword [0x140029af0], r11
mov qword [0x140029b40], rax
mov qword [0x140029b48], r11
call fcn.140004c84
lea rcx, [0x140029ca0]
mov rdx, rax
call fcn.140015de4
mov rdx, qword [0x140029c90]
lea rcx, [0x140029bc0]
call fcn.14000131c
test al, al
jne 0x1400080d0
mov r8, qword [0x140029c90]
mov edx, 7
mov ecx, r14d
call fcn.14000c52c
mov edi, r15d
jmp 0x140008c4f
lea rcx, [rsp + 0x48]
call fcn.1400156e4
lea rcx, [0x140029b98]
call fcn.140007968
mov rcx, qword [0x140029bc8]
lea r8, [rsp + 0x48]
xor edx, edx
call fcn.1400069e4
mov ebx, eax
test eax, eax
je 0x140008110
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov edi, ebx
jmp 0x140008c4f
mov eax, dword [0x140029d3c]
test eax, eax
jne 0x140008198
lea rdx, str.sfxconfig
mov rcx, rsi
call fcn.140006e80
test rax, rax
je 0x140008192
cmp word [rax], 0x3a
jne 0x140008137
add rax, r15
movzx ecx, word [rax]
test cx, cx
je 0x1400084f2
cmp cx, r13w
ja 0x140008154
add rax, r15
movzx ecx, word [rax]
test cx, cx
jne 0x140008143
cmp word [rax], di
je 0x1400084f2
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400079d8
test al, al
jne 0x1400084f2
mov edx, 0xa
xor ecx, ecx
call fcn.14000c52c
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov edi, 4
jmp 0x140008c4f
mov eax, dword [0x140029d3c]
cmp eax, 4
je 0x1400084f2
mov eax, dword [0x140029190]
lea rbx, [0x140029190]
jmp 0x1400081e5
lea rdx, str.SfxString_d
lea rcx, [rbp + 0xe0]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [rbx]
call fcn.140004a1c
lea rcx, [rbp + 0xe0]
xor r8d, r8d
mov rdx, rax
call fcn.14000641c
add rbx, r13
mov eax, dword [rbx]
test eax, eax
jne 0x1400081b0
lea rdx, [0x140023128]
lea rcx, [0x140029be8]
call fcn.140015de4
lea rcx, [0x140029be8]
mov rdx, rsi
call fcn.140015ef8
call fcn.1400018fc
mov r13, rax
test rax, rax
jne 0x14000822b
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
lea edi, [r13 + 0x20]
jmp 0x140008c4f
call fcn.140006f2c
lea rcx, str.SfxAuthor
xor edx, edx
call fcn.140006404
mov rbx, rax
test rax, rax
je 0x14000834e
lea rcx, [rbp + 0x30]
call fcn.14000e420
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rbp + 0x30]
mov rdx, rbx
movsxd r8, eax
add r8, r8
call fcn.14000e6e0
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x30]
call fcn.14000ea40
lea rcx, [rbp + 0xb0]
lea rdx, str.123456789ABCDEFGHJKMNPQRSTUVWXYZ
mov r8d, 0x21
call sub.msvcrt.dll_memcpy
mov r11, rdi
mov eax, dword [rbp + r11*4 - 0x38]
xor dword [rbp + r11*4 - 0x48], eax
add r11, r14
cmp r11, 4
jl 0x140008297
mov r10d, edi
mov r8d, edi
lea r9, [rbp + 0xe0]
mov eax, r8d
cdq
and edx, 7
add eax, edx
mov ecx, eax
and eax, 7
sar ecx, 3
sub eax, edx
movsxd rcx, ecx
movzx r11d, byte [rbp + rcx - 0x48]
mov cl, al
shr r11d, cl
and r11d, 0x1f
test r8d, r8d
je 0x14000830a
mov eax, 0x51eb851f
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x19
cmp r8d, edx
jne 0x14000830a
mov eax, 0x2d
add r10d, r14d
mov word [r9], ax
add r9, r15
movsxd rax, r11d
add r8d, 5
add r10d, r14d
movsx ecx, byte [rbp + rax + 0xb0]
mov word [r9], cx
add r9, r15
cmp r8d, 0x7d
jl 0x1400082b7
movsxd rax, r10d
lea rdx, [rbp + 0xe0]
lea rcx, [0x140029aa8]
mov word [rbp + rax*2 + 0xe0], di
call fcn.140015de4
mov byte [0x140029aa0], r14b
lea rcx, [0x140029bc0]
call fcn.140001368
lea rcx, [0x140029b98]
call fcn.140007968
mov rcx, qword [0x140029bc8]
xor r8d, r8d
xor edx, edx
call fcn.1400069e4
call fcn.140006f2c
lea rcx, [0x140029bc0]
call fcn.1400013f8
call fcn.1400018fc
call fcn.140006f2c
test r12b, r12b
jne 0x140008501
test byte [0x140029b60], 4
je 0x140008501
call fcn.140004ca8
test eax, eax
jne 0x140008501
lea rcx, [rbp - 0x68]
call fcn.140015d14
lea rcx, [rbp - 0x18]
call fcn.140015d14
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.140003804
lea rcx, [rsp + 0x68]
mov rdx, rax
call fcn.140015d4c
lea r8, [rbp - 0x68]
lea rdx, [0x140023040]
lea rcx, [rbp - 0x48]
call fcn.140015cd0
lea r8, [0x140023120]
lea rcx, [rbp - 8]
mov rdx, rax
call fcn.140015c8c
lea r8, str.sfxelevation
lea rcx, [rbp + 0x18]
mov rdx, rax
call fcn.140015c8c
lea rcx, [rbp - 0x58]
mov r8d, 0x20
mov rdx, rax
call fcn.140015b7c
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x58]
call fcn.140015c60
lea rcx, [rbp - 0x18]
mov rdx, qword [rax]
call fcn.140015de4
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 + 0x18]
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 - 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
or r12, 0xffffffffffffffff
mov r8, r12
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov rcx, qword [rbp - 0x18]
xor r8d, r8d
mov edx, r15d
call fcn.140001f58
mov rcx, qword [rsp + 0x68]
test eax, eax
jne 0x1400084db
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 - 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, [r12 + 0xc]
jmp 0x140008c4f
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 - 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 0x140008c4f
mov dword [rsp + 0x40], edi
jmp 0x140008559
lea rcx, [rsp + 0x58]
mov rdx, rbx
call fcn.140015d4c
mov rcx, qword [rsp + 0x58]
mov edx, 0x3d
call fcn.140015464
mov rcx, qword [rsp + 0x58]
test eax, eax
jle 0x140008574
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.14000641c
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.140006404
mov rbx, rax
test rax, rax
jne 0x140008507
jmp 0x140008579
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
call fcn.140007764
mov r11d, dword [0x140029778]
or r12, 0xffffffffffffffff
cmp r11d, r12d
cmove r11d, edi
cmp byte [0x140029be3], dil
mov dword [0x140029778], r11d
je 0x14000860a
lea rcx, str.HelpText
xor edx, edx
call fcn.140006404
mov rbx, rax
test rax, rax
jne 0x1400085c1
lea ecx, [rax + 0x18]
call fcn.140004a1c
mov rbx, rax
lea rcx, [rbp + 0x30]
call fcn.14000965c
mov r8, qword [0x140029af0]
lea r11, [0x1400241f0]
lea rcx, [rbp + 0x30]
mov r9, rbx
mov edx, reloc.COMCTL32.dll_InitCommonControls
mov qword [rbp + 0x30], r11
mov dword [rbp + 0x80], 0x7d6
mov qword [rsp + 0x20], rdi
call fcn.140009ac4
lea rcx, [rbp + 0x30]
call fcn.1400096dc
jmp 0x1400084f2
cmp byte [0x140029be1], dil
je 0x14000861f
btr r11d, 8
mov dword [0x140029778], r11d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rcx, str.InstallPath
xor edx, edx
call fcn.140006404
test rax, rax
je 0x140008650
lea rcx, [0x140029ce0]
mov rdx, rax
call fcn.140015de4
mov byte [0x140029b00], r14b
lea rcx, [0x140029ce0]
call fcn.140006c38
lea rcx, str.BeginPromptTimeout
xor edx, edx
call fcn.140006404
test rax, rax
je 0x14000867e
mov rcx, rax
call qword [sym.imp.msvcrt.dll__wtol]
mov dword [0x140029b6c], eax
cmp dword [0x140029d48], edi
je 0x140008692
call fcn.14000cfdc
mov edi, eax
jmp 0x1400084f2
cmp dword [0x140029d3c], 3
jne 0x1400086a2
call fcn.14000cecc
jmp 0x14000868b
lea rbx, [0x140023090]
lea rcx, str.SfxVarApiPath
xor r8d, r8d
mov rdx, rbx
call fcn.14000641c
call fcn.140007764
lea rcx, str.ExecuteOnLoad
xor edx, edx
call fcn.140006404
test rax, rax
je 0x140008746
cmp byte [0x140029be2], dil
jne 0x140008746
lea rcx, [0x1400297e0]
call fcn.14000931c
mov rdx, qword [0x1400297e8]
lea rcx, str.SfxVarApiPath
xor r8d, r8d
call fcn.14000641c
call fcn.140007764
lea rcx, [rsp + 0x68]
mov rdx, rbx
call fcn.140015d4c
lea rcx, [0x1400297e0]
call fcn.14000931c
mov rdx, qword [0x1400297e8]
lea r9, [rsp + 0x68]
lea rcx, str.ExecuteOnLoad
mov r8, rbx
mov qword [rsp + 0x20], rbx
call fcn.1400027b8
mov rcx, qword [rsp + 0x68]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
lea rcx, [0x140029c18]
call fcn.14000a8cc
lea rcx, str.BeginPrompt
xor edx, edx
call fcn.140006404
test rax, rax
je 0x1400087b3
cmp byte [0x140029be1], dil
jne 0x1400087b3
mov rcx, qword [0x140029af0]
mov rdx, rax
call fcn.14000b460
test eax, eax
je 0x14000894e
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1400087a3
mov word [0x140029be0], 0x101
cmp dword [0x140029d18], edi
je 0x1400087b3
btr dword [0x140029778], 7
lea rcx, [rsp + 0x30]
call fcn.140015d14
cmp byte [0x140029be0], dil
je 0x140008868
mov rbx, qword [0x140029bd8]
lea rdx, str.AutoInstall
lea rcx, [rsp + 0x30]
call fcn.140015de4
mov edx, dword [rsp + 0x38]
movzx esi, word [rbx]
cmp dword [rsp + 0x3c], edx
jne 0x1400087fd
lea rcx, [rsp + 0x30]
call fcn.140015a68
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov eax, edx
add edx, r14d
mov word [rcx + rax*2], si
mov word [rcx + rdx*2], di
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x38], edx
xor edx, edx
call fcn.140006404
test rax, rax
je 0x14000891a
add rbx, r15
cmp word [rbx], 0x30
jb 0x140008837
cmp word [rbx], 0x39
jbe 0x1400087d1
mov eax, 0x61
cmp word [rbx], ax
jb 0x140008847
cmp word [rbx], 0x7a
jbe 0x1400087d1
cmp word [rbx], 0x41
jb 0x140008857
cmp word [rbx], 0x5a
jbe 0x1400087d1
lea rdx, str.AutoInstall
lea rcx, [rsp + 0x30]
call fcn.140015de4
mov sil, dil
cmp dword [rsp + 0x38], edi
jne 0x1400088c2
lea rcx, str.ExecuteFile
xor edx, edx
call fcn.140006404
test rax, rax
je 0x140008898
lea rdx, str.ExecuteFile
lea rcx, [rsp + 0x30]
call fcn.140015de4
mov sil, r14b
cmp dword [rsp + 0x38], edi
jne 0x1400088c2
lea rcx, str.RunProgram
xor edx, edx
call fcn.140006404
test rax, rax
je 0x1400088c2
lea rdx, str.RunProgram
lea rcx, [rsp + 0x30]
call fcn.140015de4
cmp byte [0x140029be0], dil
jne 0x140008962
cmp byte [0x140029be1], dil
jne 0x140008962
mov eax, dword [0x140029778]
and eax, 0xc0
cmp al, 0x80
jne 0x140008962
mov rdx, qword [0x140029b10]
mov rcx, qword [0x140029b28]
call fcn.14000b53c
test eax, eax
jne 0x140008962
cmp byte [0x140029b70], dil
mov rcx, qword [rsp + 0x30]
je 0x140008949
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x140008752
mov r8, qword [rsp + 0x30]
mov edx, InitCommonControls
xor ecx, ecx
call fcn.14000c52c
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 0x140008c4f
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 0x140008c4f
cmp dword [0x140029ce8], edi
jne 0x14000899e
lea rdx, str.7ZipSfx._03x
lea rcx, [rbp - 0x48]
call fcn.1400051c0
lea r15, [0x140029ce0]
mov rdx, rax
mov rcx, r15
call fcn.140015e74
mov rcx, qword [rbp - 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov byte [0x140029b00], dil
jmp 0x1400089db
lea r15, [0x140029ce0]
lea rcx, [rbp - 0x68]
mov rdx, r15
call fcn.140015da8
lea rcx, [rbp - 0x68]
call fcn.140006c38
cmp dword [rbp - 0x60], edi
je 0x1400089cb
lea rdx, [rbp - 0x68]
mov rcx, r15
call fcn.140015e74
mov rcx, qword [rbp - 0x68]
mov byte [0x140029b00], r14b
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov ecx, dword [0x140029ce8]
mov rdx, qword [0x140029ce0]
dec ecx
cmp word [rdx + rcx*2], 0x5c
je 0x1400089f8
cmp word [rdx + rcx*2], 0x2f
jne 0x140008a02
mov dword [0x140029ce8], ecx
mov word [rdx + rcx*2], di
cmp byte [0x140029be1], dil
je 0x140008a12
or dword [0x140029b60], 3
lea rdx, str.PreExtract
lea rcx, [rbp - 0x78]
call fcn.140015d4c
mov r11, qword [0x140029bd8]
mov edx, dword [rbp - 0x70]
movzx ebx, word [r11]
cmp dword [rbp - 0x6c], edx
jne 0x140008a41
lea rcx, [rbp - 0x78]
call fcn.140015a68
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.140006404
test rax, rax
je 0x140008aee
cmp byte [0x140029be2], dil
jne 0x140008aee
lea rcx, [0x1400297e0]
call fcn.14000931c
mov rdx, qword [0x1400297e8]
lea rcx, str.SfxVarApiPath
xor r8d, r8d
call fcn.14000641c
call fcn.140007764
lea rdx, [0x140023090]
lea rcx, [rsp + 0x68]
call fcn.140015d4c
mov rbx, qword [0x140029bd8]
lea rcx, [0x1400297e0]
call fcn.14000931c
mov rdx, qword [0x1400297e8]
lea rax, [0x140023090]
lea r9, [rsp + 0x68]
lea rcx, str.PreExtract
mov r8, rbx
mov qword [rsp + 0x20], rax
call fcn.1400027b8
mov rcx, qword [rsp + 0x68]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
cmp dword [0x140029d38], edi
jne 0x140008b00
mov rcx, r15
call fcn.1400033cc
jmp 0x140008b0e
call fcn.14000b5d8
test eax, eax
jne 0x140008b4e
mov eax, 0x80004005
test eax, eax
je 0x140008b4e
cmp byte [0x140029b00], dil
jne 0x140008b27
mov rcx, qword [0x140029ce0]
call fcn.140003db0
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 0x140008c4f
call fcn.140007764
cmp byte [0x140029be2], dil
je 0x140008b69
cmp byte [0x140029b00], dil
jne 0x140008d4e
lea rcx, [rsp + 0x58]
call fcn.140015d14
lea rcx, [rbp - 0x58]
call fcn.140015d14
cmp byte [0x140029be0], dil
jne 0x140008b8f
lea rcx, [rsp + 0x58]
call fcn.140001ec8
cmp dword [rsp + 0x38], edi
jne 0x140008cb0
cmp byte [0x140029b00], dil
jne 0x140008cd2
lea r8, [0x14002327c]
lea rcx, [rbp - 8]
mov rdx, r15
call fcn.140015c8c
lea r8, str.setup.exe
lea rcx, [rbp - 0x48]
mov rdx, rax
call fcn.140015c8c
lea rcx, [rbp - 0x58]
mov rdx, qword [rax]
call fcn.140015de4
mov rcx, qword [rbp - 0x48]
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 - 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140008c72
cmp byte [0x140029b00], dil
jne 0x140008c0e
mov rcx, qword [0x140029ce0]
call fcn.140003db0
mov edx, InitCommonControls
xor ecx, ecx
call fcn.14000c52c
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 - 0x28]
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 0x140008e88
mov rbx, qword [0x140029ce0]
lea rdx, str.setup.exe
lea rcx, [rsp + 0x68]
call fcn.140015d4c
lea r9, [rsp + 0x58]
lea rcx, [rsp + 0x68]
mov r8b, sil
mov rdx, rbx
mov qword [rsp + 0x20], r13
call fcn.140002418
mov rcx, qword [rsp + 0x68]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x140008cd2
mov r8, qword [0x140029bd8]
mov rdx, qword [0x140029ce0]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r13
call fcn.1400027b8
cmp dword [0x140029d3c], edi
jne 0x140008d3b
call fcn.140007764
mov r8, qword [0x140029bd8]
lea rdx, str.Shortcut
lea rcx, [0x1400077dc]
mov r9d, r12d
call fcn.140007278
mov rcx, qword [0x140029b88]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov r8, qword [0x140029bd8]
lea rdx, str.Delete
lea rcx, [0x140007244]
mov r9d, r12d
call fcn.140007278
cmp byte [0x140029b00], dil
jne 0x140008d3b
mov rcx, qword [0x140029ce0]
call fcn.140003db0
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 [0x140029784]
cmp eax, r12d
jne 0x140008d6b
cmp byte [0x140029be1], dil
jne 0x140008ddf
mov eax, r14d
mov dword [0x140029784], eax
test eax, eax
jle 0x140008ddf
lea rcx, str.FinishMessage
xor edx, edx
call fcn.140006404
mov rbx, rax
test rax, rax
je 0x140008ddf
mov ecx, dword [0x140029784]
mov eax, 0x3e7
cmp ecx, eax
cmovg ecx, eax
mov dword [0x140029784], ecx
lea rcx, [rbp + 0x30]
call fcn.14000965c
mov r8, qword [0x140029af0]
lea r11, [0x140024360]
lea rcx, [rbp + 0x30]
mov r9, rbx
mov edx, reloc.COMCTL32.dll_InitCommonControls
mov qword [rbp + 0x30], r11
mov dword [rbp + 0x80], 0x7d5
mov qword [rsp + 0x20], rdi
call fcn.140009ac4
lea rcx, [rbp + 0x30]
call fcn.1400096dc
cmp byte [0x140029be2], dil
jne 0x140008e2a
cmp dword [0x140029d3c], edi
jne 0x140008e2a
lea rcx, str.SelfDelete
xor edx, edx
call fcn.140006404
mov r11, rax
test rax, rax
je 0x140008e2a
mov eax, 0x31
cmp word [r11], ax
jne 0x140008e2a
lea rdx, [0x140029c90]
lea rcx, [rbp - 0x48]
call fcn.140015da8
lea rcx, [rbp - 0x48]
call fcn.140007408
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 - 0x28]
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 0x140008e88
lea r8, [0x1400242b0]
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 + 0x360]
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