Function at 0x405420
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, 0x31c
push ebx
push esi
push edi
push 0x4045ef
call dword [sym.imp.MSVCRT.dll_int____cdecl___unsigned_int____cdecl__set_new_handler_int____cdecl___unsigned_int__]
pop ecx
call fcn.00402165
lea eax, [ebp - 0x2b4]
push eax
mov dword [ebp - 0x2b4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x406d12
cmp dword [ebp - 0x2a4], 2
jne 0x406d12
cmp dword [ebp - 0x2b0], 5
jb 0x406d12
or dword [ebp - 0x48], 0xffffffff
or dword [ebp - 0x44], 0xffffffff
lea ecx, [ebp + 0x10]
mov byte [str.___CiToVHKEnd__], 0x3b
mov byte [str.___CiToVHK__UTF_8_], 0x3b
mov dword [ebp + 0x34], 0x41b8bc
xor edi, edi
mov byte [ebp + 0x67], 0
mov byte [ebp + 0x66], 0
mov byte [ebp + 0x5b], 0
mov byte [ebp + 0x64], 0
call fcn.00410ff6
lea ecx, [ebp - 0x6c]
call fcn.00410ff6
mov dword [ebp + 0x4c], edi
mov dword [ebp + 0x50], edi
mov dword [ebp + 0x54], edi
call fcn.00403f77
push 0x41bca8
lea ecx, [ebp - 0x60]
call fcn.004113e3
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea eax, [ebp + 0x10]
push eax
call esi
push eax
call fcn.00404675
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.0041146a
lea eax, [ebp - 0x60]
push eax
call fcn.0040335a
mov ebx, dword [ebp - 0x60]
pop ecx
push ebx
mov dword [ebp + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 1
lea eax, [ebx + eax*2]
push 0x41a6d8
push str.SfxVarModulePlatform
mov dword [ebp - 0x18], eax
call fcn.00403baf
add esp, 0xc
push 1
call fcn.004027db
push eax
push str.SfxVarSystemPlatform
call fcn.00403baf
add esp, 0xc
push 1
call esi
push eax
push str.SfxVarCmdLine0
call fcn.00403baf
movzx eax, word [0x41e6e0]
add esp, 0xc
push eax
push 0x41bc28
push 0x20
lea ecx, [ebp + 0x10]
call fcn.0040307e
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [ebp + 0x10]
push esi
call fcn.00401d2f
mov dword [ebp + 0x14], eax
push 1
mov word [esi + eax*2], di
push dword [ebp + 0x10]
push str.SfxVarSystemLanguage
call fcn.00403baf
push str.sfxlang
push ebx
call fcn.004042aa
add esp, 0x24
cmp eax, edi
je 0x4055d4
cmp word [eax], 0x3a
jne 0x4055d4
add eax, 2
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
lea ecx, [eax - 1]
cmp ecx, 0xfffe
ja 0x4055bc
mov word [0x41e6e0], ax
jmp 0x4055bc
inc ebx
inc ebx
cmp word [ebx], 0x20
ja 0x4055ba
jmp 0x4055cc
cmp ax, 0x20
ja 0x4055d4
inc ebx
inc ebx
movzx eax, word [ebx]
cmp ax, di
jne 0x4055c4
push str.sfxversion
push ebx
call fcn.004042aa
test eax, eax
pop ecx
pop ecx
je 0x405616
call fcn.004049c7
xor esi, esi
push dword [ebp - 0x60]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp + 0x4c]
call fcn.00405270
push dword [ebp - 0x6c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x10]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
mov eax, esi
jmp 0x406d29
push str.sfxwaitall
push ebx
call fcn.004042aa
cmp eax, edi
pop ecx
pop ecx
je 0x405632
push eax
call fcn.00404e01
pop ecx
mov esi, eax
jmp 0x4055ec
push str.sfxelevation
push ebx
mov byte [ebp + 0x65], 0
call fcn.004042aa
cmp eax, edi
pop ecx
pop ecx
je 0x40565f
mov byte [ebp + 0x65], 1
jmp 0x405655
cmp cx, 0x20
ja 0x40565d
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, di
jne 0x40564d
mov ebx, eax
mov eax, 0x208
push eax
push eax
mov ecx, 0x41e798
call fcn.0040307e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x40568e
xor esi, esi
inc esi
push 6
push esi
call fcn.00408e97
pop ecx
pop ecx
jmp 0x4055ec
mov esi, dword [0x41e798]
push esi
call fcn.00401d2f
mov dword [0x41e79c], eax
mov dword [esp], str.sfxtest
push ebx
mov word [esi + eax*2], di
call fcn.004042aa
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x405858
cmp word [esi], 0x3a
je 0x4056ca
push 0x64
pop esi
jmp 0x4055ec
movzx ecx, word [esi + 2]
movzx eax, cx
push 0x20
pop ebx
or eax, ebx
sub eax, 0x61
je 0x4057db
dec eax
dec eax
je 0x4057c7
dec eax
je 0x405746
sub eax, 0xb
je 0x4056fe
sub eax, 7
jne 0x4056c2
mov esi, 0x4f07
jmp 0x4055ec
cmp word [esi + 4], 0x3a
jne 0x4055ea
movzx eax, word [esi + 6]
sub eax, 0x31
je 0x40573e
dec eax
je 0x405734
dec eax
je 0x405730
dec eax
je 0x405726
dec eax
jne 0x4055ea
push 7
jmp 0x4056c4
mov esi, 0x3ff
jmp 0x4055ec
push 0x1f
jmp 0x4056c4
mov esi, 0x5b7
jmp 0x4055ec
xor esi, esi
inc esi
jmp 0x4055ec
cmp cx, 0x44
jne 0x405787
cmp word [esi + 4], 0x3a
jne 0x4056c2
add esi, 6
jmp 0x405772
cmp ax, 0x3a
je 0x40577a
movzx eax, ax
push eax
mov ecx, 0x41e7e4
call fcn.004011ce
inc esi
inc esi
movzx eax, word [esi]
cmp ax, bx
ja 0x40575c
cmp dword [0x41e7e8], edi
jne 0x40578a
jmp 0x4056c2
add esi, 4
mov dword [0x41e7dc], edi
cmp word [esi], 0x3a
jne 0x4057b1
lea eax, [esi + 2]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
cmp eax, 0xe10
pop ecx
mov dword [0x41e7dc], eax
ja 0x4057b1
cmp eax, edi
jne 0x4057bb
mov dword [0x41e7dc], 0xa
mov dword [0x41e7e0], 1
jmp 0x4057e9
xor eax, eax
cmp word [esi + 4], 0x63
sete al
add eax, 3
mov dword [0x41e7e0], eax
jmp 0x4057e9
mov dword [0x41e7e0], 2
jmp 0x4057e9
inc esi
inc esi
cmp word [esi], bx
ja 0x4057e7
jmp 0x4057f7
cmp ax, bx
ja 0x4057ff
inc esi
inc esi
movzx eax, word [esi]
cmp ax, di
jne 0x4057f0
push str.sfxconfig
push esi
mov ebx, esi
call fcn.004042aa
cmp eax, edi
pop ecx
pop ecx
je 0x405858
cmp word [eax], 0x3a
jne 0x405822
jmp 0x405820
cmp cx, 0x20
ja 0x40582a
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, di
jne 0x40581a
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0x14], edi
mov word [ecx], di
lea ecx, [ebp + 0x10]
push ecx
push eax
call fcn.00404675
cmp dword [0x41e7e0], 2
pop ecx
pop ecx
mov ebx, eax
je 0x405858
lea eax, [ebp + 0x10]
push eax
mov ecx, 0x41e798
call fcn.00411041
mov esi, 0x41e798
push esi
mov ecx, 0x41e75c
call fcn.00411041
mov edi, 0x41e768
push esi
mov ecx, edi
call fcn.00411041
push esi
call fcn.00402142
xor esi, esi
cmp eax, esi
pop ecx
jl 0x405916
mov dword [0x41e760], eax
lea esi, [eax + eax]
mov eax, dword [0x41e75c]
and word [eax + esi], 0
mov eax, dword [0x41e798]
lea eax, [eax + esi + 2]
push eax
mov ecx, edi
call fcn.00411412
mov eax, dword [0x41e798]
lea eax, [eax + esi + 2]
mov esi, 0x41e780
push eax
mov ecx, esi
call fcn.00411412
push 0x2e
mov ecx, esi
call fcn.004110f8
test eax, eax
jle 0x4058dc
mov ecx, dword [0x41e780]
mov dword [0x41e784], eax
and word [ecx + eax*2], 0
push esi
mov esi, 0x41e774
mov ecx, esi
call fcn.00411041
push 4
call fcn.004025c8
pop ecx
push eax
mov ecx, esi
call fcn.0041146a
mov eax, dword [0x41e780]
mov ecx, dword [0x41e774]
mov dword [0x41e714], eax
mov dword [0x41e71c], ecx
mov dword [0x41e720], eax
xor esi, esi
call fcn.004027db
push eax
mov ecx, 0x41e78c
call fcn.00411412
push 0x28
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
je 0x405949
mov dword [eax + 4], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], esi
mov dword [eax], 0x41b9e0
mov dword [ebp + 0x48], eax
jmp 0x40594c
mov dword [ebp + 0x48], esi
push dword [ebp + 0x48]
lea ecx, [ebp + 0x60]
call fcn.0040121a
push dword [0x41e798]
mov ecx, dword [ebp + 0x48]
call fcn.0040955e
test al, al
jne 0x40598f
push dword [0x41e798]
push 7
push 1
call fcn.00408e97
mov eax, dword [ebp + 0x60]
add esp, 0xc
cmp eax, esi
je 0x405988
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 2
jmp 0x4056c4
lea ecx, [ebp + 0x38]
call fcn.00410e0c
mov edi, dword [ebp + 0x60]
lea eax, [ebp + 0x38]
push eax
push edi
call fcn.00402e37
test al, al
pop ecx
pop ecx
jne 0x4059ce
push 9
push esi
call fcn.00408e97
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x4059c7
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 3
jmp 0x4056c4
cmp dword [0x41e7e0], esi
jne 0x405a60
push str.sfxconfig
push ebx
call fcn.004042aa
cmp eax, esi
pop ecx
pop ecx
je 0x405a60
cmp word [eax], 0x3a
jne 0x4059f3
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
je 0x405a44
cmp cx, 0x20
ja 0x405a0b
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
jne 0x4059fb
cmp word [eax], si
je 0x405a44
lea ecx, [ebp + 0x38]
push ecx
push eax
call fcn.004052f3
test al, al
pop ecx
pop ecx
jne 0x405a44
push 0xa
push esi
call fcn.00408e97
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x405a3d
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 4
jmp 0x4056c4
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
cmp edi, esi
pop ecx
je 0x4055ea
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x4055ea
lea ecx, [ebp + 0x4c]
call fcn.004052a4
cmp dword [ebp + 0x3c], esi
je 0x405a8d
push esi
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.00403c5e
add esp, 0xc
test al, al
jne 0x405a8d
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x405a33
cmp dword [0x41e7e0], 4
je 0x405a44
mov eax, dword [0x41e0a0]
mov esi, 0x41e0a0
jmp 0x405ad7
push eax
lea eax, [ebp - 0xf4]
push str.SfxString_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push dword [esi]
call fcn.004025c8
pop ecx
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.00403baf
add esp, 0xc
add esi, 0x10
mov eax, dword [esi]
test eax, eax
jne 0x405aa2
lea eax, [ebp + 0x4c]
push eax
call fcn.00404325
push 1
dec ebx
push 0x41a634
dec ebx
push str.SfxVarCmdLine2
mov dword [ebp + 0x5c], ebx
call fcn.00403baf
add esp, 0x10
push 0x30
pop edi
cmp word [ebx], 0x20
jbe 0x405b1b
inc ebx
inc ebx
cmp word [ebx], 0x20
ja 0x405b06
jmp 0x405b18
cmp ax, 0x20
ja 0x405b23
inc ebx
inc ebx
mov dword [ebp + 0x5c], ebx
movzx eax, word [ebx]
test ax, ax
jne 0x405b10
movzx eax, word [ebx]
cmp ax, 0x2f
je 0x405b36
cmp ax, 0x2d
jne 0x405dc6
lea esi, [ebx + 2]
cmp word [esi], 0x21
je 0x405dba
push 0x41bb6c
push esi
call fcn.004040cd
test eax, eax
pop ecx
pop ecx
je 0x405ba0
lea ecx, [ebx + 6]
movzx eax, word [ecx]
cmp ax, di
jb 0x405b65
cmp ax, 0x39
jbe 0x405b7d
cmp ax, 0x61
jb 0x405b71
cmp ax, 0x7a
jbe 0x405b7d
cmp ax, 0x41
jb 0x405b8d
cmp ax, 0x5a
ja 0x405b8d
mov dword [ebp + 0x34], ecx
mov byte [ebp + 0x67], 1
mov byte [ebp + 0x66], 1
jmp 0x405b00
cmp ax, 0x20
ja 0x405dc6
mov dword [ebp + 0x34], 0x41b8bc
jmp 0x405b80
push 0x41bb64
push esi
call fcn.004040cd
test eax, eax
pop ecx
pop ecx
je 0x405bc3
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebx + 6]
push eax
push str.OverwriteMode
jmp 0x405d09
push 0x41bb5c
push esi
call fcn.004040cd
test eax, eax
pop ecx
pop ecx
je 0x405c07
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, di
jb 0x405dc6
cmp cx, 0x32
ja 0x405dc6
cmp word [ebx + 8], 0x20
ja 0x405dc6
lea ecx, [ebp + 0x4c]
push ecx
push eax
push str.GUIMode
jmp 0x405d09
push 0x41bb54
push esi
call fcn.004040cd
test eax, eax
pop ecx
pop ecx
je 0x405c2a
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebx + 6]
push eax
push str.GUIFlags
jmp 0x405d09
push 0x41bb4c
push esi
call fcn.004040cd
test eax, eax
pop ecx
pop ecx
je 0x405c4d
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebx + 6]
push eax
push str.MiscFlags
jmp 0x405d09
push 0x41bb44
push esi
call fcn.004040cd
test eax, eax
pop ecx
pop ecx
je 0x405c8a
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, di
je 0x405c73
cmp cx, 0x31
jne 0x405dc6
cmp word [ebx + 8], 0x20
ja 0x405dc6
lea ecx, [ebp + 0x4c]
push ecx
push eax
push str.SelfDelete
jmp 0x405d09
push 0x41bb3c
push esi
call fcn.004040cd
test eax, eax
pop ecx
pop ecx
je 0x405caf
cmp word [ebx + 6], 0x20
ja 0x405dc6
mov byte [ebp + 0x5b], 1
jmp 0x405b00
push 0x41bb34
push esi
call fcn.004040cd
test eax, eax
pop ecx
pop ecx
je 0x405ceb
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, di
jb 0x405dc6
cmp cx, 0x39
ja 0x405dc6
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41e3a0], eax
jmp 0x405b00
push 0x41bb2c
push esi
call fcn.004040cd
test eax, eax
pop ecx
pop ecx
je 0x405d16
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebx + 8]
push eax
push str.BeginPromptTimeout
call fcn.0040484f
add esp, 0xc
jmp 0x405b00
movzx eax, word [esi]
cmp ax, 0x70
je 0x405d86
cmp ax, 0x50
je 0x405d86
cmp ax, 0x79
je 0x405d31
cmp ax, 0x59
jne 0x405d41
cmp word [ebx + 4], 0x20
ja 0x405d41
mov byte [ebp + 0x67], 1
jmp 0x405b00
cmp ax, 0x3f
je 0x405d53
cmp ax, 0x68
je 0x405d53
cmp ax, 0x48
jne 0x405d63
cmp word [ebx + 4], 0x20
ja 0x405d63
mov byte [ebp + 0x64], 1
jmp 0x405b00
lea eax, [ebp + 0x4c]
push eax
push esi
call fcn.00404754
test eax, eax
pop ecx
pop ecx
je 0x405dc6
cmp eax, 1
je 0x405e1e
mov ebx, eax
mov dword [ebp + 0x5c], ebx
jmp 0x405b00
lea ecx, [ebp - 0x54]
call fcn.00410ff6
lea eax, [ebp - 0x54]
push eax
add ebx, 4
push ebx
call fcn.00404675
push dword [ebp - 0x54]
dec eax
dec eax
mov ebx, eax
mov dword [ebp + 0x5c], ebx
call fcn.00401109
push dword [ebp - 0x54]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
jmp 0x405b00
mov esi, ebx
add ebx, 4
test esi, esi
mov dword [ebp + 0x5c], ebx
jne 0x405dc8
mov esi, ebx
cmp dword [ebp + 0x44], esi
je 0x405e3b
push dword [ebp + 0x44]
lea ecx, [ebp + 4]
call fcn.004113e3
sub esi, dword [ebp + 0x44]
lea eax, [ebp + 4]
push eax
sar esi, 1
push esi
lea ecx, [ebp - 0x14]
call fcn.00410f7f
push dword [ebp - 0x14]
lea ecx, [ebp + 0x10]
call fcn.00411412
push dword [ebp - 0x14]
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
lea ecx, [ebp + 0x10]
call fcn.00411123
lea ecx, [ebp + 0x10]
call fcn.004114ec
push 1
push dword [ebp + 0x10]
jmp 0x405e42
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
test eax, eax
pop ecx
je 0x405e34
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x20
jmp 0x4056c4
push 1
push 0x41a634
push str.SfxVarCmdLine1
call fcn.00403baf
add esp, 0xc
push ebx
lea ecx, [ebp + 4]
call fcn.004113e3
lea eax, [ebp + 4]
push eax
mov eax, dword [ebp - 0x18]
sub eax, ebx
sar eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.00410f7f
push dword [ebp - 0x14]
lea ecx, [ebp + 0x10]
call fcn.00411412
push dword [ebp - 0x14]
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
lea ecx, [ebp + 0x10]
call fcn.00411123
lea ecx, [ebp + 0x10]
call fcn.004114ec
push 1
push dword [ebp + 0x10]
push str.SfxVarCmdLine2
call fcn.00403baf
lea eax, [ebp + 0x4c]
push eax
call fcn.00404325
add esp, 0x10
cmp byte [ebp + 0x65], 0
jne 0x406022
test byte [0x41e730], 4
je 0x406022
call fcn.0040287d
test eax, eax
jne 0x406022
lea ecx, [ebp + 4]
call fcn.00410ff6
lea ecx, [ebp - 0x54]
call fcn.00410ff6
lea eax, [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00404675
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.004113e3
push str.sfxelevation
push 0x41b938
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x1c]
push 0x41b8b0
push eax
call fcn.004113be
add esp, 0xc
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00411399
add esp, 0xc
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00411399
add esp, 0xc
push 0x20
push eax
lea ecx, [ebp - 8]
call fcn.00411336
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00411379
add esp, 0xc
push dword [eax]
lea ecx, [ebp - 0x54]
call fcn.00411412
push dword [ebp - 0x40]
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 - 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x1c]
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 - 0x54]
call fcn.00404ab8
add esp, 0xc
test eax, eax
push dword [ebp - 0x14]
jne 0x405fec
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x54]
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__
mov eax, dword [ebp + 0x60]
add esp, 0x10
cmp eax, esi
je 0x405fe5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xb
jmp 0x4056c4
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x54]
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__
mov eax, dword [ebp + 0x60]
add esp, 0x10
cmp eax, esi
je 0x4055ec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4055ec
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
mov edi, str.SetEnvironment
lea eax, [ebp + 0x4c]
push edi
push eax
call fcn.0040346a
add esp, 0xc
jmp 0x40608f
push esi
lea ecx, [ebp - 8]
call fcn.004113e3
push 0x3d
push dword [ebp - 8]
call fcn.00410ca0
test eax, eax
pop ecx
pop ecx
jle 0x406097
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], eax
add eax, eax
and word [ecx + eax], 0
push 0
lea eax, [eax + esi + 2]
push eax
push dword [ebp - 8]
call fcn.00403baf
push dword [ebp - 8]
inc dword [ebp - 0x1c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x4c]
push edi
push eax
call fcn.0040346a
add esp, 0x1c
mov esi, eax
test esi, esi
jne 0x40603e
jmp 0x4060a0
push dword [ebp - 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
call fcn.00404f0d
xor edi, edi
cmp dword [0x41e394], 0xffffffff
jne 0x4060b6
mov dword [0x41e394], edi
cmp byte [ebp + 0x64], 0
je 0x406128
push edi
lea eax, [ebp + 0x4c]
push str.HelpText
push eax
call fcn.0040346a
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x4060de
push 0x18
call fcn.004025c8
pop ecx
mov esi, eax
lea ecx, [ebp - 0xf0]
call fcn.00403f5e
push edi
push esi
push dword [0x41e714]
lea ecx, [ebp - 0xf0]
push 0x11
call fcn.00407c73
lea ecx, [ebp - 0xf0]
call fcn.00407a81
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
cmp eax, edi
pop ecx
je 0x4055ea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4055ea
cmp byte [ebp + 0x67], 0
je 0x406138
and dword [0x41e394], 0xfffffeff
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push edi
lea eax, [ebp + 0x4c]
push str.SfxAuthor
push eax
call fcn.0040346a
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x406239
lea eax, [ebp - 0x1a0]
push eax
call fcn.0040a7f0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
lea eax, [ebp - 0x1a0]
push esi
push eax
call fcn.0040aa50
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.0040ab10
add esp, 0x14
push 8
pop ecx
mov esi, str.123456789ABCDEFGHJKMNPQRSTUVWXYZ
lea edi, [ebp - 0x138]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov edx, dword [ebp + ecx*4 - 0x104]
lea eax, [ebp + ecx*4 - 0x114]
xor dword [eax], edx
inc ecx
cmp ecx, 4
jl 0x4061a8
xor edi, edi
xor ebx, ebx
mov eax, ebx
cdq
and edx, 7
add eax, edx
sar eax, 3
movzx esi, byte [ebp + eax - 0x114]
mov ecx, ebx
and ecx, 0x80000007
jns 0x4061e4
dec ecx
or ecx, 0xfffffff8
inc ecx
shr esi, cl
and esi, 0x1f
test ebx, ebx
je 0x406204
mov eax, ebx
push 0x19
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x406204
mov word [ebp + edi*2 - 0xdc], 0x2d
inc edi
movsx ax, byte [ebp + esi - 0x138]
mov word [ebp + edi*2 - 0xdc], ax
add ebx, 5
inc edi
cmp ebx, 0x7d
jl 0x4061c2
and word [ebp + edi*2 - 0xdc], 0
lea eax, [ebp - 0xdc]
push eax
call fcn.00401109
mov ebx, dword [ebp + 0x5c]
pop ecx
xor edi, edi
push edi
lea eax, [ebp + 0x4c]
push str.InstallPath
push eax
call fcn.0040346a
add esp, 0xc
cmp eax, edi
mov esi, 0x41e750
je 0x40625c
push eax
mov ecx, esi
call fcn.00411412
push esi
call fcn.00404076
push edi
lea eax, [ebp + 0x4c]
push str.BeginPromptTimeout
push eax
call fcn.0040346a
add esp, 0x10
cmp eax, edi
je 0x406285
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41e73c], eax
cmp dword [0x41e7e8], edi
je 0x4062ac
lea eax, [ebp + 0x4c]
push eax
call fcn.004096d7
push dword [ebp + 0x38]
mov esi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
pop ecx
pop ecx
cmp eax, edi
jmp 0x406011
cmp dword [0x41e7e0], 3
jne 0x4062c0
lea eax, [ebp + 0x4c]
push eax
call fcn.004095dc
jmp 0x406296
test byte [0x41e730], 8
jne 0x4062fb
mov esi, dword [ebp + 0x60]
push esi
call fcn.004016f4
test eax, eax
pop ecx
jne 0x4062fb
push 8
push edi
call fcn.00408e97
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp esi, edi
je 0x4062f4
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 5
jmp 0x4056c4
mov edi, str.ExecuteFile
xor esi, esi
push esi
lea eax, [ebp + 0x4c]
push str.BeginPrompt
push eax
call fcn.0040346a
add esp, 0xc
cmp eax, esi
je 0x40635b
cmp byte [ebp + 0x67], 0
jne 0x40635b
push eax
push dword [0x41e714]
call fcn.00408c63
test eax, eax
pop ecx
pop ecx
je 0x406487
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x406349
mov byte [ebp + 0x67], 1
mov byte [ebp + 0x66], 1
cmp dword [0x41e7c8], esi
je 0x40635b
and dword [0x41e394], 0xffffff7f
lea ecx, [ebp + 0x28]
call fcn.00410ff6
cmp byte [ebp + 0x66], 0
je 0x4063e5
mov esi, dword [ebp + 0x34]
push str.AutoInstall
lea ecx, [ebp + 0x28]
call fcn.00411412
movzx eax, word [esi]
push eax
lea ecx, [ebp + 0x28]
call fcn.004011ce
push 0
push dword [ebp + 0x28]
lea eax, [ebp + 0x4c]
push eax
call fcn.0040346a
add esp, 0xc
test eax, eax
je 0x4064a6
inc esi
inc esi
movzx eax, word [esi]
cmp ax, 0x30
jb 0x4063af
cmp ax, 0x39
jbe 0x40636c
cmp ax, 0x61
jb 0x4063bb
cmp ax, 0x7a
jbe 0x40636c
cmp ax, 0x41
jb 0x4063c7
cmp ax, 0x5a
jbe 0x40636c
push str.AutoInstall
lea ecx, [ebp + 0x28]
call fcn.00411412
mov eax, dword [ebp + 0x34]
movzx eax, word [eax]
push eax
lea ecx, [ebp + 0x28]
call fcn.004011ce
xor esi, esi
cmp dword [ebp + 0x2c], esi
mov byte [ebp + 0x65], 0
jne 0x406435
push esi
lea eax, [ebp + 0x4c]
push edi
push eax
call fcn.0040346a
add esp, 0xc
test eax, eax
je 0x40640d
push edi
lea ecx, [ebp + 0x28]
call fcn.00411412
mov byte [ebp + 0x65], 1
cmp dword [ebp + 0x2c], esi
jne 0x406435
push esi
lea eax, [ebp + 0x4c]
push str.RunProgram
push eax
call fcn.0040346a
add esp, 0xc
test eax, eax
je 0x406435
push str.RunProgram
lea ecx, [ebp + 0x28]
call fcn.00411412
cmp byte [ebp + 0x66], 0
jne 0x4064e9
cmp byte [ebp + 0x67], 0
jne 0x4064e9
mov eax, dword [0x41e394]
and ax, 0xc0
cmp al, 0x80
jne 0x4064e9
push dword [0x41e708]
push dword [0x41e70c]
call fcn.00408ce1
test eax, eax
pop ecx
pop ecx
jne 0x4064e9
cmp byte [0x41e740], al
push dword [ebp + 0x28]
je 0x4064d9
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406302
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
cmp eax, esi
pop ecx
je 0x4062f4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4062f4
push dword [ebp + 0x28]
push 0xe
push 0
call fcn.00408e97
push dword [ebp + 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
add esp, 0x14
test eax, eax
je 0x4064d2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 6
jmp 0x4056c4
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x40648f
cmp dword [0x41e754], esi
jne 0x40651f
lea eax, [ebp - 0x14]
push str.7ZipSfx._03x
push eax
call fcn.00404e5e
pop ecx
pop ecx
mov edi, 0x41e750
push eax
mov ecx, edi
call fcn.00411041
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov byte [0x41e6f8], 0
jmp 0x406556
mov edi, 0x41e750
push edi
lea ecx, [ebp + 4]
call fcn.00411019
lea eax, [ebp + 4]
push eax
call fcn.00404076
cmp dword [ebp + 8], esi
pop ecx
je 0x406547
lea eax, [ebp + 4]
push eax
mov ecx, edi
call fcn.00411041
push dword [ebp + 4]
mov byte [0x41e6f8], 1
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [0x41e750]
pop ecx
mov ecx, dword [0x41e754]
movzx edx, word [eax + ecx*2 - 2]
cmp dx, 0x5c
je 0x406573
cmp dx, 0x2f
jne 0x406583
dec ecx
mov dword [0x41e754], ecx
mov word [eax + ecx*2], si
mov eax, dword [0x41e750]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [ebp + 0x67], 0
je 0x406597
or dword [0x41e730], 3
cmp dword [0x41e7dc], esi
jne 0x4065ac
push edi
push dword [ebp + 0x48]
call fcn.00401c00
pop ecx
pop ecx
jmp 0x4065ba
call fcn.00408d21
test eax, eax
jne 0x4065e9
mov eax, 0x80004005
cmp eax, esi
je 0x4065e9
call fcn.004045d9
push dword [ebp + 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
cmp eax, esi
pop ecx
pop ecx
je 0x4065e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 8
jmp 0x4056c4
call fcn.00404f0d
cmp byte [ebp + 0x5b], 0
je 0x406601
cmp byte [0x41e6f8], 0
jne 0x406c11
lea ecx, [ebp - 8]
mov dword [ebp + 0x48], esi
call fcn.00410ff6
cmp byte [ebp + 0x66], 0
jne 0x406621
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x4c]
push eax
call fcn.0040461f
pop ecx
pop ecx
mov eax, dword [ebp + 0x34]
mov byte [ebp + 0x66], 0
mov dword [ebp - 0x18], eax
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x44], esi
mov byte [ebp + 0x64], 0
call fcn.00410ff6
lea ecx, [ebp - 0x28]
call fcn.00410ff6
cmp dword [ebp + 0x2c], esi
mov dword [ebp + 0x5c], esi
jne 0x4066f3
cmp byte [0x41e6f8], 0
jne 0x406aa1
mov esi, str.setup.exe
push esi
push 0x41a774
lea eax, [ebp - 0x90]
push 0x41e750
push eax
call fcn.00411399
add esp, 0xc
push eax
lea eax, [ebp + 4]
push eax
call fcn.00411399
add esp, 0xc
push dword [eax]
lea ecx, [ebp + 0x1c]
call fcn.00411412
push dword [ebp + 4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x90]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x406ab8
mov byte [ebp + 0x66], 1
push esi
lea ecx, [ebp - 0x28]
call fcn.00411412
lea eax, [ebp - 0x28]
push eax
call fcn.004040aa
mov esi, dword [ebp - 0x28]
pop ecx
xor edi, edi
push edi
push str.waitall
push esi
call fcn.00404107
add esp, 0xc
cmp eax, edi
je 0x406779
mov esi, eax
mov byte [ebp + 0x64], 1
jmp 0x4066d2
lea eax, [ebp + 0x48]
push eax
push dword [ebp + 0x28]
lea eax, [ebp + 0x4c]
push eax
call fcn.0040346a
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4066bc
mov esi, dword [ebp - 0x18]
inc esi
inc esi
movzx eax, word [esi]
cmp ax, 0x30
mov dword [ebp - 0x18], esi
jb 0x406723
cmp ax, 0x39
jbe 0x406743
cmp ax, 0x61
jb 0x40672f
cmp ax, 0x7a
jbe 0x406743
cmp ax, 0x41
jb 0x406b07
cmp ax, 0x5a
ja 0x406b07
push str.AutoInstall
lea ecx, [ebp + 0x28]
call fcn.00411412
movzx eax, word [esi]
push eax
lea ecx, [ebp + 0x28]
call fcn.004011ce
push dword [ebp - 0x28]
and dword [ebp + 0x48], 0
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x1c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
xor esi, esi
jmp 0x40662b
push edi
push str.hidcon
push esi
call fcn.00404107
add esp, 0xc
cmp eax, edi
je 0x406797
or dword [ebp + 0x5c], 1
mov esi, eax
jmp 0x4066d2
push edi
push str.nowait
push esi
call fcn.00404107
add esp, 0xc
cmp eax, edi
je 0x4067bb
cmp byte [0x41e6f8], 0
mov esi, eax
je 0x4066d2
jmp 0x4067d0
push edi
push str.forcenowait
push esi
call fcn.00404107
add esp, 0xc
cmp eax, edi
je 0x4067dc
mov esi, eax
or dword [ebp + 0x5c], 0x10000
jmp 0x4066d2
push 2
push 0x41bb34
push esi
call fcn.00404107
mov edi, eax
add esp, 0xc
test edi, edi
je 0x406812
cmp dword [0x41e3a0], 0xffffffff
jne 0x40680b
add esi, 4
push esi
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41e3a0], eax
mov esi, edi
jmp 0x4066d2
push 3
push 0x41ba54
push esi
call fcn.00404107
xor edi, edi
add esp, 0xc
cmp eax, edi
je 0x406834
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x48], ecx
jmp 0x406852
push 3
push 0x41ba4c
push esi
call fcn.00404107
add esp, 0xc
cmp eax, edi
je 0x406859
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x44], ecx
mov esi, eax
jmp 0x4066d2
push edi
push 0x41a6d8
push esi
call fcn.00404107
add esp, 0xc
cmp eax, edi
jne 0x4068b3
push edi
push str.i386
push esi
call fcn.00404107
add esp, 0xc
cmp eax, edi
jne 0x4068b3
push edi
push str.amd64
push esi
call fcn.00404107
add esp, 0xc
cmp eax, edi
jne 0x4068a5
push edi
push 0x41a6d0
push esi
call fcn.00404107
add esp, 0xc
cmp eax, edi
je 0x4068c1
mov esi, eax
mov dword [ebp + 0x44], 2
jmp 0x4066d2
mov esi, eax
mov dword [ebp + 0x44], 1
jmp 0x4066d2
cmp byte [ebp + 0x65], 0
lea ecx, [ebp + 0x1c]
je 0x40691f
cmp word [esi], 0x22
je 0x4068f2
push 0x41b8b0
call fcn.00411412
push esi
lea ecx, [ebp + 0x1c]
call fcn.0041146a
push 0x41b8b0
lea ecx, [ebp + 0x1c]
call fcn.0041146a
jmp 0x4068f8
push esi
call fcn.00411412
push edi
lea eax, [ebp + 0x4c]
push str.ExecuteParameters
push eax
call fcn.0040346a
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x406931
push 0x41bca8
lea ecx, [ebp + 0x1c]
call fcn.0041146a
jmp 0x406928
lea eax, [ebp - 8]
push eax
call fcn.00411041
push esi
lea ecx, [ebp + 0x1c]
call fcn.0041146a
lea ecx, [ebp - 0x40]
call fcn.00410ff6
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 0x1c]
call fcn.00404675
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.004113e3
lea eax, [ebp - 0x40]
push eax
call fcn.004040aa
cmp dword [0x41e7e0], edi
pop ecx
jne 0x406a59
push dword [ebp + 0x44]
call fcn.0040284c
test eax, eax
pop ecx
je 0x406a59
cmp word [ebx], di
je 0x40698e
push ebx
lea ecx, [ebp - 0x34]
call fcn.0041146a
jmp 0x406989
inc ebx
inc ebx
cmp word [ebx], di
jne 0x406987
lea eax, [ebp - 0x34]
push eax
call fcn.004040aa
cmp byte [ebp + 0x64], 0
pop ecx
jne 0x406a3b
push dword [0x41e750]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x34]
push eax
push 0x41b930
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x9c]
push 0x41b8b0
push eax
call fcn.004113be
add esp, 0xc
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00411399
add esp, 0xc
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00411379
add esp, 0xc
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.004113e3
push dword [ebp - 0x84]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x78]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x9c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [0x41e750]
push dword [ebp + 0x5c]
push dword [ebp - 0x14]
call fcn.00404ab8
add esp, 0x18
test eax, eax
push dword [ebp - 0x14]
je 0x406b1e
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406a54
push dword [ebp + 0x5c]
push dword [ebp - 0x34]
push dword [ebp - 0x40]
call fcn.00404b98
add esp, 0xc
cmp eax, edi
jne 0x406b26
call fcn.004027f0
cmp byte [ebp + 0x65], 0
jne 0x406b8d
cmp byte [ebp + 0x66], 0
jne 0x406b8d
mov eax, dword [ebp - 8]
mov dword [ebp - 4], edi
mov word [eax], di
push dword [ebp - 0x34]
inc dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x40]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x1c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
jmp 0x406772
push dword [ebp - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x1c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
jmp 0x406bb2
call fcn.004045d9
push 0xf
push 0
call fcn.00408e97
push dword [ebp - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x1c]
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 + 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
add esp, 0x1c
test eax, eax
je 0x405722
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405722
push dword [ebp - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x1c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
jmp 0x406bb0
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406b2d
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp + 0x1c]
push 0x10
push 1
call fcn.00408e97
call fcn.004045d9
push dword [ebp - 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x40]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x1c]
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 + 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
add esp, 0x28
cmp eax, edi
je 0x406b86
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 9
jmp 0x4056c4
push dword [ebp - 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x40]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x1c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
xor esi, esi
cmp dword [0x41e7e0], esi
jne 0x406c08
call fcn.00404f0d
push dword [ebp - 0x48]
lea eax, [ebp + 0x4c]
push dword [ebp + 0x34]
push str.Shortcut
push eax
push 0x404f64
call fcn.004048dc
add esp, 0x14
push dword [0x41e75c]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push dword [ebp - 0x44]
lea eax, [ebp + 0x4c]
push dword [ebp + 0x34]
push str.Delete
push eax
push 0x4048ad
call fcn.004048dc
add esp, 0x14
call fcn.004045d9
push dword [ebp - 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [0x41e3a0], 0xffffffff
jne 0x406c2a
cmp byte [ebp + 0x67], 0
jne 0x406c89
mov dword [0x41e3a0], 1
cmp dword [0x41e3a0], esi
jle 0x406c89
push 0
lea eax, [ebp + 0x4c]
push str.FinishMessage
push eax
call fcn.0040346a
mov esi, eax
add esp, 0xc
test esi, esi
je 0x406c89
mov eax, 0x3e7
cmp dword [0x41e3a0], eax
jle 0x406c5d
mov dword [0x41e3a0], eax
lea ecx, [ebp - 0xec]
call fcn.00404606
push 0
push esi
push dword [0x41e714]
lea ecx, [ebp - 0xec]
push 0x11
call fcn.00407c73
lea ecx, [ebp - 0xec]
call fcn.00407a81
cmp byte [ebp + 0x5b], 0
jne 0x406ccc
cmp dword [0x41e7e0], 0
jne 0x406ccc
push 0
lea eax, [ebp + 0x4c]
push str.SelfDelete
push eax
call fcn.0040346a
add esp, 0xc
test eax, eax
je 0x406ccc
cmp word [eax], 0x31
jne 0x406ccc
sub esp, 0xc
mov ecx, esp
push 0x41e798
call fcn.00411019
call fcn.00405041
add esp, 0xc
push dword [ebp + 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
test eax, eax
pop ecx
pop ecx
je 0x406ceb
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 + 0x4c]
call fcn.00405270
push dword [ebp - 0x6c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x10]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
xor eax, eax
jmp 0x406d29
push 0x10
push 0x41b79c
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