Function at 0x406068
Capabilities:
Accept command line arguments
Check if file exists
Check os version
Get file attributes
Log keystrokes via polling
Set current directory

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x228
push ebx
push esi
push edi
push 0x405ad3
call dword [sym.imp.msvcrt.dll_int____cdecl___unsigned_int____cdecl__set_new_handler_int____cdecl___unsigned_int__]
pop ecx
call fcn.00403878
lea eax, [ebp - 0x1c0]
push eax
mov dword [ebp - 0x1c0], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x406f42
cmp dword [ebp - 0x1b0], 2
jne 0x406f42
cmp dword [ebp - 0x1bc], 5
jb 0x406f42
lea ecx, [ebp + 0x24]
mov byte [str.___InstallEnd__], 0x3b
mov byte [str.___Install__UTF_8_], 0x3b
call fcn.004119f0
lea ecx, [ebp - 0x48]
call fcn.004119f0
lea ecx, [ebp - 8]
call fcn.004119f0
call fcn.0040545e
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call esi
lea edx, [ebp + 0x24]
mov ecx, eax
call fcn.00403066
push eax
lea ecx, [ebp - 8]
call fcn.00411a75
lea ecx, [ebp - 8]
call fcn.004045c2
mov edi, dword [ebp - 8]
xor ebx, ebx
inc ebx
push ebx
mov edx, 0x41adb0
mov ecx, str.SfxVarModulePlatform
call fcn.00404fad
push ebx
call fcn.00403f39
mov edx, eax
mov ecx, str.SfxVarSystemPlatform
call fcn.00404fad
push ebx
call esi
mov edx, eax
mov ecx, str.SfxVarCmdLine0
call fcn.00404fad
movzx eax, word [0x41e690]
push eax
push 0x41be04
push 0x20
lea ecx, [ebp + 0x24]
call fcn.0040424f
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp + 0x24]
call fcn.00404234
mov edx, dword [ebp + 0x24]
push ebx
mov ecx, str.SfxVarSystemLanguage
call fcn.00404fad
mov edx, str.sfxlang
mov ecx, edi
call fcn.004056fe
test eax, eax
je 0x4061b7
cmp word [eax], 0x3a
jne 0x4061b7
add eax, 2
push eax
call dword [sym.imp.msvcrt.dll__wtol]
pop ecx
lea ecx, [eax - 1]
cmp ecx, 0xfffe
ja 0x4061ae
mov word [0x41e690], ax
add edi, 2
cmp word [edi], 0x20
ja 0x4061ae
mov edx, str.sfxversion
mov ecx, edi
call fcn.004056fe
test eax, eax
je 0x4061f0
call fcn.00405ce5
xor esi, esi
push dword [ebp - 8]
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__
add esp, 0xc
mov eax, esi
jmp 0x406f59
mov edx, str.sfxwaitall
mov ecx, edi
call fcn.004056fe
test eax, eax
je 0x40620b
mov ecx, eax
call fcn.00401f98
mov esi, eax
jmp 0x4061ce
mov edx, str.sfxelevation
mov ecx, edi
mov byte [ebp + 0x67], 0
call fcn.004056fe
test eax, eax
je 0x406225
mov byte [ebp + 0x67], 1
mov edi, eax
mov eax, 0x208
push eax
mov ebx, 0x41e7a4
push eax
mov ecx, ebx
call fcn.0040424f
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x406257
xor esi, esi
inc esi
push 6
push esi
call fcn.004095d3
pop ecx
pop ecx
jmp 0x4061ce
mov ecx, ebx
call fcn.00404234
mov edx, str.sfxtest
mov ecx, edi
call fcn.004056fe
mov esi, eax
test esi, esi
je 0x4063ff
cmp word [esi], 0x3a
je 0x406282
push 0x64
pop esi
jmp 0x4061ce
movzx ecx, word [esi + 2]
push 0x20
mov eax, ecx
pop edi
or eax, edi
sub eax, 0x61
je 0x406394
dec eax
dec eax
je 0x406380
dec eax
je 0x4062fd
sub eax, 0xb
je 0x4062b5
sub eax, 7
jne 0x40627a
mov esi, 0x4f3d
jmp 0x4061ce
cmp word [esi + 4], 0x3a
jne 0x4061cc
movzx eax, word [esi + 6]
sub eax, 0x31
je 0x4062f5
dec eax
je 0x4062eb
dec eax
je 0x4062e7
dec eax
je 0x4062dd
dec eax
jne 0x4061cc
push 7
jmp 0x40627c
mov esi, 0x3fff
jmp 0x4061ce
push 0x1f
jmp 0x40627c
mov esi, 0x5b7
jmp 0x4061ce
xor esi, esi
inc esi
jmp 0x4061ce
cmp ecx, 0x44
jne 0x40633f
cmp word [esi + 4], 0x3a
jne 0x40627a
add esi, 6
jmp 0x406329
cmp ax, 0x3a
je 0x406331
movzx eax, ax
push eax
mov ecx, 0x41e83c
call fcn.00401571
add esi, 2
movzx eax, word [esi]
cmp ax, di
ja 0x406312
cmp dword [0x41e840], 0
jne 0x406342
jmp 0x40627a
add esi, 4
and dword [0x41e834], 0
cmp word [esi], 0x3a
jne 0x40636a
lea eax, [esi + 2]
push eax
call dword [sym.imp.msvcrt.dll__wtol]
pop ecx
mov dword [0x41e834], eax
cmp eax, 0xe10
ja 0x40636a
test eax, eax
jne 0x406374
mov dword [0x41e834], 0xa
mov dword [0x41e838], 1
jmp 0x4063a3
xor eax, eax
cmp word [esi + 4], 0x63
sete al
add eax, 3
mov dword [0x41e838], eax
jmp 0x4063a3
mov dword [0x41e838], 2
jmp 0x4063a3
add esi, 2
cmp word [esi], di
ja 0x4063a0
mov edx, str.sfxconfig
mov ecx, esi
mov edi, esi
call fcn.004056fe
test eax, eax
je 0x4063ff
cmp word [eax], 0x3a
jne 0x4063cb
jmp 0x4063c8
cmp cx, 0x20
ja 0x4063d3
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x4063c2
mov edx, dword [ebp + 0x24]
and dword [ebp + 0x28], 0
xor ecx, ecx
mov word [edx], cx
lea edx, [ebp + 0x24]
mov ecx, eax
call fcn.00403066
cmp dword [0x41e838], 2
mov edi, eax
je 0x4063ff
lea eax, [ebp + 0x24]
push eax
mov ecx, ebx
call fcn.00411ad8
mov esi, 0x41e7a4
push esi
mov ecx, 0x41e6f4
call fcn.00411ad8
mov ebx, 0x41e70c
push esi
mov ecx, ebx
call fcn.00411ad8
mov ecx, esi
call fcn.00403857
test eax, eax
js 0x4064bc
mov ecx, dword [0x41e6f4]
mov dword [0x41e6f8], eax
lea esi, [eax + eax]
xor eax, eax
mov word [ecx + esi], ax
mov eax, dword [0x41e7a4]
lea eax, [eax + esi + 2]
push eax
mov ecx, ebx
call fcn.00411a75
mov eax, dword [0x41e7a4]
lea eax, [eax + esi + 2]
mov esi, 0x41e7f0
push eax
mov ecx, esi
call fcn.00411a75
push 0x2e
mov ecx, esi
call fcn.00411c8a
test eax, eax
jle 0x406484
mov edx, dword [0x41e7f0]
xor ecx, ecx
mov dword [0x41e7f4], eax
mov word [edx + eax*2], cx
push esi
mov esi, 0x41e7bc
mov ecx, esi
call fcn.00411ad8
push 4
pop ecx
call fcn.00403d24
push eax
mov ecx, esi
call fcn.00411b33
mov eax, dword [0x41e7f0]
mov ecx, dword [0x41e7bc]
mov dword [0x41e698], eax
mov dword [0x41e6c0], ecx
mov dword [0x41e6c4], eax
call fcn.00403f39
push eax
mov ecx, 0x41e7b0
call fcn.00411a75
push dword [0x41e7a4]
mov esi, 0x41e718
mov ecx, esi
call fcn.004012bb
test al, al
jne 0x4064fb
push dword [0x41e7a4]
push 7
push 1
call fcn.004095d3
add esp, 0xc
push 2
jmp 0x40627c
lea ecx, [ebp + 0x58]
call fcn.004115d3
mov ecx, 0x41e700
call fcn.00405f2f
mov ecx, dword [0x41e71c]
lea eax, [ebp + 0x58]
push eax
xor dl, dl
call fcn.0040535d
mov ebx, eax
test ebx, ebx
je 0x406534
push dword [ebp + 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov esi, ebx
jmp 0x4061ce
cmp dword [0x41e838], 0
jne 0x4065aa
mov edx, str.sfxconfig
mov ecx, edi
call fcn.004056fe
test eax, eax
je 0x4065aa
cmp word [eax], 0x3a
jne 0x406556
add eax, 2
movzx ecx, word [eax]
test cx, cx
je 0x406878
cmp cx, 0x20
ja 0x406573
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x406562
cmp word [eax], 0
je 0x406878
lea edx, [ebp + 0x58]
mov ecx, eax
call fcn.00405f53
test al, al
jne 0x406878
push 0xa
push 0
call fcn.004095d3
push dword [ebp + 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 0xc
push 4
jmp 0x40627c
cmp dword [0x41e838], 4
je 0x406878
mov eax, dword [0x41e0c8]
mov ebx, 0x41e0c8
jmp 0x4065f4
push eax
lea eax, [ebp - 0xac]
push str.SfxString_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebx]
add esp, 0xc
push 0
call fcn.00403d24
mov edx, eax
lea ecx, [ebp - 0xac]
call fcn.00404fad
add ebx, 0x10
mov eax, dword [ebx]
test eax, eax
jne 0x4065c3
push edi
mov ecx, esi
call fcn.0040543f
call fcn.004016ea
xor edi, edi
mov dword [ebp + 0x10], eax
cmp eax, edi
jne 0x40661e
push dword [ebp + 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
push 0x20
jmp 0x40627c
call fcn.0040576d
mov ecx, esi
call fcn.004012ef
mov ecx, 0x41e700
call fcn.00405f2f
mov ecx, dword [0x41e71c]
push edi
xor dl, dl
call fcn.0040535d
call fcn.0040576d
mov ecx, esi
call fcn.00401354
call fcn.004016ea
call fcn.0040576d
cmp byte [ebp + 0x67], 0
jne 0x406793
test byte [0x41e6d4], 4
je 0x406793
call fcn.00403f4e
test eax, eax
jne 0x406793
lea ecx, [ebp + 0x18]
call fcn.004119f0
lea ecx, [ebp - 0x30]
call fcn.004119f0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [ebp + 0x18]
mov ecx, eax
call fcn.00403066
push eax
lea ecx, [ebp + 0x30]
call fcn.00411a14
push str.sfxelevation
push 0x41ab8c
lea eax, [ebp + 0x18]
push eax
mov edx, 0x41aa90
lea ecx, [ebp - 0x24]
call fcn.004119c2
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.00411998
mov edx, eax
lea ecx, [ebp - 0x54]
call fcn.00411998
push 0x20
push eax
lea ecx, [ebp + 4]
call fcn.004118f2
lea eax, [ebp + 0x30]
push eax
lea edx, [ebp + 4]
lea ecx, [ebp + 0x3c]
call fcn.0041197c
push dword [eax]
lea ecx, [ebp - 0x30]
call fcn.00411a75
push dword [ebp + 0x3c]
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 - 0x54]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
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__
add esp, 0x14
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov ecx, dword [ebp - 0x30]
push edi
push 2
pop edx
call fcn.00401c45
push dword [ebp + 0x30]
test eax, eax
jne 0x40676e
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 + 0x18]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 0x10
push 0xb
jmp 0x40627c
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 + 0x18]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 0x10
jmp 0x4061cc
mov esi, str.SetEnvironment
lea edx, [ebp + 0x48]
mov ecx, esi
mov dword [ebp + 0x48], edi
call fcn.00404f9d
xor ebx, ebx
jmp 0x4067f2
push edi
lea ecx, [ebp + 0x3c]
call fcn.00411a14
mov ecx, dword [ebp + 0x3c]
push 0x3d
pop edx
call fcn.0041141d
cmp eax, ebx
jle 0x4067fa
mov edx, dword [ebp + 0x3c]
mov dword [ebp + 0x40], eax
add eax, eax
xor ecx, ecx
mov word [edx + eax], cx
mov ecx, dword [ebp + 0x3c]
push ebx
lea edx, [eax + edi + 2]
call fcn.00404fad
push dword [ebp + 0x3c]
inc dword [ebp + 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
lea edx, [ebp + 0x48]
mov ecx, esi
call fcn.00404f9d
mov edi, eax
cmp edi, ebx
jne 0x4067a9
jmp 0x406803
push dword [ebp + 0x3c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
call fcn.00405dd6
cmp dword [0x41e3cc], 0xffffffff
jne 0x406817
mov dword [0x41e3cc], ebx
cmp byte [0x41e72b], bl
je 0x406886
xor edx, edx
mov ecx, str.HelpText
call fcn.00404f9d
mov esi, eax
cmp esi, ebx
jne 0x40683b
push 0x18
pop ecx
call fcn.00403d24
mov esi, eax
lea ecx, [ebp - 0xa8]
call fcn.0040751e
push 0
push esi
push dword [0x41e698]
lea ecx, [ebp - 0xa8]
push 0x11
mov dword [ebp - 0xa8], 0x41bb40
mov dword [ebp - 0x70], 0x7d6
call fcn.00407890
lea ecx, [ebp - 0xa8]
call fcn.0040757f
push dword [ebp + 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x4061cc
cmp byte [0x41e729], bl
je 0x406898
and dword [0x41e3cc], 0xfffffeff
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
mov ecx, str.InstallPath
call fcn.00404f9d
mov esi, 0x41e7fc
cmp eax, ebx
je 0x4068c3
push eax
mov ecx, esi
call fcn.00411a75
mov byte [0x41e6a0], 1
mov ecx, esi
call fcn.0040555b
xor edx, edx
mov ecx, str.BeginPromptTimeout
call fcn.00404f9d
cmp eax, ebx
je 0x4068e7
push eax
call dword [sym.imp.msvcrt.dll__wtol]
pop ecx
mov dword [0x41e6e0], eax
cmp dword [0x41e840], ebx
je 0x406903
call fcn.00409eb0
push dword [ebp + 0x58]
mov esi, eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
jmp 0x406251
cmp dword [0x41e838], 3
jne 0x406913
call fcn.00409dd2
jmp 0x4068f4
mov esi, 0x41aadc
push 0
mov edx, esi
mov ecx, str.SfxVarApiPath
call fcn.00404fad
call fcn.00405dd6
mov edi, str.ExecuteOnLoad
xor edx, edx
mov ecx, edi
call fcn.00404f9d
mov ebx, 0x41e7c8
test eax, eax
je 0x406995
cmp byte [0x41e72a], 0
jne 0x406995
mov ecx, ebx
call fcn.004072bf
mov edx, dword [0x41e7cc]
push 0
mov ecx, str.SfxVarApiPath
call fcn.00404fad
call fcn.00405dd6
push esi
lea ecx, [ebp + 0x30]
call fcn.00411a14
mov ecx, ebx
call fcn.004072bf
mov edx, dword [0x41e7cc]
push esi
lea eax, [ebp + 0x30]
push eax
push esi
mov ecx, edi
call fcn.004022e3
push dword [ebp + 0x30]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov ecx, 0x41e750
call fcn.0040825b
xor edx, edx
mov ecx, str.BeginPrompt
call fcn.00404f9d
test eax, eax
je 0x4069fb
cmp byte [0x41e729], 0
jne 0x4069fb
mov ecx, dword [0x41e698]
mov edx, eax
call fcn.00408a73
test eax, eax
je 0x406b07
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4069e8
mov word [0x41e728], 0x101
cmp dword [0x41e820], 0
je 0x4069fb
and dword [0x41e3cc], 0xffffff7f
lea ecx, [ebp + 0x4c]
call fcn.004119f0
cmp byte [0x41e728], 0
je 0x406a6e
mov edi, dword [0x41e724]
push str.AutoInstall
lea ecx, [ebp + 0x4c]
call fcn.00411a75
movzx eax, word [edi]
push eax
lea ecx, [ebp + 0x4c]
call fcn.00401571
mov ecx, dword [ebp + 0x4c]
xor edx, edx
call fcn.00404f9d
test eax, eax
je 0x406b17
add edi, 2
movzx eax, word [edi]
cmp eax, 0x30
jb 0x406a4d
cmp eax, 0x39
jbe 0x406a12
cmp eax, 0x61
jb 0x406a57
cmp eax, 0x7a
jbe 0x406a12
cmp eax, 0x41
jb 0x406a61
cmp eax, 0x5a
jbe 0x406a12
push str.AutoInstall
lea ecx, [ebp + 0x4c]
call fcn.00411a75
cmp dword [ebp + 0x50], 0
mov byte [ebp + 0x14], 0
jne 0x406ab8
mov edi, str.ExecuteFile
xor edx, edx
mov ecx, edi
call fcn.00404f9d
test eax, eax
je 0x406a97
push edi
lea ecx, [ebp + 0x4c]
call fcn.00411a75
mov byte [ebp + 0x14], 1
cmp dword [ebp + 0x50], 0
jne 0x406ab8
mov edi, str.RunProgram
xor edx, edx
mov ecx, edi
call fcn.00404f9d
test eax, eax
je 0x406ab8
push edi
lea ecx, [ebp + 0x4c]
call fcn.00411a75
cmp byte [0x41e728], 0
jne 0x406b4d
cmp byte [0x41e729], 0
jne 0x406b4d
mov eax, dword [0x41e3cc]
and eax, 0xc0
cmp al, 0x80
jne 0x406b4d
mov edx, dword [0x41e6a8]
mov ecx, dword [0x41e6b4]
call fcn.00408b0e
test eax, eax
jne 0x406b4d
push dword [ebp + 0x4c]
cmp byte [0x41e6e4], al
je 0x406b3d
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x40699f
push dword [ebp + 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
push 5
jmp 0x40627c
push dword [ebp + 0x4c]
push 0xe
push 0
call fcn.004095d3
push dword [ebp + 0x4c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 0x14
push 6
jmp 0x40627c
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406b0f
cmp dword [0x41e800], 0
jne 0x406b7f
mov edx, str.7ZipSfx._03x
lea ecx, [ebp - 0x24]
call fcn.004042f9
push eax
mov ecx, 0x41e7fc
call fcn.00411ad8
push dword [ebp - 0x24]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov byte [0x41e6a0], 0
jmp 0x406bb5
mov edi, 0x41e7fc
push edi
lea ecx, [ebp + 0x18]
call fcn.00411a4a
lea ecx, [ebp + 0x18]
call fcn.0040555b
cmp dword [ebp + 0x1c], 0
je 0x406ba6
lea eax, [ebp + 0x18]
push eax
mov ecx, edi
call fcn.00411ad8
push dword [ebp + 0x18]
mov byte [0x41e6a0], 1
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [0x41e7fc]
pop ecx
mov ecx, dword [0x41e800]
movzx edx, word [eax + ecx*2 - 2]
cmp edx, 0x5c
je 0x406bd0
cmp edx, 0x2f
jne 0x406bdd
dec ecx
xor edx, edx
mov dword [0x41e800], ecx
mov word [eax + ecx*2], dx
cmp byte [0x41e729], 0
je 0x406bed
or dword [0x41e6d4], 3
mov edi, str.PreExtract
push edi
lea ecx, [ebp - 0x18]
call fcn.00411a14
mov eax, dword [0x41e724]
movzx eax, word [eax]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401571
mov ecx, dword [ebp - 0x18]
xor edx, edx
call fcn.00404f9d
test eax, eax
je 0x406c77
cmp byte [0x41e72a], 0
jne 0x406c77
mov ecx, ebx
call fcn.004072bf
mov edx, dword [0x41e7cc]
push 0
mov ecx, str.SfxVarApiPath
call fcn.00404fad
call fcn.00405dd6
push esi
lea ecx, [ebp + 0x30]
call fcn.00411a14
mov eax, dword [0x41e724]
mov ecx, ebx
mov dword [ebp - 0xc], eax
call fcn.004072bf
mov edx, dword [0x41e7cc]
push esi
lea eax, [ebp + 0x30]
push eax
push dword [ebp - 0xc]
mov ecx, edi
call fcn.004022e3
push dword [ebp + 0x30]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [0x41e834], 0
jne 0x406c8c
mov ecx, 0x41e7fc
call fcn.00402cf5
jmp 0x406c9a
call fcn.00408b7d
test eax, eax
jne 0x406cc5
mov eax, 0x80004005
test eax, eax
je 0x406cc5
call fcn.00405abe
push dword [ebp - 0x18]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x4c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 0xc
push 8
jmp 0x40627c
call fcn.00405dd6
cmp byte [0x41e72a], 0
je 0x406ce0
cmp byte [0x41e6a0], 0
jne 0x406e4a
lea ecx, [ebp + 0x3c]
call fcn.004119f0
lea ecx, [ebp + 4]
call fcn.004119f0
cmp byte [0x41e728], 0
jne 0x406d01
lea ecx, [ebp + 0x3c]
call fcn.00401b6e
xor ebx, ebx
cmp dword [ebp + 0x50], ebx
jne 0x406dcf
cmp byte [0x41e6a0], bl
jne 0x406dea
mov esi, str.setup.exe
push esi
push 0x41ac98
mov edx, 0x41e7fc
lea ecx, [ebp - 0x3c]
call fcn.00411998
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.00411998
push dword [eax]
lea ecx, [ebp + 4]
call fcn.00411a75
push dword [ebp - 0x24]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x3c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
push dword [ebp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x406da1
call fcn.00405abe
push 0xf
push ebx
call fcn.004095d3
push dword [ebp + 4]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x3c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x18]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x4c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 0x1c
jmp 0x4062d9
mov edi, dword [0x41e7fc]
push esi
lea ecx, [ebp + 0x30]
call fcn.00411a14
push dword [ebp + 0x10]
lea eax, [ebp + 0x3c]
push eax
push dword [ebp + 0x14]
mov edx, edi
lea ecx, [ebp + 0x30]
call fcn.00401ff4
push dword [ebp + 0x30]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406dea
push dword [ebp + 0x10]
mov edx, dword [0x41e7fc]
mov ecx, dword [ebp + 0x4c]
lea eax, [ebp + 0x3c]
push eax
push dword [0x41e724]
call fcn.004022e3
cmp dword [0x41e838], ebx
jne 0x406e36
call fcn.00405dd6
push 0xffffffffffffffff
push dword [0x41e724]
mov edx, str.Shortcut
mov ecx, 0x405e2b
call fcn.004059e7
push dword [0x41e6f4]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0xffffffffffffffff
push dword [0x41e724]
mov edx, str.Delete
mov ecx, 0x4059bd
call fcn.004059e7
call fcn.00405abe
push dword [ebp + 4]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x3c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
jmp 0x406e4c
xor ebx, ebx
cmp dword [0x41e3d8], 0xffffffff
jne 0x406e68
cmp byte [0x41e729], 0
jne 0x406ed0
mov dword [0x41e3d8], 1
cmp dword [0x41e3d8], ebx
jle 0x406ed0
xor edx, edx
mov ecx, str.FinishMessage
call fcn.00404f9d
mov esi, eax
cmp esi, ebx
je 0x406ed0
mov eax, 0x3e7
cmp dword [0x41e3d8], eax
jle 0x406e94
mov dword [0x41e3d8], eax
lea ecx, [ebp - 0xa4]
call fcn.0040751e
push ebx
push esi
push dword [0x41e698]
lea ecx, [ebp - 0xa4]
push 0x11
mov dword [ebp - 0xa4], 0x41bc54
mov dword [ebp - 0x6c], 0x7d5
call fcn.00407890
lea ecx, [ebp - 0xa4]
call fcn.0040757f
cmp byte [0x41e72a], 0
jne 0x406f0b
cmp dword [0x41e838], ebx
jne 0x406f0b
xor edx, edx
mov ecx, str.SelfDelete
call fcn.00404f9d
cmp eax, ebx
je 0x406f0b
cmp word [eax], 0x31
jne 0x406f0b
sub esp, 0xc
mov ecx, esp
push 0x41e7a4
call fcn.00411a4a
call fcn.00405aea
push dword [ebp - 0x18]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x4c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 8]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x24]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 0x18
xor eax, eax
jmp 0x406f59
push 0x10
push 0x41bbc0
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