Function at 0x405a97
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, 0x308
push ebx
push esi
push edi
push 0x404788
call dword [sym.imp.MSVCRT.dll_int____cdecl___unsigned_int____cdecl__set_new_handler_int____cdecl___unsigned_int__]
pop ecx
call fcn.00402051
lea eax, [ebp - 0x2a0]
push eax
mov dword [ebp - 0x2a0], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x407222
cmp dword [ebp - 0x290], 2
jne 0x407222
cmp dword [ebp - 0x29c], 5
jb 0x407222
or dword [ebp - 0x28], 0xffffffff
or dword [ebp - 0x30], 0xffffffff
lea ecx, [ebp - 0x3c]
mov byte [str.___InstallEnd__], 0x3b
mov byte [str.___Install__UTF_8_], 0x3b
mov dword [ebp + 0x28], 0x41b834
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.0040159b
lea ecx, [ebp - 0x8c]
call fcn.0040159b
push 0x20
pop esi
push esi
lea ecx, [ebp - 0x80]
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], 4
mov dword [ebp + 0x14], 0x41b530
call fcn.00404806
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00404dcd
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.00402af2
lea eax, [ebp - 0x80]
push eax
call fcn.00403106
mov ebx, dword [ebp - 0x80]
add ebx, 2
mov dword [esp], str.sfxlang
push ebx
call fcn.0040471c
cmp eax, edi
pop ecx
pop ecx
je 0x405bcd
cmp word [eax], 0x3a
jne 0x405bcd
add eax, 2
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
lea ecx, [eax - 1]
cmp ecx, 0xfffe
ja 0x405bb7
mov word [0x41e980], ax
jmp 0x405bb7
inc ebx
inc ebx
cmp word [ebx], si
ja 0x405bb5
jmp 0x405bc5
cmp ax, si
ja 0x405bcd
inc ebx
inc ebx
movzx eax, word [ebx]
cmp ax, di
jne 0x405bbe
call fcn.00404c39
push str.sfxversion
push ebx
call fcn.0040471c
test eax, eax
pop ecx
pop ecx
je 0x405c17
call fcn.0040520c
xor esi, esi
push dword [ebp - 0x80]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp + 0x14]
call fcn.00404853
push dword [ebp - 0x8c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
mov eax, esi
jmp 0x407239
push str.sfxwaitall
push ebx
call fcn.0040471c
cmp eax, edi
pop ecx
pop ecx
je 0x405c33
push eax
call fcn.0040561d
pop ecx
mov esi, eax
jmp 0x405bea
push str.sfxelevation
push ebx
mov byte [ebp + 0x65], 0
call fcn.0040471c
cmp eax, edi
pop ecx
pop ecx
je 0x405c5f
mov byte [ebp + 0x65], 1
jmp 0x405c55
cmp cx, si
ja 0x405c5d
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, di
jne 0x405c4e
mov ebx, eax
mov esi, 0x208
cmp dword [0x41ea38], esi
jg 0x405c77
push esi
mov ecx, 0x41ea30
call fcn.004011f7
push esi
push dword [0x41ea30]
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x405c9b
xor esi, esi
inc esi
push 6
push esi
call fcn.00409358
pop ecx
pop ecx
jmp 0x405bea
mov esi, dword [0x41ea30]
push esi
call fcn.004011c4
mov word [esi + eax*2], di
mov dword [esp], str.sfxtest
push ebx
mov dword [0x41ea34], eax
call fcn.0040471c
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x405e5b
cmp word [esi], 0x3a
je 0x405cd7
push 0x64
pop esi
jmp 0x405bea
movzx ecx, word [esi + 2]
movzx eax, cx
push 0x20
pop ebx
or eax, ebx
sub eax, 0x61
je 0x405dde
dec eax
dec eax
je 0x405dca
dec eax
je 0x405d49
sub eax, 0xb
je 0x405d0b
sub eax, 7
jne 0x405ccf
mov esi, 0x49ae
jmp 0x405bea
cmp word [esi + 4], 0x3a
jne 0x405be8
movzx eax, word [esi + 6]
sub eax, 0x31
je 0x405d41
dec eax
je 0x405d37
dec eax
je 0x405d33
dec eax
je 0x405d37
dec eax
jne 0x405be8
push 7
jmp 0x405cd1
push 0x1f
jmp 0x405cd1
mov esi, 0xff
jmp 0x405bea
xor esi, esi
inc esi
jmp 0x405bea
cmp cx, 0x44
jne 0x405d8a
cmp word [esi + 4], 0x3a
jne 0x405ccf
add esi, 6
jmp 0x405d75
cmp ax, 0x3a
je 0x405d7d
movzx eax, ax
push eax
mov ecx, 0x41ea70
call fcn.004017c2
inc esi
inc esi
movzx eax, word [esi]
cmp ax, bx
ja 0x405d5f
cmp dword [0x41ea74], edi
jne 0x405d8d
jmp 0x405ccf
add esi, 4
mov dword [0x41ea68], edi
cmp word [esi], 0x3a
jne 0x405db4
lea eax, [esi + 2]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
cmp eax, 0xe10
pop ecx
mov dword [0x41ea68], eax
ja 0x405db4
cmp eax, edi
jne 0x405dbe
mov dword [0x41ea68], 0xa
mov dword [0x41ea6c], 1
jmp 0x405dec
xor eax, eax
cmp word [esi + 4], 0x63
sete al
add eax, 3
mov dword [0x41ea6c], eax
jmp 0x405dec
mov dword [0x41ea6c], 2
jmp 0x405dec
inc esi
inc esi
cmp word [esi], bx
ja 0x405dea
jmp 0x405dfa
cmp ax, bx
ja 0x405e02
inc esi
inc esi
movzx eax, word [esi]
cmp ax, di
jne 0x405df3
push str.sfxconfig
push esi
mov ebx, esi
call fcn.0040471c
cmp eax, edi
pop ecx
pop ecx
je 0x405e5b
cmp word [eax], 0x3a
jne 0x405e25
jmp 0x405e23
cmp cx, 0x20
ja 0x405e2d
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, di
jne 0x405e1d
mov ecx, dword [ebp - 0x3c]
mov word [ecx], di
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov dword [ebp - 0x38], edi
call fcn.00404dcd
cmp dword [0x41ea6c], 2
pop ecx
pop ecx
mov ebx, eax
je 0x405e5b
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x41ea30
call fcn.004014e2
mov esi, 0x41ea30
push esi
mov ecx, 0x41e9f4
call fcn.004014e2
mov edi, 0x41ea00
push esi
mov ecx, edi
call fcn.004014e2
push esi
call fcn.004033f7
xor esi, esi
cmp eax, esi
pop ecx
jl 0x405f1a
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.004014a9
mov eax, dword [0x41ea30]
lea eax, [eax + esi + 2]
mov esi, 0x41ea18
push eax
mov ecx, esi
call fcn.004014a9
push 0x2e
mov ecx, esi
call fcn.00402b28
test eax, eax
jle 0x405ee0
mov ecx, dword [0x41ea18]
and word [ecx + eax*2], 0
mov dword [0x41ea1c], eax
push esi
mov esi, 0x41ea0c
mov ecx, esi
call fcn.004014e2
push 4
call fcn.004024b7
pop ecx
push eax
mov ecx, esi
call fcn.00402af2
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.004026d0
push eax
mov ecx, 0x41ea24
call fcn.004014a9
push 0x10
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
je 0x405f42
mov ecx, eax
call fcn.00404ab5
mov dword [ebp + 0x48], eax
jmp 0x405f45
mov dword [ebp + 0x48], esi
mov edi, dword [ebp + 0x48]
push edi
lea ecx, [ebp + 0x60]
call fcn.00401193
push dword [0x41ea30]
lea ecx, [edi + 0xc]
call fcn.00412133
test al, al
jne 0x405f89
push dword [0x41ea30]
push 7
push 1
call fcn.00409358
mov eax, dword [ebp + 0x60]
add esp, 0xc
cmp eax, esi
je 0x405f82
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 2
jmp 0x405cd1
lea ecx, [ebp + 0x3c]
call fcn.00402b53
mov edi, dword [ebp + 0x60]
lea eax, [ebp + 0x3c]
push eax
push edi
call fcn.00403fc3
test al, al
pop ecx
pop ecx
jne 0x405fc8
push 9
push esi
call fcn.00409358
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x405fc1
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 3
jmp 0x405cd1
cmp dword [0x41ea6c], esi
jne 0x40605a
push str.sfxconfig
push ebx
call fcn.0040471c
cmp eax, esi
pop ecx
pop ecx
je 0x40605a
cmp word [eax], 0x3a
jne 0x405fed
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
je 0x40603e
cmp cx, 0x20
ja 0x406005
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
jne 0x405ff5
cmp word [eax], si
je 0x40603e
lea ecx, [ebp + 0x3c]
push ecx
push eax
call fcn.00405837
test al, al
pop ecx
pop ecx
jne 0x40603e
push 0xa
push esi
call fcn.00409358
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x406037
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 4
jmp 0x405cd1
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
cmp edi, esi
pop ecx
je 0x405be8
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x405be8
lea ecx, [ebp + 0x14]
call fcn.00412536
cmp dword [ebp + 0x40], esi
je 0x406087
push esi
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x3c]
push eax
call fcn.00403730
add esp, 0xc
test al, al
jne 0x406087
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x40602d
cmp dword [0x41ea6c], 4
je 0x40603e
mov eax, dword [0x41e0b0]
mov esi, 0x41e0b0
jmp 0x4060fd
push eax
lea eax, [ebp - 0x100]
push str.7zSfxString_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x54]
call fcn.0040159b
lea ecx, [ebp - 0x48]
call fcn.0040159b
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x54]
call fcn.004014a9
push dword [esi]
call fcn.004024b7
pop ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.004014a9
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x41e3dc
call fcn.00403609
lea ecx, [ebp - 0x54]
add esi, 0x10
call fcn.004029ca
mov eax, dword [esi]
test eax, eax
jne 0x40609c
lea eax, [ebp + 0x14]
push eax
call fcn.00404e3c
pop ecx
dec ebx
push 0x20
dec ebx
pop edi
mov dword [ebp + 0x2c], ebx
cmp word [ebx], di
jbe 0x40612b
inc ebx
inc ebx
cmp word [ebx], di
ja 0x406118
jmp 0x406128
cmp ax, di
ja 0x406133
inc ebx
inc ebx
mov dword [ebp + 0x2c], ebx
movzx eax, word [ebx]
test ax, ax
jne 0x406121
movzx eax, word [ebx]
cmp ax, 0x2f
je 0x406146
cmp ax, 0x2d
jne 0x4063c9
lea esi, [ebx + 2]
cmp word [esi], 0x21
je 0x4063c3
push 0x41baa4
push esi
call fcn.0040453f
test eax, eax
pop ecx
pop ecx
je 0x4061b0
lea ecx, [ebx + 6]
movzx eax, word [ecx]
cmp ax, 0x30
jb 0x406176
cmp ax, 0x39
jbe 0x40618e
cmp ax, 0x61
jb 0x406182
cmp ax, 0x7a
jbe 0x40618e
cmp ax, 0x41
jb 0x40619e
cmp ax, 0x5a
ja 0x40619e
mov dword [ebp + 0x28], ecx
mov byte [ebp + 0x66], 1
mov byte [ebp + 0x67], 1
jmp 0x406113
cmp ax, di
ja 0x4063c9
mov dword [ebp + 0x28], 0x41b834
jmp 0x406191
push 0x41ba9c
push esi
call fcn.0040453f
test eax, eax
pop ecx
pop ecx
je 0x4061d3
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.OverwriteMode
jmp 0x406319
push 0x41ba94
push esi
call fcn.0040453f
test eax, eax
pop ecx
pop ecx
je 0x406217
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
jb 0x4063c9
cmp cx, 0x32
ja 0x4063c9
cmp word [ebx + 8], di
ja 0x4063c9
lea ecx, [ebp + 0x14]
push ecx
push eax
push str.GUIMode
jmp 0x406319
push 0x41ba8c
push esi
call fcn.0040453f
test eax, eax
pop ecx
pop ecx
je 0x40623a
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.GUIFlags
jmp 0x406319
push 0x41ba84
push esi
call fcn.0040453f
test eax, eax
pop ecx
pop ecx
je 0x40625d
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.MiscFlags
jmp 0x406319
push 0x41ba7c
push esi
call fcn.0040453f
test eax, eax
pop ecx
pop ecx
je 0x40629a
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
je 0x406284
cmp cx, 0x31
jne 0x4063c9
cmp word [ebx + 8], di
ja 0x4063c9
lea ecx, [ebp + 0x14]
push ecx
push eax
push str.SelfDelete
jmp 0x406319
push 0x41ba74
push esi
call fcn.0040453f
test eax, eax
pop ecx
pop ecx
je 0x4062be
cmp word [ebx + 6], di
ja 0x4063c9
mov byte [ebp + 0x5f], 1
jmp 0x406113
push 0x41ba6c
push esi
call fcn.0040453f
test eax, eax
pop ecx
pop ecx
je 0x4062fb
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
jb 0x4063c9
cmp cx, 0x39
ja 0x4063c9
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41e3b0], eax
jmp 0x406113
push 0x41ba64
push esi
call fcn.0040453f
test eax, eax
pop ecx
pop ecx
je 0x406326
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 8]
push eax
push str.BeginPromptTimeout
call fcn.004050c3
add esp, 0xc
jmp 0x406113
movzx eax, word [esi]
cmp ax, 0x70
je 0x406391
cmp ax, 0x50
je 0x406391
cmp ax, 0x79
je 0x406341
cmp ax, 0x59
jne 0x406350
cmp word [ebx + 4], di
ja 0x406350
mov byte [ebp + 0x66], 1
jmp 0x406113
cmp ax, 0x3f
je 0x406362
cmp ax, 0x68
je 0x406362
cmp ax, 0x48
jne 0x406371
cmp word [ebx + 4], di
ja 0x406371
mov byte [ebp + 0x64], 1
jmp 0x406113
lea eax, [ebp + 0x14]
push eax
push esi
call fcn.0040498b
test eax, eax
pop ecx
pop ecx
je 0x4063c9
cmp eax, 1
je 0x406507
mov ebx, eax
jmp 0x406110
lea ecx, [ebp + 0x50]
call fcn.0040159b
lea eax, [ebp + 0x50]
push eax
add ebx, 4
push ebx
call fcn.00404dcd
push dword [ebp + 0x50]
mov ebx, eax
mov dword [ebp + 0x2c], ebx
call fcn.004015b3
push dword [ebp + 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
jmp 0x406113
add ebx, 4
mov dword [ebp + 0x2c], ebx
lea eax, [ebp + 0x14]
push eax
call fcn.00404e3c
cmp byte [ebp + 0x65], 0
pop ecx
jne 0x40655a
test byte [0x41e9c8], 4
je 0x40655a
call fcn.0040277e
test eax, eax
jne 0x40655a
lea ecx, [ebp - 0x14]
call fcn.0040159b
lea ecx, [ebp + 0x50]
call fcn.0040159b
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00404dcd
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00402aa1
lea eax, [ebp - 0x20]
push eax
push edi
push str.sfxelevation
push 0x41b898
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x74]
push 0x22
push eax
call fcn.00404bdf
add esp, 0xc
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.00404bfd
add esp, 0xc
push eax
lea eax, [ebp + 8]
push eax
call fcn.00404bfd
add esp, 0xc
push eax
lea eax, [ebp - 8]
push eax
call fcn.00404c1b
add esp, 0xc
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004017ed
add esp, 0xc
push eax
lea ecx, [ebp + 0x50]
call fcn.004014e2
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__
push dword [ebp + 8]
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 - 0x74]
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]
xor esi, esi
push esi
push 2
push dword [ebp + 0x50]
call fcn.004052dd
add esp, 0xc
test eax, eax
push dword [ebp - 0x20]
jne 0x406524
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
add esp, 0x10
cmp eax, esi
je 0x406500
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xb
jmp 0x405cd1
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
test eax, eax
pop ecx
je 0x40651d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, edi
jmp 0x405bea
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
add esp, 0x10
cmp eax, esi
je 0x405bea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405bea
and dword [ebp + 4], 0
lea eax, [ebp + 4]
push eax
mov ebx, str.SetEnvironment
lea eax, [ebp + 0x14]
push ebx
push eax
call fcn.004029e0
add esp, 0xc
jmp 0x4065fb
push edi
lea ecx, [ebp + 0x50]
call fcn.00402aa1
push 0x3d
push dword [ebp + 0x50]
call fcn.004123e3
test eax, eax
pop ecx
pop ecx
jle 0x406607
mov ecx, dword [ebp + 0x50]
lea esi, [eax + eax]
and word [ecx + esi], 0
lea ecx, [ebp - 0x54]
mov dword [ebp + 0x54], eax
call fcn.0040159b
lea ecx, [ebp - 0x48]
call fcn.0040159b
lea eax, [ebp + 0x50]
push eax
lea ecx, [ebp - 0x54]
call fcn.004014e2
lea eax, [esi + edi + 2]
push eax
lea ecx, [ebp - 0x48]
call fcn.004014a9
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x41e3dc
call fcn.00403609
inc dword [ebp + 4]
lea ecx, [ebp - 0x54]
call fcn.004029ca
push dword [ebp + 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x14]
push ebx
push eax
call fcn.004029e0
add esp, 0x10
mov edi, eax
test edi, edi
jne 0x406579
jmp 0x406610
push dword [ebp + 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
call fcn.00404934
xor esi, esi
cmp dword [0x41e3a4], 0xffffffff
jne 0x406626
mov dword [0x41e3a4], esi
cmp byte [ebp + 0x64], 0
je 0x406698
push esi
lea eax, [ebp + 0x14]
push str.HelpText
push eax
call fcn.004029e0
mov edi, eax
add esp, 0xc
cmp edi, esi
jne 0x40664e
push 0x18
call fcn.004024b7
pop ecx
mov edi, eax
lea ecx, [ebp - 0xf8]
call fcn.004044cf
push esi
push edi
push dword [0x41e9b0]
lea ecx, [ebp - 0xf8]
push 0x11
call fcn.004081b9
lea ecx, [ebp - 0xf8]
call fcn.00407f2c
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
cmp eax, esi
pop ecx
je 0x405be8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405be8
cmp byte [ebp + 0x66], 0
je 0x4066a8
and dword [0x41e3a4], 0xfffffeff
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
lea eax, [ebp + 0x14]
push str.InstallPath
push eax
call fcn.004029e0
add esp, 0xc
test eax, eax
mov esi, 0x41e9e8
je 0x4066d2
push eax
mov ecx, esi
call fcn.004014a9
push esi
call fcn.004044e8
push 0
lea eax, [ebp + 0x14]
push str.SfxAuthor
push eax
call fcn.004029e0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4067c2
lea eax, [ebp - 0x18c]
push eax
call fcn.0040a600
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
lea eax, [ebp - 0x18c]
push edi
push eax
call fcn.0040a920
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.0040a970
add esp, 0x14
push 8
pop ecx
mov esi, str.123456789ABCDEFGHJKMNPQRSTUVWXYZ
lea edi, [ebp - 0x124]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov edx, dword [ebp + ecx*4 - 0x4c]
lea eax, [ebp + ecx*4 - 0x5c]
xor dword [eax], edx
inc ecx
cmp ecx, 4
jl 0x40673f
xor edi, edi
xor ebx, ebx
mov eax, ebx
cdq
and edx, 7
add eax, edx
sar eax, 3
movzx esi, byte [ebp + eax - 0x5c]
mov ecx, ebx
and ecx, 0x80000007
jns 0x406772
dec ecx
or ecx, 0xfffffff8
inc ecx
shr esi, cl
and esi, 0x1f
test ebx, ebx
je 0x406792
mov eax, ebx
push 0x19
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x406792
mov word [ebp + edi*2 - 0xe4], 0x2d
inc edi
movsx ax, byte [ebp + esi - 0x124]
mov word [ebp + edi*2 - 0xe4], ax
add ebx, 5
inc edi
cmp ebx, 0x7d
jl 0x406753
and word [ebp + edi*2 - 0xe4], 0
lea eax, [ebp - 0xe4]
push eax
call fcn.004015b3
pop ecx
push 0
lea eax, [ebp + 0x14]
push str.BeginPromptTimeout
push eax
call fcn.004029e0
add esp, 0xc
test eax, eax
je 0x4067e6
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41e9d4], eax
cmp dword [0x41ea74], 0
je 0x406808
lea eax, [ebp + 0x14]
push eax
call fcn.00409548
push dword [ebp + 0x3c]
mov edi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x40650f
cmp dword [0x41ea6c], 3
jne 0x40681c
lea eax, [ebp + 0x14]
push eax
call fcn.0040944d
jmp 0x4067f8
test byte [0x41e9c8], 8
jne 0x40684d
mov esi, dword [ebp + 0x60]
push esi
call fcn.00401688
test eax, eax
pop ecx
jne 0x40684d
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
test esi, esi
pop ecx
je 0x406846
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 5
jmp 0x405cd1
mov ebx, str.ExecuteFile
mov esi, str.RunProgram
xor edi, edi
push edi
lea eax, [ebp + 0x14]
push str.BeginPrompt
push eax
call fcn.004029e0
add esp, 0xc
cmp eax, edi
je 0x4068ae
cmp byte [ebp + 0x66], 0
jne 0x4068ae
push eax
push dword [0x41e9b0]
call fcn.0040893e
test eax, eax
pop ecx
pop ecx
je 0x4069d2
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x40689c
mov byte [ebp + 0x67], 1
cmp dword [0x41ea54], edi
je 0x4068ae
and dword [0x41e3a4], 0xffffff7f
lea ecx, [ebp + 0x30]
call fcn.0040159b
cmp byte [ebp + 0x67], 0
je 0x406938
mov edi, dword [ebp + 0x28]
push str.AutoInstall
lea ecx, [ebp + 0x30]
call fcn.004014a9
movzx eax, word [edi]
push eax
lea ecx, [ebp + 0x30]
call fcn.004017c2
push 0
push dword [ebp + 0x30]
lea eax, [ebp + 0x14]
push eax
call fcn.004029e0
add esp, 0xc
test eax, eax
je 0x4069f1
inc edi
inc edi
movzx eax, word [edi]
cmp ax, 0x30
jb 0x406902
cmp ax, 0x39
jbe 0x4068bf
cmp ax, 0x61
jb 0x40690e
cmp ax, 0x7a
jbe 0x4068bf
cmp ax, 0x41
jb 0x40691a
cmp ax, 0x5a
jbe 0x4068bf
push str.AutoInstall
lea ecx, [ebp + 0x30]
call fcn.004014a9
mov eax, dword [ebp + 0x28]
movzx eax, word [eax]
push eax
lea ecx, [ebp + 0x30]
call fcn.004017c2
xor edi, edi
cmp dword [ebp + 0x34], edi
mov byte [ebp + 0x65], 0
jne 0x406980
push edi
lea eax, [ebp + 0x14]
push ebx
push eax
call fcn.004029e0
add esp, 0xc
test eax, eax
je 0x406965
push ebx
lea ecx, [ebp + 0x30]
call fcn.004014a9
cmp dword [ebp + 0x34], edi
mov byte [ebp + 0x65], 1
jne 0x406980
push edi
lea eax, [ebp + 0x14]
push esi
push eax
call fcn.004029e0
add esp, 0xc
test eax, eax
je 0x406980
push esi
lea ecx, [ebp + 0x30]
call fcn.004014a9
cmp byte [ebp + 0x67], 0
jne 0x406a34
cmp byte [ebp + 0x66], 0
jne 0x406a34
mov eax, dword [0x41e3a4]
and ax, 0xc0
cmp al, 0x80
jne 0x406a34
push dword [0x41e9a4]
push dword [0x41e9a8]
call fcn.004089bc
test eax, eax
pop ecx
pop ecx
jne 0x406a34
cmp byte [0x41e9d8], al
push dword [ebp + 0x30]
je 0x406a24
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406859
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
cmp eax, edi
pop ecx
je 0x406846
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x406846
push dword [ebp + 0x30]
push 0xe
push 0
call fcn.00409358
push dword [ebp + 0x30]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
add esp, 0x14
test eax, eax
je 0x406a1d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 6
jmp 0x405cd1
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x4069da
cmp dword [0x41e9ec], edi
jne 0x406a6a
lea eax, [ebp - 0x74]
push str.7ZipSfx._03x
push eax
call fcn.00404885
pop ecx
pop ecx
mov esi, 0x41e9e8
push eax
mov ecx, esi
call fcn.004014e2
push dword [ebp - 0x74]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov byte [0x41e994], 0
jmp 0x406aa1
mov esi, 0x41e9e8
push esi
lea ecx, [ebp + 0x50]
call fcn.00401477
lea eax, [ebp + 0x50]
push eax
call fcn.004044e8
cmp dword [ebp + 0x54], edi
pop ecx
jne 0x406a92
lea eax, [ebp + 0x50]
push eax
mov ecx, esi
call fcn.004014e2
push dword [ebp + 0x50]
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 0x406abe
cmp dx, 0x2f
jne 0x406ac9
dec ecx
mov word [eax + ecx*2], di
mov dword [0x41e9ec], ecx
cmp byte [ebp + 0x66], 0
je 0x406ad6
or dword [0x41e9c8], 3
cmp dword [0x41ea68], edi
jne 0x406aeb
push esi
push dword [ebp + 0x48]
call fcn.00401a0c
pop ecx
pop ecx
jmp 0x406af9
call fcn.004089fc
test eax, eax
jne 0x406b28
mov eax, 0x80004005
cmp eax, edi
je 0x406b28
call fcn.004047f0
push dword [ebp + 0x30]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
cmp eax, edi
pop ecx
pop ecx
je 0x406b21
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 8
jmp 0x405cd1
call fcn.00404934
cmp byte [ebp + 0x5f], 0
je 0x406b40
cmp byte [0x41e994], 0
jne 0x40711e
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x48], edi
call fcn.0040159b
cmp byte [ebp + 0x67], 0
jne 0x406b60
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.00404d77
pop ecx
pop ecx
mov eax, dword [ebp + 0x28]
mov byte [ebp + 0x67], 0
mov dword [ebp - 0x2c], eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x24], edi
mov byte [ebp + 0x64], 0
call fcn.0040159b
lea ecx, [ebp - 8]
call fcn.0040159b
cmp dword [ebp + 0x34], edi
mov dword [ebp + 0x4c], edi
jne 0x406c31
cmp byte [0x41e994], 0
jne 0x406fb4
mov edi, str.setup.exe
push edi
push 0x41a7e8
lea eax, [ebp - 0xa4]
push 0x41e9e8
push eax
call fcn.00404bfd
add esp, 0xc
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00404bfd
add esp, 0xc
push eax
lea ecx, [ebp + 8]
call fcn.004014e2
push dword [ebp - 0x74]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xa4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x406fcb
mov byte [ebp + 0x67], 1
push edi
lea ecx, [ebp - 8]
call fcn.004014a9
lea eax, [ebp - 8]
push eax
call fcn.0040451c
mov esi, dword [ebp - 8]
pop ecx
xor ebx, ebx
push ebx
push str.waitall
push esi
call fcn.00404579
add esp, 0xc
cmp eax, ebx
je 0x406cb7
mov esi, eax
mov byte [ebp + 0x64], 1
jmp 0x406c12
lea eax, [ebp + 0x48]
push eax
push dword [ebp + 0x30]
lea eax, [ebp + 0x14]
push eax
call fcn.004029e0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x406bfa
mov esi, dword [ebp - 0x2c]
inc esi
inc esi
movzx eax, word [esi]
cmp ax, 0x30
mov dword [ebp - 0x2c], esi
jb 0x406c61
cmp ax, 0x39
jbe 0x406c81
cmp ax, 0x61
jb 0x406c6d
cmp ax, 0x7a
jbe 0x406c81
cmp ax, 0x41
jb 0x40701a
cmp ax, 0x5a
ja 0x40701a
push str.AutoInstall
lea ecx, [ebp + 0x30]
call fcn.004014a9
movzx eax, word [esi]
push eax
lea ecx, [ebp + 0x30]
call fcn.004017c2
push dword [ebp - 8]
and dword [ebp + 0x48], 0
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 edi, edi
jmp 0x406b6a
push ebx
push str.hidcon
push esi
call fcn.00404579
add esp, 0xc
cmp eax, ebx
je 0x406cd5
or dword [ebp + 0x4c], 1
mov esi, eax
jmp 0x406c12
push ebx
push str.nowait
push esi
call fcn.00404579
add esp, 0xc
cmp eax, ebx
je 0x406cf9
cmp byte [0x41e994], 0
mov esi, eax
je 0x406c12
jmp 0x406d0e
push ebx
push str.forcenowait
push esi
call fcn.00404579
add esp, 0xc
cmp eax, ebx
je 0x406d1a
mov esi, eax
or dword [ebp + 0x4c], 0x10000
jmp 0x406c12
push 2
push 0x41ba6c
push esi
call fcn.00404579
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x406d50
cmp dword [0x41e3b0], 0xffffffff
jne 0x406d49
add esi, 4
push esi
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41e3b0], eax
mov esi, edi
jmp 0x406c12
push 3
push 0x41b9ac
push esi
call fcn.00404579
add esp, 0xc
cmp eax, ebx
je 0x406d70
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x28], ecx
jmp 0x406d8e
push 3
push 0x41b9a4
push esi
call fcn.00404579
add esp, 0xc
cmp eax, ebx
je 0x406d95
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x30], ecx
mov esi, eax
jmp 0x406c12
push ebx
push 0x41a638
push esi
call fcn.00404579
add esp, 0xc
cmp eax, ebx
jne 0x406def
push ebx
push str.i386
push esi
call fcn.00404579
add esp, 0xc
cmp eax, ebx
jne 0x406def
push ebx
push 0x41b98c
push esi
call fcn.00404579
add esp, 0xc
cmp eax, ebx
jne 0x406de1
push ebx
push 0x41a630
push esi
call fcn.00404579
add esp, 0xc
cmp eax, ebx
je 0x406dfd
mov esi, eax
mov dword [ebp - 0x24], 2
jmp 0x406c12
mov esi, eax
mov dword [ebp - 0x24], 1
jmp 0x406c12
cmp byte [ebp + 0x65], 0
lea ecx, [ebp + 8]
je 0x406e58
cmp word [esi], 0x22
je 0x406e2b
mov edi, 0x41b828
push edi
call fcn.004014a9
push esi
lea ecx, [ebp + 8]
call fcn.00402af2
push edi
lea ecx, [ebp + 8]
call fcn.00402af2
jmp 0x406e31
push esi
call fcn.004014a9
push ebx
lea eax, [ebp + 0x14]
push str.ExecuteParameters
push eax
call fcn.004029e0
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x406e6a
push 0x41b988
lea ecx, [ebp + 8]
call fcn.00402af2
jmp 0x406e61
lea eax, [ebp + 0x50]
push eax
call fcn.004014e2
push esi
lea ecx, [ebp + 8]
call fcn.00402af2
lea ecx, [ebp - 0x14]
call fcn.0040159b
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00404dcd
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00402aa1
lea eax, [ebp - 0x14]
push eax
call fcn.0040451c
cmp dword [0x41ea6c], ebx
pop ecx
jne 0x406f6e
push dword [ebp - 0x24]
call fcn.0040274d
test eax, eax
pop ecx
je 0x406f6e
mov esi, dword [ebp + 0x2c]
cmp word [esi], bx
je 0x406ed1
push esi
lea ecx, [ebp - 0x20]
call fcn.00402af2
cmp word [esi], bx
je 0x406ed1
inc esi
inc esi
cmp word [esi], bx
jne 0x406ec7
mov dword [ebp + 0x2c], esi
lea eax, [ebp - 0x20]
push eax
call fcn.0040451c
cmp byte [ebp + 0x64], 0
pop ecx
jne 0x406f50
lea eax, [ebp - 0x20]
push eax
push 0x41b8b8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x48]
push 0x22
push eax
call fcn.00404bdf
add esp, 0xc
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00404bfd
add esp, 0xc
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004017ed
push dword [ebp - 0x98]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [0x41e9e8]
push dword [ebp + 0x4c]
push dword [ebp - 0x68]
call fcn.004052dd
add esp, 0x20
test eax, eax
push dword [ebp - 0x68]
je 0x407031
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406f69
push dword [ebp + 0x4c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call fcn.004053b4
add esp, 0xc
cmp eax, ebx
jne 0x407039
call fcn.004026e5
cmp byte [ebp + 0x65], 0
jne 0x40709c
cmp byte [ebp + 0x67], 0
jne 0x40709c
mov eax, dword [ebp + 0x50]
mov dword [ebp + 0x54], ebx
mov word [eax], bx
push dword [ebp - 0x20]
inc dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
jmp 0x406cb0
push dword [ebp - 8]
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
jmp 0x4070bf
call fcn.004047f0
push 0xf
push 0
call fcn.00409358
push dword [ebp - 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x50]
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 + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
add esp, 0x1c
test eax, eax
je 0x405d2f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405d2f
push dword [ebp - 8]
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
jmp 0x4070bd
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x407040
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
push 0x10
push 1
call fcn.00409358
call fcn.004047f0
push dword [ebp - 0x20]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x50]
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 + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
add esp, 0x28
cmp eax, ebx
je 0x407095
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 9
jmp 0x405cd1
push dword [ebp - 0x20]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
xor edi, edi
cmp dword [0x41ea6c], edi
jne 0x407115
call fcn.00404934
push dword [ebp - 0x28]
lea eax, [ebp + 0x14]
push dword [ebp + 0x28]
push str.Shortcut
push eax
push 0x4059ba
call fcn.00405121
add esp, 0x14
push dword [0x41e9f4]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push dword [ebp - 0x30]
lea eax, [ebp + 0x14]
push dword [ebp + 0x28]
push str.Delete
push eax
push 0x404a86
call fcn.00405121
add esp, 0x14
call fcn.004047f0
push dword [ebp + 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [0x41e3b0], 0xffffffff
jne 0x407137
cmp byte [ebp + 0x66], 0
jne 0x407196
mov dword [0x41e3b0], 1
cmp dword [0x41e3b0], edi
jle 0x407196
push 0
lea eax, [ebp + 0x14]
push str.FinishMessage
push eax
call fcn.004029e0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x407196
mov eax, 0x3e7
cmp dword [0x41e3b0], eax
jle 0x40716a
mov dword [0x41e3b0], eax
lea ecx, [ebp - 0xf4]
call fcn.004047bb
push 0
push edi
push dword [0x41e9b0]
lea ecx, [ebp - 0xf4]
push 0x11
call fcn.004081b9
lea ecx, [ebp - 0xf4]
call fcn.00407f2c
cmp byte [ebp + 0x5f], 0
jne 0x4071d9
cmp dword [0x41ea6c], 0
jne 0x4071d9
push 0
lea eax, [ebp + 0x14]
push str.SelfDelete
push eax
call fcn.004029e0
add esp, 0xc
test eax, eax
je 0x4071d9
cmp word [eax], 0x31
jne 0x4071d9
sub esp, 0xc
mov ecx, esp
push 0x41ea30
call fcn.00401477
call fcn.0040567a
add esp, 0xc
push dword [ebp + 0x30]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
test eax, eax
pop ecx
pop ecx
je 0x4071f8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x80]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp + 0x14]
call fcn.00404853
push dword [ebp - 0x8c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
xor eax, eax
jmp 0x407239
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