Function at 0x405c3c
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 0x404906
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 0x4074c0
cmp dword [ebp - 0x294], 2
jne 0x4074c0
cmp dword [ebp - 0x2a0], 5
jb 0x4074c0
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], 0x41b838
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], 0x41b554
call fcn.0040494c
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00404ecc
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.004036a2
add esp, 0xc
push 1
call fcn.004026a9
push eax
push str.SfxVarSystemPlatform
call fcn.004036a2
push 1
push ebx
push str.SfxVarCmdLine0
call fcn.004036a2
add esp, 0x18
call fcn.00404577
cmp dword [ebp + 0x10], 0x20
jg 0x405d7a
push 0x20
lea ecx, [ebp + 8]
call fcn.004011b7
movzx eax, word [0x41e980]
mov esi, dword [ebp + 8]
push eax
push 0x41bb80
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.004036a2
push str.sfxlang
push ebx
call fcn.0040489a
add esp, 0x24
cmp eax, edi
je 0x405dfb
cmp word [eax], 0x3a
jne 0x405dfb
add eax, 2
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
lea ecx, [eax - 1]
cmp ecx, 0xfffe
ja 0x405de3
mov word [0x41e980], ax
jmp 0x405de3
inc ebx
inc ebx
cmp word [ebx], 0x20
ja 0x405de1
jmp 0x405df3
cmp ax, 0x20
ja 0x405dfb
inc ebx
inc ebx
movzx eax, word [ebx]
cmp ax, di
jne 0x405deb
push str.sfxversion
push ebx
call fcn.0040489a
test eax, eax
pop ecx
pop ecx
je 0x405e3d
call fcn.0040530b
xor esi, esi
push dword [ebp - 0x5c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp + 0x14]
call fcn.00404999
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 0x4074d7
push str.sfxwaitall
push ebx
call fcn.0040489a
cmp eax, edi
pop ecx
pop ecx
je 0x405e59
push eax
call fcn.0040571f
pop ecx
mov esi, eax
jmp 0x405e13
push str.sfxelevation
push ebx
mov byte [ebp + 0x65], 0
call fcn.0040489a
cmp eax, edi
pop ecx
pop ecx
je 0x405e86
mov byte [ebp + 0x65], 1
jmp 0x405e7c
cmp cx, 0x20
ja 0x405e84
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, di
jne 0x405e74
mov ebx, eax
mov esi, 0x208
cmp dword [0x41ea38], esi
jg 0x405e9e
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 0x405ec2
xor esi, esi
inc esi
push 6
push esi
call fcn.00409612
pop ecx
pop ecx
jmp 0x405e13
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.0040489a
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x40608c
cmp word [esi], 0x3a
je 0x405efe
push 0x64
pop esi
jmp 0x405e13
movzx ecx, word [esi + 2]
movzx eax, cx
push 0x20
pop ebx
or eax, ebx
sub eax, 0x61
je 0x40600f
dec eax
dec eax
je 0x405ffb
dec eax
je 0x405f7a
sub eax, 0xb
je 0x405f32
sub eax, 7
jne 0x405ef6
mov esi, 0x4aed
jmp 0x405e13
cmp word [esi + 4], 0x3a
jne 0x405e11
movzx eax, word [esi + 6]
sub eax, 0x31
je 0x405f72
dec eax
je 0x405f68
dec eax
je 0x405f64
dec eax
je 0x405f5a
dec eax
jne 0x405e11
push 7
jmp 0x405ef8
mov esi, 0x2ff
jmp 0x405e13
push 0x1f
jmp 0x405ef8
mov esi, 0xff
jmp 0x405e13
xor esi, esi
inc esi
jmp 0x405e13
cmp cx, 0x44
jne 0x405fbb
cmp word [esi + 4], 0x3a
jne 0x405ef6
add esi, 6
jmp 0x405fa6
cmp ax, 0x3a
je 0x405fae
movzx eax, ax
push eax
mov ecx, 0x41ea70
call fcn.004017a8
inc esi
inc esi
movzx eax, word [esi]
cmp ax, bx
ja 0x405f90
cmp dword [0x41ea74], edi
jne 0x405fbe
jmp 0x405ef6
add esi, 4
mov dword [0x41ea68], edi
cmp word [esi], 0x3a
jne 0x405fe5
lea eax, [esi + 2]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
cmp eax, 0xe10
pop ecx
mov dword [0x41ea68], eax
ja 0x405fe5
cmp eax, edi
jne 0x405fef
mov dword [0x41ea68], 0xa
mov dword [0x41ea6c], 1
jmp 0x40601d
xor eax, eax
cmp word [esi + 4], 0x63
sete al
add eax, 3
mov dword [0x41ea6c], eax
jmp 0x40601d
mov dword [0x41ea6c], 2
jmp 0x40601d
inc esi
inc esi
cmp word [esi], bx
ja 0x40601b
jmp 0x40602b
cmp ax, bx
ja 0x406033
inc esi
inc esi
movzx eax, word [esi]
cmp ax, di
jne 0x406024
push str.sfxconfig
push esi
mov ebx, esi
call fcn.0040489a
cmp eax, edi
pop ecx
pop ecx
je 0x40608c
cmp word [eax], 0x3a
jne 0x406056
jmp 0x406054
cmp cx, 0x20
ja 0x40605e
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, di
jne 0x40604e
mov ecx, dword [ebp + 8]
mov word [ecx], di
lea ecx, [ebp + 8]
push ecx
push eax
mov dword [ebp + 0xc], edi
call fcn.00404ecc
cmp dword [0x41ea6c], 2
pop ecx
pop ecx
mov ebx, eax
je 0x40608c
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.0040340f
xor esi, esi
cmp eax, esi
pop ecx
jl 0x40614b
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 0x406111
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 0x406173
mov ecx, eax
call fcn.00404c8b
mov dword [ebp + 0x28], eax
jmp 0x406176
mov dword [ebp + 0x28], esi
mov edi, dword [ebp + 0x28]
push edi
lea ecx, [ebp + 0x60]
call fcn.0041335e
push dword [0x41ea30]
lea ecx, [edi + 0xc]
call fcn.004123f3
test al, al
jne 0x4061ba
push dword [0x41ea30]
push 7
push 1
call fcn.00409612
mov eax, dword [ebp + 0x60]
add esp, 0xc
cmp eax, esi
je 0x4061b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 2
jmp 0x405ef8
lea ecx, [ebp + 0x2c]
call fcn.00402b4e
mov edi, dword [ebp + 0x60]
lea eax, [ebp + 0x2c]
push eax
push edi
call fcn.00404052
test al, al
pop ecx
pop ecx
jne 0x4061f9
push 9
push esi
call fcn.00409612
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x4061f2
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 3
jmp 0x405ef8
cmp dword [0x41ea6c], esi
jne 0x40628b
push str.sfxconfig
push ebx
call fcn.0040489a
cmp eax, esi
pop ecx
pop ecx
je 0x40628b
cmp word [eax], 0x3a
jne 0x40621e
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
je 0x40626f
cmp cx, 0x20
ja 0x406236
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
jne 0x406226
cmp word [eax], si
je 0x40626f
lea ecx, [ebp + 0x2c]
push ecx
push eax
call fcn.004059dc
test al, al
pop ecx
pop ecx
jne 0x40626f
push 0xa
push esi
call fcn.00409612
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x406268
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 4
jmp 0x405ef8
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
cmp edi, esi
pop ecx
je 0x405e11
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x405e11
lea ecx, [ebp + 0x14]
call fcn.004127f6
cmp dword [ebp + 0x30], esi
je 0x4062b8
push esi
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.004037bf
add esp, 0xc
test al, al
jne 0x4062b8
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x40625e
cmp dword [0x41ea6c], 4
je 0x40626f
mov eax, dword [0x41e0b0]
mov esi, 0x41e0b0
jmp 0x406302
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.004036a2
add esp, 0xc
add esi, 0x10
mov eax, dword [esi]
test eax, eax
jne 0x4062cd
lea eax, [ebp + 0x14]
push eax
call fcn.00404f3b
push 1
dec ebx
push 0x41a584
push str.SfxVarCmdLine2
dec ebx
call fcn.004036a2
add esp, 0x10
jmp 0x406329
inc ebx
inc ebx
cmp word [ebx], 0x20
ja 0x406327
jmp 0x406339
cmp ax, 0x20
ja 0x406341
inc ebx
inc ebx
movzx eax, word [ebx]
test ax, ax
jne 0x406331
movzx eax, word [ebx]
cmp ax, 0x2f
je 0x406354
cmp ax, 0x2d
jne 0x4065de
lea esi, [ebx + 2]
cmp word [esi], 0x21
je 0x4065d3
push 0x41bac4
push esi
call fcn.004046bd
test eax, eax
pop ecx
pop ecx
je 0x4063bc
lea ecx, [ebx + 6]
movzx eax, word [ecx]
cmp ax, 0x30
jb 0x406384
cmp ax, 0x39
jbe 0x40639c
cmp ax, 0x61
jb 0x406390
cmp ax, 0x7a
jbe 0x40639c
cmp ax, 0x41
jb 0x4063a9
cmp ax, 0x5a
ja 0x4063a9
mov dword [ebp + 0x44], ecx
mov byte [ebp + 0x66], 1
mov byte [ebp + 0x67], 1
jmp 0x406329
cmp ax, 0x20
ja 0x4065de
mov dword [ebp + 0x44], 0x41b838
jmp 0x40639f
push 0x41babc
push esi
call fcn.004046bd
test eax, eax
pop ecx
pop ecx
je 0x4063df
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.OverwriteMode
jmp 0x40652b
push 0x41bab4
push esi
call fcn.004046bd
test eax, eax
pop ecx
pop ecx
je 0x406424
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
jb 0x4065de
cmp cx, 0x32
ja 0x4065de
cmp word [ebx + 8], 0x20
ja 0x4065de
lea ecx, [ebp + 0x14]
push ecx
push eax
push str.GUIMode
jmp 0x40652b
push 0x41baac
push esi
call fcn.004046bd
test eax, eax
pop ecx
pop ecx
je 0x406447
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.GUIFlags
jmp 0x40652b
push 0x41baa4
push esi
call fcn.004046bd
test eax, eax
pop ecx
pop ecx
je 0x40646a
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.MiscFlags
jmp 0x40652b
push 0x41ba9c
push esi
call fcn.004046bd
test eax, eax
pop ecx
pop ecx
je 0x4064ab
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
je 0x406491
cmp cx, 0x31
jne 0x4065de
cmp word [ebx + 8], 0x20
ja 0x4065de
lea ecx, [ebp + 0x14]
push ecx
push eax
push str.SelfDelete
jmp 0x40652b
push 0x41ba94
push esi
call fcn.004046bd
test eax, eax
pop ecx
pop ecx
je 0x4064d0
cmp word [ebx + 6], 0x20
ja 0x4065de
mov byte [ebp + 0x5f], 1
jmp 0x406329
push 0x41ba8c
push esi
call fcn.004046bd
test eax, eax
pop ecx
pop ecx
je 0x40650d
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
jb 0x4065de
cmp cx, 0x39
ja 0x4065de
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41e3b0], eax
jmp 0x406329
push 0x41ba84
push esi
call fcn.004046bd
test eax, eax
pop ecx
pop ecx
je 0x406538
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 8]
push eax
push str.BeginPromptTimeout
call fcn.004051c2
add esp, 0xc
jmp 0x406329
movzx eax, word [esi]
cmp ax, 0x70
je 0x4065a5
cmp ax, 0x50
je 0x4065a5
cmp ax, 0x79
je 0x406553
cmp ax, 0x59
jne 0x406563
cmp word [ebx + 4], 0x20
ja 0x406563
mov byte [ebp + 0x66], 1
jmp 0x406329
cmp ax, 0x3f
je 0x406575
cmp ax, 0x68
je 0x406575
cmp ax, 0x48
jne 0x406585
cmp word [ebx + 4], 0x20
ja 0x406585
mov byte [ebp + 0x64], 1
jmp 0x406329
lea eax, [ebp + 0x14]
push eax
push esi
call fcn.00404b61
test eax, eax
pop ecx
pop ecx
je 0x4065de
cmp eax, 1
je 0x406639
mov ebx, eax
jmp 0x406329
lea ecx, [ebp + 0x48]
call fcn.004014eb
lea eax, [ebp + 0x48]
push eax
add ebx, 4
push ebx
call fcn.00404ecc
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 0x406322
mov esi, ebx
xor edi, edi
add ebx, 4
cmp esi, edi
jne 0x4065e2
mov esi, ebx
xor edi, edi
cmp dword [ebp + 0x54], esi
je 0x406656
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.00404d68
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.004059b6
lea ecx, [ebp + 8]
call fcn.00405990
push 1
push dword [ebp + 8]
jmp 0x40665d
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
test eax, eax
pop ecx
je 0x40664f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x20
jmp 0x405ef8
push 1
push 0x41a584
push str.SfxVarCmdLine1
call fcn.004036a2
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.00404d68
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.004059b6
lea ecx, [ebp + 8]
call fcn.00405990
push 1
push dword [ebp + 8]
push str.SfxVarCmdLine2
call fcn.004036a2
lea eax, [ebp + 0x14]
push eax
call fcn.00404f3b
add esp, 0x10
cmp byte [ebp + 0x65], 0
jne 0x406839
test byte [0x41e9c8], 4
je 0x406839
call fcn.00402757
test eax, eax
jne 0x406839
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.00404ecc
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 0x41b898
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x50]
push 0x22
push eax
call fcn.00404e1c
add esp, 0xc
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.00404e3a
add esp, 0xc
push eax
lea eax, [ebp - 4]
push eax
call fcn.00404e3a
add esp, 0xc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00404e58
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.004053df
add esp, 0xc
test eax, eax
push dword [ebp - 0x3c]
jne 0x406803
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 0x4067fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xb
jmp 0x405ef8
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 0x405e11
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405e11
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 0x4068b8
push esi
lea ecx, [ebp - 0x14]
call fcn.00402a9c
mov edi, dword [ebp - 0x14]
push 0x3d
push edi
call fcn.004126a3
test eax, eax
pop ecx
pop ecx
jle 0x4068af
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.004036a2
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 0x406857
jmp 0x4068b6
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
xor edi, edi
call fcn.00404b0a
cmp dword [0x41e3a4], 0xffffffff
jne 0x4068cc
mov dword [0x41e3a4], edi
cmp byte [ebp + 0x64], 0
je 0x40692d
push edi
lea eax, [ebp + 0x14]
push str.HelpText
push eax
call fcn.004029db
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x4068f4
push 0x18
call fcn.00402490
pop ecx
mov esi, eax
lea ecx, [ebp - 0xe0]
call fcn.0040455e
push edi
push esi
push dword [0x41e9b0]
lea ecx, [ebp - 0xe0]
push 0x11
call fcn.00408457
lea ecx, [ebp - 0xe0]
call fcn.004081ca
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406823
cmp byte [ebp + 0x66], 0
je 0x40693d
and dword [0x41e3a4], 0xfffffeff
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push edi
lea eax, [ebp + 0x14]
push str.SfxAuthor
push eax
call fcn.004029db
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x406a40
lea eax, [ebp - 0x190]
push eax
call fcn.0040a8c0
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.0040abe0
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.0040ac30
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 0x4069ad
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 0x4069eb
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, dword [ebp + 0x58]
shr esi, cl
and esi, 0x1f
test eax, eax
je 0x406a0c
push 0x19
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x406a0c
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 0x4069c8
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.InstallPath
push eax
call fcn.004029db
add esp, 0xc
cmp eax, edi
mov esi, 0x41e9e8
je 0x406a63
push eax
mov ecx, esi
call fcn.00401403
push esi
call fcn.00404666
push edi
lea eax, [ebp + 0x14]
push str.BeginPromptTimeout
push eax
call fcn.004029db
add esp, 0x10
cmp eax, edi
je 0x406a8c
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41e9d4], eax
cmp dword [0x41ea74], edi
je 0x406abf
lea eax, [ebp + 0x14]
push eax
call fcn.00409802
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 0x405e13
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405e13
cmp dword [0x41ea6c], 3
jne 0x406ad3
lea eax, [ebp + 0x14]
push eax
call fcn.00409707
jmp 0x406a9d
test byte [0x41e9c8], 8
jne 0x406b04
mov esi, dword [ebp + 0x60]
push esi
call fcn.004015d8
test eax, eax
pop ecx
jne 0x406b04
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
cmp esi, edi
pop ecx
je 0x406afd
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 5
jmp 0x405ef8
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 0x406b64
cmp byte [ebp + 0x66], 0
jne 0x406b64
push eax
push dword [0x41e9b0]
call fcn.00408bdc
test eax, eax
pop ecx
pop ecx
je 0x406c90
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x406b52
mov byte [ebp + 0x66], 1
mov byte [ebp + 0x67], 1
cmp dword [0x41ea54], esi
je 0x406b64
and dword [0x41e3a4], 0xffffff7f
lea ecx, [ebp + 0x38]
call fcn.004014eb
cmp byte [ebp + 0x67], 0
je 0x406bee
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 0x406caf
inc esi
inc esi
movzx eax, word [esi]
cmp ax, 0x30
jb 0x406bb8
cmp ax, 0x39
jbe 0x406b75
cmp ax, 0x61
jb 0x406bc4
cmp ax, 0x7a
jbe 0x406b75
cmp ax, 0x41
jb 0x406bd0
cmp ax, 0x5a
jbe 0x406b75
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 0x406c3e
push esi
lea eax, [ebp + 0x14]
push edi
push eax
call fcn.004029db
add esp, 0xc
test eax, eax
je 0x406c1b
push edi
lea ecx, [ebp + 0x38]
call fcn.00401403
cmp dword [ebp + 0x3c], esi
mov byte [ebp + 0x65], 1
jne 0x406c3e
push esi
lea eax, [ebp + 0x14]
push str.RunProgram
push eax
call fcn.004029db
add esp, 0xc
test eax, eax
je 0x406c3e
push str.RunProgram
lea ecx, [ebp + 0x38]
call fcn.00401403
cmp byte [ebp + 0x67], 0
jne 0x406cf2
cmp byte [ebp + 0x66], 0
jne 0x406cf2
mov eax, dword [0x41e3a4]
and ax, 0xc0
cmp al, 0x80
jne 0x406cf2
push dword [0x41e9a4]
push dword [0x41e9a8]
call fcn.00408c5a
test eax, eax
pop ecx
pop ecx
jne 0x406cf2
cmp byte [0x41e9d8], al
push dword [ebp + 0x38]
je 0x406ce2
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406b0b
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
cmp eax, esi
pop ecx
je 0x406afd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x406afd
push dword [ebp + 0x38]
push 0xe
push 0
call fcn.00409612
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 0x406cdb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 6
jmp 0x405ef8
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 0x406c98
cmp dword [0x41e9ec], esi
jne 0x406d28
lea eax, [ebp - 0x50]
push str.7ZipSfx._03x
push eax
call fcn.00404a5b
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 0x406d60
mov esi, 0x41e9e8
push esi
lea ecx, [ebp + 0x48]
call fcn.004013d1
lea eax, [ebp + 0x48]
push eax
call fcn.00404666
cmp dword [ebp + 0x4c], 0
pop ecx
je 0x406d51
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 0x406d7d
cmp dx, 0x2f
jne 0x406d89
dec ecx
and word [eax + ecx*2], 0
mov dword [0x41e9ec], ecx
cmp byte [ebp + 0x66], 0
je 0x406d96
or dword [0x41e9c8], 3
cmp dword [0x41ea68], 0
jne 0x406dac
push esi
push dword [ebp + 0x28]
call fcn.004019e5
pop ecx
pop ecx
jmp 0x406dba
call fcn.00408cb6
test eax, eax
jne 0x406de9
mov eax, 0x80004005
test eax, eax
je 0x406de9
call fcn.00404936
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 0x406de2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 8
jmp 0x405ef8
call fcn.00404b0a
cmp byte [ebp + 0x5f], 0
je 0x406e01
cmp byte [0x41e994], 0
jne 0x4073be
and dword [ebp + 0x54], 0
lea ecx, [ebp + 0x48]
call fcn.004014eb
cmp byte [ebp + 0x67], 0
jne 0x406e22
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.00404e76
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 0x406eef
cmp byte [0x41e994], 0
jne 0x40726c
mov esi, str.setup.exe
push esi
push 0x41a7ec
lea eax, [ebp - 0x80]
push 0x41e9e8
push eax
call fcn.00404e3a
add esp, 0xc
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00404e3a
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 0x407283
mov byte [ebp + 0x67], 1
push esi
lea ecx, [ebp - 0x30]
call fcn.00401403
lea eax, [ebp - 0x30]
push eax
call fcn.0040469a
mov esi, dword [ebp - 0x30]
pop ecx
xor edi, edi
push edi
push str.waitall
push esi
call fcn.004046f7
add esp, 0xc
cmp eax, edi
je 0x406f73
mov esi, eax
mov byte [ebp + 0x64], 1
jmp 0x406ece
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 0x406eb8
mov esi, dword [ebp - 8]
inc esi
inc esi
movzx eax, word [esi]
cmp ax, 0x30
mov dword [ebp - 8], esi
jb 0x406f1f
cmp ax, 0x39
jbe 0x406f3f
cmp ax, 0x61
jb 0x406f2b
cmp ax, 0x7a
jbe 0x406f3f
cmp ax, 0x41
jb 0x40726c
cmp ax, 0x5a
ja 0x40726c
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 0x406e2c
push edi
push str.hidcon
push esi
call fcn.004046f7
add esp, 0xc
cmp eax, edi
je 0x406f91
or dword [ebp + 0x58], 1
mov esi, eax
jmp 0x406ece
push edi
push str.nowait
push esi
call fcn.004046f7
add esp, 0xc
cmp eax, edi
je 0x406fb5
cmp byte [0x41e994], 0
mov esi, eax
je 0x406ece
jmp 0x406fca
push edi
push str.forcenowait
push esi
call fcn.004046f7
add esp, 0xc
cmp eax, edi
je 0x406fd6
mov esi, eax
or dword [ebp + 0x58], 0x10000
jmp 0x406ece
push 2
push 0x41ba8c
push esi
call fcn.004046f7
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40700c
cmp dword [0x41e3b0], 0xffffffff
jne 0x407005
add esi, 4
push esi
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41e3b0], eax
mov esi, edi
jmp 0x406ece
push 3
push 0x41b9ac
push esi
call fcn.004046f7
xor edi, edi
add esp, 0xc
cmp eax, edi
je 0x40702e
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x44], ecx
jmp 0x40704c
push 3
push 0x41b9a4
push esi
call fcn.004046f7
add esp, 0xc
cmp eax, edi
je 0x407053
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x40], ecx
mov esi, eax
jmp 0x406ece
push edi
push 0x41a634
push esi
call fcn.004046f7
add esp, 0xc
cmp eax, edi
jne 0x4070ad
push edi
push str.i386
push esi
call fcn.004046f7
add esp, 0xc
cmp eax, edi
jne 0x4070ad
push edi
push 0x41b98c
push esi
call fcn.004046f7
add esp, 0xc
cmp eax, edi
jne 0x40709f
push edi
push 0x41a62c
push esi
call fcn.004046f7
add esp, 0xc
cmp eax, edi
je 0x4070bb
mov esi, eax
mov dword [ebp + 0x28], 2
jmp 0x406ece
mov esi, eax
mov dword [ebp + 0x28], 1
jmp 0x406ece
cmp byte [ebp + 0x65], 0
lea ecx, [ebp - 4]
je 0x407119
cmp word [esi], 0x22
je 0x4070ec
push 0x41b82c
call fcn.00401403
push esi
lea ecx, [ebp - 4]
call fcn.00402aed
push 0x41b82c
lea ecx, [ebp - 4]
call fcn.00402aed
jmp 0x4070f2
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 0x40712b
push 0x41b988
lea ecx, [ebp - 4]
call fcn.00402aed
jmp 0x407122
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.00404ecc
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402a9c
lea eax, [ebp - 0x24]
push eax
call fcn.0040469a
cmp dword [0x41ea6c], edi
pop ecx
jne 0x407226
push dword [ebp + 0x28]
call fcn.00402726
test eax, eax
pop ecx
je 0x407226
cmp word [ebx], di
je 0x407189
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00402aed
jmp 0x407184
inc ebx
inc ebx
cmp word [ebx], di
jne 0x407182
lea eax, [ebp - 0x3c]
push eax
call fcn.0040469a
cmp byte [ebp + 0x64], 0
pop ecx
jne 0x407208
lea eax, [ebp - 0x3c]
push eax
push 0x41b8b8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x74]
push 0x22
push eax
call fcn.00404e1c
add esp, 0xc
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00404e3a
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.004053df
add esp, 0x20
test eax, eax
push dword [ebp - 0x14]
je 0x4072d2
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x407221
push dword [ebp + 0x58]
push dword [ebp - 0x3c]
push dword [ebp - 0x24]
call fcn.004054b6
add esp, 0xc
cmp eax, edi
jne 0x4072da
call fcn.004026be
cmp byte [ebp + 0x65], 0
jne 0x40733d
cmp byte [ebp + 0x67], 0
jne 0x40733d
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 0x406e2c
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 0x40735e
call fcn.00404936
push 0xf
push 0
call fcn.00409612
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 0x405f56
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405f56
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x4072e1
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push 0x10
push 1
call fcn.00409612
call fcn.00404936
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 0x407336
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 9
jmp 0x405ef8
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 0x4073b5
call fcn.00404b0a
push dword [ebp - 0x44]
lea eax, [ebp + 0x14]
push dword [ebp + 0x44]
push str.Shortcut
push eax
push 0x405b5f
call fcn.00405220
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 0x404c5c
call fcn.00405220
add esp, 0x14
call fcn.00404936
push dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [0x41e3b0], 0xffffffff
jne 0x4073d7
cmp byte [ebp + 0x66], 0
jne 0x407437
mov dword [0x41e3b0], 1
cmp dword [0x41e3b0], 0
jle 0x407437
push 0
lea eax, [ebp + 0x14]
push str.FinishMessage
push eax
call fcn.004029db
mov esi, eax
add esp, 0xc
test esi, esi
je 0x407437
mov eax, 0x3e7
cmp dword [0x41e3b0], eax
jle 0x40740b
mov dword [0x41e3b0], eax
lea ecx, [ebp - 0xdc]
call fcn.0040491d
push 0
push esi
push dword [0x41e9b0]
lea ecx, [ebp - 0xdc]
push 0x11
call fcn.00408457
lea ecx, [ebp - 0xdc]
call fcn.004081ca
cmp byte [ebp + 0x5f], 0
jne 0x40747a
cmp dword [0x41ea6c], 0
jne 0x40747a
push 0
lea eax, [ebp + 0x14]
push str.SelfDelete
push eax
call fcn.004029db
add esp, 0xc
test eax, eax
je 0x40747a
cmp word [eax], 0x31
jne 0x40747a
sub esp, 0xc
mov ecx, esp
push 0x41ea30
call fcn.004013d1
call fcn.0040577c
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 0x407499
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.00404999
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 0x4074d7
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