Function at 0x405c2a
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 0x4048fe
call dword [sym.imp.MSVCRT.dll_int____cdecl___unsigned_int____cdecl__set_new_handler_int____cdecl___unsigned_int__]
pop ecx
call fcn.0040205e
lea eax, [ebp - 0x2a4]
push eax
mov dword [ebp - 0x2a4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4074ae
cmp dword [ebp - 0x294], 2
jne 0x4074ae
cmp dword [ebp - 0x2a0], 5
jb 0x4074ae
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], 0x418830
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.00401512
lea ecx, [ebp - 0x68]
call fcn.00401512
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], 0x41854c
call fcn.00404944
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00404eba
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402aff
lea eax, [ebp - 0x5c]
push eax
call fcn.00403113
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 0x417634
push str.SfxVarModulePlatform
mov dword [ebp - 8], eax
call fcn.00403697
add esp, 0xc
push 1
call fcn.004026dd
push eax
push str.SfxVarSystemPlatform
call fcn.00403697
push 1
push ebx
push str.SfxVarCmdLine0
call fcn.00403697
add esp, 0x18
call fcn.0040456f
cmp dword [ebp + 0x10], 0x20
jg 0x405d68
push 0x20
lea ecx, [ebp + 8]
call fcn.004011de
movzx eax, word [0x41b900]
mov esi, dword [ebp + 8]
push eax
push 0x418b78
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call fcn.004011ab
push 1
push esi
push str.SfxVarSystemLanguage
mov word [esi + eax*2], di
mov dword [ebp + 0xc], eax
call fcn.00403697
push str.sfxlang
push ebx
call fcn.00404892
add esp, 0x24
cmp eax, edi
je 0x405de9
cmp word [eax], 0x3a
jne 0x405de9
add eax, 2
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
lea ecx, [eax - 1]
cmp ecx, 0xfffe
ja 0x405dd1
mov word [0x41b900], ax
jmp 0x405dd1
inc ebx
inc ebx
cmp word [ebx], 0x20
ja 0x405dcf
jmp 0x405de1
cmp ax, 0x20
ja 0x405de9
inc ebx
inc ebx
movzx eax, word [ebx]
cmp ax, di
jne 0x405dd9
push str.sfxversion
push ebx
call fcn.00404892
test eax, eax
pop ecx
pop ecx
je 0x405e2b
call fcn.004052f9
xor esi, esi
push dword [ebp - 0x5c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp + 0x14]
call fcn.00404991
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 0x4074c5
push str.sfxwaitall
push ebx
call fcn.00404892
cmp eax, edi
pop ecx
pop ecx
je 0x405e47
push eax
call fcn.0040570d
pop ecx
mov esi, eax
jmp 0x405e01
push str.sfxelevation
push ebx
mov byte [ebp + 0x65], 0
call fcn.00404892
cmp eax, edi
pop ecx
pop ecx
je 0x405e74
mov byte [ebp + 0x65], 1
jmp 0x405e6a
cmp cx, 0x20
ja 0x405e72
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, di
jne 0x405e62
mov ebx, eax
mov esi, 0x208
cmp dword [0x41b9b8], esi
jg 0x405e8c
push esi
mov ecx, 0x41b9b0
call fcn.004011de
push esi
push dword [0x41b9b0]
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x405eb0
xor esi, esi
inc esi
push 6
push esi
call fcn.00409600
pop ecx
pop ecx
jmp 0x405e01
mov esi, dword [0x41b9b0]
push esi
call fcn.004011ab
mov word [esi + eax*2], di
mov dword [esp], str.sfxtest
push ebx
mov dword [0x41b9b4], eax
call fcn.00404892
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x40607a
cmp word [esi], 0x3a
je 0x405eec
push 0x64
pop esi
jmp 0x405e01
movzx ecx, word [esi + 2]
movzx eax, cx
push 0x20
pop ebx
or eax, ebx
sub eax, 0x61
je 0x405ffd
dec eax
dec eax
je 0x405fe9
dec eax
je 0x405f68
sub eax, 0xb
je 0x405f20
sub eax, 7
jne 0x405ee4
mov esi, 0x4a98
jmp 0x405e01
cmp word [esi + 4], 0x3a
jne 0x405dff
movzx eax, word [esi + 6]
sub eax, 0x31
je 0x405f60
dec eax
je 0x405f56
dec eax
je 0x405f52
dec eax
je 0x405f48
dec eax
jne 0x405dff
push 7
jmp 0x405ee6
mov esi, 0x2ff
jmp 0x405e01
push 0x1f
jmp 0x405ee6
mov esi, 0x97
jmp 0x405e01
xor esi, esi
inc esi
jmp 0x405e01
cmp cx, 0x44
jne 0x405fa9
cmp word [esi + 4], 0x3a
jne 0x405ee4
add esi, 6
jmp 0x405f94
cmp ax, 0x3a
je 0x405f9c
movzx eax, ax
push eax
mov ecx, 0x41b9f0
call fcn.004017cf
inc esi
inc esi
movzx eax, word [esi]
cmp ax, bx
ja 0x405f7e
cmp dword [0x41b9f4], edi
jne 0x405fac
jmp 0x405ee4
add esi, 4
mov dword [0x41b9e8], edi
cmp word [esi], 0x3a
jne 0x405fd3
lea eax, [esi + 2]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
cmp eax, 0xe10
pop ecx
mov dword [0x41b9e8], eax
ja 0x405fd3
cmp eax, edi
jne 0x405fdd
mov dword [0x41b9e8], 0xa
mov dword [0x41b9ec], 1
jmp 0x40600b
xor eax, eax
cmp word [esi + 4], 0x63
sete al
add eax, 3
mov dword [0x41b9ec], eax
jmp 0x40600b
mov dword [0x41b9ec], 2
jmp 0x40600b
inc esi
inc esi
cmp word [esi], bx
ja 0x406009
jmp 0x406019
cmp ax, bx
ja 0x406021
inc esi
inc esi
movzx eax, word [esi]
cmp ax, di
jne 0x406012
push str.sfxconfig
push esi
mov ebx, esi
call fcn.00404892
cmp eax, edi
pop ecx
pop ecx
je 0x40607a
cmp word [eax], 0x3a
jne 0x406044
jmp 0x406042
cmp cx, 0x20
ja 0x40604c
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, di
jne 0x40603c
mov ecx, dword [ebp + 8]
mov word [ecx], di
lea ecx, [ebp + 8]
push ecx
push eax
mov dword [ebp + 0xc], edi
call fcn.00404eba
cmp dword [0x41b9ec], 2
pop ecx
pop ecx
mov ebx, eax
je 0x40607a
lea eax, [ebp + 8]
push eax
mov ecx, 0x41b9b0
call fcn.00401463
mov esi, 0x41b9b0
push esi
mov ecx, 0x41b974
call fcn.00401463
mov edi, 0x41b980
push esi
mov ecx, edi
call fcn.00401463
push esi
call fcn.00403404
xor esi, esi
cmp eax, esi
pop ecx
jl 0x406139
mov ecx, dword [0x41b974]
lea esi, [eax + eax]
and word [ecx + esi], 0
mov dword [0x41b978], eax
mov eax, dword [0x41b9b0]
lea eax, [eax + esi + 2]
push eax
mov ecx, edi
call fcn.0040142a
mov eax, dword [0x41b9b0]
lea eax, [eax + esi + 2]
mov esi, 0x41b998
push eax
mov ecx, esi
call fcn.0040142a
push 0x2e
mov ecx, esi
call fcn.00402b35
test eax, eax
jle 0x4060ff
mov ecx, dword [0x41b998]
and word [ecx + eax*2], 0
mov dword [0x41b99c], eax
push esi
mov esi, 0x41b98c
mov ecx, esi
call fcn.00401463
push 4
call fcn.004024c4
pop ecx
push eax
mov ecx, esi
call fcn.00402aff
mov eax, dword [0x41b998]
mov ecx, dword [0x41b98c]
mov dword [0x41b930], eax
mov dword [0x41b938], ecx
mov dword [0x41b93c], eax
xor esi, esi
call fcn.004026dd
push eax
mov ecx, 0x41b9a4
call fcn.0040142a
push 0x10
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
je 0x406161
mov ecx, eax
call fcn.00404c83
mov dword [ebp + 0x28], eax
jmp 0x406164
mov dword [ebp + 0x28], esi
mov edi, dword [ebp + 0x28]
push edi
lea ecx, [ebp + 0x60]
call fcn.00411c13
push dword [0x41b9b0]
lea ecx, [edi + 0xc]
call fcn.0040e924
test al, al
jne 0x4061a8
push dword [0x41b9b0]
push 7
push 1
call fcn.00409600
mov eax, dword [ebp + 0x60]
add esp, 0xc
cmp eax, esi
je 0x4061a1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 2
jmp 0x405ee6
lea ecx, [ebp + 0x2c]
call fcn.00402b60
mov edi, dword [ebp + 0x60]
lea eax, [ebp + 0x2c]
push eax
push edi
call fcn.0040404a
test al, al
pop ecx
pop ecx
jne 0x4061e7
push 9
push esi
call fcn.00409600
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x4061e0
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 3
jmp 0x405ee6
cmp dword [0x41b9ec], esi
jne 0x406279
push str.sfxconfig
push ebx
call fcn.00404892
cmp eax, esi
pop ecx
pop ecx
je 0x406279
cmp word [eax], 0x3a
jne 0x40620c
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
je 0x40625d
cmp cx, 0x20
ja 0x406224
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
jne 0x406214
cmp word [eax], si
je 0x40625d
lea ecx, [ebp + 0x2c]
push ecx
push eax
call fcn.004059ca
test al, al
pop ecx
pop ecx
jne 0x40625d
push 0xa
push esi
call fcn.00409600
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x406256
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 4
jmp 0x405ee6
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
cmp edi, esi
pop ecx
je 0x405dff
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x405dff
lea ecx, [ebp + 0x14]
call fcn.0040ed27
cmp dword [ebp + 0x30], esi
je 0x4062a6
push esi
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.004037b7
add esp, 0xc
test al, al
jne 0x4062a6
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x40624c
cmp dword [0x41b9ec], 4
je 0x40625d
mov eax, dword [0x41b0a0]
mov esi, 0x41b0a0
jmp 0x4062f0
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.004024c4
pop ecx
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00403697
add esp, 0xc
add esi, 0x10
mov eax, dword [esi]
test eax, eax
jne 0x4062bb
lea eax, [ebp + 0x14]
push eax
call fcn.00404f29
push 1
dec ebx
push 0x417584
push str.SfxVarCmdLine2
dec ebx
call fcn.00403697
add esp, 0x10
jmp 0x406317
inc ebx
inc ebx
cmp word [ebx], 0x20
ja 0x406315
jmp 0x406327
cmp ax, 0x20
ja 0x40632f
inc ebx
inc ebx
movzx eax, word [ebx]
test ax, ax
jne 0x40631f
movzx eax, word [ebx]
cmp ax, 0x2f
je 0x406342
cmp ax, 0x2d
jne 0x4065cc
lea esi, [ebx + 2]
cmp word [esi], 0x21
je 0x4065c1
push 0x418abc
push esi
call fcn.004046b5
test eax, eax
pop ecx
pop ecx
je 0x4063aa
lea ecx, [ebx + 6]
movzx eax, word [ecx]
cmp ax, 0x30
jb 0x406372
cmp ax, 0x39
jbe 0x40638a
cmp ax, 0x61
jb 0x40637e
cmp ax, 0x7a
jbe 0x40638a
cmp ax, 0x41
jb 0x406397
cmp ax, 0x5a
ja 0x406397
mov dword [ebp + 0x44], ecx
mov byte [ebp + 0x66], 1
mov byte [ebp + 0x67], 1
jmp 0x406317
cmp ax, 0x20
ja 0x4065cc
mov dword [ebp + 0x44], 0x418830
jmp 0x40638d
push 0x418ab4
push esi
call fcn.004046b5
test eax, eax
pop ecx
pop ecx
je 0x4063cd
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.OverwriteMode
jmp 0x406519
push 0x418aac
push esi
call fcn.004046b5
test eax, eax
pop ecx
pop ecx
je 0x406412
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
jb 0x4065cc
cmp cx, 0x32
ja 0x4065cc
cmp word [ebx + 8], 0x20
ja 0x4065cc
lea ecx, [ebp + 0x14]
push ecx
push eax
push str.GUIMode
jmp 0x406519
push 0x418aa4
push esi
call fcn.004046b5
test eax, eax
pop ecx
pop ecx
je 0x406435
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.GUIFlags
jmp 0x406519
push 0x418a9c
push esi
call fcn.004046b5
test eax, eax
pop ecx
pop ecx
je 0x406458
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.MiscFlags
jmp 0x406519
push 0x418a94
push esi
call fcn.004046b5
test eax, eax
pop ecx
pop ecx
je 0x406499
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
je 0x40647f
cmp cx, 0x31
jne 0x4065cc
cmp word [ebx + 8], 0x20
ja 0x4065cc
lea ecx, [ebp + 0x14]
push ecx
push eax
push str.SelfDelete
jmp 0x406519
push 0x418a8c
push esi
call fcn.004046b5
test eax, eax
pop ecx
pop ecx
je 0x4064be
cmp word [ebx + 6], 0x20
ja 0x4065cc
mov byte [ebp + 0x5f], 1
jmp 0x406317
push 0x418a84
push esi
call fcn.004046b5
test eax, eax
pop ecx
pop ecx
je 0x4064fb
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
jb 0x4065cc
cmp cx, 0x39
ja 0x4065cc
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41b3a0], eax
jmp 0x406317
push 0x418a7c
push esi
call fcn.004046b5
test eax, eax
pop ecx
pop ecx
je 0x406526
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 8]
push eax
push str.BeginPromptTimeout
call fcn.004051b0
add esp, 0xc
jmp 0x406317
movzx eax, word [esi]
cmp ax, 0x70
je 0x406593
cmp ax, 0x50
je 0x406593
cmp ax, 0x79
je 0x406541
cmp ax, 0x59
jne 0x406551
cmp word [ebx + 4], 0x20
ja 0x406551
mov byte [ebp + 0x66], 1
jmp 0x406317
cmp ax, 0x3f
je 0x406563
cmp ax, 0x68
je 0x406563
cmp ax, 0x48
jne 0x406573
cmp word [ebx + 4], 0x20
ja 0x406573
mov byte [ebp + 0x64], 1
jmp 0x406317
lea eax, [ebp + 0x14]
push eax
push esi
call fcn.00404b59
test eax, eax
pop ecx
pop ecx
je 0x4065cc
cmp eax, 1
je 0x406627
mov ebx, eax
jmp 0x406317
lea ecx, [ebp + 0x48]
call fcn.00401512
lea eax, [ebp + 0x48]
push eax
add ebx, 4
push ebx
call fcn.00404eba
push dword [ebp + 0x48]
dec eax
dec eax
mov ebx, eax
call fcn.0040152a
push dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
jmp 0x406310
mov esi, ebx
xor edi, edi
add ebx, 4
cmp esi, edi
jne 0x4065d0
mov esi, ebx
xor edi, edi
cmp dword [ebp + 0x54], esi
je 0x406644
push dword [ebp + 0x54]
lea ecx, [ebp + 0x48]
call fcn.00402aae
sub esi, dword [ebp + 0x54]
lea ecx, [ebp - 0x14]
sar esi, 1
push esi
push edi
push ecx
mov ecx, eax
call fcn.00404d56
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.00401463
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.004059a4
lea ecx, [ebp + 8]
call fcn.0040597e
push 1
push dword [ebp + 8]
jmp 0x40664b
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
test eax, eax
pop ecx
je 0x40663d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x20
jmp 0x405ee6
push 1
push 0x417584
push str.SfxVarCmdLine1
call fcn.00403697
add esp, 0xc
push ebx
lea ecx, [ebp + 0x48]
call fcn.00402aae
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.00404d56
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.00401463
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.004059a4
lea ecx, [ebp + 8]
call fcn.0040597e
push 1
push dword [ebp + 8]
push str.SfxVarCmdLine2
call fcn.00403697
lea eax, [ebp + 0x14]
push eax
call fcn.00404f29
add esp, 0x10
cmp byte [ebp + 0x65], 0
jne 0x406827
test byte [0x41b948], 4
je 0x406827
call fcn.0040278b
test eax, eax
jne 0x406827
lea ecx, [ebp - 0x24]
call fcn.00401512
lea ecx, [ebp + 0x48]
call fcn.00401512
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00404eba
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402aae
lea eax, [ebp - 0x3c]
push eax
push 0x20
push str.sfxelevation
push 0x418890
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x50]
push 0x22
push eax
call fcn.00404e0a
add esp, 0xc
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.00404e28
add esp, 0xc
push eax
lea eax, [ebp - 4]
push eax
call fcn.00404e28
add esp, 0xc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00404e46
add esp, 0xc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004017fa
add esp, 0xc
push eax
lea ecx, [ebp + 0x48]
call fcn.00401463
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.004053cd
add esp, 0xc
test eax, eax
push dword [ebp - 0x3c]
jne 0x4067f1
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 0x4067ea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xb
jmp 0x405ee6
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 0x405dff
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405dff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x14]
push str.SetEnvironment
push eax
mov dword [ebp - 0x18], edi
call fcn.004029ed
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4068a6
push esi
lea ecx, [ebp - 0x14]
call fcn.00402aae
mov edi, dword [ebp - 0x14]
push 0x3d
push edi
call fcn.0040ebd4
test eax, eax
pop ecx
pop ecx
jle 0x40689d
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.00403697
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.004029ed
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x406845
jmp 0x4068a4
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
xor edi, edi
call fcn.00404b02
cmp dword [0x41b394], 0xffffffff
jne 0x4068ba
mov dword [0x41b394], edi
cmp byte [ebp + 0x64], 0
je 0x40691b
push edi
lea eax, [ebp + 0x14]
push str.HelpText
push eax
call fcn.004029ed
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x4068e2
push 0x18
call fcn.004024c4
pop ecx
mov esi, eax
lea ecx, [ebp - 0xe0]
call fcn.00404556
push edi
push esi
push dword [0x41b930]
lea ecx, [ebp - 0xe0]
push 0x11
call fcn.00408445
lea ecx, [ebp - 0xe0]
call fcn.004081b8
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406811
cmp byte [ebp + 0x66], 0
je 0x40692b
and dword [0x41b394], 0xfffffeff
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push edi
lea eax, [ebp + 0x14]
push str.InstallPath
push eax
call fcn.004029ed
add esp, 0xc
cmp eax, edi
mov esi, 0x41b968
je 0x406955
push eax
mov ecx, esi
call fcn.0040142a
push esi
call fcn.0040465e
push edi
lea eax, [ebp + 0x14]
push str.SfxAuthor
push eax
call fcn.004029ed
mov esi, eax
add esp, 0x10
cmp esi, edi
je 0x406a57
lea eax, [ebp - 0x190]
push eax
call fcn.0040a8b0
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.0040abd0
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.0040ac20
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 0x4069c4
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 0x406a02
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, dword [ebp + 0x58]
shr esi, cl
and esi, 0x1f
test eax, eax
je 0x406a23
push 0x19
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x406a23
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 0x4069df
and word [ebp + edi*2 - 0xcc], 0
lea eax, [ebp - 0xcc]
push eax
call fcn.0040152a
pop ecx
xor edi, edi
push edi
lea eax, [ebp + 0x14]
push str.BeginPromptTimeout
push eax
call fcn.004029ed
add esp, 0xc
cmp eax, edi
je 0x406a7a
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41b954], eax
cmp dword [0x41b9f4], edi
je 0x406aad
lea eax, [ebp + 0x14]
push eax
call fcn.004097f0
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 0x405e01
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405e01
cmp dword [0x41b9ec], 3
jne 0x406ac1
lea eax, [ebp + 0x14]
push eax
call fcn.004096f5
jmp 0x406a8b
test byte [0x41b948], 8
jne 0x406af2
mov esi, dword [ebp + 0x60]
push esi
call fcn.004015ff
test eax, eax
pop ecx
jne 0x406af2
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
cmp esi, edi
pop ecx
je 0x406aeb
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 5
jmp 0x405ee6
mov edi, str.ExecuteFile
xor esi, esi
push esi
lea eax, [ebp + 0x14]
push str.BeginPrompt
push eax
call fcn.004029ed
add esp, 0xc
cmp eax, esi
je 0x406b52
cmp byte [ebp + 0x66], 0
jne 0x406b52
push eax
push dword [0x41b930]
call fcn.00408be6
test eax, eax
pop ecx
pop ecx
je 0x406c7e
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x406b40
mov byte [ebp + 0x66], 1
mov byte [ebp + 0x67], 1
cmp dword [0x41b9d4], esi
je 0x406b52
and dword [0x41b394], 0xffffff7f
lea ecx, [ebp + 0x38]
call fcn.00401512
cmp byte [ebp + 0x67], 0
je 0x406bdc
mov esi, dword [ebp + 0x44]
push str.AutoInstall
lea ecx, [ebp + 0x38]
call fcn.0040142a
movzx eax, word [esi]
push eax
lea ecx, [ebp + 0x38]
call fcn.004017cf
push 0
push dword [ebp + 0x38]
lea eax, [ebp + 0x14]
push eax
call fcn.004029ed
add esp, 0xc
test eax, eax
je 0x406c9d
inc esi
inc esi
movzx eax, word [esi]
cmp ax, 0x30
jb 0x406ba6
cmp ax, 0x39
jbe 0x406b63
cmp ax, 0x61
jb 0x406bb2
cmp ax, 0x7a
jbe 0x406b63
cmp ax, 0x41
jb 0x406bbe
cmp ax, 0x5a
jbe 0x406b63
push str.AutoInstall
lea ecx, [ebp + 0x38]
call fcn.0040142a
mov eax, dword [ebp + 0x44]
movzx eax, word [eax]
push eax
lea ecx, [ebp + 0x38]
call fcn.004017cf
xor esi, esi
cmp dword [ebp + 0x3c], esi
mov byte [ebp + 0x65], 0
jne 0x406c2c
push esi
lea eax, [ebp + 0x14]
push edi
push eax
call fcn.004029ed
add esp, 0xc
test eax, eax
je 0x406c09
push edi
lea ecx, [ebp + 0x38]
call fcn.0040142a
cmp dword [ebp + 0x3c], esi
mov byte [ebp + 0x65], 1
jne 0x406c2c
push esi
lea eax, [ebp + 0x14]
push str.RunProgram
push eax
call fcn.004029ed
add esp, 0xc
test eax, eax
je 0x406c2c
push str.RunProgram
lea ecx, [ebp + 0x38]
call fcn.0040142a
cmp byte [ebp + 0x67], 0
jne 0x406ce0
cmp byte [ebp + 0x66], 0
jne 0x406ce0
mov eax, dword [0x41b394]
and ax, 0xc0
cmp al, 0x80
jne 0x406ce0
push dword [0x41b924]
push dword [0x41b928]
call fcn.00408c64
test eax, eax
pop ecx
pop ecx
jne 0x406ce0
cmp byte [0x41b958], al
push dword [ebp + 0x38]
je 0x406cd0
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406af9
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
cmp eax, esi
pop ecx
je 0x406aeb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x406aeb
push dword [ebp + 0x38]
push 0xe
push 0
call fcn.00409600
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 0x406cc9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 6
jmp 0x405ee6
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 0x406c86
cmp dword [0x41b96c], esi
jne 0x406d16
lea eax, [ebp - 0x50]
push str.7ZipSfx._03x
push eax
call fcn.00404a53
pop ecx
pop ecx
mov esi, 0x41b968
push eax
mov ecx, esi
call fcn.00401463
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov byte [0x41b914], 0
jmp 0x406d4e
mov esi, 0x41b968
push esi
lea ecx, [ebp + 0x48]
call fcn.004013f8
lea eax, [ebp + 0x48]
push eax
call fcn.0040465e
cmp dword [ebp + 0x4c], 0
pop ecx
jne 0x406d3f
lea eax, [ebp + 0x48]
push eax
mov ecx, esi
call fcn.00401463
push dword [ebp + 0x48]
mov byte [0x41b914], 1
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [0x41b968]
pop ecx
mov ecx, dword [0x41b96c]
movzx edx, word [eax + ecx*2 - 2]
cmp dx, 0x5c
je 0x406d6b
cmp dx, 0x2f
jne 0x406d77
dec ecx
and word [eax + ecx*2], 0
mov dword [0x41b96c], ecx
cmp byte [ebp + 0x66], 0
je 0x406d84
or dword [0x41b948], 3
cmp dword [0x41b9e8], 0
jne 0x406d9a
push esi
push dword [ebp + 0x28]
call fcn.00401a19
pop ecx
pop ecx
jmp 0x406da8
call fcn.00408ca4
test eax, eax
jne 0x406dd7
mov eax, 0x80004005
test eax, eax
je 0x406dd7
call fcn.0040492e
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 0x406dd0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 8
jmp 0x405ee6
call fcn.00404b02
cmp byte [ebp + 0x5f], 0
je 0x406def
cmp byte [0x41b914], 0
jne 0x4073ac
and dword [ebp + 0x54], 0
lea ecx, [ebp + 0x48]
call fcn.00401512
cmp byte [ebp + 0x67], 0
jne 0x406e10
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.00404e64
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.00401512
lea ecx, [ebp - 0x30]
call fcn.00401512
cmp dword [ebp + 0x3c], esi
mov dword [ebp + 0x58], esi
jne 0x406edd
cmp byte [0x41b914], 0
jne 0x40725a
mov esi, str.setup.exe
push esi
push 0x4177ec
lea eax, [ebp - 0x80]
push 0x41b968
push eax
call fcn.00404e28
add esp, 0xc
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00404e28
add esp, 0xc
push eax
lea ecx, [ebp - 4]
call fcn.00401463
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 0x407271
mov byte [ebp + 0x67], 1
push esi
lea ecx, [ebp - 0x30]
call fcn.0040142a
lea eax, [ebp - 0x30]
push eax
call fcn.00404692
mov esi, dword [ebp - 0x30]
pop ecx
xor edi, edi
push edi
push str.waitall
push esi
call fcn.004046ef
add esp, 0xc
cmp eax, edi
je 0x406f61
mov esi, eax
mov byte [ebp + 0x64], 1
jmp 0x406ebc
lea eax, [ebp + 0x54]
push eax
push dword [ebp + 0x38]
lea eax, [ebp + 0x14]
push eax
call fcn.004029ed
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x406ea6
mov esi, dword [ebp - 8]
inc esi
inc esi
movzx eax, word [esi]
cmp ax, 0x30
mov dword [ebp - 8], esi
jb 0x406f0d
cmp ax, 0x39
jbe 0x406f2d
cmp ax, 0x61
jb 0x406f19
cmp ax, 0x7a
jbe 0x406f2d
cmp ax, 0x41
jb 0x40725a
cmp ax, 0x5a
ja 0x40725a
push str.AutoInstall
lea ecx, [ebp + 0x38]
call fcn.0040142a
movzx eax, word [esi]
push eax
lea ecx, [ebp + 0x38]
call fcn.004017cf
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 0x406e1a
push edi
push str.hidcon
push esi
call fcn.004046ef
add esp, 0xc
cmp eax, edi
je 0x406f7f
or dword [ebp + 0x58], 1
mov esi, eax
jmp 0x406ebc
push edi
push str.nowait
push esi
call fcn.004046ef
add esp, 0xc
cmp eax, edi
je 0x406fa3
cmp byte [0x41b914], 0
mov esi, eax
je 0x406ebc
jmp 0x406fb8
push edi
push str.forcenowait
push esi
call fcn.004046ef
add esp, 0xc
cmp eax, edi
je 0x406fc4
mov esi, eax
or dword [ebp + 0x58], 0x10000
jmp 0x406ebc
push 2
push 0x418a84
push esi
call fcn.004046ef
mov edi, eax
add esp, 0xc
test edi, edi
je 0x406ffa
cmp dword [0x41b3a0], 0xffffffff
jne 0x406ff3
add esi, 4
push esi
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41b3a0], eax
mov esi, edi
jmp 0x406ebc
push 3
push 0x4189a4
push esi
call fcn.004046ef
xor edi, edi
add esp, 0xc
cmp eax, edi
je 0x40701c
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x44], ecx
jmp 0x40703a
push 3
push 0x41899c
push esi
call fcn.004046ef
add esp, 0xc
cmp eax, edi
je 0x407041
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x40], ecx
mov esi, eax
jmp 0x406ebc
push edi
push 0x417634
push esi
call fcn.004046ef
add esp, 0xc
cmp eax, edi
jne 0x40709b
push edi
push str.i386
push esi
call fcn.004046ef
add esp, 0xc
cmp eax, edi
jne 0x40709b
push edi
push 0x418984
push esi
call fcn.004046ef
add esp, 0xc
cmp eax, edi
jne 0x40708d
push edi
push 0x41762c
push esi
call fcn.004046ef
add esp, 0xc
cmp eax, edi
je 0x4070a9
mov esi, eax
mov dword [ebp + 0x28], 2
jmp 0x406ebc
mov esi, eax
mov dword [ebp + 0x28], 1
jmp 0x406ebc
cmp byte [ebp + 0x65], 0
lea ecx, [ebp - 4]
je 0x407107
cmp word [esi], 0x22
je 0x4070da
push 0x418824
call fcn.0040142a
push esi
lea ecx, [ebp - 4]
call fcn.00402aff
push 0x418824
lea ecx, [ebp - 4]
call fcn.00402aff
jmp 0x4070e0
push esi
call fcn.0040142a
push edi
lea eax, [ebp + 0x14]
push str.ExecuteParameters
push eax
call fcn.004029ed
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x407119
push 0x418980
lea ecx, [ebp - 4]
call fcn.00402aff
jmp 0x407110
lea eax, [ebp + 0x48]
push eax
call fcn.00401463
push esi
lea ecx, [ebp - 4]
call fcn.00402aff
lea ecx, [ebp - 0x24]
call fcn.00401512
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.00404eba
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402aae
lea eax, [ebp - 0x24]
push eax
call fcn.00404692
cmp dword [0x41b9ec], edi
pop ecx
jne 0x407214
push dword [ebp + 0x28]
call fcn.0040275a
test eax, eax
pop ecx
je 0x407214
cmp word [ebx], di
je 0x407177
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00402aff
jmp 0x407172
inc ebx
inc ebx
cmp word [ebx], di
jne 0x407170
lea eax, [ebp - 0x3c]
push eax
call fcn.00404692
cmp byte [ebp + 0x64], 0
pop ecx
jne 0x4071f6
lea eax, [ebp - 0x3c]
push eax
push 0x4188b0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x74]
push 0x22
push eax
call fcn.00404e0a
add esp, 0xc
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00404e28
add esp, 0xc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004017fa
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 [0x41b968]
push dword [ebp + 0x58]
push dword [ebp - 0x14]
call fcn.004053cd
add esp, 0x20
test eax, eax
push dword [ebp - 0x14]
je 0x4072c0
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x40720f
push dword [ebp + 0x58]
push dword [ebp - 0x3c]
push dword [ebp - 0x24]
call fcn.004054a4
add esp, 0xc
cmp eax, edi
jne 0x4072c8
call fcn.004026f2
cmp byte [ebp + 0x65], 0
jne 0x40732b
cmp byte [ebp + 0x67], 0
jne 0x40732b
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 0x406e1a
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 0x40734c
call fcn.0040492e
push 0xf
push 0
call fcn.00409600
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 0x405f44
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405f44
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x4072cf
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push 0x10
push 1
call fcn.00409600
call fcn.0040492e
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 0x407324
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 9
jmp 0x405ee6
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 [0x41b9ec], 0
jne 0x4073a3
call fcn.00404b02
push dword [ebp - 0x44]
lea eax, [ebp + 0x14]
push dword [ebp + 0x44]
push str.Shortcut
push eax
push 0x405b4d
call fcn.0040520e
add esp, 0x14
push dword [0x41b974]
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 0x404c54
call fcn.0040520e
add esp, 0x14
call fcn.0040492e
push dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [0x41b3a0], 0xffffffff
jne 0x4073c5
cmp byte [ebp + 0x66], 0
jne 0x407425
mov dword [0x41b3a0], 1
cmp dword [0x41b3a0], 0
jle 0x407425
push 0
lea eax, [ebp + 0x14]
push str.FinishMessage
push eax
call fcn.004029ed
mov esi, eax
add esp, 0xc
test esi, esi
je 0x407425
mov eax, 0x3e7
cmp dword [0x41b3a0], eax
jle 0x4073f9
mov dword [0x41b3a0], eax
lea ecx, [ebp - 0xdc]
call fcn.00404915
push 0
push esi
push dword [0x41b930]
lea ecx, [ebp - 0xdc]
push 0x11
call fcn.00408445
lea ecx, [ebp - 0xdc]
call fcn.004081b8
cmp byte [ebp + 0x5f], 0
jne 0x407468
cmp dword [0x41b9ec], 0
jne 0x407468
push 0
lea eax, [ebp + 0x14]
push str.SelfDelete
push eax
call fcn.004029ed
add esp, 0xc
test eax, eax
je 0x407468
cmp word [eax], 0x31
jne 0x407468
sub esp, 0xc
mov ecx, esp
push 0x41b9b0
call fcn.004013f8
call fcn.0040576a
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 0x407487
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.00404991
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 0x4074c5
push 0x10
push 0x418510
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