Function at 0x404cb3
Capabilities:
Accept command line arguments
Check if file exists
Check os version
Create process on windows
Get file attributes
Identify system language via api
Log keystrokes via polling
Self delete
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
push esi
push edi
call fcn.0040307e
lea eax, [ebp - 0x250]
mov dword [ebp - 0x250], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40632c
cmp dword [ebp - 0x240], 2
jne 0x40632c
cmp dword [ebp - 0x24c], 5
jb 0x40632c
call fcn.00403e51
or dword [ebp - 0xb8], 0xffffffff
or dword [ebp - 0xa4], 0xffffffff
and byte [ebp - 2], 0
and byte [ebp - 1], 0
and byte [ebp - 5], 0
and byte [ebp - 4], 0
xor edi, edi
push 3
lea ecx, [ebp - 0x94]
mov byte [str.___InstallEnd__], 0x3b
mov byte [str.___Install__UTF_8_], 0x3b
mov dword [ebp - 0x58], 0x41b4b4
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x8c], edi
call fcn.00401796
push 3
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc8], edi
call fcn.00401796
lea ecx, [ebp - 0x6c]
call fcn.00406aa5
mov esi, 0x4163a0
push 0x20
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x6c], esi
call fcn.004068c6
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.004043c9
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0xc4]
call fcn.00403770
lea eax, [ebp - 0xc4]
push eax
call fcn.00401e92
mov eax, dword [ebp - 0xc4]
mov dword [esp], str.sfxversion
lea ebx, [eax + 2]
push ebx
call fcn.004045f8
pop ecx
test eax, eax
pop ecx
je 0x404e91
lea ecx, [ebp - 0x128]
mov dword [0x41aa7c], 8
call fcn.004063cd
push 1
mov dword [ebp - 0x128], 0x41637c
call fcn.00403b77
pop ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040370f
cmp dword [0x41b5d4], edi
mov dword [ebp - 0x2c], edi
jbe 0x404e52
mov ebx, 0x41b4d4
cmp ebx, 0x41b4d4
je 0x404e34
push 0x41afc4
lea ecx, [ebp - 0x1c]
call fcn.00403770
mov eax, dword [ebx]
lea ecx, [ebp - 0x1c]
push dword [eax + 0x10]
call fcn.00403770
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
add ebx, 4
cmp eax, dword [0x41b5d4]
jb 0x404e1f
push edi
lea ecx, [ebp - 0x128]
push dword [ebp - 0x1c]
push dword [0x41b49c]
push 0x11
call fcn.004071ae
push dword [ebp - 0x1c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp - 0x128]
call fcn.00406c3e
push dword [ebp - 0xc4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp - 0x6c], esi
jmp 0x4057c4
mov esi, 0x208
cmp dword [0x41b430], esi
jg 0x404ea9
push esi
mov ecx, 0x41b428
call fcn.00401796
push esi
push dword [0x41b428]
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x404ecd
push 6
push 1
pop esi
push esi
call fcn.004086d5
pop ecx
pop ecx
jmp 0x4062ed
push dword [0x41b428]
call fcn.00406bd1
mov ecx, dword [0x41b428]
mov dword [esp], str.sfxtest
push ebx
mov word [ecx + eax*2], di
mov dword [0x41b42c], eax
call fcn.004045f8
mov esi, eax
pop ecx
cmp esi, edi
pop ecx
je 0x40505b
push 0x3a
pop ebx
cmp word [esi], bx
je 0x404f0f
push 0x64
jmp 0x40614e
mov cx, word [esi + 2]
movzx eax, cx
or al, 0x20
sub eax, 0x61
je 0x404fd2
dec eax
dec eax
je 0x404fbe
dec eax
je 0x404f49
dec eax
dec eax
je 0x404f3f
sub eax, 0x10
jne 0x404f08
mov esi, 0x45dd
jmp 0x4062ed
mov esi, 0x2033
jmp 0x4062ed
cmp cx, 0x44
jne 0x404f7f
cmp word [esi + 4], bx
jne 0x404f08
add esi, 6
mov ax, word [esi]
cmp ax, 0x20
jbe 0x404f75
cmp ax, bx
je 0x404f75
inc esi
push eax
mov ecx, 0x41b4c0
inc esi
call fcn.004016ce
jmp 0x404f58
cmp dword [0x41b4c4], edi
jne 0x404f82
jmp 0x404f08
add esi, 4
mov dword [0x41b4cc], edi
cmp word [esi], bx
jne 0x404fa8
lea eax, [esi + 2]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
cmp eax, 0xe10
pop ecx
mov dword [0x41b4cc], eax
ja 0x404fa8
cmp eax, edi
jne 0x404fb2
mov dword [0x41b4cc], 0xa
mov dword [0x41b4d0], 1
jmp 0x404fdc
xor eax, eax
cmp word [esi + 4], 0x63
sete al
add eax, 3
mov dword [0x41b4d0], eax
jmp 0x404fdc
mov dword [0x41b4d0], 2
cmp word [esi], 0x20
jbe 0x404fe6
inc esi
inc esi
jmp 0x404fdc
mov ax, word [esi]
cmp ax, di
je 0x404ff8
cmp ax, 0x20
ja 0x404ff8
inc esi
inc esi
jmp 0x404fe6
push str.sfxconfig
push esi
mov ebx, esi
call fcn.004045f8
pop ecx
cmp eax, edi
pop ecx
je 0x40505b
cmp word [eax], 0x3a
jne 0x405013
inc eax
inc eax
mov cx, word [eax]
cmp cx, di
je 0x405021
cmp cx, 0x20
jbe 0x405011
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x90], edi
mov word [ecx], di
lea ecx, [ebp - 0x94]
push ecx
push eax
call fcn.004043c9
cmp dword [0x41b4d0], 2
pop ecx
pop ecx
mov ebx, eax
je 0x40505b
lea eax, [ebp - 0x94]
mov ecx, 0x41b428
push eax
call fcn.00401690
mov edi, 0x41b428
mov ecx, 0x41b468
push edi
call fcn.00401690
mov esi, 0x41b458
push edi
mov ecx, esi
call fcn.00401690
push edi
call fcn.0040301d
test eax, eax
pop ecx
jl 0x405129
mov ecx, dword [0x41b468]
lea edi, [eax + eax + 2]
and word [ecx + eax*2], 0
mov dword [0x41b46c], eax
mov eax, dword [0x41b428]
mov ecx, esi
add eax, edi
push eax
call fcn.00401631
mov eax, dword [0x41b428]
mov ecx, 0x41b438
add eax, edi
push eax
call fcn.00401631
mov eax, dword [0x41b43c]
test eax, eax
je 0x4050f4
mov ecx, dword [0x41b438]
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0x2e
je 0x4050dd
cmp eax, ecx
je 0x4050e3
dec eax
dec eax
jmp 0x4050cf
sub eax, ecx
sar eax, 1
jmp 0x4050e6
or eax, 0xffffffff
test eax, eax
jle 0x4050f4
and word [ecx + eax*2], 0
mov dword [0x41b43c], eax
mov esi, 0x41b448
push 0x41b438
mov ecx, esi
call fcn.00401690
push 4
call fcn.00403b77
pop ecx
push eax
mov ecx, esi
call fcn.00403770
mov eax, dword [0x41b438]
mov dword [0x41b49c], eax
mov eax, dword [0x41b448]
mov dword [0x41b4a0], eax
push 0x10
xor esi, esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
je 0x405142
mov ecx, eax
call fcn.00406415
mov edi, eax
jmp 0x405144
xor edi, edi
cmp edi, esi
mov dword [ebp - 0xc], edi
je 0x405151
mov eax, dword [edi]
push edi
call dword [eax + 4]
push dword [0x41b428]
mov ecx, edi
call fcn.0040f244
test al, al
jne 0x40518f
sub esp, 0xc
mov esi, 0x41b428
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 7
push 1
movsd dword es:[edi], dword [esi]
call fcn.004086d5
mov eax, dword [ebp - 0xc]
add esp, 0x14
test eax, eax
je 0x405188
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 2
jmp 0x40614e
push 3
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.00403a94
push 3
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
call fcn.00403a94
push 3
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
call fcn.00403a94
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call fcn.00404664
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x38]
push edi
call fcn.00401b91
add esp, 0x1c
test al, al
jne 0x4052a1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x38]
movzx eax, ax
push ecx
push eax
call fcn.00404664
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x38]
push edi
call fcn.00401b91
add esp, 0x1c
test al, al
jne 0x4052a1
call fcn.00403040
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x38]
movzx eax, ax
push ecx
push eax
call fcn.00404664
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x38]
push edi
call fcn.00401b91
add esp, 0x1c
test al, al
jne 0x4052a1
lea eax, [ebp - 0x28]
push eax
push str.___InstallEnd__
push str.___Install__UTF_8_
push edi
call fcn.00401b91
add esp, 0x10
test al, al
jne 0x4052a1
push 9
push esi
call fcn.004086d5
push dword [ebp - 0x44]
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 - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x14
cmp edi, esi
je 0x40529a
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 3
jmp 0x40614e
cmp dword [0x41b4d0], esi
jne 0x40533c
push str.sfxconfig
push ebx
call fcn.004045f8
pop ecx
cmp eax, esi
pop ecx
je 0x40533c
cmp word [eax], 0x3a
jne 0x4052c6
inc eax
inc eax
mov cx, word [eax]
cmp cx, si
je 0x4052d4
cmp cx, 0x20
jbe 0x4052c4
cmp word [eax], si
je 0x40530e
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.00404429
pop ecx
test al, al
pop ecx
jne 0x40530e
push 0xa
push esi
call fcn.004086d5
push dword [ebp - 0x44]
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 - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x14
jmp 0x405379
push dword [ebp - 0x44]
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 - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x4062ed
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x4062ed
lea ecx, [ebp - 0x6c]
call fcn.0040fefd
cmp dword [ebp - 0x24], esi
je 0x40538a
lea eax, [ebp - 0x6c]
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00402004
add esp, 0xc
test al, al
jne 0x40538a
push dword [ebp - 0x44]
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 - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x405383
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 4
jmp 0x40614e
cmp dword [0x41b4d0], 4
je 0x40530e
lea eax, [ebp - 0x6c]
push eax
call fcn.00404838
dec ebx
pop ecx
dec ebx
mov dword [ebp - 0x54], ebx
cmp word [ebx], 0x20
jbe 0x4053b7
inc ebx
inc ebx
cmp word [ebx], 0x20
ja 0x4053ac
mov dword [ebp - 0x54], ebx
mov ax, word [ebx]
cmp ax, si
je 0x4053c9
cmp ax, 0x20
ja 0x4053c9
inc ebx
inc ebx
jmp 0x4053b4
mov ax, word [ebx]
cmp ax, 0x2f
je 0x4053dc
cmp ax, 0x2d
jne 0x405627
cmp word [ebx + 2], 0x21
lea edi, [ebx + 2]
jne 0x4053f1
cmp word [ebx + 4], 0x20
jbe 0x4055e0
push 0x41af98
push edi
call fcn.004041b6
pop ecx
test eax, eax
pop ecx
je 0x405450
mov ax, word [ebx + 6]
lea ecx, [ebx + 6]
cmp ax, 0x30
jb 0x405415
cmp ax, 0x39
jbe 0x40542d
cmp ax, 0x61
jb 0x405421
cmp ax, 0x7a
jbe 0x40542d
cmp ax, 0x41
jb 0x40543d
cmp ax, 0x5a
ja 0x40543d
mov dword [ebp - 0x58], ecx
mov byte [ebp - 2], 1
mov byte [ebp - 1], 1
jmp 0x4053a6
cmp ax, 0x20
ja 0x405627
mov dword [ebp - 0x58], 0x41b4b4
jmp 0x405430
push 0x41af90
push edi
call fcn.004041b6
pop ecx
test eax, eax
pop ecx
je 0x40547b
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebx + 6]
push eax
push str.OverwriteMode
call fcn.004049ef
add esp, 0xc
jmp 0x4053a6
push 0x41af88
push edi
call fcn.004041b6
pop ecx
test eax, eax
pop ecx
je 0x4054be
mov cx, word [ebx + 6]
lea eax, [ebx + 6]
cmp cx, 0x30
jb 0x405627
cmp cx, 0x32
ja 0x405627
cmp word [ebx + 8], 0x20
ja 0x405627
lea ecx, [ebp - 0x6c]
push ecx
push eax
push str.GUIMode
jmp 0x40546e
push 0x41af80
push edi
call fcn.004041b6
pop ecx
test eax, eax
pop ecx
je 0x4054de
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebx + 6]
push eax
push str.GUIFlags
jmp 0x40546e
push 0x41af78
push edi
call fcn.004041b6
pop ecx
test eax, eax
pop ecx
je 0x405520
mov cx, word [ebx + 6]
lea eax, [ebx + 6]
cmp cx, 0x30
je 0x405506
cmp cx, 0x31
jne 0x405627
cmp word [ebx + 8], 0x20
ja 0x405627
lea ecx, [ebp - 0x6c]
push ecx
push eax
push str.SelfDelete
jmp 0x40546e
push 0x41af70
push edi
call fcn.004041b6
pop ecx
test eax, eax
pop ecx
je 0x405545
cmp word [ebx + 6], 0x20
ja 0x405627
mov byte [ebp - 5], 1
jmp 0x4053a6
push 0x41af68
push edi
call fcn.004041b6
pop ecx
test eax, eax
pop ecx
je 0x405583
mov cx, word [ebx + 6]
lea eax, [ebx + 6]
cmp cx, 0x30
jb 0x405627
cmp cx, 0x39
ja 0x405627
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41aa88], eax
jmp 0x4053a6
mov ax, word [edi]
cmp ax, 0x79
je 0x405592
cmp ax, 0x59
jne 0x4055a2
cmp word [ebx + 4], 0x20
ja 0x4055a2
mov byte [ebp - 2], 1
jmp 0x4053a6
cmp ax, 0x3f
je 0x4055b4
cmp ax, 0x68
je 0x4055b4
cmp ax, 0x48
jne 0x4055c4
cmp word [ebx + 4], 0x20
ja 0x4055c4
mov byte [ebp - 4], 1
jmp 0x4053a6
lea eax, [ebp - 0x6c]
push eax
push edi
call fcn.00404727
pop ecx
cmp eax, esi
pop ecx
je 0x405627
cmp eax, 1
je 0x4055f8
mov ebx, eax
jmp 0x4053a3
add ebx, 4
mov ax, word [ebx]
mov dword [ebp - 0x54], ebx
cmp ax, si
je 0x405627
cmp ax, 0x20
ja 0x405627
inc ebx
inc ebx
jmp 0x4055e3
push dword [ebp - 0x44]
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 - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0xc]
add esp, 0xc
cmp eax, esi
je 0x405620
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x20
jmp 0x40614e
lea eax, [ebp - 0x6c]
push eax
call fcn.00404838
and dword [ebp - 0x7c], 0
lea eax, [ebp - 0x7c]
push eax
mov ebx, str.SetEnvironment
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.0040250e
add esp, 0x10
mov esi, eax
test esi, esi
je 0x405704
push esi
lea ecx, [ebp - 0x1c]
call fcn.0040370f
push 0
push 0x3d
lea ecx, [ebp - 0x1c]
call fcn.00403960
mov edi, eax
test edi, edi
jle 0x4056fb
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0xe8]
and word [eax + edi*2], 0
mov dword [ebp - 0x18], edi
call fcn.004036f7
lea ecx, [ebp - 0xdc]
call fcn.004036f7
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0xe8]
push eax
call fcn.00401690
lea eax, [esi + edi*2 + 2]
lea ecx, [ebp - 0xdc]
push eax
call fcn.00401631
lea eax, [ebp - 0xe8]
mov ecx, 0x41b410
push eax
call fcn.00403871
push dword [ebp - 0xdc]
inc dword [ebp - 0x7c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xe8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x1c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.0040250e
add esp, 0x18
jmp 0x40564a
push dword [ebp - 0x1c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
call fcn.00404145
cmp dword [0x41aa7c], 0xffffffff
jne 0x40571c
xor ebx, ebx
mov dword [0x41aa7c], ebx
jmp 0x40571e
xor ebx, ebx
cmp byte [ebp - 4], 0
je 0x4057f3
push ebx
lea eax, [ebp - 0x6c]
push str.HelpText
push eax
call fcn.0040250e
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x40574a
push 0x18
call fcn.00403b77
pop ecx
mov esi, eax
lea ecx, [ebp - 0x128]
call fcn.004063cd
push ebx
push esi
push dword [0x41b49c]
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x128], 0x416358
mov dword [ebp - 0xf0], 0x7d6
push 0x11
call fcn.004071ae
lea ecx, [ebp - 0x128]
call fcn.00406c3e
push dword [ebp - 0x44]
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 - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0xc]
add esp, 0xc
cmp eax, ebx
je 0x4057b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0xc4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp - 0x6c], 0x4163a0
lea ecx, [ebp - 0x6c]
call fcn.0040fefd
lea ecx, [ebp - 0x6c]
call fcn.0040fed4
push dword [ebp - 0xd0]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x94]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
xor eax, eax
pop ecx
jmp 0x406343
cmp byte [ebp - 2], 0
je 0x405800
and byte [0x41aa7d], 0xfe
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
lea eax, [ebp - 0x6c]
push str.InstallPath
push eax
call fcn.0040250e
add esp, 0xc
cmp eax, ebx
je 0x405828
push eax
mov ecx, 0x41b478
call fcn.00401631
mov esi, 0x41b478
push esi
call fcn.00404104
cmp dword [0x41b4c4], ebx
pop ecx
je 0x405878
lea eax, [ebp - 0x6c]
push eax
call fcn.004088cf
push dword [ebp - 0x44]
mov esi, eax
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 - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0xc]
add esp, 0x10
cmp eax, ebx
je 0x4062ed
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4062ed
cmp dword [0x41b4d0], 3
jne 0x40588c
lea eax, [ebp - 0x6c]
push eax
call fcn.00408b3a
jmp 0x405845
mov edi, str.ExecuteFile
push ebx
lea eax, [ebp - 0x6c]
push str.BeginPrompt
push eax
call fcn.0040250e
add esp, 0xc
cmp eax, ebx
je 0x4058d4
cmp byte [ebp - 2], 0
jne 0x4058d4
push eax
push dword [0x41b49c]
call fcn.004085a1
pop ecx
test eax, eax
pop ecx
je 0x405a11
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x4058d4
mov byte [ebp - 1], 1
push 3
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.00401796
cmp byte [ebp - 1], 0
je 0x40596b
mov esi, dword [ebp - 0x58]
push str.AutoInstall
lea ecx, [ebp - 0x50]
call fcn.00401631
mov ax, word [esi]
lea ecx, [ebp - 0x50]
push eax
call fcn.004016ce
push ebx
lea eax, [ebp - 0x6c]
push dword [ebp - 0x50]
push eax
call fcn.0040250e
add esp, 0xc
test eax, eax
je 0x405a2e
inc esi
inc esi
mov ax, word [esi]
cmp ax, 0x30
jb 0x405932
cmp ax, 0x39
jbe 0x4058f0
cmp ax, 0x61
jb 0x40593e
cmp ax, 0x7a
jbe 0x4058f0
cmp ax, 0x41
jb 0x40594a
cmp ax, 0x5a
jbe 0x4058f0
push str.AutoInstall
lea ecx, [ebp - 0x50]
call fcn.00401631
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x50]
mov ax, word [eax]
push eax
call fcn.004016ce
mov esi, 0x41b478
and byte [ebp - 4], 0
cmp dword [ebp - 0x4c], ebx
jne 0x4059bb
push ebx
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.0040250e
add esp, 0xc
test eax, eax
je 0x405993
push edi
lea ecx, [ebp - 0x50]
call fcn.00401631
mov byte [ebp - 4], 1
cmp dword [ebp - 0x4c], ebx
jne 0x4059bb
push ebx
lea eax, [ebp - 0x6c]
push str.RunProgram
push eax
call fcn.0040250e
add esp, 0xc
test eax, eax
je 0x4059bb
push str.RunProgram
lea ecx, [ebp - 0x50]
call fcn.00401631
cmp byte [ebp - 1], 0
jne 0x405aa4
cmp byte [ebp - 2], 0
jne 0x405aa4
mov eax, dword [0x41aa7c]
and ax, 0xc0
cmp al, 0x80
jne 0x405aa4
push dword [0x41b490]
push dword [0x41b494]
call fcn.00408674
pop ecx
test eax, eax
pop ecx
jne 0x405aa4
cmp byte [0x41b4b0], al
push dword [ebp - 0x50]
je 0x405a70
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x405891
push dword [ebp - 0x44]
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 - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
jmp 0x405a90
push dword [ebp - 0x50]
push 0xe
push ebx
call fcn.004086d5
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x44]
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 - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0xc]
add esp, 0x1c
cmp eax, ebx
je 0x405a69
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 6
jmp 0x40614e
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x44]
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 - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x405a9d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 5
jmp 0x40614e
cmp dword [0x41b47c], ebx
jne 0x405ad6
lea eax, [ebp - 0x1c]
push str.7ZipSfx._03x
push eax
call fcn.00403fe5
pop ecx
pop ecx
push eax
mov ecx, 0x41b478
call fcn.00401690
push dword [ebp - 0x1c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
and byte [ebp - 3], 0
pop ecx
jmp 0x405b09
push esi
lea ecx, [ebp - 0x1c]
call fcn.004015ee
lea eax, [ebp - 0x1c]
push eax
call fcn.00404104
cmp dword [ebp - 0x18], ebx
pop ecx
jne 0x405afc
lea eax, [ebp - 0x1c]
mov ecx, 0x41b478
push eax
call fcn.00401690
push dword [ebp - 0x1c]
mov byte [ebp - 3], 1
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov ecx, dword [0x41b47c]
mov eax, dword [0x41b478]
mov dx, word [eax + ecx*2 - 2]
cmp dx, 0x5c
je 0x405b25
cmp dx, 0x2f
jne 0x405b30
dec ecx
mov word [eax + ecx*2], bx
mov dword [0x41b47c], ecx
cmp dword [0x41b4cc], ebx
jne 0x405b46
mov edi, dword [ebp - 0xc]
push esi
push edi
call fcn.004064e6
pop ecx
pop ecx
jmp 0x405b57
call fcn.00408813
test eax, eax
jne 0x405ba1
mov edi, dword [ebp - 0xc]
mov eax, 0x80004005
cmp eax, ebx
je 0x405ba4
cmp byte [ebp - 3], 0
jne 0x405b6d
push dword [0x41b478]
call fcn.004027ad
pop ecx
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x44]
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 - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
cmp edi, ebx
je 0x405b9a
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 8
jmp 0x40614e
mov edi, dword [ebp - 0xc]
call fcn.00404145
cmp byte [ebp - 5], 0
je 0x405bb9
cmp byte [ebp - 3], 0
jne 0x4061f5
push 3
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
call fcn.00401796
cmp byte [ebp - 1], 0
jne 0x405bf3
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00404373
pop ecx
pop ecx
mov eax, dword [ebp - 0x58]
and byte [ebp - 0xd], 0
mov dword [ebp - 0xb4], eax
and byte [ebp - 0xe], 0
and byte [ebp - 1], 0
push 3
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
call fcn.00401796
push 3
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
call fcn.00401796
cmp dword [ebp - 0x4c], ebx
jne 0x405cee
cmp byte [ebp - 3], 0
jne 0x4060a8
mov esi, str.setup.exe
lea eax, [ebp - 0xdc]
push esi
push 0x41a0d0
push 0x41b478
push eax
call fcn.00406b77
add esp, 0xc
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00406b77
add esp, 0xc
lea ecx, [ebp - 0x78]
push eax
call fcn.00401690
push dword [ebp - 0x13c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xdc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x406043
mov byte [ebp - 0xd], 1
push esi
lea ecx, [ebp - 0x88]
call fcn.00401631
lea eax, [ebp - 0x88]
push eax
call fcn.0040412a
mov edi, dword [ebp - 0x88]
pop ecx
push ebx
push str.hidcon
push edi
call fcn.004041f0
add esp, 0xc
cmp eax, ebx
je 0x405d7a
mov edi, eax
mov byte [ebp - 0xe], 1
jmp 0x405ccf
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x6c]
push dword [ebp - 0x50]
push eax
call fcn.0040250e
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x405cb0
mov esi, dword [ebp - 0xb4]
inc esi
inc esi
mov dword [ebp - 0xb4], esi
mov ax, word [esi]
cmp ax, 0x30
jb 0x405d24
cmp ax, 0x39
jbe 0x405d44
cmp ax, 0x61
jb 0x405d30
cmp ax, 0x7a
jbe 0x405d44
cmp ax, 0x41
jb 0x4060a8
cmp ax, 0x5a
ja 0x4060a8
push str.AutoInstall
lea ecx, [ebp - 0x50]
call fcn.00401631
mov ax, word [esi]
lea ecx, [ebp - 0x50]
push eax
call fcn.004016ce
push dword [ebp - 0x88]
mov dword [ebp - 0x2c], ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x78]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
jmp 0x405c00
push ebx
push str.nowait
push edi
call fcn.004041f0
add esp, 0xc
cmp eax, ebx
je 0x405d9a
mov edi, eax
mov al, byte [ebp - 3]
mov byte [ebp - 1], al
jmp 0x405ccf
push ebx
push 0x41aed0
push edi
call fcn.004041f0
add esp, 0xc
cmp eax, ebx
je 0x405db8
mov edi, eax
mov byte [ebp - 1], 1
jmp 0x405ccf
push 2
push 0x41af68
push edi
call fcn.004041f0
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x405dee
cmp dword [0x41aa88], 0xffffffff
jne 0x405de7
add edi, 4
push edi
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41aa88], eax
mov edi, esi
jmp 0x405ccf
push 3
push 0x41aec8
push edi
call fcn.004041f0
add esp, 0xc
cmp eax, ebx
je 0x405e16
movzx ecx, word [edi + 6]
sub ecx, 0x30
mov dword [ebp - 0xb8], ecx
mov edi, eax
jmp 0x405ccf
push 3
push 0x41aec0
push edi
call fcn.004041f0
add esp, 0xc
cmp eax, ebx
je 0x405e39
movzx ecx, word [edi + 6]
sub ecx, 0x30
mov dword [ebp - 0xa4], ecx
jmp 0x405e0f
cmp byte [ebp - 4], 0
je 0x405e98
cmp word [edi], 0x22
je 0x405e67
mov esi, 0x41ae40
lea ecx, [ebp - 0x78]
push esi
call fcn.00401631
push edi
lea ecx, [ebp - 0x78]
call fcn.00403770
push esi
lea ecx, [ebp - 0x78]
call fcn.00403770
jmp 0x405e70
push edi
lea ecx, [ebp - 0x78]
call fcn.00401631
push ebx
lea eax, [ebp - 0x6c]
push str.ExecuteParameters
push eax
call fcn.0040250e
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x405eb0
push 0x41aebc
lea ecx, [ebp - 0x78]
call fcn.00403770
push esi
jmp 0x405ea8
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0x78]
push eax
call fcn.00401690
push edi
lea ecx, [ebp - 0x78]
call fcn.00403770
push 3
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.00401796
push 3
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
call fcn.00401796
push 0x3c
lea eax, [ebp - 0x124]
pop esi
push esi
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [0x41b478]
add esp, 0xc
cmp byte [ebp - 0xe], 0
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x120], 0x740
mov dword [ebp - 0x108], 1
je 0x405f31
mov dword [ebp - 0x108], ebx
mov dword [ebp - 0x120], 0x8740
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x78]
call fcn.004043c9
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0xa0]
call fcn.00401631
mov esi, dword [ebp - 0x54]
cmp word [esi], bx
je 0x405f7b
push 0x20
lea ecx, [ebp - 0xa0]
call fcn.004016ce
push esi
lea ecx, [ebp - 0xa0]
call fcn.00403770
cmp word [esi], bx
je 0x405f7b
inc esi
inc esi
cmp word [esi], bx
jne 0x405f71
mov dword [ebp - 0x54], esi
lea eax, [ebp - 0x1c]
push eax
call fcn.0040412a
lea eax, [ebp - 0xa0]
push eax
call fcn.0040412a
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x9c], ebx
pop ecx
mov dword [ebp - 0x114], eax
pop ecx
je 0x405faf
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x110], eax
cmp dword [0x41b4d0], ebx
jne 0x405fec
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4060c2
cmp byte [ebp - 1], 0
jne 0x405fe0
push 0xffffffffffffffff
push dword [ebp - 0xec]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xec]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 4], 0
jne 0x406154
cmp byte [ebp - 0xd], 0
jne 0x406154
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xac], ebx
mov word [eax], bx
push dword [ebp - 0xa0]
inc dword [ebp - 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x1c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x88]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x78]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov edi, dword [ebp - 0xc]
add esp, 0x10
jmp 0x405c00
push dword [0x41b478]
call fcn.004027ad
push 0xf
push ebx
call fcn.004086d5
push dword [ebp - 0x88]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x78]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xb0]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x44]
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 - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x28
cmp edi, ebx
je 0x4060a1
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 7
jmp 0x40614e
push dword [ebp - 0x88]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x78]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
jmp 0x406180
sub esp, 0xc
lea esi, [ebp - 0x78]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x10
push 1
movsd dword es:[edi], dword [esi]
call fcn.004086d5
add esp, 0x14
cmp byte [ebp - 3], 0
jne 0x4060eb
push dword [0x41b478]
call fcn.004027ad
pop ecx
push dword [ebp - 0xa0]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x1c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x88]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x78]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xb0]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x44]
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 - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0xc]
add esp, 0x24
cmp eax, ebx
je 0x40614c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 9
pop esi
jmp 0x4062ed
push dword [ebp - 0xa0]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x1c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x88]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x78]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov edi, dword [ebp - 0xc]
add esp, 0x10
cmp dword [0x41b4d0], ebx
jne 0x4061e9
call fcn.00404145
push dword [ebp - 0xb8]
lea eax, [ebp - 0x6c]
push dword [ebp - 0x58]
push str.Shortcut
push eax
push 0x404a66
call fcn.00404ba6
add esp, 0x14
push dword [0x41b468]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push dword [ebp - 0xa4]
lea eax, [ebp - 0x6c]
push dword [ebp - 0x58]
push str.Delete
push eax
push 0x404b5e
call fcn.00404ba6
add esp, 0x14
cmp byte [ebp - 3], 0
jne 0x4061e9
push dword [0x41b478]
call fcn.004027ad
pop ecx
push dword [ebp - 0xb0]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [0x41aa88], 0xffffffff
jne 0x40620e
cmp byte [ebp - 2], 0
jne 0x406277
mov dword [0x41aa88], 1
cmp dword [0x41aa88], ebx
jle 0x406277
push ebx
lea eax, [ebp - 0x6c]
push str.FinishMessage
push eax
call fcn.0040250e
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x406277
mov eax, 0x3e7
cmp dword [0x41aa88], eax
jle 0x406240
mov dword [0x41aa88], eax
lea ecx, [ebp - 0x130]
call fcn.00406362
push ebx
push esi
push dword [0x41b49c]
lea ecx, [ebp - 0x130]
push 0x11
call fcn.004071ae
push dword [ebp - 0xf4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp - 0x130]
call fcn.00406c3e
cmp byte [ebp - 5], 0
jne 0x4062be
cmp dword [0x41b4d0], ebx
jne 0x4062be
push ebx
lea eax, [ebp - 0x6c]
push str.SelfDelete
push eax
call fcn.0040250e
add esp, 0xc
cmp eax, ebx
je 0x4062be
cmp word [eax], 0x31
jne 0x4062be
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0xa4], esp
push 0x41b428
call fcn.004015ee
call fcn.004066c1
add esp, 0xc
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x44]
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 - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
cmp edi, ebx
je 0x4062eb
mov eax, dword [edi]
push edi
call dword [eax + 8]
xor esi, esi
push dword [ebp - 0xc4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp - 0x6c], 0x4163a0
lea ecx, [ebp - 0x6c]
call fcn.0040fefd
lea ecx, [ebp - 0x6c]
call fcn.0040fed4
push dword [ebp - 0xd0]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x94]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, esi
pop ecx
jmp 0x406343
push 0x10
push 0x41ae8c
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
leave
ret 0x10