Function at 0x405bf9
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 0x4048a7
call dword [sym.imp.MSVCRT.dll_int____cdecl___unsigned_int____cdecl__set_new_handler_int____cdecl___unsigned_int__]
pop ecx
call fcn.0040201c
lea eax, [ebp - 0x2a4]
push eax
mov dword [ebp - 0x2a4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40747d
cmp dword [ebp - 0x294], 2
jne 0x40747d
cmp dword [ebp - 0x2a0], 5
jb 0x40747d
or dword [ebp - 0x44], 0xffffffff
or dword [ebp - 0x40], 0xffffffff
lea ecx, [ebp + 8]
mov byte [str.___hLMocEREnd__], 0x3b
mov byte [str.___hLMocER__UTF_8_], 0x3b
mov dword [ebp + 0x44], 0x417828
xor edi, edi
mov byte [ebp + 0x66], 0
mov byte [ebp + 0x67], 0
mov byte [ebp + 0x5f], 0
mov byte [ebp + 0x64], 0
call fcn.004014eb
lea ecx, [ebp - 0x68]
call fcn.004014eb
push 0x20
lea ecx, [ebp - 0x5c]
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], 4
mov dword [ebp + 0x14], 0x417544
call fcn.00404909
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00404e89
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402aa8
lea eax, [ebp - 0x5c]
push eax
call fcn.004030bc
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 0x41662c
push str.SfxVarModulePlatform
mov dword [ebp - 8], eax
call fcn.00403640
add esp, 0xc
push 1
call fcn.0040269b
push eax
push str.SfxVarSystemPlatform
call fcn.00403640
push 1
push ebx
push str.SfxVarCmdLine0
call fcn.00403640
add esp, 0x18
call fcn.00404518
cmp dword [ebp + 0x10], 0x20
jg 0x405d37
push 0x20
lea ecx, [ebp + 8]
call fcn.004011b7
movzx eax, word [0x41a840]
mov esi, dword [ebp + 8]
push eax
push 0x417b70
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call fcn.00401184
push 1
push esi
push str.SfxVarSystemLanguage
mov word [esi + eax*2], di
mov dword [ebp + 0xc], eax
call fcn.00403640
push str.sfxlang
push ebx
call fcn.0040483b
add esp, 0x24
cmp eax, edi
je 0x405db8
cmp word [eax], 0x3a
jne 0x405db8
add eax, 2
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
lea ecx, [eax - 1]
cmp ecx, 0xfffe
ja 0x405da0
mov word [0x41a840], ax
jmp 0x405da0
inc ebx
inc ebx
cmp word [ebx], 0x20
ja 0x405d9e
jmp 0x405db0
cmp ax, 0x20
ja 0x405db8
inc ebx
inc ebx
movzx eax, word [ebx]
cmp ax, di
jne 0x405da8
push str.sfxversion
push ebx
call fcn.0040483b
test eax, eax
pop ecx
pop ecx
je 0x405dfa
call fcn.004052c8
xor esi, esi
push dword [ebp - 0x5c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp + 0x14]
call fcn.00404956
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 0x407494
push str.sfxwaitall
push ebx
call fcn.0040483b
cmp eax, edi
pop ecx
pop ecx
je 0x405e16
push eax
call fcn.004056dc
pop ecx
mov esi, eax
jmp 0x405dd0
push str.sfxelevation
push ebx
mov byte [ebp + 0x65], 0
call fcn.0040483b
cmp eax, edi
pop ecx
pop ecx
je 0x405e43
mov byte [ebp + 0x65], 1
jmp 0x405e39
cmp cx, 0x20
ja 0x405e41
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, di
jne 0x405e31
mov ebx, eax
mov esi, 0x208
cmp dword [0x41a8f8], esi
jg 0x405e5b
push esi
mov ecx, 0x41a8f0
call fcn.004011b7
push esi
push dword [0x41a8f0]
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x405e7f
xor esi, esi
inc esi
push 6
push esi
call fcn.004095cf
pop ecx
pop ecx
jmp 0x405dd0
mov esi, dword [0x41a8f0]
push esi
call fcn.00401184
mov word [esi + eax*2], di
mov dword [esp], str.sfxtest
push ebx
mov dword [0x41a8f4], eax
call fcn.0040483b
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x406049
cmp word [esi], 0x3a
je 0x405ebb
push 0x64
pop esi
jmp 0x405dd0
movzx ecx, word [esi + 2]
movzx eax, cx
push 0x20
pop ebx
or eax, ebx
sub eax, 0x61
je 0x405fcc
dec eax
dec eax
je 0x405fb8
dec eax
je 0x405f37
sub eax, 0xb
je 0x405eef
sub eax, 7
jne 0x405eb3
mov esi, 0x4a98
jmp 0x405dd0
cmp word [esi + 4], 0x3a
jne 0x405dce
movzx eax, word [esi + 6]
sub eax, 0x31
je 0x405f2f
dec eax
je 0x405f25
dec eax
je 0x405f21
dec eax
je 0x405f17
dec eax
jne 0x405dce
push 7
jmp 0x405eb5
mov esi, 0x2ff
jmp 0x405dd0
push 0x1f
jmp 0x405eb5
mov esi, 0xc1
jmp 0x405dd0
xor esi, esi
inc esi
jmp 0x405dd0
cmp cx, 0x44
jne 0x405f78
cmp word [esi + 4], 0x3a
jne 0x405eb3
add esi, 6
jmp 0x405f63
cmp ax, 0x3a
je 0x405f6b
movzx eax, ax
push eax
mov ecx, 0x41a930
call fcn.004017a8
inc esi
inc esi
movzx eax, word [esi]
cmp ax, bx
ja 0x405f4d
cmp dword [0x41a934], edi
jne 0x405f7b
jmp 0x405eb3
add esi, 4
mov dword [0x41a928], edi
cmp word [esi], 0x3a
jne 0x405fa2
lea eax, [esi + 2]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
cmp eax, 0xe10
pop ecx
mov dword [0x41a928], eax
ja 0x405fa2
cmp eax, edi
jne 0x405fac
mov dword [0x41a928], 0xa
mov dword [0x41a92c], 1
jmp 0x405fda
xor eax, eax
cmp word [esi + 4], 0x63
sete al
add eax, 3
mov dword [0x41a92c], eax
jmp 0x405fda
mov dword [0x41a92c], 2
jmp 0x405fda
inc esi
inc esi
cmp word [esi], bx
ja 0x405fd8
jmp 0x405fe8
cmp ax, bx
ja 0x405ff0
inc esi
inc esi
movzx eax, word [esi]
cmp ax, di
jne 0x405fe1
push str.sfxconfig
push esi
mov ebx, esi
call fcn.0040483b
cmp eax, edi
pop ecx
pop ecx
je 0x406049
cmp word [eax], 0x3a
jne 0x406013
jmp 0x406011
cmp cx, 0x20
ja 0x40601b
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, di
jne 0x40600b
mov ecx, dword [ebp + 8]
mov word [ecx], di
lea ecx, [ebp + 8]
push ecx
push eax
mov dword [ebp + 0xc], edi
call fcn.00404e89
cmp dword [0x41a92c], 2
pop ecx
pop ecx
mov ebx, eax
je 0x406049
lea eax, [ebp + 8]
push eax
mov ecx, 0x41a8f0
call fcn.0040143c
mov esi, 0x41a8f0
push esi
mov ecx, 0x41a8b4
call fcn.0040143c
mov edi, 0x41a8c0
push esi
mov ecx, edi
call fcn.0040143c
push esi
call fcn.004033ad
xor esi, esi
cmp eax, esi
pop ecx
jl 0x406108
mov ecx, dword [0x41a8b4]
lea esi, [eax + eax]
and word [ecx + esi], 0
mov dword [0x41a8b8], eax
mov eax, dword [0x41a8f0]
lea eax, [eax + esi + 2]
push eax
mov ecx, edi
call fcn.00401403
mov eax, dword [0x41a8f0]
lea eax, [eax + esi + 2]
mov esi, 0x41a8d8
push eax
mov ecx, esi
call fcn.00401403
push 0x2e
mov ecx, esi
call fcn.00402ade
test eax, eax
jle 0x4060ce
mov ecx, dword [0x41a8d8]
and word [ecx + eax*2], 0
mov dword [0x41a8dc], eax
push esi
mov esi, 0x41a8cc
mov ecx, esi
call fcn.0040143c
push 4
call fcn.00402482
pop ecx
push eax
mov ecx, esi
call fcn.00402aa8
mov eax, dword [0x41a8d8]
mov ecx, dword [0x41a8cc]
mov dword [0x41a870], eax
mov dword [0x41a878], ecx
mov dword [0x41a87c], eax
xor esi, esi
call fcn.0040269b
push eax
mov ecx, 0x41a8e4
call fcn.00401403
push 0x10
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
je 0x406130
mov ecx, eax
call fcn.00404c48
mov dword [ebp + 0x28], eax
jmp 0x406133
mov dword [ebp + 0x28], esi
mov edi, dword [ebp + 0x28]
push edi
lea ecx, [ebp + 0x60]
call fcn.0040fdea
push dword [0x41a8f0]
lea ecx, [edi + 0xc]
call fcn.0040d903
test al, al
jne 0x406177
push dword [0x41a8f0]
push 7
push 1
call fcn.004095cf
mov eax, dword [ebp + 0x60]
add esp, 0xc
cmp eax, esi
je 0x406170
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 2
jmp 0x405eb5
lea ecx, [ebp + 0x2c]
call fcn.00402b09
mov edi, dword [ebp + 0x60]
lea eax, [ebp + 0x2c]
push eax
push edi
call fcn.00403ff3
test al, al
pop ecx
pop ecx
jne 0x4061b6
push 9
push esi
call fcn.004095cf
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x4061af
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 3
jmp 0x405eb5
cmp dword [0x41a92c], esi
jne 0x406248
push str.sfxconfig
push ebx
call fcn.0040483b
cmp eax, esi
pop ecx
pop ecx
je 0x406248
cmp word [eax], 0x3a
jne 0x4061db
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
je 0x40622c
cmp cx, 0x20
ja 0x4061f3
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
jne 0x4061e3
cmp word [eax], si
je 0x40622c
lea ecx, [ebp + 0x2c]
push ecx
push eax
call fcn.00405999
test al, al
pop ecx
pop ecx
jne 0x40622c
push 0xa
push esi
call fcn.004095cf
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x406225
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 4
jmp 0x405eb5
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
cmp edi, esi
pop ecx
je 0x405dce
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x405dce
lea ecx, [ebp + 0x14]
call fcn.0040dd06
cmp dword [ebp + 0x30], esi
je 0x406275
push esi
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.00403760
add esp, 0xc
test al, al
jne 0x406275
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x40621b
cmp dword [0x41a92c], 4
je 0x40622c
mov eax, dword [0x41a090]
mov esi, 0x41a090
jmp 0x4062bf
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.00402482
pop ecx
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00403640
add esp, 0xc
add esi, 0x10
mov eax, dword [esi]
test eax, eax
jne 0x40628a
lea eax, [ebp + 0x14]
push eax
call fcn.00404ef8
push 1
dec ebx
push 0x41657c
push str.SfxVarCmdLine2
dec ebx
call fcn.00403640
add esp, 0x10
jmp 0x4062e6
inc ebx
inc ebx
cmp word [ebx], 0x20
ja 0x4062e4
jmp 0x4062f6
cmp ax, 0x20
ja 0x4062fe
inc ebx
inc ebx
movzx eax, word [ebx]
test ax, ax
jne 0x4062ee
movzx eax, word [ebx]
cmp ax, 0x2f
je 0x406311
cmp ax, 0x2d
jne 0x40659b
lea esi, [ebx + 2]
cmp word [esi], 0x21
je 0x406590
push 0x417ab4
push esi
call fcn.0040465e
test eax, eax
pop ecx
pop ecx
je 0x406379
lea ecx, [ebx + 6]
movzx eax, word [ecx]
cmp ax, 0x30
jb 0x406341
cmp ax, 0x39
jbe 0x406359
cmp ax, 0x61
jb 0x40634d
cmp ax, 0x7a
jbe 0x406359
cmp ax, 0x41
jb 0x406366
cmp ax, 0x5a
ja 0x406366
mov dword [ebp + 0x44], ecx
mov byte [ebp + 0x66], 1
mov byte [ebp + 0x67], 1
jmp 0x4062e6
cmp ax, 0x20
ja 0x40659b
mov dword [ebp + 0x44], 0x417828
jmp 0x40635c
push 0x417aac
push esi
call fcn.0040465e
test eax, eax
pop ecx
pop ecx
je 0x40639c
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.OverwriteMode
jmp 0x4064e8
push 0x417aa4
push esi
call fcn.0040465e
test eax, eax
pop ecx
pop ecx
je 0x4063e1
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
jb 0x40659b
cmp cx, 0x32
ja 0x40659b
cmp word [ebx + 8], 0x20
ja 0x40659b
lea ecx, [ebp + 0x14]
push ecx
push eax
push str.GUIMode
jmp 0x4064e8
push 0x417a9c
push esi
call fcn.0040465e
test eax, eax
pop ecx
pop ecx
je 0x406404
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.GUIFlags
jmp 0x4064e8
push 0x417a94
push esi
call fcn.0040465e
test eax, eax
pop ecx
pop ecx
je 0x406427
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 6]
push eax
push str.MiscFlags
jmp 0x4064e8
push 0x417a8c
push esi
call fcn.0040465e
test eax, eax
pop ecx
pop ecx
je 0x406468
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
je 0x40644e
cmp cx, 0x31
jne 0x40659b
cmp word [ebx + 8], 0x20
ja 0x40659b
lea ecx, [ebp + 0x14]
push ecx
push eax
push str.SelfDelete
jmp 0x4064e8
push 0x417a84
push esi
call fcn.0040465e
test eax, eax
pop ecx
pop ecx
je 0x40648d
cmp word [ebx + 6], 0x20
ja 0x40659b
mov byte [ebp + 0x5f], 1
jmp 0x4062e6
push 0x417a7c
push esi
call fcn.0040465e
test eax, eax
pop ecx
pop ecx
je 0x4064ca
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
jb 0x40659b
cmp cx, 0x39
ja 0x40659b
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41a390], eax
jmp 0x4062e6
push 0x417a74
push esi
call fcn.0040465e
test eax, eax
pop ecx
pop ecx
je 0x4064f5
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 8]
push eax
push str.BeginPromptTimeout
call fcn.0040517f
add esp, 0xc
jmp 0x4062e6
movzx eax, word [esi]
cmp ax, 0x70
je 0x406562
cmp ax, 0x50
je 0x406562
cmp ax, 0x79
je 0x406510
cmp ax, 0x59
jne 0x406520
cmp word [ebx + 4], 0x20
ja 0x406520
mov byte [ebp + 0x66], 1
jmp 0x4062e6
cmp ax, 0x3f
je 0x406532
cmp ax, 0x68
je 0x406532
cmp ax, 0x48
jne 0x406542
cmp word [ebx + 4], 0x20
ja 0x406542
mov byte [ebp + 0x64], 1
jmp 0x4062e6
lea eax, [ebp + 0x14]
push eax
push esi
call fcn.00404b1e
test eax, eax
pop ecx
pop ecx
je 0x40659b
cmp eax, 1
je 0x4065f6
mov ebx, eax
jmp 0x4062e6
lea ecx, [ebp + 0x48]
call fcn.004014eb
lea eax, [ebp + 0x48]
push eax
add ebx, 4
push ebx
call fcn.00404e89
push dword [ebp + 0x48]
dec eax
dec eax
mov ebx, eax
call fcn.00401503
push dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
jmp 0x4062df
mov esi, ebx
xor edi, edi
add ebx, 4
cmp esi, edi
jne 0x40659f
mov esi, ebx
xor edi, edi
cmp dword [ebp + 0x54], esi
je 0x406613
push dword [ebp + 0x54]
lea ecx, [ebp + 0x48]
call fcn.00402a57
sub esi, dword [ebp + 0x54]
lea ecx, [ebp - 0x14]
sar esi, 1
push esi
push edi
push ecx
mov ecx, eax
call fcn.00404d25
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.0040143c
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
lea ecx, [ebp + 8]
call fcn.00405973
lea ecx, [ebp + 8]
call fcn.0040594d
push 1
push dword [ebp + 8]
jmp 0x40661a
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
test eax, eax
pop ecx
je 0x40660c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x20
jmp 0x405eb5
push 1
push 0x41657c
push str.SfxVarCmdLine1
call fcn.00403640
add esp, 0xc
push ebx
lea ecx, [ebp + 0x48]
call fcn.00402a57
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.00404d25
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.0040143c
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
lea ecx, [ebp + 8]
call fcn.00405973
lea ecx, [ebp + 8]
call fcn.0040594d
push 1
push dword [ebp + 8]
push str.SfxVarCmdLine2
call fcn.00403640
lea eax, [ebp + 0x14]
push eax
call fcn.00404ef8
add esp, 0x10
cmp byte [ebp + 0x65], 0
jne 0x4067f6
test byte [0x41a888], 4
je 0x4067f6
call fcn.00402749
test eax, eax
jne 0x4067f6
lea ecx, [ebp - 0x24]
call fcn.004014eb
lea ecx, [ebp + 0x48]
call fcn.004014eb
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00404e89
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402a57
lea eax, [ebp - 0x3c]
push eax
push 0x20
push str.sfxelevation
push 0x417888
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x50]
push 0x22
push eax
call fcn.00404dd9
add esp, 0xc
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.00404df7
add esp, 0xc
push eax
lea eax, [ebp - 4]
push eax
call fcn.00404df7
add esp, 0xc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00404e15
add esp, 0xc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004017d3
add esp, 0xc
push eax
lea ecx, [ebp + 0x48]
call fcn.0040143c
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x30]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x14
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
push edi
push 2
push dword [ebp + 0x48]
call fcn.0040539c
add esp, 0xc
test eax, eax
push dword [ebp - 0x3c]
jne 0x4067c0
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 0x4067b9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xb
jmp 0x405eb5
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 0x405dce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405dce
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x14]
push str.SetEnvironment
push eax
mov dword [ebp - 0x18], edi
call fcn.004029ab
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x406875
push esi
lea ecx, [ebp - 0x14]
call fcn.00402a57
mov edi, dword [ebp - 0x14]
push 0x3d
push edi
call fcn.0040dbb3
test eax, eax
pop ecx
pop ecx
jle 0x40686c
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.00403640
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.004029ab
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x406814
jmp 0x406873
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
xor edi, edi
call fcn.00404ac7
cmp dword [0x41a384], 0xffffffff
jne 0x406889
mov dword [0x41a384], edi
cmp byte [ebp + 0x64], 0
je 0x4068ea
push edi
lea eax, [ebp + 0x14]
push str.HelpText
push eax
call fcn.004029ab
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x4068b1
push 0x18
call fcn.00402482
pop ecx
mov esi, eax
lea ecx, [ebp - 0xe0]
call fcn.004044ff
push edi
push esi
push dword [0x41a870]
lea ecx, [ebp - 0xe0]
push 0x11
call fcn.00408414
lea ecx, [ebp - 0xe0]
call fcn.00408187
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x4067e0
cmp byte [ebp + 0x66], 0
je 0x4068fa
and dword [0x41a384], 0xfffffeff
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push edi
lea eax, [ebp + 0x14]
push str.InstallPath
push eax
call fcn.004029ab
add esp, 0xc
cmp eax, edi
mov esi, 0x41a8a8
je 0x406924
push eax
mov ecx, esi
call fcn.00401403
push esi
call fcn.00404607
push edi
lea eax, [ebp + 0x14]
push str.SfxAuthor
push eax
call fcn.004029ab
mov esi, eax
add esp, 0x10
cmp esi, edi
je 0x406a26
lea eax, [ebp - 0x190]
push eax
call fcn.0040a880
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.0040aba0
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.0040abf0
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 0x406993
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 0x4069d1
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, dword [ebp + 0x58]
shr esi, cl
and esi, 0x1f
test eax, eax
je 0x4069f2
push 0x19
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x4069f2
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 0x4069ae
and word [ebp + edi*2 - 0xcc], 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00401503
pop ecx
xor edi, edi
push edi
lea eax, [ebp + 0x14]
push str.BeginPromptTimeout
push eax
call fcn.004029ab
add esp, 0xc
cmp eax, edi
je 0x406a49
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41a894], eax
cmp dword [0x41a934], edi
je 0x406a7c
lea eax, [ebp + 0x14]
push eax
call fcn.004097bf
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 0x405dd0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405dd0
cmp dword [0x41a92c], 3
jne 0x406a90
lea eax, [ebp + 0x14]
push eax
call fcn.004096c4
jmp 0x406a5a
test byte [0x41a888], 8
jne 0x406ac1
mov esi, dword [ebp + 0x60]
push esi
call fcn.004015d8
test eax, eax
pop ecx
jne 0x406ac1
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
cmp esi, edi
pop ecx
je 0x406aba
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 5
jmp 0x405eb5
mov edi, str.ExecuteFile
xor esi, esi
push esi
lea eax, [ebp + 0x14]
push str.BeginPrompt
push eax
call fcn.004029ab
add esp, 0xc
cmp eax, esi
je 0x406b21
cmp byte [ebp + 0x66], 0
jne 0x406b21
push eax
push dword [0x41a870]
call fcn.00408bb5
test eax, eax
pop ecx
pop ecx
je 0x406c4d
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x406b0f
mov byte [ebp + 0x66], 1
mov byte [ebp + 0x67], 1
cmp dword [0x41a914], esi
je 0x406b21
and dword [0x41a384], 0xffffff7f
lea ecx, [ebp + 0x38]
call fcn.004014eb
cmp byte [ebp + 0x67], 0
je 0x406bab
mov esi, dword [ebp + 0x44]
push str.AutoInstall
lea ecx, [ebp + 0x38]
call fcn.00401403
movzx eax, word [esi]
push eax
lea ecx, [ebp + 0x38]
call fcn.004017a8
push 0
push dword [ebp + 0x38]
lea eax, [ebp + 0x14]
push eax
call fcn.004029ab
add esp, 0xc
test eax, eax
je 0x406c6c
inc esi
inc esi
movzx eax, word [esi]
cmp ax, 0x30
jb 0x406b75
cmp ax, 0x39
jbe 0x406b32
cmp ax, 0x61
jb 0x406b81
cmp ax, 0x7a
jbe 0x406b32
cmp ax, 0x41
jb 0x406b8d
cmp ax, 0x5a
jbe 0x406b32
push str.AutoInstall
lea ecx, [ebp + 0x38]
call fcn.00401403
mov eax, dword [ebp + 0x44]
movzx eax, word [eax]
push eax
lea ecx, [ebp + 0x38]
call fcn.004017a8
xor esi, esi
cmp dword [ebp + 0x3c], esi
mov byte [ebp + 0x65], 0
jne 0x406bfb
push esi
lea eax, [ebp + 0x14]
push edi
push eax
call fcn.004029ab
add esp, 0xc
test eax, eax
je 0x406bd8
push edi
lea ecx, [ebp + 0x38]
call fcn.00401403
cmp dword [ebp + 0x3c], esi
mov byte [ebp + 0x65], 1
jne 0x406bfb
push esi
lea eax, [ebp + 0x14]
push str.RunProgram
push eax
call fcn.004029ab
add esp, 0xc
test eax, eax
je 0x406bfb
push str.RunProgram
lea ecx, [ebp + 0x38]
call fcn.00401403
cmp byte [ebp + 0x67], 0
jne 0x406caf
cmp byte [ebp + 0x66], 0
jne 0x406caf
mov eax, dword [0x41a384]
and ax, 0xc0
cmp al, 0x80
jne 0x406caf
push dword [0x41a864]
push dword [0x41a868]
call fcn.00408c33
test eax, eax
pop ecx
pop ecx
jne 0x406caf
cmp byte [0x41a898], al
push dword [ebp + 0x38]
je 0x406c9f
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406ac8
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x60]
cmp eax, esi
pop ecx
je 0x406aba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x406aba
push dword [ebp + 0x38]
push 0xe
push 0
call fcn.004095cf
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 0x406c98
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 6
jmp 0x405eb5
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 0x406c55
cmp dword [0x41a8ac], esi
jne 0x406ce5
lea eax, [ebp - 0x50]
push str.7ZipSfx._03x
push eax
call fcn.00404a18
pop ecx
pop ecx
mov esi, 0x41a8a8
push eax
mov ecx, esi
call fcn.0040143c
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov byte [0x41a854], 0
jmp 0x406d1d
mov esi, 0x41a8a8
push esi
lea ecx, [ebp + 0x48]
call fcn.004013d1
lea eax, [ebp + 0x48]
push eax
call fcn.00404607
cmp dword [ebp + 0x4c], 0
pop ecx
jne 0x406d0e
lea eax, [ebp + 0x48]
push eax
mov ecx, esi
call fcn.0040143c
push dword [ebp + 0x48]
mov byte [0x41a854], 1
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [0x41a8a8]
pop ecx
mov ecx, dword [0x41a8ac]
movzx edx, word [eax + ecx*2 - 2]
cmp dx, 0x5c
je 0x406d3a
cmp dx, 0x2f
jne 0x406d46
dec ecx
and word [eax + ecx*2], 0
mov dword [0x41a8ac], ecx
cmp byte [ebp + 0x66], 0
je 0x406d53
or dword [0x41a888], 3
cmp dword [0x41a928], 0
jne 0x406d69
push esi
push dword [ebp + 0x28]
call fcn.004019e5
pop ecx
pop ecx
jmp 0x406d77
call fcn.00408c73
test eax, eax
jne 0x406da6
mov eax, 0x80004005
test eax, eax
je 0x406da6
call fcn.004048f3
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 0x406d9f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 8
jmp 0x405eb5
call fcn.00404ac7
cmp byte [ebp + 0x5f], 0
je 0x406dbe
cmp byte [0x41a854], 0
jne 0x40737b
and dword [ebp + 0x54], 0
lea ecx, [ebp + 0x48]
call fcn.004014eb
cmp byte [ebp + 0x67], 0
jne 0x406ddf
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.00404e33
pop ecx
pop ecx
mov eax, dword [ebp + 0x44]
mov byte [ebp + 0x67], 0
mov dword [ebp - 8], eax
xor esi, esi
lea ecx, [ebp - 4]
mov dword [ebp + 0x28], esi
mov byte [ebp + 0x64], 0
call fcn.004014eb
lea ecx, [ebp - 0x30]
call fcn.004014eb
cmp dword [ebp + 0x3c], esi
mov dword [ebp + 0x58], esi
jne 0x406eac
cmp byte [0x41a854], 0
jne 0x407229
mov esi, str.setup.exe
push esi
push 0x4167e4
lea eax, [ebp - 0x80]
push 0x41a8a8
push eax
call fcn.00404df7
add esp, 0xc
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00404df7
add esp, 0xc
push eax
lea ecx, [ebp - 4]
call fcn.0040143c
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x80]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x407240
mov byte [ebp + 0x67], 1
push esi
lea ecx, [ebp - 0x30]
call fcn.00401403
lea eax, [ebp - 0x30]
push eax
call fcn.0040463b
mov esi, dword [ebp - 0x30]
pop ecx
xor edi, edi
push edi
push str.waitall
push esi
call fcn.00404698
add esp, 0xc
cmp eax, edi
je 0x406f30
mov esi, eax
mov byte [ebp + 0x64], 1
jmp 0x406e8b
lea eax, [ebp + 0x54]
push eax
push dword [ebp + 0x38]
lea eax, [ebp + 0x14]
push eax
call fcn.004029ab
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x406e75
mov esi, dword [ebp - 8]
inc esi
inc esi
movzx eax, word [esi]
cmp ax, 0x30
mov dword [ebp - 8], esi
jb 0x406edc
cmp ax, 0x39
jbe 0x406efc
cmp ax, 0x61
jb 0x406ee8
cmp ax, 0x7a
jbe 0x406efc
cmp ax, 0x41
jb 0x407229
cmp ax, 0x5a
ja 0x407229
push str.AutoInstall
lea ecx, [ebp + 0x38]
call fcn.00401403
movzx eax, word [esi]
push eax
lea ecx, [ebp + 0x38]
call fcn.004017a8
push dword [ebp - 0x30]
and dword [ebp + 0x54], 0
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
jmp 0x406de9
push edi
push str.hidcon
push esi
call fcn.00404698
add esp, 0xc
cmp eax, edi
je 0x406f4e
or dword [ebp + 0x58], 1
mov esi, eax
jmp 0x406e8b
push edi
push str.nowait
push esi
call fcn.00404698
add esp, 0xc
cmp eax, edi
je 0x406f72
cmp byte [0x41a854], 0
mov esi, eax
je 0x406e8b
jmp 0x406f87
push edi
push str.forcenowait
push esi
call fcn.00404698
add esp, 0xc
cmp eax, edi
je 0x406f93
mov esi, eax
or dword [ebp + 0x58], 0x10000
jmp 0x406e8b
push 2
push 0x417a7c
push esi
call fcn.00404698
mov edi, eax
add esp, 0xc
test edi, edi
je 0x406fc9
cmp dword [0x41a390], 0xffffffff
jne 0x406fc2
add esi, 4
push esi
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41a390], eax
mov esi, edi
jmp 0x406e8b
push 3
push 0x41799c
push esi
call fcn.00404698
xor edi, edi
add esp, 0xc
cmp eax, edi
je 0x406feb
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x44], ecx
jmp 0x407009
push 3
push 0x417994
push esi
call fcn.00404698
add esp, 0xc
cmp eax, edi
je 0x407010
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x40], ecx
mov esi, eax
jmp 0x406e8b
push edi
push 0x41662c
push esi
call fcn.00404698
add esp, 0xc
cmp eax, edi
jne 0x40706a
push edi
push str.i386
push esi
call fcn.00404698
add esp, 0xc
cmp eax, edi
jne 0x40706a
push edi
push 0x41797c
push esi
call fcn.00404698
add esp, 0xc
cmp eax, edi
jne 0x40705c
push edi
push 0x416624
push esi
call fcn.00404698
add esp, 0xc
cmp eax, edi
je 0x407078
mov esi, eax
mov dword [ebp + 0x28], 2
jmp 0x406e8b
mov esi, eax
mov dword [ebp + 0x28], 1
jmp 0x406e8b
cmp byte [ebp + 0x65], 0
lea ecx, [ebp - 4]
je 0x4070d6
cmp word [esi], 0x22
je 0x4070a9
push 0x41781c
call fcn.00401403
push esi
lea ecx, [ebp - 4]
call fcn.00402aa8
push 0x41781c
lea ecx, [ebp - 4]
call fcn.00402aa8
jmp 0x4070af
push esi
call fcn.00401403
push edi
lea eax, [ebp + 0x14]
push str.ExecuteParameters
push eax
call fcn.004029ab
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4070e8
push 0x417978
lea ecx, [ebp - 4]
call fcn.00402aa8
jmp 0x4070df
lea eax, [ebp + 0x48]
push eax
call fcn.0040143c
push esi
lea ecx, [ebp - 4]
call fcn.00402aa8
lea ecx, [ebp - 0x24]
call fcn.004014eb
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.00404e89
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402a57
lea eax, [ebp - 0x24]
push eax
call fcn.0040463b
cmp dword [0x41a92c], edi
pop ecx
jne 0x4071e3
push dword [ebp + 0x28]
call fcn.00402718
test eax, eax
pop ecx
je 0x4071e3
cmp word [ebx], di
je 0x407146
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00402aa8
jmp 0x407141
inc ebx
inc ebx
cmp word [ebx], di
jne 0x40713f
lea eax, [ebp - 0x3c]
push eax
call fcn.0040463b
cmp byte [ebp + 0x64], 0
pop ecx
jne 0x4071c5
lea eax, [ebp - 0x3c]
push eax
push 0x4178a8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x74]
push 0x22
push eax
call fcn.00404dd9
add esp, 0xc
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00404df7
add esp, 0xc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004017d3
push dword [ebp - 0x8c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x74]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [0x41a8a8]
push dword [ebp + 0x58]
push dword [ebp - 0x14]
call fcn.0040539c
add esp, 0x20
test eax, eax
push dword [ebp - 0x14]
je 0x40728f
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x4071de
push dword [ebp + 0x58]
push dword [ebp - 0x3c]
push dword [ebp - 0x24]
call fcn.00405473
add esp, 0xc
cmp eax, edi
jne 0x407297
call fcn.004026b0
cmp byte [ebp + 0x65], 0
jne 0x4072fa
cmp byte [ebp + 0x67], 0
jne 0x4072fa
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 0x406de9
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 0x40731b
call fcn.004048f3
push 0xf
push 0
call fcn.004095cf
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 0x405f13
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405f13
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x40729e
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push 0x10
push 1
call fcn.004095cf
call fcn.004048f3
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 0x4072f3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 9
jmp 0x405eb5
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 [0x41a92c], 0
jne 0x407372
call fcn.00404ac7
push dword [ebp - 0x44]
lea eax, [ebp + 0x14]
push dword [ebp + 0x44]
push str.Shortcut
push eax
push 0x405b1c
call fcn.004051dd
add esp, 0x14
push dword [0x41a8b4]
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 0x404c19
call fcn.004051dd
add esp, 0x14
call fcn.004048f3
push dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [0x41a390], 0xffffffff
jne 0x407394
cmp byte [ebp + 0x66], 0
jne 0x4073f4
mov dword [0x41a390], 1
cmp dword [0x41a390], 0
jle 0x4073f4
push 0
lea eax, [ebp + 0x14]
push str.FinishMessage
push eax
call fcn.004029ab
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4073f4
mov eax, 0x3e7
cmp dword [0x41a390], eax
jle 0x4073c8
mov dword [0x41a390], eax
lea ecx, [ebp - 0xdc]
call fcn.004048da
push 0
push esi
push dword [0x41a870]
lea ecx, [ebp - 0xdc]
push 0x11
call fcn.00408414
lea ecx, [ebp - 0xdc]
call fcn.00408187
cmp byte [ebp + 0x5f], 0
jne 0x407437
cmp dword [0x41a92c], 0
jne 0x407437
push 0
lea eax, [ebp + 0x14]
push str.SelfDelete
push eax
call fcn.004029ab
add esp, 0xc
test eax, eax
je 0x407437
cmp word [eax], 0x31
jne 0x407437
sub esp, 0xc
mov ecx, esp
push 0x41a8f0
call fcn.004013d1
call fcn.00405739
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 0x407456
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.00404956
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 0x407494
push 0x10
push 0x417508
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