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

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x2a8
push ebx
push esi
push edi
xor esi, esi
push 0x40394a
mov dword [ebp - 0x40], esi
call dword [sym.imp.MSVCRT.dll_int____cdecl___unsigned_int____cdecl__set_new_handler_int____cdecl___unsigned_int__]
pop ecx
call fcn.00401a59
lea eax, [ebp - 0x240]
push eax
mov dword [ebp - 0x240], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x405e29
cmp dword [ebp - 0x230], 2
jne 0x405e29
cmp dword [ebp - 0x23c], 5
jb 0x405e29
or dword [ebp - 0x4c], 0xffffffff
or dword [ebp - 0x48], 0xffffffff
lea ecx, [ebp - 0x7c]
mov byte [str.___InstallEnd__], 0x3b
mov byte [str.___Install__UTF_8_], 0x3b
mov dword [ebp + 0x50], 0x413374
mov byte [ebp + 0x66], 0
mov byte [ebp + 0x67], 0
mov byte [ebp + 0x64], 0
mov byte [ebp + 0x65], 0
call fcn.004013ed
lea ecx, [ebp - 0x88]
call fcn.004013ed
push 0x20
pop edi
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x40], 4
mov dword [ebp + 0x30], 0x4130cc
call fcn.004039f3
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00403c83
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.0040281d
lea eax, [ebp - 0x70]
push eax
call fcn.004028d4
mov ebx, dword [ebp - 0x70]
add ebx, 2
mov dword [esp], str.sfxlang
push ebx
call fcn.004038de
cmp eax, esi
pop ecx
pop ecx
je 0x404c54
cmp word [eax], 0x3a
jne 0x404c54
add eax, 2
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
lea ecx, [eax - 1]
cmp ecx, 0xfffe
ja 0x404c3e
mov word [0x41570c], ax
jmp 0x404c3e
inc ebx
inc ebx
cmp word [ebx], di
ja 0x404c3c
jmp 0x404c4c
cmp ax, di
ja 0x404c54
inc ebx
inc ebx
movzx eax, word [ebx]
cmp ax, si
jne 0x404c45
call fcn.00404642
push str.sfxversion
push ebx
call fcn.004038de
test eax, eax
pop ecx
pop ecx
je 0x404c9c
call fcn.004041af
push dword [ebp - 0x70]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp + 0x30]
call fcn.00403961
push dword [ebp - 0x88]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x7c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
mov eax, esi
jmp 0x405e3f
mov edi, 0x208
cmp dword [0x4157ac], edi
mov esi, 0x4157a4
jg 0x404cb6
push edi
mov ecx, esi
call fcn.00401112
push edi
push dword [0x4157a4]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x404cd8
xor esi, esi
inc esi
push 6
push esi
call fcn.00407026
pop ecx
pop ecx
jmp 0x404c6f
mov edi, dword [0x4157a4]
push edi
call fcn.004010fe
and word [edi + eax*2], 0
mov dword [esp], str.sfxtest
push ebx
mov dword [0x4157a8], eax
call fcn.004038de
test eax, eax
pop ecx
pop ecx
je 0x404d09
push 0x64
pop esi
jmp 0x404c6f
push esi
mov ecx, 0x415774
call fcn.0040133e
mov edi, 0x415780
push esi
mov ecx, edi
call fcn.0040133e
push esi
call fcn.0040275b
test eax, eax
pop ecx
jl 0x404db8
mov ecx, dword [0x415774]
lea esi, [eax + eax]
and word [esi + ecx], 0
mov dword [0x415778], eax
mov eax, dword [0x4157a4]
lea eax, [esi + eax + 2]
push eax
mov ecx, edi
call fcn.00401305
mov eax, dword [0x4157a4]
lea eax, [esi + eax + 2]
mov esi, 0x415798
push eax
mov ecx, esi
call fcn.00401305
push 0x2e
mov ecx, esi
call fcn.00402223
test eax, eax
jle 0x404d87
mov ecx, dword [0x415798]
and word [ecx + eax*2], 0
mov dword [0x41579c], eax
push esi
mov esi, 0x41578c
mov ecx, esi
call fcn.0040133e
push 4
call fcn.00401c40
pop ecx
push eax
mov ecx, esi
call fcn.0040281d
mov eax, dword [0x415798]
mov dword [0x41573c], eax
mov eax, dword [0x41578c]
mov dword [0x415744], eax
push 0x10
xor esi, esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
je 0x404dd1
mov ecx, eax
call fcn.0040425d
mov edi, eax
jmp 0x404dd3
xor edi, edi
push edi
lea ecx, [ebp + 0x5c]
call fcn.004094ab
push dword [0x4157a4]
mov ecx, edi
call fcn.0040d0a8
test al, al
jne 0x404e13
push dword [0x4157a4]
push 7
push 1
call fcn.00407026
mov eax, dword [ebp + 0x5c]
add esp, 0xc
cmp eax, esi
je 0x404e0c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 2
jmp 0x404d03
lea ecx, [ebp + 0x24]
call fcn.0040224e
lea ecx, [ebp + 0xc]
call fcn.0040224e
lea ecx, [ebp]
call fcn.0040224e
lea eax, [ebp]
push eax
lea eax, [ebp + 0xc]
push eax
movzx eax, word [0x41570c]
push eax
call fcn.00404a7b
mov edi, dword [ebp + 0x5c]
lea eax, [ebp + 0x24]
push eax
push dword [ebp]
push dword [ebp + 0xc]
push edi
call fcn.004024e4
add esp, 0x1c
test al, al
jne 0x404ea9
lea eax, [ebp + 0x24]
push eax
push str.___InstallEnd__
push str.___Install__UTF_8_
push edi
call fcn.004024e4
add esp, 0x10
test al, al
jne 0x404ea9
push 9
push esi
call fcn.00407026
push dword [ebp]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0xc]
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
cmp edi, esi
je 0x404ea2
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 3
jmp 0x404d03
push str.sfxconfig
push ebx
call fcn.004038de
cmp eax, esi
pop ecx
pop ecx
je 0x404f55
cmp word [eax], 0x3a
jne 0x404ec6
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
je 0x404f27
cmp cx, 0x20
ja 0x404ede
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
jne 0x404ece
cmp word [eax], si
je 0x404f27
lea ecx, [ebp + 0x24]
push ecx
push eax
call fcn.00404968
test al, al
pop ecx
pop ecx
jne 0x404f27
push 0xa
push esi
call fcn.00407026
push dword [ebp]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0xc]
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
cmp edi, esi
je 0x404f20
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 4
jmp 0x404d03
push dword [ebp]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0xc]
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
cmp edi, esi
je 0x404c6f
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x404c6f
lea ecx, [ebp + 0x30]
call fcn.0040dd40
cmp dword [ebp + 0x28], esi
je 0x404f94
push esi
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x24]
push eax
call fcn.004029e4
add esp, 0xc
test al, al
jne 0x404f94
push dword [ebp]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0xc]
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
jmp 0x404f16
mov eax, dword [0x415058]
mov esi, 0x415058
jmp 0x405001
push eax
lea eax, [ebp - 0x12c]
push str.7zSfxString_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x64]
call fcn.004013ed
lea ecx, [ebp - 0x58]
call fcn.004013ed
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00401305
push dword [esi]
call fcn.00401c40
pop ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00401305
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x415384
call fcn.00402853
lea ecx, [ebp - 0x64]
add esi, 0x10
call fcn.00402080
mov eax, dword [esi]
test eax, eax
jne 0x404fa0
lea eax, [ebp + 0x30]
push eax
call fcn.00403ded
pop ecx
dec ebx
push 0x20
dec ebx
pop edi
mov dword [ebp + 0x54], ebx
cmp word [ebx], di
jbe 0x40502f
inc ebx
inc ebx
cmp word [ebx], di
ja 0x40501c
jmp 0x40502c
cmp ax, di
ja 0x405037
inc ebx
inc ebx
mov dword [ebp + 0x54], ebx
movzx eax, word [ebx]
test ax, ax
jne 0x405025
movzx eax, word [ebx]
cmp ax, 0x2f
je 0x40504a
cmp ax, 0x2d
jne 0x405279
lea esi, [ebx + 2]
cmp word [esi], 0x21
jne 0x40505d
cmp word [ebx + 4], di
jbe 0x405262
push 0x4135fc
push esi
call fcn.00403701
test eax, eax
pop ecx
pop ecx
je 0x4050ba
lea ecx, [ebx + 6]
movzx eax, word [ecx]
cmp ax, 0x30
jb 0x405080
cmp ax, 0x39
jbe 0x405098
cmp ax, 0x61
jb 0x40508c
cmp ax, 0x7a
jbe 0x405098
cmp ax, 0x41
jb 0x4050a8
cmp ax, 0x5a
ja 0x4050a8
mov dword [ebp + 0x50], ecx
mov byte [ebp + 0x66], 1
mov byte [ebp + 0x67], 1
jmp 0x405017
cmp ax, di
ja 0x405279
mov dword [ebp + 0x50], 0x413374
jmp 0x40509b
push 0x4135f4
push esi
call fcn.00403701
test eax, eax
pop ecx
pop ecx
je 0x4050dd
lea eax, [ebp + 0x30]
push eax
lea eax, [ebx + 6]
push eax
push str.OverwriteMode
jmp 0x405199
push 0x4135ec
push esi
call fcn.00403701
test eax, eax
pop ecx
pop ecx
je 0x40511e
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
jb 0x405279
cmp cx, 0x32
ja 0x405279
cmp word [ebx + 8], di
ja 0x405279
lea ecx, [ebp + 0x30]
push ecx
push eax
push str.GUIMode
jmp 0x405199
push 0x4135e4
push esi
call fcn.00403701
test eax, eax
pop ecx
pop ecx
je 0x40513e
lea eax, [ebp + 0x30]
push eax
lea eax, [ebx + 6]
push eax
push str.GUIFlags
jmp 0x405199
push 0x4135dc
push esi
call fcn.00403701
test eax, eax
pop ecx
pop ecx
je 0x40515e
lea eax, [ebp + 0x30]
push eax
lea eax, [ebx + 6]
push eax
push str.MiscFlags
jmp 0x405199
push 0x4135d4
push esi
call fcn.00403701
test eax, eax
pop ecx
pop ecx
je 0x4051a6
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
je 0x405185
cmp cx, 0x31
jne 0x405279
cmp word [ebx + 8], di
ja 0x405279
lea ecx, [ebp + 0x30]
push ecx
push eax
push str.SelfDelete
call fcn.00404037
add esp, 0xc
jmp 0x405017
push 0x4135cc
push esi
call fcn.00403701
test eax, eax
pop ecx
pop ecx
je 0x4051ca
cmp word [ebx + 6], di
ja 0x405279
mov byte [ebp + 0x64], 1
jmp 0x405017
push 0x4135c4
push esi
call fcn.00403701
test eax, eax
pop ecx
pop ecx
je 0x405207
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, 0x30
jb 0x405279
cmp cx, 0x39
ja 0x405279
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x415358], eax
jmp 0x405017
movzx eax, word [esi]
cmp ax, 0x79
je 0x405216
cmp ax, 0x59
jne 0x405225
cmp word [ebx + 4], di
ja 0x405225
mov byte [ebp + 0x66], 1
jmp 0x405017
cmp ax, 0x3f
je 0x405237
cmp ax, 0x68
je 0x405237
cmp ax, 0x48
jne 0x405246
cmp word [ebx + 4], di
ja 0x405246
mov byte [ebp + 0x65], 1
jmp 0x405017
lea eax, [ebp + 0x30]
push eax
push esi
call fcn.00403cf2
test eax, eax
pop ecx
pop ecx
je 0x405279
cmp eax, 1
je 0x405290
mov ebx, eax
jmp 0x405014
add ebx, 4
jmp 0x40526e
cmp ax, di
ja 0x405279
inc ebx
inc ebx
movzx eax, word [ebx]
test ax, ax
mov dword [ebp + 0x54], ebx
jne 0x405267
lea eax, [ebp + 0x30]
push eax
call fcn.00403ded
and dword [ebp - 4], 0
mov ebx, str.SetEnvironment
jmp 0x405330
push dword [ebp]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x5c]
add esp, 0xc
test eax, eax
je 0x4052b8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, edi
jmp 0x404c6f
push edi
lea ecx, [ebp - 0x14]
call fcn.004021d2
push 0
push 0x3d
lea ecx, [ebp - 0x14]
call fcn.00402329
test eax, eax
jle 0x40534d
mov ecx, dword [ebp - 0x14]
lea esi, [eax + eax]
and word [ecx + esi], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x10], eax
call fcn.004013ed
lea ecx, [ebp - 0x58]
call fcn.004013ed
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x64]
call fcn.0040133e
lea eax, [esi + edi + 2]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401305
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x415384
call fcn.00402853
inc dword [ebp - 4]
lea ecx, [ebp - 0x64]
call fcn.00402080
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x30]
push ebx
push eax
call fcn.0040273c
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4052bf
jmp 0x405356
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
call fcn.00403bd6
xor esi, esi
cmp dword [0x41534c], 0xffffffff
jne 0x40536c
mov dword [0x41534c], esi
cmp byte [ebp + 0x65], 0
je 0x4053ee
push esi
lea eax, [ebp + 0x30]
push str.HelpText
push eax
call fcn.0040273c
mov edi, eax
add esp, 0xc
cmp edi, esi
jne 0x405394
push 0x18
call fcn.00401c40
pop ecx
mov edi, eax
lea ecx, [ebp - 0x110]
call fcn.00403697
push esi
push edi
push dword [0x41573c]
lea ecx, [ebp - 0x110]
push 0x11
call fcn.00406d5a
lea ecx, [ebp - 0x110]
call fcn.0040600d
push dword [ebp]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x5c]
add esp, 0xc
cmp eax, esi
je 0x4053e7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
jmp 0x404c6f
cmp byte [ebp + 0x66], 0
je 0x4053fe
and dword [0x41534c], 0xfffffeff
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
lea eax, [ebp + 0x30]
push str.InstallPath
push eax
call fcn.0040273c
add esp, 0xc
test eax, eax
mov esi, 0x415768
je 0x405428
push eax
mov ecx, esi
call fcn.00401305
push esi
call fcn.004036b0
mov ebx, str.ExecuteFile
mov esi, str.RunProgram
pop ecx
push 0
lea eax, [ebp + 0x30]
push str.BeginPrompt
push eax
call fcn.0040273c
add esp, 0xc
test eax, eax
je 0x40547d
cmp byte [ebp + 0x66], 0
jne 0x40547d
push eax
push dword [0x41573c]
call fcn.00406f21
test eax, eax
pop ecx
pop ecx
je 0x4055a4
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x40547d
mov byte [ebp + 0x67], 1
lea ecx, [ebp + 0x44]
call fcn.004013ed
cmp byte [ebp + 0x67], 0
je 0x405505
mov edi, dword [ebp + 0x50]
push str.AutoInstall
lea ecx, [ebp + 0x44]
call fcn.00401305
movzx eax, word [edi]
push eax
lea ecx, [ebp + 0x44]
call fcn.00401405
push 0
push dword [ebp + 0x44]
lea eax, [ebp + 0x30]
push eax
call fcn.0040273c
add esp, 0xc
test eax, eax
je 0x4055d3
inc edi
inc edi
movzx eax, word [edi]
cmp ax, 0x30
jb 0x4054d1
cmp ax, 0x39
jbe 0x40548e
cmp ax, 0x61
jb 0x4054dd
cmp ax, 0x7a
jbe 0x40548e
cmp ax, 0x41
jb 0x4054e9
cmp ax, 0x5a
jbe 0x40548e
push str.AutoInstall
lea ecx, [ebp + 0x44]
call fcn.00401305
mov eax, dword [ebp + 0x50]
movzx eax, word [eax]
push eax
lea ecx, [ebp + 0x44]
call fcn.00401405
xor edi, edi
cmp dword [ebp + 0x48], edi
mov byte [ebp + 0x65], 0
jne 0x40554f
push edi
lea eax, [ebp + 0x30]
push ebx
push eax
call fcn.0040273c
add esp, 0xc
test eax, eax
je 0x405534
push ebx
lea ecx, [ebp + 0x44]
call fcn.00401305
cmp dword [ebp + 0x48], edi
mov byte [ebp + 0x65], 1
jne 0x40554f
push edi
lea eax, [ebp + 0x30]
push esi
push eax
call fcn.0040273c
add esp, 0xc
test eax, eax
je 0x40554f
push esi
lea ecx, [ebp + 0x44]
call fcn.00401305
cmp byte [ebp + 0x67], 0
jne 0x40563d
cmp byte [ebp + 0x66], 0
jne 0x40563d
mov eax, dword [0x41534c]
and ax, 0xc0
cmp al, 0x80
jne 0x40563d
push dword [0x415730]
push dword [0x415734]
call fcn.00406f82
test eax, eax
pop ecx
pop ecx
jne 0x40563d
cmp byte [0x415758], al
push dword [ebp + 0x44]
je 0x405616
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
jmp 0x405438
push dword [ebp]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x5c]
add esp, 0xc
test eax, eax
je 0x4055cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 5
jmp 0x404d03
push dword [ebp + 0x44]
push 0xe
push 0
call fcn.00407026
push dword [ebp + 0x44]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x5c]
add esp, 0x1c
test eax, eax
je 0x40560f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 6
jmp 0x404d03
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x5c]
add esp, 0x10
cmp eax, edi
jmp 0x4055c4
cmp dword [0x41576c], edi
jne 0x405673
lea eax, [ebp - 0x20]
push str.7ZipSfx__03x
push eax
call fcn.00403b27
pop ecx
pop ecx
mov esi, 0x415768
push eax
mov ecx, esi
call fcn.0040133e
push dword [ebp - 0x20]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov byte [0x415720], 0
jmp 0x4056aa
mov esi, 0x415768
push esi
lea ecx, [ebp - 0x20]
call fcn.004012d3
lea eax, [ebp - 0x20]
push eax
call fcn.004036b0
cmp dword [ebp - 0x1c], edi
pop ecx
jne 0x40569b
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.0040133e
push dword [ebp - 0x20]
mov byte [0x415720], 1
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [0x415768]
pop ecx
mov ecx, dword [0x41576c]
movzx edx, word [eax + ecx*2 - 2]
cmp dx, 0x5c
je 0x4056c7
cmp dx, 0x2f
jne 0x4056d2
dec ecx
mov word [eax + ecx*2], di
mov dword [0x41576c], ecx
cmp byte [ebp + 0x66], 0
je 0x4056df
or dword [0x41574c], 3
push esi
mov esi, dword [ebp + 0x5c]
push esi
call fcn.004048b6
test eax, eax
pop ecx
pop ecx
je 0x405728
call fcn.004039dd
push dword [ebp + 0x44]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
cmp esi, edi
je 0x405721
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 8
jmp 0x404d03
call fcn.00403bd6
cmp byte [ebp + 0x64], 0
je 0x405740
cmp byte [0x415720], 0
jne 0x405d11
lea ecx, [ebp - 0x14]
mov dword [ebp - 8], edi
call fcn.004013ed
cmp byte [ebp + 0x67], 0
jne 0x405760
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.00403c2d
pop ecx
pop ecx
mov eax, dword [ebp + 0x50]
mov byte [ebp + 0x5b], 0
mov dword [ebp - 0x44], eax
and dword [ebp - 0x24], 0
lea ecx, [ebp + 0x18]
mov byte [ebp + 0x63], 0
mov byte [ebp + 0x67], 0
call fcn.004013ed
lea ecx, [ebp - 0x30]
call fcn.004013ed
cmp dword [ebp + 0x48], 0
jne 0x405834
cmp byte [0x415720], 0
jne 0x405bb8
mov edi, str.setup.exe
push edi
push 0x412484
lea eax, [ebp - 0x58]
push 0x415768
push eax
call fcn.00403acc
add esp, 0xc
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00403acc
add esp, 0xc
push eax
lea ecx, [ebp + 0x18]
call fcn.0040133e
push dword [ebp - 0xd0]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x58]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x405bcf
mov byte [ebp + 0x5b], 1
push edi
lea ecx, [ebp - 0x30]
call fcn.00401305
lea eax, [ebp - 0x30]
push eax
call fcn.004036de
mov esi, dword [ebp - 0x30]
pop ecx
xor edi, edi
push edi
push str.hidcon
push esi
call fcn.0040373b
add esp, 0xc
cmp eax, edi
je 0x4058b8
mov esi, eax
mov byte [ebp + 0x63], 1
jmp 0x405815
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x44]
lea eax, [ebp + 0x30]
push eax
call fcn.0040273c
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4057fd
mov edi, dword [ebp - 0x44]
inc edi
inc edi
movzx eax, word [edi]
cmp ax, 0x30
mov dword [ebp - 0x44], edi
jb 0x405864
cmp ax, 0x39
jbe 0x405884
cmp ax, 0x61
jb 0x405870
cmp ax, 0x7a
jbe 0x405884
cmp ax, 0x41
jb 0x405bb8
cmp ax, 0x5a
ja 0x405bb8
push str.AutoInstall
lea ecx, [ebp + 0x44]
call fcn.00401305
movzx eax, word [edi]
push eax
lea ecx, [ebp + 0x44]
call fcn.00401405
push dword [ebp - 0x30]
and dword [ebp - 8], 0
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
jmp 0x40576a
push edi
push str.nowait
push esi
call fcn.0040373b
add esp, 0xc
cmp eax, edi
je 0x4058da
mov esi, eax
mov al, byte [0x415720]
mov byte [ebp + 0x67], al
jmp 0x405815
push edi
push str.forcenowait
push esi
call fcn.0040373b
add esp, 0xc
cmp eax, edi
je 0x4058f8
mov esi, eax
mov byte [ebp + 0x67], 1
jmp 0x405815
push 2
push 0x4135c4
push esi
call fcn.0040373b
mov ebx, eax
add esp, 0xc
cmp ebx, edi
je 0x40592e
cmp dword [0x415358], 0xffffffff
jne 0x405927
add esi, 4
push esi
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x415358], eax
mov esi, ebx
jmp 0x405815
push 3
push 0x413524
push esi
call fcn.0040373b
add esp, 0xc
cmp eax, edi
je 0x40594e
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x4c], ecx
jmp 0x40596c
push 3
push 0x41351c
push esi
call fcn.0040373b
add esp, 0xc
cmp eax, edi
je 0x405973
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x48], ecx
mov esi, eax
jmp 0x405815
push edi
push 0x413514
push esi
call fcn.0040373b
add esp, 0xc
cmp eax, edi
jne 0x4059cd
push edi
push str.i386
push esi
call fcn.0040373b
add esp, 0xc
cmp eax, edi
jne 0x4059cd
push edi
push 0x4134fc
push esi
call fcn.0040373b
add esp, 0xc
cmp eax, edi
jne 0x4059bf
push edi
push 0x4134f4
push esi
call fcn.0040373b
add esp, 0xc
cmp eax, edi
je 0x4059db
mov esi, eax
mov dword [ebp - 0x24], 2
jmp 0x405815
mov esi, eax
mov dword [ebp - 0x24], 1
jmp 0x405815
cmp byte [ebp + 0x65], 0
lea ecx, [ebp + 0x18]
je 0x405a36
cmp word [esi], 0x22
je 0x405a09
mov ebx, 0x413368
push ebx
call fcn.00401305
push esi
lea ecx, [ebp + 0x18]
call fcn.0040281d
push ebx
lea ecx, [ebp + 0x18]
call fcn.0040281d
jmp 0x405a0f
push esi
call fcn.00401305
push edi
lea eax, [ebp + 0x30]
push str.ExecuteParameters
push eax
call fcn.0040273c
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x405a48
push 0x4134f0
lea ecx, [ebp + 0x18]
call fcn.0040281d
jmp 0x405a3f
lea eax, [ebp - 0x14]
push eax
call fcn.0040133e
push esi
lea ecx, [ebp + 0x18]
call fcn.0040281d
lea ecx, [ebp - 0x20]
call fcn.004013ed
lea ecx, [ebp - 0x3c]
call fcn.004013ed
push 0x3c
pop esi
push esi
lea eax, [ebp - 0xc4]
push edi
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [0x415768]
add esp, 0xc
cmp byte [ebp + 0x63], 0
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xc0], 0x740
mov dword [ebp - 0xa8], 1
je 0x405aa7
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xc0], 0x8740
mov ebx, dword [ebp + 0x18]
lea eax, [ebp - 0x20]
push eax
push ebx
call fcn.00403c83
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401305
lea eax, [ebp - 0x20]
push eax
call fcn.004036de
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x24]
mov dword [ebp - 0xb4], eax
call fcn.00401e90
test eax, eax
pop ecx
pop ecx
je 0x405b6f
mov esi, dword [ebp + 0x54]
cmp word [esi], di
je 0x405b0d
push 0x20
lea ecx, [ebp - 0x3c]
call fcn.00401405
push esi
lea ecx, [ebp - 0x3c]
call fcn.0040281d
cmp word [esi], di
je 0x405b0d
inc esi
inc esi
cmp word [esi], di
jne 0x405b03
mov dword [ebp + 0x54], esi
lea eax, [ebp - 0x3c]
push eax
call fcn.004036de
cmp dword [ebp - 0x38], edi
pop ecx
je 0x405b25
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x405c29
cmp byte [ebp + 0x67], 0
jne 0x405b5e
push 0xffffffffffffffff
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00401e28
cmp byte [ebp + 0x65], 0
jne 0x405c95
cmp byte [ebp + 0x5b], 0
jne 0x405c95
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
mov word [eax], di
push dword [ebp - 0x3c]
inc dword [ebp - 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x20]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x30]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov esi, dword [ebp + 0x5c]
add esp, 0x10
jmp 0x40576a
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__
pop ecx
pop ecx
jmp 0x405cb9
call fcn.004039dd
push 0xf
push 0
call fcn.00407026
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 - 0x14]
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]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x24
test esi, esi
je 0x405c22
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 7
jmp 0x404d03
push ebx
push 0x10
push 1
call fcn.00407026
call fcn.004039dd
push dword [ebp - 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x20]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x30]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x14]
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]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x5c]
add esp, 0x30
cmp eax, edi
je 0x405c8e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 9
jmp 0x404d03
push dword [ebp - 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x20]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x30]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov esi, dword [ebp + 0x5c]
add esp, 0x10
call fcn.00403bd6
push dword [ebp - 0x4c]
lea eax, [ebp + 0x30]
push dword [ebp + 0x50]
push str.Shortcut
push eax
push 0x4047eb
call fcn.004040c4
add esp, 0x14
push dword [0x415774]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push dword [ebp - 0x48]
lea eax, [ebp + 0x30]
push dword [ebp + 0x50]
push str.Delete
push eax
push 0x404095
call fcn.004040c4
call fcn.004039dd
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x18
xor edi, edi
cmp dword [0x415358], 0xffffffff
jne 0x405d2a
cmp byte [ebp + 0x66], 0
jne 0x405d95
mov dword [0x415358], 1
cmp dword [0x415358], edi
jle 0x405d95
push 0
lea eax, [ebp + 0x30]
push str.FinishMessage
push eax
call fcn.0040273c
mov edi, eax
add esp, 0xc
test edi, edi
je 0x405d95
mov eax, 0x3e7
cmp dword [0x415358], eax
jle 0x405d5d
mov dword [0x415358], eax
lea ecx, [ebp - 0x118]
call fcn.00403aea
push 0
push edi
push dword [0x41573c]
lea ecx, [ebp - 0x118]
push 0x11
call fcn.00406d5a
push dword [ebp - 0xdc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp - 0x118]
call fcn.0040600d
cmp byte [ebp + 0x64], 0
jne 0x405dcf
push 0
lea eax, [ebp + 0x30]
push str.SelfDelete
push eax
call fcn.0040273c
add esp, 0xc
test eax, eax
je 0x405dcf
cmp word [eax], 0x31
jne 0x405dcf
sub esp, 0xc
mov ecx, esp
push 0x4157a4
call fcn.004012d3
call fcn.0040438a
add esp, 0xc
push dword [ebp + 0x44]
mov edi, dword [ebp - 0x40]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
test esi, esi
je 0x405dff
mov eax, dword [esi]
push esi
call dword [eax + 8]
push dword [ebp - 0x70]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp + 0x30]
call fcn.00403961
push dword [ebp - 0x88]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x7c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
mov eax, edi
jmp 0x405e3f
push 0x10
push str.7_Zip_SFX
push str.Sorry__this_program_requires_Microsoft_Windows_2000_or_later.
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x14
pop eax
pop edi
pop esi
pop ebx
add ebp, 0x68
leave
ret 0x10