Function at 0x405bfc
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 0x40474e
call dword [sym.imp.MSVCRT.dll_int____cdecl___unsigned_int____cdecl__set_new_handler_int____cdecl___unsigned_int__]
pop ecx
call fcn.00402017
lea eax, [ebp - 0x2a0]
push eax
mov dword [ebp - 0x2a0], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4074b4
cmp dword [ebp - 0x290], 2
jne 0x4074b4
cmp dword [ebp - 0x29c], 5
jb 0x4074b4
or dword [ebp - 0x48], 0xffffffff
or dword [ebp - 0x44], 0xffffffff
lea ecx, [ebp + 8]
mov byte [str.___InstallEnd__], 0x3b
mov byte [str.___Install__UTF_8_], 0x3b
mov dword [ebp + 0x2c], 0x41b824
xor edi, edi
mov byte [ebp + 0x67], 0
mov byte [ebp + 0x66], 0
mov byte [ebp + 0x5f], 0
mov byte [ebp + 0x64], 0
call fcn.004014eb
lea ecx, [ebp - 0x8c]
call fcn.004014eb
push 0x20
lea ecx, [ebp - 0x60]
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], 4
mov dword [ebp + 0x14], 0x41b520
call fcn.00404794
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00404e9f
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.00402ab8
lea eax, [ebp - 0x60]
push eax
call fcn.004030cc
mov ebx, dword [ebp - 0x60]
pop ecx
add ebx, 2
push ebx
mov dword [ebp + 0x48], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebx + eax*2]
push 0x41a638
push str.7zSfxVarModulePlatform
mov dword [ebp - 0xc], eax
call fcn.0040574f
call fcn.00402696
push eax
push str.7zSfxVarSystemPlatform
call fcn.0040574f
push ebx
push str.7zSfxVarCmdLine0
call fcn.0040574f
add esp, 0x18
call fcn.00404d0b
cmp dword [ebp + 0x10], 0x20
jg 0x405d34
push 0x20
lea ecx, [ebp + 8]
call fcn.004011b7
movzx eax, word [0x41e980]
mov esi, dword [ebp + 8]
push eax
push 0x41bb7c
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call fcn.00401184
push esi
push str.7zSfxVarSystemLanguage
mov word [esi + eax*2], di
mov dword [ebp + 0xc], eax
call fcn.0040574f
push str.sfxlang
push ebx
call fcn.004046e2
add esp, 0x20
cmp eax, edi
je 0x405db3
cmp word [eax], 0x3a
jne 0x405db3
add eax, 2
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
lea ecx, [eax - 1]
cmp ecx, 0xfffe
ja 0x405d9b
mov word [0x41e980], ax
jmp 0x405d9b
inc ebx
inc ebx
cmp word [ebx], 0x20
ja 0x405d99
jmp 0x405dab
cmp ax, 0x20
ja 0x405db3
inc ebx
inc ebx
movzx eax, word [ebx]
cmp ax, di
jne 0x405da3
push str.sfxversion
push ebx
call fcn.004046e2
test eax, eax
pop ecx
pop ecx
je 0x405df8
call fcn.004052de
xor esi, esi
push dword [ebp - 0x60]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp + 0x14]
call fcn.004047e1
push dword [ebp - 0x8c]
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 0x4074cb
push str.sfxwaitall
push ebx
call fcn.004046e2
cmp eax, edi
pop ecx
pop ecx
je 0x405e14
push eax
call fcn.004056f2
pop ecx
mov esi, eax
jmp 0x405dcb
push str.sfxelevation
push ebx
mov byte [ebp + 0x65], 0
call fcn.004046e2
cmp eax, edi
pop ecx
pop ecx
je 0x405e41
mov byte [ebp + 0x65], 1
jmp 0x405e37
cmp cx, 0x20
ja 0x405e3f
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, di
jne 0x405e2f
mov ebx, eax
mov esi, 0x208
cmp dword [0x41ea38], esi
jg 0x405e59
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 0x405e7d
xor esi, esi
inc esi
push 6
push esi
call fcn.00409606
pop ecx
pop ecx
jmp 0x405dcb
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.004046e2
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x406047
cmp word [esi], 0x3a
je 0x405eb9
push 0x64
pop esi
jmp 0x405dcb
movzx ecx, word [esi + 2]
movzx eax, cx
push 0x20
pop ebx
or eax, ebx
sub eax, 0x61
je 0x405fca
dec eax
dec eax
je 0x405fb6
dec eax
je 0x405f35
sub eax, 0xb
je 0x405eed
sub eax, 7
jne 0x405eb1
mov esi, 0x49c0
jmp 0x405dcb
cmp word [esi + 4], 0x3a
jne 0x405dc9
movzx eax, word [esi + 6]
sub eax, 0x31
je 0x405f2d
dec eax
je 0x405f23
dec eax
je 0x405f1f
dec eax
je 0x405f15
dec eax
jne 0x405dc9
push 7
jmp 0x405eb3
mov esi, 0x2ff
jmp 0x405dcb
push 0x1f
jmp 0x405eb3
mov esi, 0xff
jmp 0x405dcb
xor esi, esi
inc esi
jmp 0x405dcb
cmp cx, 0x44
jne 0x405f76
cmp word [esi + 4], 0x3a
jne 0x405eb1
add esi, 6
jmp 0x405f61
cmp ax, 0x3a
je 0x405f69
movzx eax, ax
push eax
mov ecx, 0x41ea70
call fcn.00401795
inc esi
inc esi
movzx eax, word [esi]
cmp ax, bx
ja 0x405f4b
cmp dword [0x41ea74], edi
jne 0x405f79
jmp 0x405eb1
add esi, 4
mov dword [0x41ea68], edi
cmp word [esi], 0x3a
jne 0x405fa0
lea eax, [esi + 2]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
cmp eax, 0xe10
pop ecx
mov dword [0x41ea68], eax
ja 0x405fa0
cmp eax, edi
jne 0x405faa
mov dword [0x41ea68], 0xa
mov dword [0x41ea6c], 1
jmp 0x405fd8
xor eax, eax
cmp word [esi + 4], 0x63
sete al
add eax, 3
mov dword [0x41ea6c], eax
jmp 0x405fd8
mov dword [0x41ea6c], 2
jmp 0x405fd8
inc esi
inc esi
cmp word [esi], bx
ja 0x405fd6
jmp 0x405fe6
cmp ax, bx
ja 0x405fee
inc esi
inc esi
movzx eax, word [esi]
cmp ax, di
jne 0x405fdf
push str.sfxconfig
push esi
mov ebx, esi
call fcn.004046e2
cmp eax, edi
pop ecx
pop ecx
je 0x406047
cmp word [eax], 0x3a
jne 0x406011
jmp 0x40600f
cmp cx, 0x20
ja 0x406019
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, di
jne 0x406009
mov ecx, dword [ebp + 8]
mov word [ecx], di
lea ecx, [ebp + 8]
push ecx
push eax
mov dword [ebp + 0xc], edi
call fcn.00404e9f
cmp dword [0x41ea6c], 2
pop ecx
pop ecx
mov ebx, eax
je 0x406047
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.004033bd
xor esi, esi
cmp eax, esi
pop ecx
jl 0x406106
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.00402aee
test eax, eax
jle 0x4060cc
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.0040247d
pop ecx
push eax
mov ecx, esi
call fcn.00402ab8
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.00402696
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 0x40612e
mov ecx, eax
call fcn.00404ad3
mov dword [ebp + 0x58], eax
jmp 0x406131
mov dword [ebp + 0x58], esi
mov edi, dword [ebp + 0x58]
push edi
lea ecx, [ebp + 0x60]
call fcn.0041334e
push dword [0x41ea30]
lea ecx, [edi + 0xc]
call fcn.004123e3
test al, al
jne 0x406175
push dword [0x41ea30]
push 7
push 1
call fcn.00409606
mov eax, dword [ebp + 0x60]
add esp, 0xc
cmp eax, esi
je 0x40616e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 2
jmp 0x405eb3
lea ecx, [ebp + 0x3c]
call fcn.00402b19
mov edi, dword [ebp + 0x60]
lea eax, [ebp + 0x3c]
push eax
push edi
call fcn.00403f89
test al, al
pop ecx
pop ecx
jne 0x4061b4
push 9
push esi
call fcn.00409606
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x4061ad
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 3
jmp 0x405eb3
cmp dword [0x41ea6c], esi
jne 0x406246
push str.sfxconfig
push ebx
call fcn.004046e2
cmp eax, esi
pop ecx
pop ecx
je 0x406246
cmp word [eax], 0x3a
jne 0x4061d9
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
je 0x40622a
cmp cx, 0x20
ja 0x4061f1
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
jne 0x4061e1
cmp word [eax], si
je 0x40622a
lea ecx, [ebp + 0x3c]
push ecx
push eax
call fcn.0040599c
test al, al
pop ecx
pop ecx
jne 0x40622a
push 0xa
push esi
call fcn.00409606
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x406223
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 4
jmp 0x405eb3
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
cmp edi, esi
pop ecx
je 0x405dc9
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x405dc9
lea ecx, [ebp + 0x14]
call fcn.004127e6
cmp dword [ebp + 0x40], esi
je 0x406273
push esi
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x3c]
push eax
call fcn.004036f6
add esp, 0xc
test al, al
jne 0x406273
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406219
cmp dword [0x41ea6c], 4
je 0x40622a
mov eax, dword [0x41e0b0]
mov esi, 0x41e0b0
jmp 0x4062b7
push eax
lea eax, [ebp - 0x100]
push str.7zSfxString_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push dword [esi]
call fcn.0040247d
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.0040574f
add esp, 0x18
add esi, 0x10
mov eax, dword [esi]
test eax, eax
jne 0x406288
lea eax, [ebp + 0x14]
push eax
call fcn.00404f0e
dec ebx
dec ebx
mov dword [esp], 0x41a584
push str.7zSfxVarCmdLine2
mov dword [ebp + 0x28], ebx
call fcn.0040574f
pop ecx
pop ecx
push 0x20
pop edi
cmp word [ebx], di
jbe 0x4062f7
inc ebx
inc ebx
cmp word [ebx], di
ja 0x4062e4
jmp 0x4062f4
cmp ax, di
ja 0x4062ff
inc ebx
inc ebx
mov dword [ebp + 0x28], ebx
movzx eax, word [ebx]
test ax, ax
jne 0x4062ed
movzx eax, word [ebx]
cmp ax, 0x2f
je 0x406312
cmp ax, 0x2d
jne 0x4065a0
lea esi, [ebx + 2]
cmp word [esi], 0x21
je 0x406594
push 0x41bab8
push esi
call fcn.00404505
test eax, eax
pop ecx
pop ecx
je 0x40637c
lea ecx, [ebx + 6]
movzx eax, word [ecx]
cmp ax, 0x30
jb 0x406342
cmp ax, 0x39
jbe 0x40635a
cmp ax, 0x61
jb 0x40634e
cmp ax, 0x7a
jbe 0x40635a
cmp ax, 0x41
jb 0x40636a
cmp ax, 0x5a
ja 0x40636a
mov dword [ebp + 0x2c], ecx
mov byte [ebp + 0x67], 1
mov byte [ebp + 0x66], 1
jmp 0x4062df
cmp ax, di
ja 0x4065a0
mov dword [ebp + 0x2c], 0x41b824
jmp 0x40635d
push 0x41bab0
push esi
call fcn.00404505
test eax, eax
pop ecx
pop ecx
je 0x40639f
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.OverwriteMode
jmp 0x4064e5
push 0x41baa8
push esi
call fcn.00404505
test eax, eax
pop ecx
pop ecx
je 0x4063e3
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
jb 0x4065a0
cmp cx, 0x32
ja 0x4065a0
cmp word [ebx + 8], di
ja 0x4065a0
lea ecx, [ebp + 0x14]
push ecx
push eax
push str.GUIMode
jmp 0x4064e5
push 0x41baa0
push esi
call fcn.00404505
test eax, eax
pop ecx
pop ecx
je 0x406406
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.GUIFlags
jmp 0x4064e5
push 0x41ba98
push esi
call fcn.00404505
test eax, eax
pop ecx
pop ecx
je 0x406429
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.MiscFlags
jmp 0x4064e5
push 0x41ba90
push esi
call fcn.00404505
test eax, eax
pop ecx
pop ecx
je 0x406466
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
je 0x406450
cmp cx, 0x31
jne 0x4065a0
cmp word [ebx + 8], di
ja 0x4065a0
lea ecx, [ebp + 0x14]
push ecx
push eax
push str.SelfDelete
jmp 0x4064e5
push 0x41ba88
push esi
call fcn.00404505
test eax, eax
pop ecx
pop ecx
je 0x40648a
cmp word [ebx + 6], di
ja 0x4065a0
mov byte [ebp + 0x5f], 1
jmp 0x4062df
push 0x41ba80
push esi
call fcn.00404505
test eax, eax
pop ecx
pop ecx
je 0x4064c7
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
jb 0x4065a0
cmp cx, 0x39
ja 0x4065a0
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41e3b0], eax
jmp 0x4062df
push 0x41ba78
push esi
call fcn.00404505
test eax, eax
pop ecx
pop ecx
je 0x4064f2
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 8]
push eax
push str.BeginPromptTimeout
call fcn.00405195
add esp, 0xc
jmp 0x4062df
movzx eax, word [esi]
cmp ax, 0x70
je 0x406560
cmp ax, 0x50
je 0x406560
cmp ax, 0x79
je 0x40650d
cmp ax, 0x59
jne 0x40651c
cmp word [ebx + 4], di
ja 0x40651c
mov byte [ebp + 0x67], 1
jmp 0x4062df
cmp ax, 0x3f
je 0x40652e
cmp ax, 0x68
je 0x40652e
cmp ax, 0x48
jne 0x40653d
cmp word [ebx + 4], di
ja 0x40653d
mov byte [ebp + 0x64], 1
jmp 0x4062df
lea eax, [ebp + 0x14]
push eax
push esi
call fcn.004049a9
test eax, eax
pop ecx
pop ecx
je 0x4065a0
cmp eax, 1
je 0x4065f8
mov ebx, eax
mov dword [ebp + 0x28], ebx
jmp 0x4062df
lea ecx, [ebp + 0x4c]
call fcn.004014eb
lea eax, [ebp + 0x4c]
push eax
add ebx, 4
push ebx
call fcn.00404e9f
push dword [ebp + 0x4c]
dec eax
dec eax
mov ebx, eax
mov dword [ebp + 0x28], ebx
call fcn.00401503
push dword [ebp + 0x4c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
jmp 0x4062df
mov esi, ebx
add ebx, 4
test esi, esi
mov dword [ebp + 0x28], ebx
jne 0x4065a2
mov esi, ebx
cmp dword [ebp + 0x48], esi
je 0x406615
push dword [ebp + 0x48]
lea ecx, [ebp + 0x4c]
call fcn.00402a67
sub esi, dword [ebp + 0x48]
lea ecx, [ebp - 0x30]
sar esi, 1
push esi
push 0
push ecx
mov ecx, eax
call fcn.00404bfd
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 8]
call fcn.0040143c
push dword [ebp - 0x30]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x4c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
lea ecx, [ebp + 8]
call fcn.00405976
lea ecx, [ebp + 8]
call fcn.00405950
push dword [ebp + 8]
jmp 0x40661a
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
test eax, eax
pop ecx
je 0x40660e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, edi
jmp 0x405dcb
push 0x41a584
push str.7zSfxVarCmdLine1
call fcn.0040574f
pop ecx
pop ecx
push ebx
lea ecx, [ebp + 0x4c]
call fcn.00402a67
mov edx, dword [ebp - 0xc]
sub edx, ebx
sar edx, 1
push edx
push 0
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.00404bfd
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 8]
call fcn.0040143c
push dword [ebp - 0x30]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x4c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
lea ecx, [ebp + 8]
call fcn.00405976
lea ecx, [ebp + 8]
call fcn.00405950
push dword [ebp + 8]
push str.7zSfxVarCmdLine2
call fcn.0040574f
lea eax, [ebp + 0x14]
push eax
call fcn.00404f0e
add esp, 0xc
cmp byte [ebp + 0x65], 0
jne 0x4067f4
test byte [0x41e9c8], 4
je 0x4067f4
call fcn.00402744
test eax, eax
jne 0x4067f4
lea ecx, [ebp - 0x24]
call fcn.004014eb
lea ecx, [ebp + 0x4c]
call fcn.004014eb
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00404e9f
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402a67
lea eax, [ebp - 0x3c]
push eax
push edi
push str.sfxelevation
push 0x41b888
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x54]
push 0x22
push eax
call fcn.00404cb1
add esp, 0xc
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.00404ccf
add esp, 0xc
push eax
lea eax, [ebp - 4]
push eax
call fcn.00404ccf
add esp, 0xc
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00404ced
add esp, 0xc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004017c0
add esp, 0xc
push eax
lea ecx, [ebp + 0x4c]
call fcn.0040143c
push dword [ebp - 0x30]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x18]
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 + 0x30]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x54]
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 0
push 2
push dword [ebp + 0x4c]
call fcn.004053b2
add esp, 0xc
test eax, eax
push dword [ebp - 0x3c]
jne 0x4067be
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x4c]
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 + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
add esp, 0x10
test eax, eax
je 0x4067b7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xb
jmp 0x405eb3
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x4c]
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 + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
add esp, 0x10
test eax, eax
je 0x405dc9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405dc9
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
mov ebx, str.SetEnvironment
lea eax, [ebp + 0x14]
push ebx
push eax
call fcn.004029a6
add esp, 0xc
jmp 0x406895
push edi
lea ecx, [ebp + 0x4c]
call fcn.00402a67
push 0x3d
push dword [ebp + 0x4c]
call fcn.00412693
test eax, eax
pop ecx
pop ecx
jle 0x4068a1
mov ecx, dword [ebp + 0x4c]
lea esi, [eax + eax]
and word [ecx + esi], 0
lea ecx, [ebp - 0x78]
mov dword [ebp + 0x50], eax
call fcn.004014eb
lea ecx, [ebp - 0x6c]
call fcn.004014eb
lea eax, [ebp + 0x4c]
push eax
lea ecx, [ebp - 0x78]
call fcn.0040143c
lea eax, [esi + edi + 2]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00401403
lea eax, [ebp - 0x78]
push eax
mov ecx, 0x41e3dc
call fcn.004035cf
inc dword [ebp - 8]
lea ecx, [ebp - 0x78]
call fcn.00402990
push dword [ebp + 0x4c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x14]
push ebx
push eax
call fcn.004029a6
add esp, 0x10
mov edi, eax
test edi, edi
jne 0x406813
jmp 0x4068aa
push dword [ebp + 0x4c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
call fcn.00404952
xor esi, esi
cmp dword [0x41e3a4], 0xffffffff
jne 0x4068c0
mov dword [0x41e3a4], esi
cmp byte [ebp + 0x64], 0
je 0x406926
push esi
lea eax, [ebp + 0x14]
push str.HelpText
push eax
call fcn.004029a6
mov edi, eax
add esp, 0xc
cmp edi, esi
jne 0x4068e8
push 0x18
call fcn.0040247d
pop ecx
mov edi, eax
lea ecx, [ebp - 0xf8]
call fcn.00404495
push esi
push edi
push dword [0x41e9b0]
lea ecx, [ebp - 0xf8]
push 0x11
call fcn.0040844b
lea ecx, [ebp - 0xf8]
call fcn.004081be
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
pop ecx
cmp eax, esi
jmp 0x4067e3
cmp byte [ebp + 0x67], 0
je 0x406936
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.004029a6
add esp, 0xc
test eax, eax
mov esi, 0x41e9e8
je 0x406960
push eax
mov ecx, esi
call fcn.00401403
push esi
call fcn.004044ae
push 0
lea eax, [ebp + 0x14]
push str.SfxAuthor
push eax
call fcn.004029a6
mov edi, eax
add esp, 0x10
test edi, edi
je 0x406a50
lea eax, [ebp - 0x18c]
push eax
call fcn.0040a8b0
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.0040abd0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.0040ac20
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 - 0x70]
lea eax, [ebp + ecx*4 - 0x80]
xor dword [eax], edx
inc ecx
cmp ecx, 4
jl 0x4069cd
xor edi, edi
xor ebx, ebx
mov eax, ebx
cdq
and edx, 7
add eax, edx
sar eax, 3
movzx esi, byte [ebp + eax - 0x80]
mov ecx, ebx
and ecx, 0x80000007
jns 0x406a00
dec ecx
or ecx, 0xfffffff8
inc ecx
shr esi, cl
and esi, 0x1f
test ebx, ebx
je 0x406a20
mov eax, ebx
push 0x19
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x406a20
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 0x4069e1
and word [ebp + edi*2 - 0xe4], 0
lea eax, [ebp - 0xe4]
push eax
call fcn.00401503
pop ecx
push 0
lea eax, [ebp + 0x14]
push str.BeginPromptTimeout
push eax
call fcn.004029a6
add esp, 0xc
test eax, eax
je 0x406a74
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41e9d4], eax
cmp dword [0x41ea74], 0
je 0x406a96
lea eax, [ebp + 0x14]
push eax
call fcn.004097f6
push dword [ebp + 0x3c]
mov edi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406600
cmp dword [0x41ea6c], 3
jne 0x406aaa
lea eax, [ebp + 0x14]
push eax
call fcn.004096fb
jmp 0x406a86
test byte [0x41e9c8], 8
jne 0x406adb
mov esi, dword [ebp + 0x60]
push esi
call fcn.004015d8
test eax, eax
pop ecx
jne 0x406adb
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
test esi, esi
pop ecx
je 0x406ad4
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 5
jmp 0x405eb3
mov ebx, str.ExecuteFile
mov esi, str.RunProgram
xor edi, edi
push edi
lea eax, [ebp + 0x14]
push str.BeginPrompt
push eax
call fcn.004029a6
add esp, 0xc
cmp eax, edi
je 0x406b40
cmp byte [ebp + 0x67], 0
jne 0x406b40
push eax
push dword [0x41e9b0]
call fcn.00408bec
test eax, eax
pop ecx
pop ecx
je 0x406c64
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x406b2e
mov byte [ebp + 0x67], 1
mov byte [ebp + 0x66], 1
cmp dword [0x41ea54], edi
je 0x406b40
and dword [0x41e3a4], 0xffffff7f
lea ecx, [ebp + 0x30]
call fcn.004014eb
cmp byte [ebp + 0x66], 0
je 0x406bca
mov edi, dword [ebp + 0x2c]
push str.AutoInstall
lea ecx, [ebp + 0x30]
call fcn.00401403
movzx eax, word [edi]
push eax
lea ecx, [ebp + 0x30]
call fcn.00401795
push 0
push dword [ebp + 0x30]
lea eax, [ebp + 0x14]
push eax
call fcn.004029a6
add esp, 0xc
test eax, eax
je 0x406c83
inc edi
inc edi
movzx eax, word [edi]
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 + 0x30]
call fcn.00401403
mov eax, dword [ebp + 0x2c]
movzx eax, word [eax]
push eax
lea ecx, [ebp + 0x30]
call fcn.00401795
xor edi, edi
cmp dword [ebp + 0x34], edi
mov byte [ebp + 0x65], 0
jne 0x406c12
push edi
lea eax, [ebp + 0x14]
push ebx
push eax
call fcn.004029a6
add esp, 0xc
test eax, eax
je 0x406bf7
push ebx
lea ecx, [ebp + 0x30]
call fcn.00401403
cmp dword [ebp + 0x34], edi
mov byte [ebp + 0x65], 1
jne 0x406c12
push edi
lea eax, [ebp + 0x14]
push esi
push eax
call fcn.004029a6
add esp, 0xc
test eax, eax
je 0x406c12
push esi
lea ecx, [ebp + 0x30]
call fcn.00401403
cmp byte [ebp + 0x66], 0
jne 0x406cc6
cmp byte [ebp + 0x67], 0
jne 0x406cc6
mov eax, dword [0x41e3a4]
and ax, 0xc0
cmp al, 0x80
jne 0x406cc6
push dword [0x41e9a4]
push dword [0x41e9a8]
call fcn.00408c6a
test eax, eax
pop ecx
pop ecx
jne 0x406cc6
cmp byte [0x41e9d8], al
push dword [ebp + 0x30]
je 0x406cb6
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406ae7
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
cmp eax, edi
pop ecx
je 0x406ad4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x406ad4
push dword [ebp + 0x30]
push 0xe
push 0
call fcn.00409606
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 0x406caf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 6
jmp 0x405eb3
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 0x406c6c
cmp dword [0x41e9ec], edi
jne 0x406cfc
lea eax, [ebp - 0x54]
push str.7ZipSfx._03x
push eax
call fcn.004048a3
pop ecx
pop ecx
mov esi, 0x41e9e8
push eax
mov ecx, esi
call fcn.0040143c
push dword [ebp - 0x54]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov byte [0x41e994], 0
jmp 0x406d33
mov esi, 0x41e9e8
push esi
lea ecx, [ebp + 0x4c]
call fcn.004013d1
lea eax, [ebp + 0x4c]
push eax
call fcn.004044ae
cmp dword [ebp + 0x50], edi
pop ecx
jne 0x406d24
lea eax, [ebp + 0x4c]
push eax
mov ecx, esi
call fcn.0040143c
push dword [ebp + 0x4c]
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 0x406d50
cmp dx, 0x2f
jne 0x406d5b
dec ecx
mov word [eax + ecx*2], di
mov dword [0x41e9ec], ecx
cmp byte [ebp + 0x67], 0
je 0x406d68
or dword [0x41e9c8], 3
cmp dword [0x41ea68], edi
jne 0x406d7d
push esi
push dword [ebp + 0x58]
call fcn.004019d2
pop ecx
pop ecx
jmp 0x406d8b
call fcn.00408caa
test eax, eax
jne 0x406dba
mov eax, 0x80004005
cmp eax, edi
je 0x406dba
call fcn.0040477e
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 0x406db3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 8
jmp 0x405eb3
call fcn.00404952
cmp byte [ebp + 0x5f], 0
je 0x406dd2
cmp byte [0x41e994], 0
jne 0x4073b0
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x48], edi
call fcn.004014eb
cmp byte [ebp + 0x66], 0
jne 0x406df2
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.00404e49
pop ecx
pop ecx
mov eax, dword [ebp + 0x2c]
mov byte [ebp + 0x66], 0
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 4]
mov dword [ebp - 0x40], edi
mov byte [ebp + 0x64], 0
call fcn.004014eb
lea ecx, [ebp - 0x18]
call fcn.004014eb
cmp dword [ebp + 0x34], edi
mov dword [ebp + 0x58], edi
jne 0x406ec3
cmp byte [0x41e994], 0
jne 0x407246
mov edi, str.setup.exe
push edi
push 0x41a7e8
lea eax, [ebp - 0x98]
push 0x41e9e8
push eax
call fcn.00404ccf
add esp, 0xc
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00404ccf
add esp, 0xc
push eax
lea ecx, [ebp - 4]
call fcn.0040143c
push dword [ebp - 0x54]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x98]
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 0x40725d
mov byte [ebp + 0x66], 1
push edi
lea ecx, [ebp - 0x18]
call fcn.00401403
lea eax, [ebp - 0x18]
push eax
call fcn.004044e2
mov esi, dword [ebp - 0x18]
pop ecx
xor edi, edi
push edi
push str.waitall
push esi
call fcn.0040453f
add esp, 0xc
cmp eax, edi
je 0x406f49
mov esi, eax
mov byte [ebp + 0x64], 1
jmp 0x406ea4
lea eax, [ebp + 0x48]
push eax
push dword [ebp + 0x30]
lea eax, [ebp + 0x14]
push eax
call fcn.004029a6
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x406e8c
mov esi, dword [ebp - 0xc]
inc esi
inc esi
movzx eax, word [esi]
cmp ax, 0x30
mov dword [ebp - 0xc], esi
jb 0x406ef3
cmp ax, 0x39
jbe 0x406f13
cmp ax, 0x61
jb 0x406eff
cmp ax, 0x7a
jbe 0x406f13
cmp ax, 0x41
jb 0x4072ac
cmp ax, 0x5a
ja 0x4072ac
push str.AutoInstall
lea ecx, [ebp + 0x30]
call fcn.00401403
movzx eax, word [esi]
push eax
lea ecx, [ebp + 0x30]
call fcn.00401795
push dword [ebp - 0x18]
and dword [ebp + 0x48], 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
xor edi, edi
jmp 0x406dfc
push edi
push str.hidcon
push esi
call fcn.0040453f
add esp, 0xc
cmp eax, edi
je 0x406f67
or dword [ebp + 0x58], 1
mov esi, eax
jmp 0x406ea4
push edi
push str.nowait
push esi
call fcn.0040453f
add esp, 0xc
cmp eax, edi
je 0x406f8b
cmp byte [0x41e994], 0
mov esi, eax
je 0x406ea4
jmp 0x406fa0
push edi
push str.forcenowait
push esi
call fcn.0040453f
add esp, 0xc
cmp eax, edi
je 0x406fac
mov esi, eax
or dword [ebp + 0x58], 0x10000
jmp 0x406ea4
push 2
push 0x41ba80
push esi
call fcn.0040453f
mov ebx, eax
add esp, 0xc
cmp ebx, edi
je 0x406fe2
cmp dword [0x41e3b0], 0xffffffff
jne 0x406fdb
add esi, 4
push esi
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41e3b0], eax
mov esi, ebx
jmp 0x406ea4
push 3
push 0x41b99c
push esi
call fcn.0040453f
add esp, 0xc
cmp eax, edi
je 0x407002
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x48], ecx
jmp 0x407020
push 3
push 0x41b994
push esi
call fcn.0040453f
add esp, 0xc
cmp eax, edi
je 0x407027
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x44], ecx
mov esi, eax
jmp 0x406ea4
push edi
push 0x41a638
push esi
call fcn.0040453f
add esp, 0xc
cmp eax, edi
jne 0x407081
push edi
push str.i386
push esi
call fcn.0040453f
add esp, 0xc
cmp eax, edi
jne 0x407081
push edi
push 0x41b97c
push esi
call fcn.0040453f
add esp, 0xc
cmp eax, edi
jne 0x407073
push edi
push 0x41a630
push esi
call fcn.0040453f
add esp, 0xc
cmp eax, edi
je 0x40708f
mov esi, eax
mov dword [ebp - 0x40], 2
jmp 0x406ea4
mov esi, eax
mov dword [ebp - 0x40], 1
jmp 0x406ea4
cmp byte [ebp + 0x65], 0
lea ecx, [ebp - 4]
je 0x4070ea
cmp word [esi], 0x22
je 0x4070bd
mov ebx, 0x41b818
push ebx
call fcn.00401403
push esi
lea ecx, [ebp - 4]
call fcn.00402ab8
push ebx
lea ecx, [ebp - 4]
call fcn.00402ab8
jmp 0x4070c3
push esi
call fcn.00401403
push edi
lea eax, [ebp + 0x14]
push str.ExecuteParameters
push eax
call fcn.004029a6
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4070fc
push 0x41b978
lea ecx, [ebp - 4]
call fcn.00402ab8
jmp 0x4070f3
lea eax, [ebp + 0x4c]
push eax
call fcn.0040143c
push esi
lea ecx, [ebp - 4]
call fcn.00402ab8
lea ecx, [ebp - 0x24]
call fcn.004014eb
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.00404e9f
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402a67
lea eax, [ebp - 0x24]
push eax
call fcn.004044e2
cmp dword [0x41ea6c], edi
pop ecx
jne 0x407200
push dword [ebp - 0x40]
call fcn.00402713
test eax, eax
pop ecx
je 0x407200
mov esi, dword [ebp + 0x28]
cmp word [esi], di
je 0x407163
push esi
lea ecx, [ebp - 0x3c]
call fcn.00402ab8
cmp word [esi], di
je 0x407163
inc esi
inc esi
cmp word [esi], di
jne 0x407159
mov dword [ebp + 0x28], esi
lea eax, [ebp - 0x3c]
push eax
call fcn.004044e2
cmp byte [ebp + 0x64], 0
pop ecx
jne 0x4071e2
lea eax, [ebp - 0x3c]
push eax
push 0x41b8a8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x6c]
push 0x22
push eax
call fcn.00404cb1
add esp, 0xc
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00404ccf
add esp, 0xc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004017c0
push dword [ebp - 0xa4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x6c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [0x41e9e8]
push dword [ebp + 0x58]
push dword [ebp - 0x30]
call fcn.004053b2
add esp, 0x20
test eax, eax
push dword [ebp - 0x30]
je 0x4072c3
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x4071fb
push dword [ebp + 0x58]
push dword [ebp - 0x3c]
push dword [ebp - 0x24]
call fcn.00405489
add esp, 0xc
cmp eax, edi
jne 0x4072cb
call fcn.004026ab
cmp byte [ebp + 0x65], 0
jne 0x40732e
cmp byte [ebp + 0x66], 0
jne 0x40732e
mov eax, dword [ebp + 0x4c]
mov dword [ebp + 0x50], edi
mov word [eax], di
push dword [ebp - 0x3c]
inc 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 - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
jmp 0x406f42
push dword [ebp - 0x18]
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 0x407351
call fcn.0040477e
push 0xf
push 0
call fcn.00409606
push dword [ebp - 0x18]
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 + 0x4c]
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 0x405f11
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405f11
push dword [ebp - 0x18]
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 0x40734f
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x4072d2
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push 0x10
push 1
call fcn.00409606
call fcn.0040477e
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 - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x4c]
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, edi
je 0x407327
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 9
jmp 0x405eb3
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 - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
xor edi, edi
cmp dword [0x41ea6c], edi
jne 0x4073a7
call fcn.00404952
push dword [ebp - 0x48]
lea eax, [ebp + 0x14]
push dword [ebp + 0x2c]
push str.Shortcut
push eax
push 0x405b1f
call fcn.004051f3
add esp, 0x14
push dword [0x41e9f4]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push dword [ebp - 0x44]
lea eax, [ebp + 0x14]
push dword [ebp + 0x2c]
push str.Delete
push eax
push 0x404aa4
call fcn.004051f3
add esp, 0x14
call fcn.0040477e
push dword [ebp + 0x4c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [0x41e3b0], 0xffffffff
jne 0x4073c9
cmp byte [ebp + 0x67], 0
jne 0x407428
mov dword [0x41e3b0], 1
cmp dword [0x41e3b0], edi
jle 0x407428
push 0
lea eax, [ebp + 0x14]
push str.FinishMessage
push eax
call fcn.004029a6
mov edi, eax
add esp, 0xc
test edi, edi
je 0x407428
mov eax, 0x3e7
cmp dword [0x41e3b0], eax
jle 0x4073fc
mov dword [0x41e3b0], eax
lea ecx, [ebp - 0xf4]
call fcn.00404765
push 0
push edi
push dword [0x41e9b0]
lea ecx, [ebp - 0xf4]
push 0x11
call fcn.0040844b
lea ecx, [ebp - 0xf4]
call fcn.004081be
cmp byte [ebp + 0x5f], 0
jne 0x40746b
cmp dword [0x41ea6c], 0
jne 0x40746b
push 0
lea eax, [ebp + 0x14]
push str.SelfDelete
push eax
call fcn.004029a6
add esp, 0xc
test eax, eax
je 0x40746b
cmp word [eax], 0x31
jne 0x40746b
sub esp, 0xc
mov ecx, esp
push 0x41ea30
call fcn.004013d1
call fcn.00405793
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 0x40748a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x60]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp + 0x14]
call fcn.004047e1
push dword [ebp - 0x8c]
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 0x4074cb
push 0x10
push 0x41b4e4
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