Function at 0x4039cc
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, 0x254
push ebx
push esi
lea eax, [ebp - 0x254]
push edi
push eax
mov dword [ebp - 0x254], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40529b
cmp dword [ebp - 0x244], 2
jne 0x40529b
cmp dword [ebp - 0x250], 5
jb 0x40529b
call fcn.004031c4
push 0xf
xor ebx, ebx
pop esi
lea ecx, [ebp - 0xa8]
push esi
mov byte [str.___InstallEnd__], 0x3b
mov byte [str.___Install__UTF_8_], 0x3b
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
call fcn.004016bb
push esi
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
call fcn.004016bb
or dword [ebp - 0xd4], 0xffffffff
push esi
lea ecx, [ebp - 0x80]
mov dword [ebp - 8], 0x418254
mov byte [ebp - 3], bl
mov byte [ebp - 1], bl
mov byte [ebp - 9], bl
mov byte [ebp - 4], bl
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
call fcn.004016bb
push esi
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
call fcn.004016bb
push esi
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xd8], ebx
call fcn.004016bb
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.0040367e
push str.sfxversion
push eax
mov dword [ebp - 0x14], eax
call fcn.0040389c
add esp, 0x10
test eax, eax
je 0x403b9a
lea ecx, [ebp - 0x11c]
mov dword [0x41794c], 8
call fcn.004053bf
push 1
mov dword [ebp - 0x11c], 0x413330
call fcn.00402fee
pop ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00402ba8
cmp dword [0x418380], ebx
mov dword [ebp - 0x14], ebx
jbe 0x403b6a
mov edi, 0x418280
mov esi, edi
cmp esi, edi
je 0x403b4c
push 0x417df0
lea ecx, [ebp - 0x34]
call fcn.00402c09
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push dword [eax + 0x10]
call fcn.00402c09
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add esi, 4
cmp eax, dword [0x418380]
jb 0x403b3b
push ebx
lea ecx, [ebp - 0x11c]
push dword [ebp - 0x34]
push dword [0x418244]
push 0x11
call fcn.00405fcc
push dword [ebp - 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp - 0x11c]
call fcn.00405afd
jmp 0x40463a
mov esi, 0x208
cmp dword [ebp - 0x78], esi
jg 0x403bb1
push 0x209
lea ecx, [ebp - 0x80]
call fcn.004016bb
push esi
push dword [ebp - 0x80]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x403bd2
push 6
push 1
pop ebx
push ebx
call fcn.0040734f
pop ecx
pop ecx
jmp 0x405260
push dword [ebp - 0x80]
call fcn.00405a93
mov ecx, dword [ebp - 0x80]
mov dword [esp], str.sfxtest
push dword [ebp - 0x14]
mov word [ecx + eax*2], bx
mov dword [ebp - 0x7c], eax
call fcn.0040389c
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
mov edi, str.sfxconfig
je 0x403d55
cmp word [esi], 0x3a
je 0x403c12
push 0x64
pop ebx
jmp 0x405260
mov cx, word [esi + 2]
movzx eax, cx
or al, 0x20
sub eax, 0x61
je 0x403cd0
dec eax
dec eax
je 0x403cc4
dec eax
je 0x403c4c
dec eax
dec eax
je 0x403c42
sub eax, 0x10
jne 0x403c0a
mov ebx, 0x4336
jmp 0x405260
mov ebx, 0x2033
jmp 0x405260
cmp cx, 0x44
jne 0x403c84
cmp word [esi + 4], 0x3a
jne 0x403c0a
add esi, 6
mov ax, word [esi]
cmp ax, 0x20
jbe 0x403c7a
cmp ax, 0x3a
je 0x403c7a
inc esi
push eax
mov ecx, 0x418268
inc esi
call fcn.004015f3
jmp 0x403c5c
cmp dword [0x41826c], ebx
jne 0x403c87
jmp 0x403c0a
add esi, 4
mov dword [0x418274], ebx
cmp word [esi], 0x3a
jne 0x403cae
lea eax, [esi + 2]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
cmp eax, 0xe10
pop ecx
mov dword [0x418274], eax
ja 0x403cae
cmp eax, ebx
jne 0x403cb8
mov dword [0x418274], 0xa
mov dword [0x418278], 1
jmp 0x403cda
mov dword [0x418278], 3
jmp 0x403cda
mov dword [0x418278], 2
cmp word [esi], 0x20
jbe 0x403ce4
inc esi
inc esi
jmp 0x403cda
mov ax, word [esi]
cmp ax, bx
je 0x403cf6
cmp ax, 0x20
ja 0x403cf6
inc esi
inc esi
jmp 0x403ce4
push edi
push esi
mov dword [ebp - 0x14], esi
call fcn.0040389c
pop ecx
cmp eax, ebx
pop ecx
je 0x403d55
cmp word [eax], 0x3a
jne 0x403d0e
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
je 0x403d1c
cmp cx, 0x20
jbe 0x403d0c
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xbc], ebx
mov word [ecx], bx
lea ecx, [ebp - 0xc0]
push ecx
push eax
call fcn.0040367e
cmp dword [0x418278], 2
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
je 0x403d55
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0x80]
push eax
call fcn.004015b5
lea eax, [ebp - 0x80]
mov ecx, 0x418210
push eax
call fcn.004015b5
lea eax, [ebp - 0x80]
push eax
call fcn.00402b2f
cmp eax, ebx
pop ecx
jl 0x403e0c
mov ecx, dword [0x418210]
mov word [ecx + eax*2], bx
mov ecx, dword [ebp - 0x80]
mov dword [0x418214], eax
lea eax, [ecx + eax*2 + 2]
lea ecx, [ebp - 0x9c]
push eax
call fcn.00401556
mov eax, dword [ebp - 0x98]
cmp eax, ebx
je 0x403dd0
mov ecx, dword [ebp - 0x9c]
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0x2e
je 0x403db9
cmp eax, ecx
je 0x403dbf
dec eax
dec eax
jmp 0x403dab
sub eax, ecx
sar eax, 1
jmp 0x403dc2
or eax, 0xffffffff
cmp eax, ebx
jle 0x403dd0
mov word [ecx + eax*2], bx
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0xa8]
push eax
call fcn.004015b5
push 4
call fcn.00402fee
pop ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00402c09
mov eax, dword [ebp - 0x9c]
mov dword [0x418244], eax
mov eax, dword [ebp - 0xa8]
mov dword [0x418248], eax
push 0x10
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x403e23
mov ecx, eax
call fcn.004052d1
mov esi, eax
jmp 0x403e25
xor esi, esi
cmp esi, ebx
mov dword [ebp - 0x10], esi
je 0x403e32
mov eax, dword [esi]
push esi
call dword [eax + 4]
push dword [ebp - 0x80]
mov ecx, esi
call fcn.0040da4a
test al, al
jne 0x403e6c
sub esp, 0xc
lea esi, [ebp - 0x80]
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.0040734f
add esp, 0x14
cmp dword [ebp - 0x10], ebx
je 0x403e65
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 2
jmp 0x403c0c
push 0xf
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.00402f06
push 0xf
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.00402f06
push 0xf
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
call fcn.00402f06
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push eax
call fcn.00403908
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x68]
push esi
call fcn.00401aa4
add esp, 0x1c
test al, al
jne 0x403f7e
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x68]
movzx eax, ax
push ecx
push eax
call fcn.00403908
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x68]
push esi
call fcn.00401aa4
add esp, 0x1c
test al, al
jne 0x403f7e
call fcn.00402b52
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x68]
movzx eax, ax
push ecx
push eax
call fcn.00403908
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x68]
push esi
call fcn.00401aa4
add esp, 0x1c
test al, al
jne 0x403f7e
lea eax, [ebp - 0x50]
push eax
push str.___InstallEnd__
push str.___Install__UTF_8_
push esi
call fcn.00401aa4
add esp, 0x10
test al, al
jne 0x403f7e
push 9
push ebx
call fcn.0040734f
push dword [ebp - 0x5c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x68]
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
cmp esi, ebx
je 0x403f77
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 3
jmp 0x403c0c
cmp dword [0x418278], ebx
jne 0x40401e
push edi
push dword [ebp - 0x14]
call fcn.0040389c
pop ecx
cmp eax, ebx
pop ecx
je 0x40401e
cmp word [eax], 0x3a
jne 0x403fa5
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
je 0x403fb3
cmp cx, 0x20
jbe 0x403fa3
cmp word [eax], bx
je 0x403ff0
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.004036de
pop ecx
test al, al
pop ecx
jne 0x403ff0
push 0xa
push ebx
call fcn.0040734f
push dword [ebp - 0x5c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x68]
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
jmp 0x404074
push dword [ebp - 0x5c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x68]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp esi, ebx
je 0x405260
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x405260
lea ecx, [ebp - 0x28]
call fcn.00405967
cmp dword [ebp - 0x4c], ebx
mov edi, 0x413328
mov dword [ebp - 0x28], edi
je 0x404085
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00401cd7
pop ecx
test al, al
pop ecx
jne 0x404085
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], edi
call fcn.0040e720
lea ecx, [ebp - 0x28]
call fcn.0040e6fc
push dword [ebp - 0x5c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x68]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp esi, ebx
je 0x40407e
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 4
jmp 0x403c0c
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], ebx
push eax
lea eax, [ebp - 0x28]
push str.SetEnvironment
push eax
call fcn.004020ec
add esp, 0xc
mov edi, eax
cmp edi, ebx
je 0x404165
push edi
lea ecx, [ebp - 0x34]
call fcn.00402ba8
push ebx
push 0x3d
lea ecx, [ebp - 0x34]
call fcn.00402dd2
mov esi, eax
cmp esi, ebx
jle 0x40415c
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x134]
mov word [eax + esi*2], bx
mov dword [ebp - 0x30], esi
call fcn.00402b90
lea ecx, [ebp - 0x128]
call fcn.00402b90
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x134]
push eax
call fcn.004015b5
lea eax, [edi + esi*2 + 2]
lea ecx, [ebp - 0x128]
push eax
call fcn.00401556
lea eax, [ebp - 0x134]
mov ecx, 0x4181f8
push eax
call fcn.00402d71
push dword [ebp - 0x128]
inc dword [ebp - 0x90]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x134]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x28]
push str.SetEnvironment
push eax
call fcn.004020ec
add esp, 0x18
jmp 0x4040a3
push dword [ebp - 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
call fcn.004034b0
push ebx
lea eax, [ebp - 0x28]
push str.Title
push eax
call fcn.004020ec
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x4041b3
push esi
lea ecx, [ebp - 0xa8]
call fcn.00401556
push 4
call fcn.00402fee
pop ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00402c09
mov eax, dword [ebp - 0xa8]
mov dword [0x418244], esi
mov dword [0x418248], eax
push ebx
lea eax, [ebp - 0x28]
push str.ErrorTitle
push eax
call fcn.004020ec
add esp, 0xc
cmp eax, ebx
je 0x4041ce
mov dword [0x418248], eax
push ebx
lea eax, [ebp - 0x28]
push str.ExtractTitle
push eax
call fcn.004020ec
add esp, 0xc
cmp eax, ebx
je 0x4041e9
mov dword [0x418240], eax
push ebx
lea eax, [ebp - 0x28]
push str.Progress
push eax
call fcn.004020ec
add esp, 0xc
cmp eax, ebx
je 0x404219
push 0x417d70
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x404219
mov dword [0x41824c], 2
push ebx
lea eax, [ebp - 0x28]
push str.GUIMode
push eax
call fcn.004020ec
add esp, 0xc
cmp eax, ebx
je 0x404249
mov ax, word [eax]
cmp ax, 0x31
je 0x40423e
cmp ax, 0x32
jne 0x404249
movzx eax, ax
sub eax, 0x30
mov dword [0x41824c], eax
push ebx
lea eax, [ebp - 0x28]
push str.OverwriteMode
push eax
call fcn.004020ec
add esp, 0xc
cmp eax, ebx
je 0x404289
movzx eax, word [eax]
sub eax, 0x30
dec eax
je 0x40427f
dec eax
je 0x404273
mov dword [0x418250], ebx
jmp 0x404289
mov dword [0x418250], 2
jmp 0x404289
mov dword [0x418250], 1
push ebx
lea eax, [ebp - 0x28]
push str.GUIFlags
push eax
call fcn.004020ec
add esp, 0xc
cmp eax, ebx
je 0x4042a6
push eax
call fcn.004035a2
pop ecx
push ebx
lea eax, [ebp - 0x28]
push str.ExtractCancelText
push eax
call fcn.004020ec
mov dword [0x418230], eax
push ebx
lea eax, [ebp - 0x28]
push str.ExtractDialogText
push eax
call fcn.004020ec
mov dword [0x41822c], eax
push ebx
lea eax, [ebp - 0x28]
push str.ExtractDialogWidth
push eax
call fcn.004020ec
add esp, 0x24
cmp eax, ebx
je 0x4042f1
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x417950], eax
push ebx
lea eax, [ebp - 0x28]
push str.ExtractPathWidth
push eax
call fcn.004020ec
add esp, 0xc
cmp eax, ebx
je 0x404314
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x417954], eax
push ebx
lea eax, [ebp - 0x28]
push str.ExtractPathTitle
push eax
call fcn.004020ec
add esp, 0xc
cmp eax, ebx
je 0x40432f
mov dword [0x41823c], eax
push ebx
lea eax, [ebp - 0x28]
push str.ExtractPathText
push eax
call fcn.004020ec
add esp, 0xc
cmp eax, ebx
je 0x40434a
mov dword [0x418238], eax
push ebx
lea eax, [ebp - 0x28]
push str.CancelPrompt
push eax
call fcn.004020ec
add esp, 0xc
cmp eax, ebx
je 0x404365
mov dword [0x418234], eax
mov edi, dword [ebp - 0x14]
dec edi
dec edi
cmp word [edi], 0x20
jbe 0x404374
inc edi
inc edi
jmp 0x40436a
mov ax, word [edi]
cmp ax, bx
je 0x404386
cmp ax, 0x20
ja 0x404386
inc edi
inc edi
jmp 0x404374
mov ax, word [edi]
cmp ax, 0x2f
je 0x404399
cmp ax, 0x2d
jne 0x40458c
cmp word [edi + 2], 0x21
lea esi, [edi + 2]
jne 0x4043ae
cmp word [edi + 4], 0x20
jbe 0x404577
push 0x417c34
push esi
call fcn.00403521
pop ecx
test eax, eax
pop ecx
je 0x4043f2
mov cx, word [edi + 6]
lea eax, [edi + 6]
cmp cx, 0x30
jb 0x4043df
cmp cx, 0x39
ja 0x4043df
mov dword [ebp - 8], eax
mov byte [ebp - 3], 1
mov byte [ebp - 1], 1
jmp 0x40436a
cmp cx, 0x20
ja 0x40458c
mov dword [ebp - 8], 0x418254
jmp 0x4043d5
push 0x417c2c
push esi
call fcn.00403521
pop ecx
test eax, eax
pop ecx
je 0x404436
mov ax, word [edi + 6]
cmp ax, 0x30
jb 0x40458c
cmp ax, 0x32
ja 0x40458c
cmp word [edi + 8], 0x20
ja 0x40458c
movzx eax, ax
sub eax, 0x30
mov dword [0x418250], eax
jmp 0x40436a
push 0x417c24
push esi
call fcn.00403521
pop ecx
test eax, eax
pop ecx
je 0x40447a
mov ax, word [edi + 6]
cmp ax, 0x30
jb 0x40458c
cmp ax, 0x32
ja 0x40458c
cmp word [edi + 8], 0x20
ja 0x40458c
movzx eax, ax
sub eax, 0x30
mov dword [0x41824c], eax
jmp 0x40436a
push 0x417c1c
push esi
call fcn.00403521
pop ecx
test eax, eax
pop ecx
je 0x40449a
lea eax, [edi + 6]
push eax
call fcn.004035a2
pop ecx
jmp 0x40436a
push 0x417c14
push esi
call fcn.00403521
pop ecx
test eax, eax
pop ecx
je 0x4044db
mov ax, word [edi + 6]
cmp ax, 0x30
je 0x4044bf
cmp ax, 0x31
jne 0x40458c
cmp word [edi + 8], 0x20
ja 0x40458c
movzx eax, ax
sub eax, 0x30
mov dword [ebp - 0xd4], eax
jmp 0x40436a
push 0x417c0c
push esi
call fcn.00403521
pop ecx
test eax, eax
pop ecx
je 0x404500
cmp word [edi + 6], 0x20
ja 0x40458c
mov byte [ebp - 9], 1
jmp 0x40436a
push 0x417c04
push esi
call fcn.00403521
pop ecx
test eax, eax
pop ecx
je 0x404536
mov cx, word [edi + 6]
lea eax, [edi + 6]
cmp cx, 0x30
jb 0x40458c
cmp cx, 0x39
ja 0x40458c
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x417958], eax
jmp 0x40436a
mov si, word [esi]
cmp si, 0x79
je 0x404545
cmp si, 0x59
jne 0x404555
cmp word [edi + 4], 0x20
ja 0x404555
mov byte [ebp - 3], 1
jmp 0x40436a
cmp si, 0x3f
je 0x404567
cmp si, 0x68
je 0x404567
cmp si, 0x48
jne 0x40458c
cmp word [edi + 4], 0x20
ja 0x40458c
mov byte [ebp - 4], 1
jmp 0x40436a
add edi, 4
mov ax, word [edi]
cmp ax, bx
je 0x40458c
cmp ax, 0x20
ja 0x40458c
inc edi
inc edi
jmp 0x40457a
cmp dword [0x41794c], 0xffffffff
jne 0x40459b
mov dword [0x41794c], ebx
cmp byte [ebp - 4], bl
je 0x404678
push ebx
lea eax, [ebp - 0x28]
push str.HelpText
push eax
call fcn.004020ec
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x4045c6
push 0x18
call fcn.00402fee
pop ecx
mov esi, eax
lea ecx, [ebp - 0x11c]
call fcn.004053bf
push ebx
push esi
push dword [0x418244]
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0x413304
push 0x11
call fcn.00405fcc
lea ecx, [ebp - 0x11c]
call fcn.00405afd
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x413328
call fcn.0040e720
lea ecx, [ebp - 0x28]
call fcn.0040e6fc
push dword [ebp - 0x5c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x68]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp eax, ebx
je 0x40463a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0xe0]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xc0]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x80]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x9c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xa8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x14
xor eax, eax
jmp 0x4052b2
cmp byte [ebp - 3], bl
je 0x404684
and byte [0x41794d], 0xfe
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
lea eax, [ebp - 0x28]
push str.InstallPath
push eax
call fcn.004020ec
add esp, 0xc
cmp eax, ebx
je 0x4046ac
push eax
mov ecx, 0x418220
call fcn.00401556
push 0x418220
call fcn.0040347a
cmp dword [0x41826c], ebx
pop ecx
je 0x404711
lea eax, [ebp - 0x28]
push eax
call fcn.00407552
pop ecx
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x413328
call fcn.0040e720
lea ecx, [ebp - 0x28]
call fcn.0040e6fc
push dword [ebp - 0x5c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x68]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp eax, ebx
je 0x40470a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, esi
jmp 0x405260
cmp dword [0x418278], 3
jne 0x404725
lea eax, [ebp - 0x28]
push eax
call fcn.004077a1
jmp 0x4046c8
push ebx
lea eax, [ebp - 0x28]
push str.BeginPrompt
push eax
call fcn.004020ec
add esp, 0xc
cmp eax, ebx
je 0x404767
cmp byte [ebp - 3], bl
jne 0x404767
push eax
push dword [0x418244]
call fcn.0040724c
pop ecx
test eax, eax
pop ecx
je 0x4048d8
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x404767
mov byte [ebp - 1], 1
push 0xf
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
call fcn.004016bb
cmp byte [ebp - 1], bl
je 0x404850
mov esi, dword [ebp - 8]
push str.AutoInstall
lea ecx, [ebp - 0x44]
call fcn.00401556
mov eax, esi
mov ax, word [eax]
push eax
lea ecx, [ebp - 0x44]
call fcn.004015f3
push ebx
lea eax, [ebp - 0x28]
push dword [ebp - 0x44]
push eax
call fcn.004020ec
add esp, 0xc
test eax, eax
je 0x4047d8
inc esi
inc esi
mov ax, word [esi]
cmp ax, 0x30
jb 0x404834
cmp ax, 0x39
ja 0x404834
push str.AutoInstall
lea ecx, [ebp - 0x44]
call fcn.00401556
mov ax, word [esi]
jmp 0x404798
push dword [ebp - 0x44]
push 0xe
push ebx
call fcn.0040734f
push dword [ebp - 0x44]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x413328
call fcn.0040e720
lea ecx, [ebp - 0x28]
call fcn.0040e6fc
push dword [ebp - 0x5c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x68]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp eax, ebx
je 0x40482d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 6
jmp 0x403c0c
push str.AutoInstall
lea ecx, [ebp - 0x44]
call fcn.00401556
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x44]
mov ax, word [eax]
push eax
call fcn.004015f3
cmp dword [ebp - 0x40], ebx
mov byte [ebp - 4], bl
jne 0x4048a1
mov esi, str.ExecuteFile
push ebx
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004020ec
add esp, 0xc
test eax, eax
je 0x40487c
push esi
lea ecx, [ebp - 0x44]
call fcn.00401556
mov byte [ebp - 4], 1
cmp dword [ebp - 0x40], ebx
jne 0x4048a1
mov esi, str.RunProgram
push ebx
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004020ec
add esp, 0xc
test eax, eax
je 0x4048a1
push esi
lea ecx, [ebp - 0x44]
call fcn.00401556
cmp byte [ebp - 1], bl
jne 0x40491e
cmp byte [ebp - 3], bl
jne 0x40491e
mov eax, dword [0x41794c]
and ax, 0xc0
cmp al, 0x80
jne 0x40491e
push dword [0x418238]
push dword [0x41823c]
call fcn.004072f5
pop ecx
test eax, eax
pop ecx
jne 0x40491e
push dword [ebp - 0x44]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x413328
call fcn.0040e720
lea ecx, [ebp - 0x28]
call fcn.0040e6fc
push dword [ebp - 0x5c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x68]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp eax, ebx
je 0x404917
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 5
jmp 0x403c0c
cmp dword [0x418224], ebx
jne 0x40494f
lea eax, [ebp - 0x34]
push str.7ZipSfx._03x
push eax
call fcn.00403352
pop ecx
pop ecx
push eax
mov ecx, 0x418220
call fcn.004015b5
push dword [ebp - 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov byte [ebp - 2], bl
jmp 0x404986
push 0x418220
lea ecx, [ebp - 0x34]
call fcn.0040151c
lea eax, [ebp - 0x34]
push eax
call fcn.0040347a
cmp dword [ebp - 0x30], ebx
pop ecx
jne 0x404979
lea eax, [ebp - 0x34]
mov ecx, 0x418220
push eax
call fcn.004015b5
push dword [ebp - 0x34]
mov byte [ebp - 2], 1
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov ecx, dword [0x418224]
mov eax, dword [0x418220]
mov dx, word [eax + ecx*2 - 2]
cmp dx, 0x5c
je 0x4049a2
cmp dx, 0x2f
jne 0x4049ad
dec ecx
mov word [eax + ecx*2], bx
mov dword [0x418224], ecx
cmp dword [0x418274], ebx
jne 0x4049c6
push 0x418220
push dword [ebp - 0x10]
call fcn.004053d6
pop ecx
pop ecx
jmp 0x4049d4
call fcn.0040749d
test eax, eax
jne 0x404a38
mov eax, 0x80004005
cmp eax, ebx
je 0x404a38
cmp byte [ebp - 2], bl
jne 0x4049e9
push dword [0x418220]
call fcn.004023bf
pop ecx
push dword [ebp - 0x44]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp - 0x28], 0x413328
lea ecx, [ebp - 0x28]
call fcn.0040e720
lea ecx, [ebp - 0x28]
call fcn.0040e6fc
push dword [ebp - 0x5c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x68]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp eax, ebx
je 0x404a31
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 8
jmp 0x403c0c
call fcn.004034b0
cmp byte [ebp - 9], bl
je 0x404a4b
cmp byte [ebp - 2], bl
jne 0x40513a
push 0xf
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], ebx
call fcn.004016bb
cmp byte [ebp - 1], bl
jne 0x404a84
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00403628
pop ecx
pop ecx
mov byte [ebp - 0x35], bl
push 0xf
lea ecx, [ebp - 0x74]
mov byte [ebp - 1], bl
mov byte [ebp - 0x36], bl
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
call fcn.004016bb
push 0xf
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
call fcn.004016bb
cmp dword [ebp - 0x40], ebx
jne 0x404b71
cmp byte [ebp - 2], bl
jne 0x404ebb
mov esi, str.setup.exe
lea eax, [ebp - 0x128]
push esi
push 0x4170b8
push 0x418220
push eax
call fcn.00405a39
add esp, 0xc
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.00405a39
add esp, 0xc
lea ecx, [ebp - 0x74]
push eax
call fcn.004015b5
push dword [ebp - 0x140]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x128]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x404e38
mov byte [ebp - 0x35], 1
push esi
lea ecx, [ebp - 0xb4]
call fcn.00401556
lea eax, [ebp - 0xb4]
push eax
call fcn.00403495
mov esi, dword [ebp - 0xb4]
pop ecx
push ebx
push str.hidcon
push esi
call fcn.0040355b
add esp, 0xc
cmp eax, ebx
je 0x404bdf
mov esi, eax
mov byte [ebp - 1], 1
jmp 0x404b56
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push dword [ebp - 0x44]
push eax
call fcn.004020ec
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x404b37
mov esi, dword [ebp - 8]
inc esi
inc esi
mov dword [ebp - 8], esi
mov ax, word [esi]
cmp ax, 0x30
jb 0x404ebb
cmp ax, 0x39
ja 0x404ebb
push str.AutoInstall
lea ecx, [ebp - 0x44]
call fcn.00401556
mov ax, word [esi]
lea ecx, [ebp - 0x44]
push eax
call fcn.004015f3
push dword [ebp - 0xb4]
mov dword [ebp - 0x14], ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x74]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
jmp 0x404a87
push ebx
push 0x417b28
push esi
call fcn.0040355b
add esp, 0xc
cmp eax, ebx
je 0x404bff
mov esi, eax
mov al, byte [ebp - 2]
mov byte [ebp - 0x36], al
jmp 0x404b56
push 1
push 0x417c04
push esi
call fcn.0040355b
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0xc4], eax
je 0x404c3d
cmp dword [0x417958], 0xffffffff
jne 0x404c32
add esi, 4
push esi
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x417958], eax
mov esi, dword [ebp - 0xc4]
jmp 0x404b56
cmp byte [ebp - 4], bl
je 0x404c9d
cmp word [esi], 0x22
je 0x404c6d
push 0x417b24
lea ecx, [ebp - 0x74]
call fcn.00401556
push esi
lea ecx, [ebp - 0x74]
call fcn.00402c09
push 0x417b24
lea ecx, [ebp - 0x74]
call fcn.00402c09
jmp 0x404c76
push esi
lea ecx, [ebp - 0x74]
call fcn.00401556
push ebx
lea eax, [ebp - 0x28]
push 0x417b00
push eax
call fcn.004020ec
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x404cb5
push 0x417afc
lea ecx, [ebp - 0x74]
call fcn.00402c09
jmp 0x404cac
lea eax, [ebp - 0xd0]
lea ecx, [ebp - 0x74]
push eax
call fcn.004015b5
push esi
lea ecx, [ebp - 0x74]
call fcn.00402c09
push 0xf
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.004016bb
push 0xf
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
call fcn.004016bb
push 0x3c
lea eax, [ebp - 0x11c]
pop esi
push esi
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [0x418220]
add esp, 0xc
cmp byte [ebp - 1], bl
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x118], 0x740
mov dword [ebp - 0x100], 1
je 0x404d35
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0x118], 0x8740
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x74]
call fcn.0040367e
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.00401556
cmp word [edi], bx
je 0x404d76
push 0x20
lea ecx, [ebp - 0x8c]
call fcn.004015f3
push edi
lea ecx, [ebp - 0x8c]
call fcn.00402c09
cmp word [edi], bx
je 0x404d76
inc edi
inc edi
jmp 0x404d6d
lea eax, [ebp - 0x34]
push eax
call fcn.00403495
lea eax, [ebp - 0x8c]
push eax
call fcn.00403495
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x88], ebx
pop ecx
mov dword [ebp - 0x10c], eax
pop ecx
je 0x404daa
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x108], eax
cmp dword [0x418278], ebx
jne 0x404de6
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x404ed5
cmp byte [ebp - 0x36], bl
jne 0x404dda
push 0xffffffffffffffff
push dword [ebp - 0xe4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xe4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 4], bl
jne 0x404fb9
cmp byte [ebp - 0x35], bl
jne 0x404fb9
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xcc], ebx
mov word [eax], bx
push dword [ebp - 0x8c]
inc dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xb4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x74]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
jmp 0x404a87
push dword [0x418220]
call fcn.004023bf
pop ecx
push 0xf
push ebx
call fcn.0040734f
push dword [ebp - 0xb4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x74]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xd0]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x44]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x18
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x413328
call fcn.0040e720
lea ecx, [ebp - 0x28]
call fcn.0040e6fc
push dword [ebp - 0x5c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x68]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp eax, ebx
je 0x404eb4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 7
jmp 0x404f7a
push dword [ebp - 0xb4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x74]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
jmp 0x404fe2
sub esp, 0xc
lea esi, [ebp - 0x74]
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.0040734f
add esp, 0x14
cmp byte [ebp - 2], bl
jne 0x404efd
push dword [0x418220]
call fcn.004023bf
pop ecx
push dword [ebp - 0x8c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xb4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x74]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xd0]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x44]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x18
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x413328
call fcn.0040e720
lea ecx, [ebp - 0x28]
call fcn.0040e6fc
push dword [ebp - 0x5c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x68]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp eax, ebx
je 0x404f78
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 9
pop esi
push dword [ebp - 0xe0]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xc0]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x80]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x9c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xa8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x14
mov eax, esi
jmp 0x4052b2
push dword [ebp - 0x8c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xb4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x74]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
cmp dword [0x418278], ebx
jne 0x40512e
lea eax, [ebp - 8]
mov esi, str.Shortcut
push eax
lea eax, [ebp - 0x28]
push esi
push eax
mov dword [ebp - 8], ebx
call fcn.004020ec
add esp, 0xc
cmp eax, ebx
je 0x4050bc
push eax
lea ecx, [ebp - 0x34]
call fcn.00402ba8
lea eax, [ebp - 0x34]
push 0x418220
push eax
call fcn.0040286a
lea eax, [ebp - 0x34]
push 0x418210
push eax
call fcn.00402961
add esp, 0x10
xor edi, edi
cmp dword [0x418200], ebx
jle 0x405093
mov eax, dword [0x418204]
lea ecx, [ebp - 0x8c]
mov eax, dword [eax + edi*4]
add eax, 0xc
push eax
call fcn.0040151c
lea eax, [ebp - 0x8c]
push eax
call fcn.004019f4
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [0x418204]
push dword [eax + edi*4]
lea eax, [ebp - 0x34]
push eax
call fcn.00403836
push dword [ebp - 0x8c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x14
inc edi
cmp edi, dword [0x418200]
jl 0x405041
push dword [ebp - 0x34]
call fcn.00402497
push dword [ebp - 0x34]
inc dword [ebp - 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004020ec
add esp, 0x14
jmp 0x405007
push dword [0x418210]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 8]
mov esi, str.Delete
push eax
lea eax, [ebp - 0x28]
push esi
push eax
mov dword [ebp - 8], ebx
call fcn.004020ec
add esp, 0xc
cmp eax, ebx
je 0x40511d
push eax
lea ecx, [ebp - 0x34]
call fcn.00402ba8
lea eax, [ebp - 0x34]
push eax
call fcn.00403495
push dword [ebp - 0x34]
call fcn.004023bf
push dword [ebp - 0x34]
inc dword [ebp - 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004020ec
add esp, 0x18
jmp 0x4050e1
cmp byte [ebp - 2], bl
jne 0x40512e
push dword [0x418220]
call fcn.004023bf
pop ecx
push dword [ebp - 0xd0]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [0x417958], 0xffffffff
jne 0x405152
cmp byte [ebp - 3], bl
jne 0x4051b9
mov dword [0x417958], 1
cmp dword [0x417958], ebx
jle 0x4051b9
push ebx
lea eax, [ebp - 0x28]
push str.FinishMessage
push eax
call fcn.004020ec
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x4051b9
mov eax, 0x3e7
cmp dword [0x417958], eax
jle 0x405184
mov dword [0x417958], eax
lea ecx, [ebp - 0x118]
call fcn.00405ac3
push ebx
push esi
push dword [0x418244]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], 0x4132e0
push 0x11
call fcn.00405fcc
lea ecx, [ebp - 0x118]
call fcn.00405afd
cmp byte [ebp - 9], bl
jne 0x405218
cmp dword [0x418278], ebx
jne 0x405218
mov eax, dword [ebp - 0xd4]
sub eax, ebx
je 0x405218
dec eax
je 0x4051fc
push ebx
lea eax, [ebp - 0x28]
push str.SelfDelete
push eax
call fcn.004020ec
add esp, 0xc
cmp eax, ebx
je 0x405218
cmp word [eax], 0x31
jne 0x405218
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0xc4], esp
jmp 0x405207
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0xc4], esp
lea eax, [ebp - 0x80]
push eax
call fcn.0040151c
call fcn.004055b1
add esp, 0xc
push dword [ebp - 0x44]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp - 0x28], 0x413328
lea ecx, [ebp - 0x28]
call fcn.0040e720
lea ecx, [ebp - 0x28]
call fcn.0040e6fc
push dword [ebp - 0x5c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x68]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp eax, ebx
je 0x405260
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0xe0]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xc0]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x80]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x9c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xa8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x14
mov eax, ebx
jmp 0x4052b2
push 0x10
push str.7_Zip_SFX
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