Function at 0x405c30
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 0x4048de
call dword [sym.imp.MSVCRT.dll_int____cdecl___unsigned_int____cdecl__set_new_handler_int____cdecl___unsigned_int__]
pop ecx
call fcn.0040203e
lea eax, [ebp - 0x2a4]
push eax
mov dword [ebp - 0x2a4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4074b4
cmp dword [ebp - 0x294], 2
jne 0x4074b4
cmp dword [ebp - 0x2a0], 5
jb 0x4074b4
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], 0x418848
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.00401558
lea ecx, [ebp - 0x68]
call fcn.00401558
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], 0x418564
call fcn.00404940
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00404ec0
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402adf
lea eax, [ebp - 0x5c]
push eax
call fcn.004030f3
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.00403677
add esp, 0xc
push 1
call fcn.004026bd
push eax
push str.SfxVarSystemPlatform
call fcn.00403677
push 1
push ebx
push str.SfxVarCmdLine0
call fcn.00403677
add esp, 0x18
call fcn.0040454f
cmp dword [ebp + 0x10], 0x20
jg 0x405d6e
push 0x20
lea ecx, [ebp + 8]
call fcn.004011cb
movzx eax, word [0x41b920]
mov esi, dword [ebp + 8]
push eax
push 0x418b90
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call fcn.00401198
push 1
push esi
push str.SfxVarSystemLanguage
mov word [esi + eax*2], di
mov dword [ebp + 0xc], eax
call fcn.00403677
push str.sfxlang
push ebx
call fcn.00404872
add esp, 0x24
cmp eax, edi
je 0x405def
cmp word [eax], 0x3a
jne 0x405def
add eax, 2
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
lea ecx, [eax - 1]
cmp ecx, 0xfffe
ja 0x405dd7
mov word [0x41b920], ax
jmp 0x405dd7
inc ebx
inc ebx
cmp word [ebx], 0x20
ja 0x405dd5
jmp 0x405de7
cmp ax, 0x20
ja 0x405def
inc ebx
inc ebx
movzx eax, word [ebx]
cmp ax, di
jne 0x405ddf
push str.sfxversion
push ebx
call fcn.00404872
test eax, eax
pop ecx
pop ecx
je 0x405e31
call fcn.004052ff
xor esi, esi
push dword [ebp - 0x5c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp + 0x14]
call fcn.0040498d
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 0x4074cb
push str.sfxwaitall
push ebx
call fcn.00404872
cmp eax, edi
pop ecx
pop ecx
je 0x405e4d
push eax
call fcn.00405713
pop ecx
mov esi, eax
jmp 0x405e07
push str.sfxelevation
push ebx
mov byte [ebp + 0x65], 0
call fcn.00404872
cmp eax, edi
pop ecx
pop ecx
je 0x405e7a
mov byte [ebp + 0x65], 1
jmp 0x405e70
cmp cx, 0x20
ja 0x405e78
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, di
jne 0x405e68
mov ebx, eax
mov esi, 0x208
cmp dword [0x41b9d8], esi
jg 0x405e92
push esi
mov ecx, 0x41b9d0
call fcn.004011cb
push esi
push dword [0x41b9d0]
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x405eb6
xor esi, esi
inc esi
push 6
push esi
call fcn.004095ea
pop ecx
pop ecx
jmp 0x405e07
mov esi, dword [0x41b9d0]
push esi
call fcn.00401198
mov word [esi + eax*2], di
mov dword [esp], str.sfxtest
push ebx
mov dword [0x41b9d4], eax
call fcn.00404872
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x406080
cmp word [esi], 0x3a
je 0x405ef2
push 0x64
pop esi
jmp 0x405e07
movzx ecx, word [esi + 2]
movzx eax, cx
push 0x20
pop ebx
or eax, ebx
sub eax, 0x61
je 0x406003
dec eax
dec eax
je 0x405fef
dec eax
je 0x405f6e
sub eax, 0xb
je 0x405f26
sub eax, 7
jne 0x405eea
mov esi, 0x4a98
jmp 0x405e07
cmp word [esi + 4], 0x3a
jne 0x405e05
movzx eax, word [esi + 6]
sub eax, 0x31
je 0x405f66
dec eax
je 0x405f5c
dec eax
je 0x405f58
dec eax
je 0x405f4e
dec eax
jne 0x405e05
push 7
jmp 0x405eec
mov esi, 0x2ff
jmp 0x405e07
push 0x1f
jmp 0x405eec
mov esi, 0xb7
jmp 0x405e07
xor esi, esi
inc esi
jmp 0x405e07
cmp cx, 0x44
jne 0x405faf
cmp word [esi + 4], 0x3a
jne 0x405eea
add esi, 6
jmp 0x405f9a
cmp ax, 0x3a
je 0x405fa2
movzx eax, ax
push eax
mov ecx, 0x41ba10
call fcn.004017bc
inc esi
inc esi
movzx eax, word [esi]
cmp ax, bx
ja 0x405f84
cmp dword [0x41ba14], edi
jne 0x405fb2
jmp 0x405eea
add esi, 4
mov dword [0x41ba08], edi
cmp word [esi], 0x3a
jne 0x405fd9
lea eax, [esi + 2]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
cmp eax, 0xe10
pop ecx
mov dword [0x41ba08], eax
ja 0x405fd9
cmp eax, edi
jne 0x405fe3
mov dword [0x41ba08], 0xa
mov dword [0x41ba0c], 1
jmp 0x406011
xor eax, eax
cmp word [esi + 4], 0x63
sete al
add eax, 3
mov dword [0x41ba0c], eax
jmp 0x406011
mov dword [0x41ba0c], 2
jmp 0x406011
inc esi
inc esi
cmp word [esi], bx
ja 0x40600f
jmp 0x40601f
cmp ax, bx
ja 0x406027
inc esi
inc esi
movzx eax, word [esi]
cmp ax, di
jne 0x406018
push str.sfxconfig
push esi
mov ebx, esi
call fcn.00404872
cmp eax, edi
pop ecx
pop ecx
je 0x406080
cmp word [eax], 0x3a
jne 0x40604a
jmp 0x406048
cmp cx, 0x20
ja 0x406052
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, di
jne 0x406042
mov ecx, dword [ebp + 8]
mov word [ecx], di
lea ecx, [ebp + 8]
push ecx
push eax
mov dword [ebp + 0xc], edi
call fcn.00404ec0
cmp dword [0x41ba0c], 2
pop ecx
pop ecx
mov ebx, eax
je 0x406080
lea eax, [ebp + 8]
push eax
mov ecx, 0x41b9d0
call fcn.0040149f
mov esi, 0x41b9d0
push esi
mov ecx, 0x41b994
call fcn.0040149f
mov edi, 0x41b9a0
push esi
mov ecx, edi
call fcn.0040149f
push esi
call fcn.004033e4
xor esi, esi
cmp eax, esi
pop ecx
jl 0x40613f
mov ecx, dword [0x41b994]
lea esi, [eax + eax]
and word [ecx + esi], 0
mov dword [0x41b998], eax
mov eax, dword [0x41b9d0]
lea eax, [eax + esi + 2]
push eax
mov ecx, edi
call fcn.00401466
mov eax, dword [0x41b9d0]
lea eax, [eax + esi + 2]
mov esi, 0x41b9b8
push eax
mov ecx, esi
call fcn.00401466
push 0x2e
mov ecx, esi
call fcn.00402b15
test eax, eax
jle 0x406105
mov ecx, dword [0x41b9b8]
and word [ecx + eax*2], 0
mov dword [0x41b9bc], eax
push esi
mov esi, 0x41b9ac
mov ecx, esi
call fcn.0040149f
push 4
call fcn.004024a4
pop ecx
push eax
mov ecx, esi
call fcn.00402adf
mov eax, dword [0x41b9b8]
mov ecx, dword [0x41b9ac]
mov dword [0x41b950], eax
mov dword [0x41b958], ecx
mov dword [0x41b95c], eax
xor esi, esi
call fcn.004026bd
push eax
mov ecx, 0x41b9c4
call fcn.00401466
push 0x10
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
je 0x406167
mov ecx, eax
call fcn.00404c7f
mov dword [ebp + 0x28], eax
jmp 0x40616a
mov dword [ebp + 0x28], esi
mov edi, dword [ebp + 0x28]
push edi
lea ecx, [ebp + 0x60]
call fcn.00410292
push dword [0x41b9d0]
lea ecx, [edi + 0xc]
call fcn.0040f327
test al, al
jne 0x4061ae
push dword [0x41b9d0]
push 7
push 1
call fcn.004095ea
mov eax, dword [ebp + 0x60]
add esp, 0xc
cmp eax, esi
je 0x4061a7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 2
jmp 0x405eec
lea ecx, [ebp + 0x2c]
call fcn.00402b40
mov edi, dword [ebp + 0x60]
lea eax, [ebp + 0x2c]
push eax
push edi
call fcn.0040402a
test al, al
pop ecx
pop ecx
jne 0x4061ed
push 9
push esi
call fcn.004095ea
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x4061e6
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 3
jmp 0x405eec
cmp dword [0x41ba0c], esi
jne 0x40627f
push str.sfxconfig
push ebx
call fcn.00404872
cmp eax, esi
pop ecx
pop ecx
je 0x40627f
cmp word [eax], 0x3a
jne 0x406212
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
je 0x406263
cmp cx, 0x20
ja 0x40622a
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
jne 0x40621a
cmp word [eax], si
je 0x406263
lea ecx, [ebp + 0x2c]
push ecx
push eax
call fcn.004059d0
test al, al
pop ecx
pop ecx
jne 0x406263
push 0xa
push esi
call fcn.004095ea
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x40625c
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 4
jmp 0x405eec
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
cmp edi, esi
pop ecx
je 0x405e05
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x405e05
lea ecx, [ebp + 0x14]
call fcn.0040f72a
cmp dword [ebp + 0x30], esi
je 0x4062ac
push esi
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.00403797
add esp, 0xc
test al, al
jne 0x4062ac
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406252
cmp dword [0x41ba0c], 4
je 0x406263
mov eax, dword [0x41b0a0]
mov esi, 0x41b0a0
jmp 0x4062f6
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.004024a4
pop ecx
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00403677
add esp, 0xc
add esi, 0x10
mov eax, dword [esi]
test eax, eax
jne 0x4062c1
lea eax, [ebp + 0x14]
push eax
call fcn.00404f2f
push 1
dec ebx
push 0x417584
push str.SfxVarCmdLine2
dec ebx
call fcn.00403677
add esp, 0x10
jmp 0x40631d
inc ebx
inc ebx
cmp word [ebx], 0x20
ja 0x40631b
jmp 0x40632d
cmp ax, 0x20
ja 0x406335
inc ebx
inc ebx
movzx eax, word [ebx]
test ax, ax
jne 0x406325
movzx eax, word [ebx]
cmp ax, 0x2f
je 0x406348
cmp ax, 0x2d
jne 0x4065d2
lea esi, [ebx + 2]
cmp word [esi], 0x21
je 0x4065c7
push 0x418ad4
push esi
call fcn.00404695
test eax, eax
pop ecx
pop ecx
je 0x4063b0
lea ecx, [ebx + 6]
movzx eax, word [ecx]
cmp ax, 0x30
jb 0x406378
cmp ax, 0x39
jbe 0x406390
cmp ax, 0x61
jb 0x406384
cmp ax, 0x7a
jbe 0x406390
cmp ax, 0x41
jb 0x40639d
cmp ax, 0x5a
ja 0x40639d
mov dword [ebp + 0x44], ecx
mov byte [ebp + 0x66], 1
mov byte [ebp + 0x67], 1
jmp 0x40631d
cmp ax, 0x20
ja 0x4065d2
mov dword [ebp + 0x44], 0x418848
jmp 0x406393
push 0x418acc
push esi
call fcn.00404695
test eax, eax
pop ecx
pop ecx
je 0x4063d3
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.OverwriteMode
jmp 0x40651f
push 0x418ac4
push esi
call fcn.00404695
test eax, eax
pop ecx
pop ecx
je 0x406418
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
jb 0x4065d2
cmp cx, 0x32
ja 0x4065d2
cmp word [ebx + 8], 0x20
ja 0x4065d2
lea ecx, [ebp + 0x14]
push ecx
push eax
push str.GUIMode
jmp 0x40651f
push 0x418abc
push esi
call fcn.00404695
test eax, eax
pop ecx
pop ecx
je 0x40643b
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.GUIFlags
jmp 0x40651f
push 0x418ab4
push esi
call fcn.00404695
test eax, eax
pop ecx
pop ecx
je 0x40645e
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.MiscFlags
jmp 0x40651f
push 0x418aac
push esi
call fcn.00404695
test eax, eax
pop ecx
pop ecx
je 0x40649f
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
je 0x406485
cmp cx, 0x31
jne 0x4065d2
cmp word [ebx + 8], 0x20
ja 0x4065d2
lea ecx, [ebp + 0x14]
push ecx
push eax
push str.SelfDelete
jmp 0x40651f
push 0x418aa4
push esi
call fcn.00404695
test eax, eax
pop ecx
pop ecx
je 0x4064c4
cmp word [ebx + 6], 0x20
ja 0x4065d2
mov byte [ebp + 0x5f], 1
jmp 0x40631d
push 0x418a9c
push esi
call fcn.00404695
test eax, eax
pop ecx
pop ecx
je 0x406501
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
jb 0x4065d2
cmp cx, 0x39
ja 0x4065d2
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41b3a0], eax
jmp 0x40631d
push 0x418a94
push esi
call fcn.00404695
test eax, eax
pop ecx
pop ecx
je 0x40652c
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 8]
push eax
push str.BeginPromptTimeout
call fcn.004051b6
add esp, 0xc
jmp 0x40631d
movzx eax, word [esi]
cmp ax, 0x70
je 0x406599
cmp ax, 0x50
je 0x406599
cmp ax, 0x79
je 0x406547
cmp ax, 0x59
jne 0x406557
cmp word [ebx + 4], 0x20
ja 0x406557
mov byte [ebp + 0x66], 1
jmp 0x40631d
cmp ax, 0x3f
je 0x406569
cmp ax, 0x68
je 0x406569
cmp ax, 0x48
jne 0x406579
cmp word [ebx + 4], 0x20
ja 0x406579
mov byte [ebp + 0x64], 1
jmp 0x40631d
lea eax, [ebp + 0x14]
push eax
push esi
call fcn.00404b55
test eax, eax
pop ecx
pop ecx
je 0x4065d2
cmp eax, 1
je 0x40662d
mov ebx, eax
jmp 0x40631d
lea ecx, [ebp + 0x48]
call fcn.00401558
lea eax, [ebp + 0x48]
push eax
add ebx, 4
push ebx
call fcn.00404ec0
push dword [ebp + 0x48]
dec eax
dec eax
mov ebx, eax
call fcn.00401570
push dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
jmp 0x406316
mov esi, ebx
xor edi, edi
add ebx, 4
cmp esi, edi
jne 0x4065d6
mov esi, ebx
xor edi, edi
cmp dword [ebp + 0x54], esi
je 0x40664a
push dword [ebp + 0x54]
lea ecx, [ebp + 0x48]
call fcn.00402a8e
sub esi, dword [ebp + 0x54]
lea ecx, [ebp - 0x14]
sar esi, 1
push esi
push edi
push ecx
mov ecx, eax
call fcn.00404d5c
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.0040149f
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.004059aa
lea ecx, [ebp + 8]
call fcn.00405984
push 1
push dword [ebp + 8]
jmp 0x406651
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
test eax, eax
pop ecx
je 0x406643
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x20
jmp 0x405eec
push 1
push 0x417584
push str.SfxVarCmdLine1
call fcn.00403677
add esp, 0xc
push ebx
lea ecx, [ebp + 0x48]
call fcn.00402a8e
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.00404d5c
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.0040149f
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.004059aa
lea ecx, [ebp + 8]
call fcn.00405984
push 1
push dword [ebp + 8]
push str.SfxVarCmdLine2
call fcn.00403677
lea eax, [ebp + 0x14]
push eax
call fcn.00404f2f
add esp, 0x10
cmp byte [ebp + 0x65], 0
jne 0x40682d
test byte [0x41b968], 4
je 0x40682d
call fcn.0040276b
test eax, eax
jne 0x40682d
lea ecx, [ebp - 0x24]
call fcn.00401558
lea ecx, [ebp + 0x48]
call fcn.00401558
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00404ec0
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402a8e
lea eax, [ebp - 0x3c]
push eax
push 0x20
push str.sfxelevation
push 0x4188a8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x50]
push 0x22
push eax
call fcn.00404e10
add esp, 0xc
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.00404e2e
add esp, 0xc
push eax
lea eax, [ebp - 4]
push eax
call fcn.00404e2e
add esp, 0xc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00404e4c
add esp, 0xc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004017e7
add esp, 0xc
push eax
lea ecx, [ebp + 0x48]
call fcn.0040149f
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.004053d3
add esp, 0xc
test eax, eax
push dword [ebp - 0x3c]
jne 0x4067f7
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 0x4067f0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xb
jmp 0x405eec
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 0x405e05
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405e05
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x14]
push str.SetEnvironment
push eax
mov dword [ebp - 0x18], edi
call fcn.004029cd
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4068ac
push esi
lea ecx, [ebp - 0x14]
call fcn.00402a8e
mov edi, dword [ebp - 0x14]
push 0x3d
push edi
call fcn.0040f5d7
test eax, eax
pop ecx
pop ecx
jle 0x4068a3
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.00403677
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.004029cd
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x40684b
jmp 0x4068aa
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
xor edi, edi
call fcn.00404afe
cmp dword [0x41b394], 0xffffffff
jne 0x4068c0
mov dword [0x41b394], edi
cmp byte [ebp + 0x64], 0
je 0x406921
push edi
lea eax, [ebp + 0x14]
push str.HelpText
push eax
call fcn.004029cd
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x4068e8
push 0x18
call fcn.004024a4
pop ecx
mov esi, eax
lea ecx, [ebp - 0xe0]
call fcn.00404536
push edi
push esi
push dword [0x41b950]
lea ecx, [ebp - 0xe0]
push 0x11
call fcn.0040844b
lea ecx, [ebp - 0xe0]
call fcn.004081be
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406817
cmp byte [ebp + 0x66], 0
je 0x406931
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.004029cd
add esp, 0xc
cmp eax, edi
mov esi, 0x41b988
je 0x40695b
push eax
mov ecx, esi
call fcn.00401466
push esi
call fcn.0040463e
push edi
lea eax, [ebp + 0x14]
push str.SfxAuthor
push eax
call fcn.004029cd
mov esi, eax
add esp, 0x10
cmp esi, edi
je 0x406a5d
lea eax, [ebp - 0x190]
push eax
call fcn.0040a890
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.0040abb0
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.0040ac00
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 0x4069ca
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 0x406a08
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, dword [ebp + 0x58]
shr esi, cl
and esi, 0x1f
test eax, eax
je 0x406a29
push 0x19
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x406a29
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 0x4069e5
and word [ebp + edi*2 - 0xcc], 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00401570
pop ecx
xor edi, edi
push edi
lea eax, [ebp + 0x14]
push str.BeginPromptTimeout
push eax
call fcn.004029cd
add esp, 0xc
cmp eax, edi
je 0x406a80
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41b974], eax
cmp dword [0x41ba14], edi
je 0x406ab3
lea eax, [ebp + 0x14]
push eax
call fcn.004097da
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 0x405e07
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405e07
cmp dword [0x41ba0c], 3
jne 0x406ac7
lea eax, [ebp + 0x14]
push eax
call fcn.004096df
jmp 0x406a91
test byte [0x41b968], 8
jne 0x406af8
mov esi, dword [ebp + 0x60]
push esi
call fcn.00401645
test eax, eax
pop ecx
jne 0x406af8
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
cmp esi, edi
pop ecx
je 0x406af1
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 5
jmp 0x405eec
mov edi, str.ExecuteFile
xor esi, esi
push esi
lea eax, [ebp + 0x14]
push str.BeginPrompt
push eax
call fcn.004029cd
add esp, 0xc
cmp eax, esi
je 0x406b58
cmp byte [ebp + 0x66], 0
jne 0x406b58
push eax
push dword [0x41b950]
call fcn.00408bd0
test eax, eax
pop ecx
pop ecx
je 0x406c84
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x406b46
mov byte [ebp + 0x66], 1
mov byte [ebp + 0x67], 1
cmp dword [0x41b9f4], esi
je 0x406b58
and dword [0x41b394], 0xffffff7f
lea ecx, [ebp + 0x38]
call fcn.00401558
cmp byte [ebp + 0x67], 0
je 0x406be2
mov esi, dword [ebp + 0x44]
push str.AutoInstall
lea ecx, [ebp + 0x38]
call fcn.00401466
movzx eax, word [esi]
push eax
lea ecx, [ebp + 0x38]
call fcn.004017bc
push 0
push dword [ebp + 0x38]
lea eax, [ebp + 0x14]
push eax
call fcn.004029cd
add esp, 0xc
test eax, eax
je 0x406ca3
inc esi
inc esi
movzx eax, word [esi]
cmp ax, 0x30
jb 0x406bac
cmp ax, 0x39
jbe 0x406b69
cmp ax, 0x61
jb 0x406bb8
cmp ax, 0x7a
jbe 0x406b69
cmp ax, 0x41
jb 0x406bc4
cmp ax, 0x5a
jbe 0x406b69
push str.AutoInstall
lea ecx, [ebp + 0x38]
call fcn.00401466
mov eax, dword [ebp + 0x44]
movzx eax, word [eax]
push eax
lea ecx, [ebp + 0x38]
call fcn.004017bc
xor esi, esi
cmp dword [ebp + 0x3c], esi
mov byte [ebp + 0x65], 0
jne 0x406c32
push esi
lea eax, [ebp + 0x14]
push edi
push eax
call fcn.004029cd
add esp, 0xc
test eax, eax
je 0x406c0f
push edi
lea ecx, [ebp + 0x38]
call fcn.00401466
cmp dword [ebp + 0x3c], esi
mov byte [ebp + 0x65], 1
jne 0x406c32
push esi
lea eax, [ebp + 0x14]
push str.RunProgram
push eax
call fcn.004029cd
add esp, 0xc
test eax, eax
je 0x406c32
push str.RunProgram
lea ecx, [ebp + 0x38]
call fcn.00401466
cmp byte [ebp + 0x67], 0
jne 0x406ce6
cmp byte [ebp + 0x66], 0
jne 0x406ce6
mov eax, dword [0x41b394]
and ax, 0xc0
cmp al, 0x80
jne 0x406ce6
push dword [0x41b944]
push dword [0x41b948]
call fcn.00408c4e
test eax, eax
pop ecx
pop ecx
jne 0x406ce6
cmp byte [0x41b978], al
push dword [ebp + 0x38]
je 0x406cd6
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406aff
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
cmp eax, esi
pop ecx
je 0x406af1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x406af1
push dword [ebp + 0x38]
push 0xe
push 0
call fcn.004095ea
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 0x406ccf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 6
jmp 0x405eec
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 0x406c8c
cmp dword [0x41b98c], esi
jne 0x406d1c
lea eax, [ebp - 0x50]
push str.7ZipSfx._03x
push eax
call fcn.00404a4f
pop ecx
pop ecx
mov esi, 0x41b988
push eax
mov ecx, esi
call fcn.0040149f
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov byte [0x41b934], 0
jmp 0x406d54
mov esi, 0x41b988
push esi
lea ecx, [ebp + 0x48]
call fcn.00401434
lea eax, [ebp + 0x48]
push eax
call fcn.0040463e
cmp dword [ebp + 0x4c], 0
pop ecx
jne 0x406d45
lea eax, [ebp + 0x48]
push eax
mov ecx, esi
call fcn.0040149f
push dword [ebp + 0x48]
mov byte [0x41b934], 1
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [0x41b988]
pop ecx
mov ecx, dword [0x41b98c]
movzx edx, word [eax + ecx*2 - 2]
cmp dx, 0x5c
je 0x406d71
cmp dx, 0x2f
jne 0x406d7d
dec ecx
and word [eax + ecx*2], 0
mov dword [0x41b98c], ecx
cmp byte [ebp + 0x66], 0
je 0x406d8a
or dword [0x41b968], 3
cmp dword [0x41ba08], 0
jne 0x406da0
push esi
push dword [ebp + 0x28]
call fcn.004019f9
pop ecx
pop ecx
jmp 0x406dae
call fcn.00408c8e
test eax, eax
jne 0x406ddd
mov eax, 0x80004005
test eax, eax
je 0x406ddd
call fcn.0040492a
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 0x406dd6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 8
jmp 0x405eec
call fcn.00404afe
cmp byte [ebp + 0x5f], 0
je 0x406df5
cmp byte [0x41b934], 0
jne 0x4073b2
and dword [ebp + 0x54], 0
lea ecx, [ebp + 0x48]
call fcn.00401558
cmp byte [ebp + 0x67], 0
jne 0x406e16
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.00404e6a
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.00401558
lea ecx, [ebp - 0x30]
call fcn.00401558
cmp dword [ebp + 0x3c], esi
mov dword [ebp + 0x58], esi
jne 0x406ee3
cmp byte [0x41b934], 0
jne 0x407260
mov esi, str.setup.exe
push esi
push 0x4177ec
lea eax, [ebp - 0x80]
push 0x41b988
push eax
call fcn.00404e2e
add esp, 0xc
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00404e2e
add esp, 0xc
push eax
lea ecx, [ebp - 4]
call fcn.0040149f
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 0x407277
mov byte [ebp + 0x67], 1
push esi
lea ecx, [ebp - 0x30]
call fcn.00401466
lea eax, [ebp - 0x30]
push eax
call fcn.00404672
mov esi, dword [ebp - 0x30]
pop ecx
xor edi, edi
push edi
push str.waitall
push esi
call fcn.004046cf
add esp, 0xc
cmp eax, edi
je 0x406f67
mov esi, eax
mov byte [ebp + 0x64], 1
jmp 0x406ec2
lea eax, [ebp + 0x54]
push eax
push dword [ebp + 0x38]
lea eax, [ebp + 0x14]
push eax
call fcn.004029cd
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x406eac
mov esi, dword [ebp - 8]
inc esi
inc esi
movzx eax, word [esi]
cmp ax, 0x30
mov dword [ebp - 8], esi
jb 0x406f13
cmp ax, 0x39
jbe 0x406f33
cmp ax, 0x61
jb 0x406f1f
cmp ax, 0x7a
jbe 0x406f33
cmp ax, 0x41
jb 0x407260
cmp ax, 0x5a
ja 0x407260
push str.AutoInstall
lea ecx, [ebp + 0x38]
call fcn.00401466
movzx eax, word [esi]
push eax
lea ecx, [ebp + 0x38]
call fcn.004017bc
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 0x406e20
push edi
push str.hidcon
push esi
call fcn.004046cf
add esp, 0xc
cmp eax, edi
je 0x406f85
or dword [ebp + 0x58], 1
mov esi, eax
jmp 0x406ec2
push edi
push str.nowait
push esi
call fcn.004046cf
add esp, 0xc
cmp eax, edi
je 0x406fa9
cmp byte [0x41b934], 0
mov esi, eax
je 0x406ec2
jmp 0x406fbe
push edi
push str.forcenowait
push esi
call fcn.004046cf
add esp, 0xc
cmp eax, edi
je 0x406fca
mov esi, eax
or dword [ebp + 0x58], 0x10000
jmp 0x406ec2
push 2
push 0x418a9c
push esi
call fcn.004046cf
mov edi, eax
add esp, 0xc
test edi, edi
je 0x407000
cmp dword [0x41b3a0], 0xffffffff
jne 0x406ff9
add esi, 4
push esi
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41b3a0], eax
mov esi, edi
jmp 0x406ec2
push 3
push 0x4189bc
push esi
call fcn.004046cf
xor edi, edi
add esp, 0xc
cmp eax, edi
je 0x407022
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x44], ecx
jmp 0x407040
push 3
push 0x4189b4
push esi
call fcn.004046cf
add esp, 0xc
cmp eax, edi
je 0x407047
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x40], ecx
mov esi, eax
jmp 0x406ec2
push edi
push 0x417634
push esi
call fcn.004046cf
add esp, 0xc
cmp eax, edi
jne 0x4070a1
push edi
push str.i386
push esi
call fcn.004046cf
add esp, 0xc
cmp eax, edi
jne 0x4070a1
push edi
push 0x41899c
push esi
call fcn.004046cf
add esp, 0xc
cmp eax, edi
jne 0x407093
push edi
push 0x41762c
push esi
call fcn.004046cf
add esp, 0xc
cmp eax, edi
je 0x4070af
mov esi, eax
mov dword [ebp + 0x28], 2
jmp 0x406ec2
mov esi, eax
mov dword [ebp + 0x28], 1
jmp 0x406ec2
cmp byte [ebp + 0x65], 0
lea ecx, [ebp - 4]
je 0x40710d
cmp word [esi], 0x22
je 0x4070e0
push 0x41883c
call fcn.00401466
push esi
lea ecx, [ebp - 4]
call fcn.00402adf
push 0x41883c
lea ecx, [ebp - 4]
call fcn.00402adf
jmp 0x4070e6
push esi
call fcn.00401466
push edi
lea eax, [ebp + 0x14]
push str.ExecuteParameters
push eax
call fcn.004029cd
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x40711f
push 0x418998
lea ecx, [ebp - 4]
call fcn.00402adf
jmp 0x407116
lea eax, [ebp + 0x48]
push eax
call fcn.0040149f
push esi
lea ecx, [ebp - 4]
call fcn.00402adf
lea ecx, [ebp - 0x24]
call fcn.00401558
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.00404ec0
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402a8e
lea eax, [ebp - 0x24]
push eax
call fcn.00404672
cmp dword [0x41ba0c], edi
pop ecx
jne 0x40721a
push dword [ebp + 0x28]
call fcn.0040273a
test eax, eax
pop ecx
je 0x40721a
cmp word [ebx], di
je 0x40717d
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00402adf
jmp 0x407178
inc ebx
inc ebx
cmp word [ebx], di
jne 0x407176
lea eax, [ebp - 0x3c]
push eax
call fcn.00404672
cmp byte [ebp + 0x64], 0
pop ecx
jne 0x4071fc
lea eax, [ebp - 0x3c]
push eax
push 0x4188c8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x74]
push 0x22
push eax
call fcn.00404e10
add esp, 0xc
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00404e2e
add esp, 0xc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004017e7
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 [0x41b988]
push dword [ebp + 0x58]
push dword [ebp - 0x14]
call fcn.004053d3
add esp, 0x20
test eax, eax
push dword [ebp - 0x14]
je 0x4072c6
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x407215
push dword [ebp + 0x58]
push dword [ebp - 0x3c]
push dword [ebp - 0x24]
call fcn.004054aa
add esp, 0xc
cmp eax, edi
jne 0x4072ce
call fcn.004026d2
cmp byte [ebp + 0x65], 0
jne 0x407331
cmp byte [ebp + 0x67], 0
jne 0x407331
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 0x406e20
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 0x407352
call fcn.0040492a
push 0xf
push 0
call fcn.004095ea
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 0x405f4a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405f4a
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x4072d5
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push 0x10
push 1
call fcn.004095ea
call fcn.0040492a
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 0x40732a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 9
jmp 0x405eec
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 [0x41ba0c], 0
jne 0x4073a9
call fcn.00404afe
push dword [ebp - 0x44]
lea eax, [ebp + 0x14]
push dword [ebp + 0x44]
push str.Shortcut
push eax
push 0x405b53
call fcn.00405214
add esp, 0x14
push dword [0x41b994]
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 0x404c50
call fcn.00405214
add esp, 0x14
call fcn.0040492a
push dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [0x41b3a0], 0xffffffff
jne 0x4073cb
cmp byte [ebp + 0x66], 0
jne 0x40742b
mov dword [0x41b3a0], 1
cmp dword [0x41b3a0], 0
jle 0x40742b
push 0
lea eax, [ebp + 0x14]
push str.FinishMessage
push eax
call fcn.004029cd
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40742b
mov eax, 0x3e7
cmp dword [0x41b3a0], eax
jle 0x4073ff
mov dword [0x41b3a0], eax
lea ecx, [ebp - 0xdc]
call fcn.004048f5
push 0
push esi
push dword [0x41b950]
lea ecx, [ebp - 0xdc]
push 0x11
call fcn.0040844b
lea ecx, [ebp - 0xdc]
call fcn.004081be
cmp byte [ebp + 0x5f], 0
jne 0x40746e
cmp dword [0x41ba0c], 0
jne 0x40746e
push 0
lea eax, [ebp + 0x14]
push str.SelfDelete
push eax
call fcn.004029cd
add esp, 0xc
test eax, eax
je 0x40746e
cmp word [eax], 0x31
jne 0x40746e
sub esp, 0xc
mov ecx, esp
push 0x41b9d0
call fcn.00401434
call fcn.00405770
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 0x40748d
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.0040498d
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 0x4074cb
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