Function at 0x405c18
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:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x30c
push ebx
push esi
push edi
push 0x4048ec
call dword [sym.imp.MSVCRT.dll_int____cdecl___unsigned_int____cdecl__set_new_handler_int____cdecl___unsigned_int__]
pop ecx
call fcn.0040202a
lea eax, [ebp - 0x2a4]
push eax
mov dword [ebp - 0x2a4], 0x114
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x40749c
cmp dword [ebp - 0x294], 2
jne 0x40749c
cmp dword [ebp - 0x2a0], 5
jb 0x40749c
or dword [ebp - 0x44], 0xffffffff
or dword [ebp - 0x40], 0xffffffff
lea ecx, [ebp + 8]
mov byte [str.___InstallEnd__], 0x3b
mov byte [str.___Install__UTF_8_], 0x3b
mov dword [ebp + 0x44], 0x41b830
xor edi, edi
mov byte [ebp + 0x66], 0
mov byte [ebp + 0x67], 0
mov byte [ebp + 0x5f], 0
mov byte [ebp + 0x64], 0
call fcn.004014eb
lea ecx, [ebp - 0x68]
call fcn.004014eb
push 0x20
lea ecx, [ebp - 0x5c]
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], 4
mov dword [ebp + 0x14], 0x41b54c
call fcn.00404932
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
call fcn.00404ea8
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402aed
lea eax, [ebp - 0x5c]
push eax
call fcn.00403101
mov ebx, dword [ebp - 0x5c]
pop ecx
add ebx, 2
push ebx
mov dword [ebp + 0x54], ebx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push 1
lea eax, [ebx + eax*2]
push 0x41a634
push str.SfxVarModulePlatform
mov dword [ebp - 8], eax
call fcn.00403685
add esp, 0xc
push 1
call fcn.004026a9
push eax
push str.SfxVarSystemPlatform
call fcn.00403685
push 1
push ebx
push str.SfxVarCmdLine0
call fcn.00403685
add esp, 0x18
call fcn.0040455d
cmp dword [ebp + 0x10], 0x20
jg 0x405d56
push 0x20
lea ecx, [ebp + 8]
call fcn.004011b7
movzx eax, word [0x41e980]
mov esi, dword [ebp + 8]
push eax
push 0x41bb78
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call fcn.00401184
push 1
push esi
push str.SfxVarSystemLanguage
mov word [esi + eax*2], di
mov dword [ebp + 0xc], eax
call fcn.00403685
push str.sfxlang
push ebx
call fcn.00404880
add esp, 0x24
cmp eax, edi
je 0x405dd7
cmp word [eax], 0x3a
jne 0x405dd7
add eax, 2
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
lea ecx, [eax - 1]
cmp ecx, 0xfffe
ja 0x405dbf
mov word [0x41e980], ax
jmp 0x405dbf
inc ebx
inc ebx
cmp word [ebx], 0x20
ja 0x405dbd
jmp 0x405dcf
cmp ax, 0x20
ja 0x405dd7
inc ebx
inc ebx
movzx eax, word [ebx]
cmp ax, di
jne 0x405dc7
push str.sfxversion
push ebx
call fcn.00404880
test eax, eax
pop ecx
pop ecx
je 0x405e19
call fcn.004052e7
xor esi, esi
push dword [ebp - 0x5c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp + 0x14]
call fcn.0040497f
push dword [ebp - 0x68]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
mov eax, esi
jmp 0x4074b3
push str.sfxwaitall
push ebx
call fcn.00404880
cmp eax, edi
pop ecx
pop ecx
je 0x405e35
push eax
call fcn.004056fb
pop ecx
mov esi, eax
jmp 0x405def
push str.sfxelevation
push ebx
mov byte [ebp + 0x65], 0
call fcn.00404880
cmp eax, edi
pop ecx
pop ecx
je 0x405e62
mov byte [ebp + 0x65], 1
jmp 0x405e58
cmp cx, 0x20
ja 0x405e60
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, di
jne 0x405e50
mov ebx, eax
mov esi, 0x208
cmp dword [0x41ea38], esi
jg 0x405e7a
push esi
mov ecx, 0x41ea30
call fcn.004011b7
push esi
push dword [0x41ea30]
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test eax, eax
jne 0x405e9e
xor esi, esi
inc esi
push 6
push esi
call fcn.004095ee
pop ecx
pop ecx
jmp 0x405def
mov esi, dword [0x41ea30]
push esi
call fcn.00401184
mov word [esi + eax*2], di
mov dword [esp], str.sfxtest
push ebx
mov dword [0x41ea34], eax
call fcn.00404880
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x406068
cmp word [esi], 0x3a
je 0x405eda
push 0x64
pop esi
jmp 0x405def
movzx ecx, word [esi + 2]
movzx eax, cx
push 0x20
pop ebx
or eax, ebx
sub eax, 0x61
je 0x405feb
dec eax
dec eax
je 0x405fd7
dec eax
je 0x405f56
sub eax, 0xb
je 0x405f0e
sub eax, 7
jne 0x405ed2
mov esi, 0x4a98
jmp 0x405def
cmp word [esi + 4], 0x3a
jne 0x405ded
movzx eax, word [esi + 6]
sub eax, 0x31
je 0x405f4e
dec eax
je 0x405f44
dec eax
je 0x405f40
dec eax
je 0x405f36
dec eax
jne 0x405ded
push 7
jmp 0x405ed4
mov esi, 0x2ff
jmp 0x405def
push 0x1f
jmp 0x405ed4
mov esi, 0xff
jmp 0x405def
xor esi, esi
inc esi
jmp 0x405def
cmp cx, 0x44
jne 0x405f97
cmp word [esi + 4], 0x3a
jne 0x405ed2
add esi, 6
jmp 0x405f82
cmp ax, 0x3a
je 0x405f8a
movzx eax, ax
push eax
mov ecx, 0x41ea70
call fcn.004017a8
inc esi
inc esi
movzx eax, word [esi]
cmp ax, bx
ja 0x405f6c
cmp dword [0x41ea74], edi
jne 0x405f9a
jmp 0x405ed2
add esi, 4
mov dword [0x41ea68], edi
cmp word [esi], 0x3a
jne 0x405fc1
lea eax, [esi + 2]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
cmp eax, 0xe10
pop ecx
mov dword [0x41ea68], eax
ja 0x405fc1
cmp eax, edi
jne 0x405fcb
mov dword [0x41ea68], 0xa
mov dword [0x41ea6c], 1
jmp 0x405ff9
xor eax, eax
cmp word [esi + 4], 0x63
sete al
add eax, 3
mov dword [0x41ea6c], eax
jmp 0x405ff9
mov dword [0x41ea6c], 2
jmp 0x405ff9
inc esi
inc esi
cmp word [esi], bx
ja 0x405ff7
jmp 0x406007
cmp ax, bx
ja 0x40600f
inc esi
inc esi
movzx eax, word [esi]
cmp ax, di
jne 0x406000
push str.sfxconfig
push esi
mov ebx, esi
call fcn.00404880
cmp eax, edi
pop ecx
pop ecx
je 0x406068
cmp word [eax], 0x3a
jne 0x406032
jmp 0x406030
cmp cx, 0x20
ja 0x40603a
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, di
jne 0x40602a
mov ecx, dword [ebp + 8]
mov word [ecx], di
lea ecx, [ebp + 8]
push ecx
push eax
mov dword [ebp + 0xc], edi
call fcn.00404ea8
cmp dword [0x41ea6c], 2
pop ecx
pop ecx
mov ebx, eax
je 0x406068
lea eax, [ebp + 8]
push eax
mov ecx, 0x41ea30
call fcn.0040143c
mov esi, 0x41ea30
push esi
mov ecx, 0x41e9f4
call fcn.0040143c
mov edi, 0x41ea00
push esi
mov ecx, edi
call fcn.0040143c
push esi
call fcn.004033f2
xor esi, esi
cmp eax, esi
pop ecx
jl 0x406127
mov ecx, dword [0x41e9f4]
lea esi, [eax + eax]
and word [ecx + esi], 0
mov dword [0x41e9f8], eax
mov eax, dword [0x41ea30]
lea eax, [eax + esi + 2]
push eax
mov ecx, edi
call fcn.00401403
mov eax, dword [0x41ea30]
lea eax, [eax + esi + 2]
mov esi, 0x41ea18
push eax
mov ecx, esi
call fcn.00401403
push 0x2e
mov ecx, esi
call fcn.00402b23
test eax, eax
jle 0x4060ed
mov ecx, dword [0x41ea18]
and word [ecx + eax*2], 0
mov dword [0x41ea1c], eax
push esi
mov esi, 0x41ea0c
mov ecx, esi
call fcn.0040143c
push 4
call fcn.00402490
pop ecx
push eax
mov ecx, esi
call fcn.00402aed
mov eax, dword [0x41ea18]
mov ecx, dword [0x41ea0c]
mov dword [0x41e9b0], eax
mov dword [0x41e9b8], ecx
mov dword [0x41e9bc], eax
xor esi, esi
call fcn.004026a9
push eax
mov ecx, 0x41ea24
call fcn.00401403
push 0x10
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
je 0x40614f
mov ecx, eax
call fcn.00404c71
mov dword [ebp + 0x28], eax
jmp 0x406152
mov dword [ebp + 0x28], esi
mov edi, dword [ebp + 0x28]
push edi
lea ecx, [ebp + 0x60]
call fcn.0041333e
push dword [0x41ea30]
lea ecx, [edi + 0xc]
call fcn.004123d3
test al, al
jne 0x406196
push dword [0x41ea30]
push 7
push 1
call fcn.004095ee
mov eax, dword [ebp + 0x60]
add esp, 0xc
cmp eax, esi
je 0x40618f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 2
jmp 0x405ed4
lea ecx, [ebp + 0x2c]
call fcn.00402b4e
mov edi, dword [ebp + 0x60]
lea eax, [ebp + 0x2c]
push eax
push edi
call fcn.00404038
test al, al
pop ecx
pop ecx
jne 0x4061d5
push 9
push esi
call fcn.004095ee
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x4061ce
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 3
jmp 0x405ed4
cmp dword [0x41ea6c], esi
jne 0x406267
push str.sfxconfig
push ebx
call fcn.00404880
cmp eax, esi
pop ecx
pop ecx
je 0x406267
cmp word [eax], 0x3a
jne 0x4061fa
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
je 0x40624b
cmp cx, 0x20
ja 0x406212
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
jne 0x406202
cmp word [eax], si
je 0x40624b
lea ecx, [ebp + 0x2c]
push ecx
push eax
call fcn.004059b8
test al, al
pop ecx
pop ecx
jne 0x40624b
push 0xa
push esi
call fcn.004095ee
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x406244
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 4
jmp 0x405ed4
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
cmp edi, esi
pop ecx
je 0x405ded
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x405ded
lea ecx, [ebp + 0x14]
call fcn.004127d6
cmp dword [ebp + 0x30], esi
je 0x406294
push esi
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.004037a5
add esp, 0xc
test al, al
jne 0x406294
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x40623a
cmp dword [0x41ea6c], 4
je 0x40624b
mov eax, dword [0x41e0b0]
mov esi, 0x41e0b0
jmp 0x4062de
push eax
lea eax, [ebp - 0xe4]
push str.SfxString_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push dword [esi]
call fcn.00402490
pop ecx
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00403685
add esp, 0xc
add esi, 0x10
mov eax, dword [esi]
test eax, eax
jne 0x4062a9
lea eax, [ebp + 0x14]
push eax
call fcn.00404f17
push 1
dec ebx
push 0x41a584
push str.SfxVarCmdLine2
dec ebx
call fcn.00403685
add esp, 0x10
jmp 0x406305
inc ebx
inc ebx
cmp word [ebx], 0x20
ja 0x406303
jmp 0x406315
cmp ax, 0x20
ja 0x40631d
inc ebx
inc ebx
movzx eax, word [ebx]
test ax, ax
jne 0x40630d
movzx eax, word [ebx]
cmp ax, 0x2f
je 0x406330
cmp ax, 0x2d
jne 0x4065ba
lea esi, [ebx + 2]
cmp word [esi], 0x21
je 0x4065af
push 0x41babc
push esi
call fcn.004046a3
test eax, eax
pop ecx
pop ecx
je 0x406398
lea ecx, [ebx + 6]
movzx eax, word [ecx]
cmp ax, 0x30
jb 0x406360
cmp ax, 0x39
jbe 0x406378
cmp ax, 0x61
jb 0x40636c
cmp ax, 0x7a
jbe 0x406378
cmp ax, 0x41
jb 0x406385
cmp ax, 0x5a
ja 0x406385
mov dword [ebp + 0x44], ecx
mov byte [ebp + 0x66], 1
mov byte [ebp + 0x67], 1
jmp 0x406305
cmp ax, 0x20
ja 0x4065ba
mov dword [ebp + 0x44], 0x41b830
jmp 0x40637b
push 0x41bab4
push esi
call fcn.004046a3
test eax, eax
pop ecx
pop ecx
je 0x4063bb
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.OverwriteMode
jmp 0x406507
push 0x41baac
push esi
call fcn.004046a3
test eax, eax
pop ecx
pop ecx
je 0x406400
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
jb 0x4065ba
cmp cx, 0x32
ja 0x4065ba
cmp word [ebx + 8], 0x20
ja 0x4065ba
lea ecx, [ebp + 0x14]
push ecx
push eax
push str.GUIMode
jmp 0x406507
push 0x41baa4
push esi
call fcn.004046a3
test eax, eax
pop ecx
pop ecx
je 0x406423
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.GUIFlags
jmp 0x406507
push 0x41ba9c
push esi
call fcn.004046a3
test eax, eax
pop ecx
pop ecx
je 0x406446
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.MiscFlags
jmp 0x406507
push 0x41ba94
push esi
call fcn.004046a3
test eax, eax
pop ecx
pop ecx
je 0x406487
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
je 0x40646d
cmp cx, 0x31
jne 0x4065ba
cmp word [ebx + 8], 0x20
ja 0x4065ba
lea ecx, [ebp + 0x14]
push ecx
push eax
push str.SelfDelete
jmp 0x406507
push 0x41ba8c
push esi
call fcn.004046a3
test eax, eax
pop ecx
pop ecx
je 0x4064ac
cmp word [ebx + 6], 0x20
ja 0x4065ba
mov byte [ebp + 0x5f], 1
jmp 0x406305
push 0x41ba84
push esi
call fcn.004046a3
test eax, eax
pop ecx
pop ecx
je 0x4064e9
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
jb 0x4065ba
cmp cx, 0x39
ja 0x4065ba
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41e3b0], eax
jmp 0x406305
push 0x41ba7c
push esi
call fcn.004046a3
test eax, eax
pop ecx
pop ecx
je 0x406514
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 8]
push eax
push str.BeginPromptTimeout
call fcn.0040519e
add esp, 0xc
jmp 0x406305
movzx eax, word [esi]
cmp ax, 0x70
je 0x406581
cmp ax, 0x50
je 0x406581
cmp ax, 0x79
je 0x40652f
cmp ax, 0x59
jne 0x40653f
cmp word [ebx + 4], 0x20
ja 0x40653f
mov byte [ebp + 0x66], 1
jmp 0x406305
cmp ax, 0x3f
je 0x406551
cmp ax, 0x68
je 0x406551
cmp ax, 0x48
jne 0x406561
cmp word [ebx + 4], 0x20
ja 0x406561
mov byte [ebp + 0x64], 1
jmp 0x406305
lea eax, [ebp + 0x14]
push eax
push esi
call fcn.00404b47
test eax, eax
pop ecx
pop ecx
je 0x4065ba
cmp eax, 1
je 0x406615
mov ebx, eax
jmp 0x406305
lea ecx, [ebp + 0x48]
call fcn.004014eb
lea eax, [ebp + 0x48]
push eax
add ebx, 4
push ebx
call fcn.00404ea8
push dword [ebp + 0x48]
dec eax
dec eax
mov ebx, eax
call fcn.00401503
push dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
jmp 0x4062fe
mov esi, ebx
xor edi, edi
add ebx, 4
cmp esi, edi
jne 0x4065be
mov esi, ebx
xor edi, edi
cmp dword [ebp + 0x54], esi
je 0x406632
push dword [ebp + 0x54]
lea ecx, [ebp + 0x48]
call fcn.00402a9c
sub esi, dword [ebp + 0x54]
lea ecx, [ebp - 0x14]
sar esi, 1
push esi
push edi
push ecx
mov ecx, eax
call fcn.00404d44
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.0040143c
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
lea ecx, [ebp + 8]
call fcn.00405992
lea ecx, [ebp + 8]
call fcn.0040596c
push 1
push dword [ebp + 8]
jmp 0x406639
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
test eax, eax
pop ecx
je 0x40662b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x20
jmp 0x405ed4
push 1
push 0x41a584
push str.SfxVarCmdLine1
call fcn.00403685
add esp, 0xc
push ebx
lea ecx, [ebp + 0x48]
call fcn.00402a9c
mov edx, dword [ebp - 8]
sub edx, ebx
sar edx, 1
push edx
push edi
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.00404d44
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.0040143c
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
lea ecx, [ebp + 8]
call fcn.00405992
lea ecx, [ebp + 8]
call fcn.0040596c
push 1
push dword [ebp + 8]
push str.SfxVarCmdLine2
call fcn.00403685
lea eax, [ebp + 0x14]
push eax
call fcn.00404f17
add esp, 0x10
cmp byte [ebp + 0x65], 0
jne 0x406815
test byte [0x41e9c8], 4
je 0x406815
call fcn.00402757
test eax, eax
jne 0x406815
lea ecx, [ebp - 0x24]
call fcn.004014eb
lea ecx, [ebp + 0x48]
call fcn.004014eb
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
call fcn.00404ea8
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402a9c
lea eax, [ebp - 0x3c]
push eax
push 0x20
push str.sfxelevation
push 0x41b890
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x50]
push 0x22
push eax
call fcn.00404df8
add esp, 0xc
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.00404e16
add esp, 0xc
push eax
lea eax, [ebp - 4]
push eax
call fcn.00404e16
add esp, 0xc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00404e34
add esp, 0xc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004017d3
add esp, 0xc
push eax
lea ecx, [ebp + 0x48]
call fcn.0040143c
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x30]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x14
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_SetProcessWorkingSetSize]
push edi
push 2
push dword [ebp + 0x48]
call fcn.004053bb
add esp, 0xc
test eax, eax
push dword [ebp - 0x3c]
jne 0x4067df
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
add esp, 0x10
cmp eax, edi
je 0x4067d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xb
jmp 0x405ed4
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
mov eax, dword [ebp + 0x60]
cmp eax, edi
je 0x405ded
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405ded
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x14]
push str.SetEnvironment
push eax
mov dword [ebp - 0x18], edi
call fcn.004029db
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x406894
push esi
lea ecx, [ebp - 0x14]
call fcn.00402a9c
mov edi, dword [ebp - 0x14]
push 0x3d
push edi
call fcn.00412683
test eax, eax
pop ecx
pop ecx
jle 0x40688b
lea ecx, [eax + eax]
and word [edi + ecx], 0
mov dword [ebp - 0x10], eax
push 0
lea eax, [ecx + esi + 2]
push eax
push edi
call fcn.00403685
inc dword [ebp - 0x18]
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x14]
push str.SetEnvironment
push eax
call fcn.004029db
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x406833
jmp 0x406892
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
xor edi, edi
call fcn.00404af0
cmp dword [0x41e3a4], 0xffffffff
jne 0x4068a8
mov dword [0x41e3a4], edi
cmp byte [ebp + 0x64], 0
je 0x406909
push edi
lea eax, [ebp + 0x14]
push str.HelpText
push eax
call fcn.004029db
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x4068d0
push 0x18
call fcn.00402490
pop ecx
mov esi, eax
lea ecx, [ebp - 0xe0]
call fcn.00404544
push edi
push esi
push dword [0x41e9b0]
lea ecx, [ebp - 0xe0]
push 0x11
call fcn.00408433
lea ecx, [ebp - 0xe0]
call fcn.004081a6
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x4067ff
cmp byte [ebp + 0x66], 0
je 0x406919
and dword [0x41e3a4], 0xfffffeff
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push edi
lea eax, [ebp + 0x14]
push str.InstallPath
push eax
call fcn.004029db
add esp, 0xc
cmp eax, edi
mov esi, 0x41e9e8
je 0x406943
push eax
mov ecx, esi
call fcn.00401403
push esi
call fcn.0040464c
push edi
lea eax, [ebp + 0x14]
push str.SfxAuthor
push eax
call fcn.004029db
mov esi, eax
add esp, 0x10
cmp esi, edi
je 0x406a45
lea eax, [ebp - 0x190]
push eax
call fcn.0040a8a0
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, eax
push eax
lea eax, [ebp - 0x190]
push esi
push eax
call fcn.0040abc0
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.0040ac10
add esp, 0x14
push 8
pop ecx
mov esi, str.123456789ABCDEFGHJKMNPQRSTUVWXYZ
lea edi, [ebp - 0x128]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov edx, dword [ebp + ecx*4 - 0xf4]
lea eax, [ebp + ecx*4 - 0x104]
xor dword [eax], edx
inc ecx
cmp ecx, 4
jl 0x4069b2
xor edi, edi
mov dword [ebp + 0x58], edi
mov ecx, dword [ebp + 0x58]
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
and ecx, 0x80000007
movzx esi, byte [ebp + eax - 0x104]
jns 0x4069f0
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, dword [ebp + 0x58]
shr esi, cl
and esi, 0x1f
test eax, eax
je 0x406a11
push 0x19
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x406a11
mov word [ebp + edi*2 - 0xcc], 0x2d
inc edi
movsx ax, byte [ebp + esi - 0x128]
add dword [ebp + 0x58], 5
mov word [ebp + edi*2 - 0xcc], ax
inc edi
cmp dword [ebp + 0x58], 0x7d
jl 0x4069cd
and word [ebp + edi*2 - 0xcc], 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00401503
pop ecx
xor edi, edi
push edi
lea eax, [ebp + 0x14]
push str.BeginPromptTimeout
push eax
call fcn.004029db
add esp, 0xc
cmp eax, edi
je 0x406a68
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41e9d4], eax
cmp dword [0x41ea74], edi
je 0x406a9b
lea eax, [ebp + 0x14]
push eax
call fcn.004097de
push dword [ebp + 0x2c]
mov esi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
cmp eax, edi
pop ecx
pop ecx
je 0x405def
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405def
cmp dword [0x41ea6c], 3
jne 0x406aaf
lea eax, [ebp + 0x14]
push eax
call fcn.004096e3
jmp 0x406a79
test byte [0x41e9c8], 8
jne 0x406ae0
mov esi, dword [ebp + 0x60]
push esi
call fcn.004015d8
test eax, eax
pop ecx
jne 0x406ae0
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
cmp esi, edi
pop ecx
je 0x406ad9
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 5
jmp 0x405ed4
mov edi, str.ExecuteFile
xor esi, esi
push esi
lea eax, [ebp + 0x14]
push str.BeginPrompt
push eax
call fcn.004029db
add esp, 0xc
cmp eax, esi
je 0x406b40
cmp byte [ebp + 0x66], 0
jne 0x406b40
push eax
push dword [0x41e9b0]
call fcn.00408bb8
test eax, eax
pop ecx
pop ecx
je 0x406c6c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x406b2e
mov byte [ebp + 0x66], 1
mov byte [ebp + 0x67], 1
cmp dword [0x41ea54], esi
je 0x406b40
and dword [0x41e3a4], 0xffffff7f
lea ecx, [ebp + 0x38]
call fcn.004014eb
cmp byte [ebp + 0x67], 0
je 0x406bca
mov esi, dword [ebp + 0x44]
push str.AutoInstall
lea ecx, [ebp + 0x38]
call fcn.00401403
movzx eax, word [esi]
push eax
lea ecx, [ebp + 0x38]
call fcn.004017a8
push 0
push dword [ebp + 0x38]
lea eax, [ebp + 0x14]
push eax
call fcn.004029db
add esp, 0xc
test eax, eax
je 0x406c8b
inc esi
inc esi
movzx eax, word [esi]
cmp ax, 0x30
jb 0x406b94
cmp ax, 0x39
jbe 0x406b51
cmp ax, 0x61
jb 0x406ba0
cmp ax, 0x7a
jbe 0x406b51
cmp ax, 0x41
jb 0x406bac
cmp ax, 0x5a
jbe 0x406b51
push str.AutoInstall
lea ecx, [ebp + 0x38]
call fcn.00401403
mov eax, dword [ebp + 0x44]
movzx eax, word [eax]
push eax
lea ecx, [ebp + 0x38]
call fcn.004017a8
xor esi, esi
cmp dword [ebp + 0x3c], esi
mov byte [ebp + 0x65], 0
jne 0x406c1a
push esi
lea eax, [ebp + 0x14]
push edi
push eax
call fcn.004029db
add esp, 0xc
test eax, eax
je 0x406bf7
push edi
lea ecx, [ebp + 0x38]
call fcn.00401403
cmp dword [ebp + 0x3c], esi
mov byte [ebp + 0x65], 1
jne 0x406c1a
push esi
lea eax, [ebp + 0x14]
push str.RunProgram
push eax
call fcn.004029db
add esp, 0xc
test eax, eax
je 0x406c1a
push str.RunProgram
lea ecx, [ebp + 0x38]
call fcn.00401403
cmp byte [ebp + 0x67], 0
jne 0x406cce
cmp byte [ebp + 0x66], 0
jne 0x406cce
mov eax, dword [0x41e3a4]
and ax, 0xc0
cmp al, 0x80
jne 0x406cce
push dword [0x41e9a4]
push dword [0x41e9a8]
call fcn.00408c36
test eax, eax
pop ecx
pop ecx
jne 0x406cce
cmp byte [0x41e9d8], al
push dword [ebp + 0x38]
je 0x406cbe
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406ae7
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
cmp eax, esi
pop ecx
je 0x406ad9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x406ad9
push dword [ebp + 0x38]
push 0xe
push 0
call fcn.004095ee
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
add esp, 0x14
test eax, eax
je 0x406cb7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 6
jmp 0x405ed4
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406c74
cmp dword [0x41e9ec], esi
jne 0x406d04
lea eax, [ebp - 0x50]
push str.7ZipSfx._03x
push eax
call fcn.00404a41
pop ecx
pop ecx
mov esi, 0x41e9e8
push eax
mov ecx, esi
call fcn.0040143c
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov byte [0x41e994], 0
jmp 0x406d3c
mov esi, 0x41e9e8
push esi
lea ecx, [ebp + 0x48]
call fcn.004013d1
lea eax, [ebp + 0x48]
push eax
call fcn.0040464c
cmp dword [ebp + 0x4c], 0
pop ecx
jne 0x406d2d
lea eax, [ebp + 0x48]
push eax
mov ecx, esi
call fcn.0040143c
push dword [ebp + 0x48]
mov byte [0x41e994], 1
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [0x41e9e8]
pop ecx
mov ecx, dword [0x41e9ec]
movzx edx, word [eax + ecx*2 - 2]
cmp dx, 0x5c
je 0x406d59
cmp dx, 0x2f
jne 0x406d65
dec ecx
and word [eax + ecx*2], 0
mov dword [0x41e9ec], ecx
cmp byte [ebp + 0x66], 0
je 0x406d72
or dword [0x41e9c8], 3
cmp dword [0x41ea68], 0
jne 0x406d88
push esi
push dword [ebp + 0x28]
call fcn.004019e5
pop ecx
pop ecx
jmp 0x406d96
call fcn.00408c92
test eax, eax
jne 0x406dc5
mov eax, 0x80004005
test eax, eax
je 0x406dc5
call fcn.0040491c
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
test eax, eax
pop ecx
pop ecx
je 0x406dbe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 8
jmp 0x405ed4
call fcn.00404af0
cmp byte [ebp + 0x5f], 0
je 0x406ddd
cmp byte [0x41e994], 0
jne 0x40739a
and dword [ebp + 0x54], 0
lea ecx, [ebp + 0x48]
call fcn.004014eb
cmp byte [ebp + 0x67], 0
jne 0x406dfe
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.00404e52
pop ecx
pop ecx
mov eax, dword [ebp + 0x44]
mov byte [ebp + 0x67], 0
mov dword [ebp - 8], eax
xor esi, esi
lea ecx, [ebp - 4]
mov dword [ebp + 0x28], esi
mov byte [ebp + 0x64], 0
call fcn.004014eb
lea ecx, [ebp - 0x30]
call fcn.004014eb
cmp dword [ebp + 0x3c], esi
mov dword [ebp + 0x58], esi
jne 0x406ecb
cmp byte [0x41e994], 0
jne 0x407248
mov esi, str.setup.exe
push esi
push 0x41a7ec
lea eax, [ebp - 0x80]
push 0x41e9e8
push eax
call fcn.00404e16
add esp, 0xc
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00404e16
add esp, 0xc
push eax
lea ecx, [ebp - 4]
call fcn.0040143c
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x80]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40725f
mov byte [ebp + 0x67], 1
push esi
lea ecx, [ebp - 0x30]
call fcn.00401403
lea eax, [ebp - 0x30]
push eax
call fcn.00404680
mov esi, dword [ebp - 0x30]
pop ecx
xor edi, edi
push edi
push str.waitall
push esi
call fcn.004046dd
add esp, 0xc
cmp eax, edi
je 0x406f4f
mov esi, eax
mov byte [ebp + 0x64], 1
jmp 0x406eaa
lea eax, [ebp + 0x54]
push eax
push dword [ebp + 0x38]
lea eax, [ebp + 0x14]
push eax
call fcn.004029db
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x406e94
mov esi, dword [ebp - 8]
inc esi
inc esi
movzx eax, word [esi]
cmp ax, 0x30
mov dword [ebp - 8], esi
jb 0x406efb
cmp ax, 0x39
jbe 0x406f1b
cmp ax, 0x61
jb 0x406f07
cmp ax, 0x7a
jbe 0x406f1b
cmp ax, 0x41
jb 0x407248
cmp ax, 0x5a
ja 0x407248
push str.AutoInstall
lea ecx, [ebp + 0x38]
call fcn.00401403
movzx eax, word [esi]
push eax
lea ecx, [ebp + 0x38]
call fcn.004017a8
push dword [ebp - 0x30]
and dword [ebp + 0x54], 0
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
jmp 0x406e08
push edi
push str.hidcon
push esi
call fcn.004046dd
add esp, 0xc
cmp eax, edi
je 0x406f6d
or dword [ebp + 0x58], 1
mov esi, eax
jmp 0x406eaa
push edi
push str.nowait
push esi
call fcn.004046dd
add esp, 0xc
cmp eax, edi
je 0x406f91
cmp byte [0x41e994], 0
mov esi, eax
je 0x406eaa
jmp 0x406fa6
push edi
push str.forcenowait
push esi
call fcn.004046dd
add esp, 0xc
cmp eax, edi
je 0x406fb2
mov esi, eax
or dword [ebp + 0x58], 0x10000
jmp 0x406eaa
push 2
push 0x41ba84
push esi
call fcn.004046dd
mov edi, eax
add esp, 0xc
test edi, edi
je 0x406fe8
cmp dword [0x41e3b0], 0xffffffff
jne 0x406fe1
add esi, 4
push esi
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41e3b0], eax
mov esi, edi
jmp 0x406eaa
push 3
push 0x41b9a4
push esi
call fcn.004046dd
xor edi, edi
add esp, 0xc
cmp eax, edi
je 0x40700a
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x44], ecx
jmp 0x407028
push 3
push 0x41b99c
push esi
call fcn.004046dd
add esp, 0xc
cmp eax, edi
je 0x40702f
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x40], ecx
mov esi, eax
jmp 0x406eaa
push edi
push 0x41a634
push esi
call fcn.004046dd
add esp, 0xc
cmp eax, edi
jne 0x407089
push edi
push str.i386
push esi
call fcn.004046dd
add esp, 0xc
cmp eax, edi
jne 0x407089
push edi
push 0x41b984
push esi
call fcn.004046dd
add esp, 0xc
cmp eax, edi
jne 0x40707b
push edi
push 0x41a62c
push esi
call fcn.004046dd
add esp, 0xc
cmp eax, edi
je 0x407097
mov esi, eax
mov dword [ebp + 0x28], 2
jmp 0x406eaa
mov esi, eax
mov dword [ebp + 0x28], 1
jmp 0x406eaa
cmp byte [ebp + 0x65], 0
lea ecx, [ebp - 4]
je 0x4070f5
cmp word [esi], 0x22
je 0x4070c8
push 0x41b824
call fcn.00401403
push esi
lea ecx, [ebp - 4]
call fcn.00402aed
push 0x41b824
lea ecx, [ebp - 4]
call fcn.00402aed
jmp 0x4070ce
push esi
call fcn.00401403
push edi
lea eax, [ebp + 0x14]
push str.ExecuteParameters
push eax
call fcn.004029db
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x407107
push 0x41b980
lea ecx, [ebp - 4]
call fcn.00402aed
jmp 0x4070fe
lea eax, [ebp + 0x48]
push eax
call fcn.0040143c
push esi
lea ecx, [ebp - 4]
call fcn.00402aed
lea ecx, [ebp - 0x24]
call fcn.004014eb
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.00404ea8
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402a9c
lea eax, [ebp - 0x24]
push eax
call fcn.00404680
cmp dword [0x41ea6c], edi
pop ecx
jne 0x407202
push dword [ebp + 0x28]
call fcn.00402726
test eax, eax
pop ecx
je 0x407202
cmp word [ebx], di
je 0x407165
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00402aed
jmp 0x407160
inc ebx
inc ebx
cmp word [ebx], di
jne 0x40715e
lea eax, [ebp - 0x3c]
push eax
call fcn.00404680
cmp byte [ebp + 0x64], 0
pop ecx
jne 0x4071e4
lea eax, [ebp - 0x3c]
push eax
push 0x41b8b0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x74]
push 0x22
push eax
call fcn.00404df8
add esp, 0xc
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00404e16
add esp, 0xc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004017d3
push dword [ebp - 0x8c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x74]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [0x41e9e8]
push dword [ebp + 0x58]
push dword [ebp - 0x14]
call fcn.004053bb
add esp, 0x20
test eax, eax
push dword [ebp - 0x14]
je 0x4072ae
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x4071fd
push dword [ebp + 0x58]
push dword [ebp - 0x3c]
push dword [ebp - 0x24]
call fcn.00405492
add esp, 0xc
cmp eax, edi
jne 0x4072b6
call fcn.004026be
cmp byte [ebp + 0x65], 0
jne 0x407319
cmp byte [ebp + 0x67], 0
jne 0x407319
mov eax, dword [ebp + 0x48]
mov dword [ebp + 0x4c], edi
mov word [eax], di
push dword [ebp - 0x3c]
inc dword [ebp + 0x54]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x30]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
jmp 0x406e08
push dword [ebp - 0x30]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
jmp 0x40733a
call fcn.0040491c
push 0xf
push 0
call fcn.004095ee
push dword [ebp - 0x30]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
add esp, 0x1c
test eax, eax
je 0x405f32
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405f32
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x4072bd
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push esi
push 0x10
push 1
call fcn.004095ee
call fcn.0040491c
push dword [ebp - 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x30]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
add esp, 0x28
cmp eax, edi
je 0x407312
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 9
jmp 0x405ed4
push dword [ebp - 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x30]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
cmp dword [0x41ea6c], 0
jne 0x407391
call fcn.00404af0
push dword [ebp - 0x44]
lea eax, [ebp + 0x14]
push dword [ebp + 0x44]
push str.Shortcut
push eax
push 0x405b3b
call fcn.004051fc
add esp, 0x14
push dword [0x41e9f4]
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
push dword [ebp - 0x40]
lea eax, [ebp + 0x14]
push dword [ebp + 0x44]
push str.Delete
push eax
push 0x404c42
call fcn.004051fc
add esp, 0x14
call fcn.0040491c
push dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [0x41e3b0], 0xffffffff
jne 0x4073b3
cmp byte [ebp + 0x66], 0
jne 0x407413
mov dword [0x41e3b0], 1
cmp dword [0x41e3b0], 0
jle 0x407413
push 0
lea eax, [ebp + 0x14]
push str.FinishMessage
push eax
call fcn.004029db
mov esi, eax
add esp, 0xc
test esi, esi
je 0x407413
mov eax, 0x3e7
cmp dword [0x41e3b0], eax
jle 0x4073e7
mov dword [0x41e3b0], eax
lea ecx, [ebp - 0xdc]
call fcn.00404903
push 0
push esi
push dword [0x41e9b0]
lea ecx, [ebp - 0xdc]
push 0x11
call fcn.00408433
lea ecx, [ebp - 0xdc]
call fcn.004081a6
cmp byte [ebp + 0x5f], 0
jne 0x407456
cmp dword [0x41ea6c], 0
jne 0x407456
push 0
lea eax, [ebp + 0x14]
push str.SelfDelete
push eax
call fcn.004029db
add esp, 0xc
test eax, eax
je 0x407456
cmp word [eax], 0x31
jne 0x407456
sub esp, 0xc
mov ecx, esp
push 0x41ea30
call fcn.004013d1
call fcn.00405758
add esp, 0xc
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
test eax, eax
pop ecx
pop ecx
je 0x407475
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x5c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp + 0x14]
call fcn.0040497f
push dword [ebp - 0x68]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
xor eax, eax
jmp 0x4074b3
push 0x10
push str.7_Zip_SFX
push str.Sorry__this_program_requires_Microsoft_Windows_2000_or_later.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x14
pop eax
pop edi
pop esi
pop ebx
add ebp, 0x68
leave
ret 0x10