Function at 0x4039ba
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 0x405230
cmp dword [ebp - 0x244], 2
jne 0x405230
cmp dword [ebp - 0x250], 5
jb 0x405230
call fcn.004031be
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.004016a5
push esi
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
call fcn.004016a5
or dword [ebp - 0xd4], 0xffffffff
push esi
lea ecx, [ebp - 0x80]
mov dword [ebp - 8], 0x41c274
mov byte [ebp - 2], 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.004016a5
push esi
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
call fcn.004016a5
push esi
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xd8], ebx
call fcn.004016a5
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00403678
push str.sfxversion
push eax
mov dword [ebp - 0x38], eax
call fcn.0040388a
add esp, 0x10
test eax, eax
je 0x403b2f
lea ecx, [ebp - 0x11c]
mov dword [0x41b924], 8
call fcn.00405347
push ebx
push 1
mov dword [ebp - 0x11c], 0x417330
call fcn.00402fe8
pop ecx
push eax
lea ecx, [ebp - 0x11c]
push dword [0x41c264]
push 0x11
call fcn.00405f4c
lea ecx, [ebp - 0x11c]
call fcn.00405a7b
jmp 0x4045cf
mov esi, 0x208
cmp dword [ebp - 0x78], esi
jg 0x403b46
push 0x209
lea ecx, [ebp - 0x80]
call fcn.004016a5
push esi
push dword [ebp - 0x80]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x403b67
push 6
push 1
pop ebx
push ebx
call fcn.0040723f
pop ecx
pop ecx
jmp 0x4051f5
push dword [ebp - 0x80]
call fcn.00405a11
mov ecx, dword [ebp - 0x80]
mov dword [esp], str.sfxtest
push dword [ebp - 0x38]
mov word [ecx + eax*2], bx
mov dword [ebp - 0x7c], eax
call fcn.0040388a
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
mov edi, str.sfxconfig
je 0x403cea
cmp word [esi], 0x3a
je 0x403ba7
push 0x64
pop ebx
jmp 0x4051f5
mov cx, word [esi + 2]
movzx eax, cx
or al, 0x20
sub eax, 0x61
je 0x403c65
dec eax
dec eax
je 0x403c59
dec eax
je 0x403be1
dec eax
dec eax
je 0x403bd7
sub eax, 0x10
jne 0x403b9f
mov ebx, 0x42cb
jmp 0x4051f5
mov ebx, 0x203f
jmp 0x4051f5
cmp cx, 0x44
jne 0x403c19
cmp word [esi + 4], 0x3a
jne 0x403b9f
add esi, 6
mov ax, word [esi]
cmp ax, 0x20
jbe 0x403c0f
cmp ax, 0x3a
je 0x403c0f
inc esi
push eax
mov ecx, 0x41c288
inc esi
call fcn.004015ea
jmp 0x403bf1
cmp dword [0x41c28c], ebx
jne 0x403c1c
jmp 0x403b9f
add esi, 4
mov dword [0x41c294], ebx
cmp word [esi], 0x3a
jne 0x403c43
lea eax, [esi + 2]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
cmp eax, 0xe10
pop ecx
mov dword [0x41c294], eax
ja 0x403c43
cmp eax, ebx
jne 0x403c4d
mov dword [0x41c294], 0xa
mov dword [0x41c298], 1
jmp 0x403c6f
mov dword [0x41c298], 3
jmp 0x403c6f
mov dword [0x41c298], 2
cmp word [esi], 0x20
jbe 0x403c79
inc esi
inc esi
jmp 0x403c6f
mov ax, word [esi]
cmp ax, bx
je 0x403c8b
cmp ax, 0x20
ja 0x403c8b
inc esi
inc esi
jmp 0x403c79
push edi
push esi
mov dword [ebp - 0x38], esi
call fcn.0040388a
pop ecx
cmp eax, ebx
pop ecx
je 0x403cea
cmp word [eax], 0x3a
jne 0x403ca3
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
je 0x403cb1
cmp cx, 0x20
jbe 0x403ca1
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xbc], ebx
mov word [ecx], bx
lea ecx, [ebp - 0xc0]
push ecx
push eax
call fcn.00403678
cmp dword [0x41c298], 2
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
je 0x403cea
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0x80]
push eax
call fcn.004015ac
lea eax, [ebp - 0x80]
mov ecx, 0x41c230
push eax
call fcn.004015ac
lea eax, [ebp - 0x80]
push eax
call fcn.00402b32
cmp eax, ebx
pop ecx
jl 0x403da1
mov ecx, dword [0x41c230]
mov word [ecx + eax*2], bx
mov ecx, dword [ebp - 0x80]
mov dword [0x41c234], eax
lea eax, [ecx + eax*2 + 2]
lea ecx, [ebp - 0x9c]
push eax
call fcn.0040154d
mov eax, dword [ebp - 0x98]
cmp eax, ebx
je 0x403d65
mov ecx, dword [ebp - 0x9c]
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0x2e
je 0x403d4e
cmp eax, ecx
je 0x403d54
dec eax
dec eax
jmp 0x403d40
sub eax, ecx
sar eax, 1
jmp 0x403d57
or eax, 0xffffffff
cmp eax, ebx
jle 0x403d65
mov word [ecx + eax*2], bx
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0xa8]
push eax
call fcn.004015ac
push 4
call fcn.00402fe8
pop ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00402c0c
mov eax, dword [ebp - 0x9c]
mov dword [0x41c264], eax
mov eax, dword [ebp - 0xa8]
mov dword [0x41c268], eax
push 0x10
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x403db8
mov ecx, eax
call fcn.00405266
mov esi, eax
jmp 0x403dba
xor esi, esi
cmp esi, ebx
mov dword [ebp - 0x10], esi
je 0x403dc7
mov eax, dword [esi]
push esi
call dword [eax + 4]
push dword [ebp - 0x80]
mov ecx, esi
call fcn.0040e7ed
test al, al
jne 0x403e01
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.0040723f
add esp, 0x14
cmp dword [ebp - 0x10], ebx
je 0x403dfa
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 2
jmp 0x403ba1
push 0xf
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.00402f00
push 0xf
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.00402f00
push 0xf
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
call fcn.00402f00
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push eax
call fcn.004038f6
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x68]
push esi
call fcn.00401a8e
add esp, 0x1c
test al, al
jne 0x403f13
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.004038f6
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x68]
push esi
call fcn.00401a8e
add esp, 0x1c
test al, al
jne 0x403f13
call fcn.00402b55
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x68]
movzx eax, ax
push ecx
push eax
call fcn.004038f6
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x68]
push esi
call fcn.00401a8e
add esp, 0x1c
test al, al
jne 0x403f13
lea eax, [ebp - 0x50]
push eax
push str.___InstallEnd__
push str.___Install__UTF_8_
push esi
call fcn.00401a8e
add esp, 0x10
test al, al
jne 0x403f13
push 9
push ebx
call fcn.0040723f
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 0x403f0c
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 3
jmp 0x403ba1
cmp dword [0x41c298], ebx
jne 0x403fb3
push edi
push dword [ebp - 0x38]
call fcn.0040388a
pop ecx
cmp eax, ebx
pop ecx
je 0x403fb3
cmp word [eax], 0x3a
jne 0x403f3a
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
je 0x403f48
cmp cx, 0x20
jbe 0x403f38
cmp word [eax], bx
je 0x403f85
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.004036d8
pop ecx
test al, al
pop ecx
jne 0x403f85
push 0xa
push ebx
call fcn.0040723f
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 0x404009
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 0x4051f5
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x4051f5
lea ecx, [ebp - 0x24]
call fcn.004058e5
cmp dword [ebp - 0x4c], ebx
mov edi, 0x417328
mov dword [ebp - 0x24], edi
je 0x40401a
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00401cc1
pop ecx
test al, al
pop ecx
jne 0x40401a
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], edi
call fcn.0040f4a0
lea ecx, [ebp - 0x24]
call fcn.0040f47c
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 0x404013
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 4
jmp 0x403ba1
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], ebx
push eax
lea eax, [ebp - 0x24]
push str.SetEnvironment
push eax
call fcn.004020d6
add esp, 0xc
mov edi, eax
cmp edi, ebx
je 0x4040fa
push edi
lea ecx, [ebp - 0x34]
call fcn.00402bab
push ebx
push 0x3d
lea ecx, [ebp - 0x34]
call fcn.00402dcc
mov esi, eax
cmp esi, ebx
jle 0x4040f1
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x134]
mov word [eax + esi*2], bx
mov dword [ebp - 0x30], esi
call fcn.00402b93
lea ecx, [ebp - 0x128]
call fcn.00402b93
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x134]
push eax
call fcn.004015ac
lea eax, [edi + esi*2 + 2]
lea ecx, [ebp - 0x128]
push eax
call fcn.0040154d
lea eax, [ebp - 0x134]
mov ecx, 0x41c218
push eax
call fcn.00402d6b
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 - 0x24]
push str.SetEnvironment
push eax
call fcn.004020d6
add esp, 0x18
jmp 0x404038
push dword [ebp - 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
call fcn.004034aa
push ebx
lea eax, [ebp - 0x24]
push str.Title
push eax
call fcn.004020d6
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x404148
push esi
lea ecx, [ebp - 0xa8]
call fcn.0040154d
push 4
call fcn.00402fe8
pop ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00402c0c
mov eax, dword [ebp - 0xa8]
mov dword [0x41c264], esi
mov dword [0x41c268], eax
push ebx
lea eax, [ebp - 0x24]
push str.ErrorTitle
push eax
call fcn.004020d6
add esp, 0xc
cmp eax, ebx
je 0x404163
mov dword [0x41c268], eax
push ebx
lea eax, [ebp - 0x24]
push str.ExtractTitle
push eax
call fcn.004020d6
add esp, 0xc
cmp eax, ebx
je 0x40417e
mov dword [0x41c260], eax
push ebx
lea eax, [ebp - 0x24]
push str.Progress
push eax
call fcn.004020d6
add esp, 0xc
cmp eax, ebx
je 0x4041ae
push 0x41bd3c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4041ae
mov dword [0x41c26c], 2
push ebx
lea eax, [ebp - 0x24]
push str.GUIMode
push eax
call fcn.004020d6
add esp, 0xc
cmp eax, ebx
je 0x4041de
mov ax, word [eax]
cmp ax, 0x31
je 0x4041d3
cmp ax, 0x32
jne 0x4041de
movzx eax, ax
sub eax, 0x30
mov dword [0x41c26c], eax
push ebx
lea eax, [ebp - 0x24]
push str.OverwriteMode
push eax
call fcn.004020d6
add esp, 0xc
cmp eax, ebx
je 0x40421e
movzx eax, word [eax]
sub eax, 0x30
dec eax
je 0x404214
dec eax
je 0x404208
mov dword [0x41c270], ebx
jmp 0x40421e
mov dword [0x41c270], 2
jmp 0x40421e
mov dword [0x41c270], 1
push ebx
lea eax, [ebp - 0x24]
push str.GUIFlags
push eax
call fcn.004020d6
add esp, 0xc
cmp eax, ebx
je 0x40423b
push eax
call fcn.0040359c
pop ecx
push ebx
lea eax, [ebp - 0x24]
push str.ExtractCancelText
push eax
call fcn.004020d6
mov dword [0x41c250], eax
push ebx
lea eax, [ebp - 0x24]
push str.ExtractDialogText
push eax
call fcn.004020d6
mov dword [0x41c24c], eax
push ebx
lea eax, [ebp - 0x24]
push str.ExtractDialogWidth
push eax
call fcn.004020d6
add esp, 0x24
cmp eax, ebx
je 0x404286
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41b928], eax
push ebx
lea eax, [ebp - 0x24]
push str.ExtractPathWidth
push eax
call fcn.004020d6
add esp, 0xc
cmp eax, ebx
je 0x4042a9
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41b92c], eax
push ebx
lea eax, [ebp - 0x24]
push str.ExtractPathTitle
push eax
call fcn.004020d6
add esp, 0xc
cmp eax, ebx
je 0x4042c4
mov dword [0x41c25c], eax
push ebx
lea eax, [ebp - 0x24]
push str.ExtractPathText
push eax
call fcn.004020d6
add esp, 0xc
cmp eax, ebx
je 0x4042df
mov dword [0x41c258], eax
push ebx
lea eax, [ebp - 0x24]
push str.CancelPrompt
push eax
call fcn.004020d6
add esp, 0xc
cmp eax, ebx
je 0x4042fa
mov dword [0x41c254], eax
mov edi, dword [ebp - 0x38]
dec edi
dec edi
cmp word [edi], 0x20
jbe 0x404309
inc edi
inc edi
jmp 0x4042ff
mov ax, word [edi]
cmp ax, bx
je 0x40431b
cmp ax, 0x20
ja 0x40431b
inc edi
inc edi
jmp 0x404309
mov ax, word [edi]
cmp ax, 0x2f
je 0x40432e
cmp ax, 0x2d
jne 0x404521
cmp word [edi + 2], 0x21
lea esi, [edi + 2]
jne 0x404343
cmp word [edi + 4], 0x20
jbe 0x40450c
push 0x41bc00
push esi
call fcn.0040351b
pop ecx
test eax, eax
pop ecx
je 0x404387
mov cx, word [edi + 6]
lea eax, [edi + 6]
cmp cx, 0x30
jb 0x404374
cmp cx, 0x39
ja 0x404374
mov dword [ebp - 8], eax
mov byte [ebp - 2], 1
mov byte [ebp - 1], 1
jmp 0x4042ff
cmp cx, 0x20
ja 0x404521
mov dword [ebp - 8], 0x41c274
jmp 0x40436a
push 0x41bbf8
push esi
call fcn.0040351b
pop ecx
test eax, eax
pop ecx
je 0x4043cb
mov ax, word [edi + 6]
cmp ax, 0x30
jb 0x404521
cmp ax, 0x32
ja 0x404521
cmp word [edi + 8], 0x20
ja 0x404521
movzx eax, ax
sub eax, 0x30
mov dword [0x41c270], eax
jmp 0x4042ff
push 0x41bbf0
push esi
call fcn.0040351b
pop ecx
test eax, eax
pop ecx
je 0x40440f
mov ax, word [edi + 6]
cmp ax, 0x30
jb 0x404521
cmp ax, 0x32
ja 0x404521
cmp word [edi + 8], 0x20
ja 0x404521
movzx eax, ax
sub eax, 0x30
mov dword [0x41c26c], eax
jmp 0x4042ff
push 0x41bbe8
push esi
call fcn.0040351b
pop ecx
test eax, eax
pop ecx
je 0x40442f
lea eax, [edi + 6]
push eax
call fcn.0040359c
pop ecx
jmp 0x4042ff
push 0x41bbe0
push esi
call fcn.0040351b
pop ecx
test eax, eax
pop ecx
je 0x404470
mov ax, word [edi + 6]
cmp ax, 0x30
je 0x404454
cmp ax, 0x31
jne 0x404521
cmp word [edi + 8], 0x20
ja 0x404521
movzx eax, ax
sub eax, 0x30
mov dword [ebp - 0xd4], eax
jmp 0x4042ff
push 0x41bbd8
push esi
call fcn.0040351b
pop ecx
test eax, eax
pop ecx
je 0x404495
cmp word [edi + 6], 0x20
ja 0x404521
mov byte [ebp - 9], 1
jmp 0x4042ff
push 0x41bbd0
push esi
call fcn.0040351b
pop ecx
test eax, eax
pop ecx
je 0x4044cb
mov cx, word [edi + 6]
lea eax, [edi + 6]
cmp cx, 0x30
jb 0x404521
cmp cx, 0x39
ja 0x404521
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41b930], eax
jmp 0x4042ff
mov si, word [esi]
cmp si, 0x79
je 0x4044da
cmp si, 0x59
jne 0x4044ea
cmp word [edi + 4], 0x20
ja 0x4044ea
mov byte [ebp - 2], 1
jmp 0x4042ff
cmp si, 0x3f
je 0x4044fc
cmp si, 0x68
je 0x4044fc
cmp si, 0x48
jne 0x404521
cmp word [edi + 4], 0x20
ja 0x404521
mov byte [ebp - 4], 1
jmp 0x4042ff
add edi, 4
mov ax, word [edi]
cmp ax, bx
je 0x404521
cmp ax, 0x20
ja 0x404521
inc edi
inc edi
jmp 0x40450f
cmp dword [0x41b924], 0xffffffff
jne 0x404530
mov dword [0x41b924], ebx
cmp byte [ebp - 4], bl
je 0x40460d
push ebx
lea eax, [ebp - 0x24]
push str.HelpText
push eax
call fcn.004020d6
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x40455b
push 0x18
call fcn.00402fe8
pop ecx
mov esi, eax
lea ecx, [ebp - 0x11c]
call fcn.00405347
push ebx
push esi
push dword [0x41c264]
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0x417304
push 0x11
call fcn.00405f4c
lea ecx, [ebp - 0x11c]
call fcn.00405a7b
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x417328
call fcn.0040f4a0
lea ecx, [ebp - 0x24]
call fcn.0040f47c
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 0x4045cf
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 0x405247
cmp byte [ebp - 2], bl
je 0x404619
and byte [0x41b925], 0xfe
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
lea eax, [ebp - 0x24]
push str.InstallPath
push eax
call fcn.004020d6
add esp, 0xc
cmp eax, ebx
je 0x404641
push eax
mov ecx, 0x41c240
call fcn.0040154d
push 0x41c240
call fcn.00403474
cmp dword [0x41c28c], ebx
pop ecx
je 0x4046a6
lea eax, [ebp - 0x24]
push eax
call fcn.00407442
pop ecx
mov esi, eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x417328
call fcn.0040f4a0
lea ecx, [ebp - 0x24]
call fcn.0040f47c
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 0x40469f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, esi
jmp 0x4051f5
cmp dword [0x41c298], 3
jne 0x4046ba
lea eax, [ebp - 0x24]
push eax
call fcn.00407691
jmp 0x40465d
push ebx
lea eax, [ebp - 0x24]
push str.BeginPrompt
push eax
call fcn.004020d6
add esp, 0xc
cmp eax, ebx
je 0x4046fc
cmp byte [ebp - 2], bl
jne 0x4046fc
push eax
push dword [0x41c264]
call fcn.0040713b
pop ecx
test eax, eax
pop ecx
je 0x40486d
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x4046fc
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.004016a5
cmp byte [ebp - 1], bl
je 0x4047e5
mov esi, dword [ebp - 8]
push str.AutoInstall
lea ecx, [ebp - 0x44]
call fcn.0040154d
mov eax, esi
mov ax, word [eax]
push eax
lea ecx, [ebp - 0x44]
call fcn.004015ea
push ebx
lea eax, [ebp - 0x24]
push dword [ebp - 0x44]
push eax
call fcn.004020d6
add esp, 0xc
test eax, eax
je 0x40476d
inc esi
inc esi
mov ax, word [esi]
cmp ax, 0x30
jb 0x4047c9
cmp ax, 0x39
ja 0x4047c9
push str.AutoInstall
lea ecx, [ebp - 0x44]
call fcn.0040154d
mov ax, word [esi]
jmp 0x40472d
push dword [ebp - 0x44]
push 0xe
push ebx
call fcn.0040723f
push dword [ebp - 0x44]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x417328
call fcn.0040f4a0
lea ecx, [ebp - 0x24]
call fcn.0040f47c
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 0x4047c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 6
jmp 0x403ba1
push str.AutoInstall
lea ecx, [ebp - 0x44]
call fcn.0040154d
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x44]
mov ax, word [eax]
push eax
call fcn.004015ea
cmp dword [ebp - 0x40], ebx
mov byte [ebp - 4], bl
jne 0x404836
mov esi, str.ExecuteFile
push ebx
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.004020d6
add esp, 0xc
test eax, eax
je 0x404811
push esi
lea ecx, [ebp - 0x44]
call fcn.0040154d
mov byte [ebp - 4], 1
cmp dword [ebp - 0x40], ebx
jne 0x404836
mov esi, str.RunProgram
push ebx
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.004020d6
add esp, 0xc
test eax, eax
je 0x404836
push esi
lea ecx, [ebp - 0x44]
call fcn.0040154d
cmp byte [ebp - 1], bl
jne 0x4048b3
cmp byte [ebp - 2], bl
jne 0x4048b3
mov eax, dword [0x41b924]
and ax, 0xc0
cmp al, 0x80
jne 0x4048b3
push dword [0x41c258]
push dword [0x41c25c]
call fcn.004071e5
pop ecx
test eax, eax
pop ecx
jne 0x4048b3
push dword [ebp - 0x44]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x417328
call fcn.0040f4a0
lea ecx, [ebp - 0x24]
call fcn.0040f47c
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 0x4048ac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 5
jmp 0x403ba1
cmp dword [0x41c244], ebx
jne 0x4048e4
lea eax, [ebp - 0x34]
push str.7ZipSfx._03x
push eax
call fcn.0040334c
pop ecx
pop ecx
push eax
mov ecx, 0x41c240
call fcn.004015ac
push dword [ebp - 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov byte [ebp - 3], bl
jmp 0x40491b
push 0x41c240
lea ecx, [ebp - 0x34]
call fcn.0040150a
lea eax, [ebp - 0x34]
push eax
call fcn.00403474
cmp dword [ebp - 0x30], ebx
pop ecx
jne 0x40490e
lea eax, [ebp - 0x34]
mov ecx, 0x41c240
push eax
call fcn.004015ac
push dword [ebp - 0x34]
mov byte [ebp - 3], 1
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov ecx, dword [0x41c244]
mov eax, dword [0x41c240]
mov dx, word [eax + ecx*2 - 2]
cmp dx, 0x5c
je 0x404937
cmp dx, 0x2f
jne 0x404942
dec ecx
mov word [eax + ecx*2], bx
mov dword [0x41c244], ecx
cmp dword [0x41c294], ebx
jne 0x40495b
push 0x41c240
push dword [ebp - 0x10]
call fcn.00405359
pop ecx
pop ecx
jmp 0x404969
call fcn.0040738d
test eax, eax
jne 0x4049cd
mov eax, 0x80004005
cmp eax, ebx
je 0x4049cd
cmp byte [ebp - 3], bl
jne 0x40497e
push dword [0x41c240]
call fcn.004023a9
pop ecx
push dword [ebp - 0x44]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp - 0x24], 0x417328
lea ecx, [ebp - 0x24]
call fcn.0040f4a0
lea ecx, [ebp - 0x24]
call fcn.0040f47c
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 0x4049c6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 8
jmp 0x403ba1
call fcn.004034aa
cmp byte [ebp - 9], bl
je 0x4049e0
cmp byte [ebp - 3], bl
jne 0x4050cf
push 0xf
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], ebx
call fcn.004016a5
cmp byte [ebp - 1], bl
jne 0x404a19
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00403622
pop ecx
pop ecx
mov byte [ebp - 0x25], bl
push 0xf
lea ecx, [ebp - 0x74]
mov byte [ebp - 1], bl
mov byte [ebp - 0x26], bl
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
call fcn.004016a5
push 0xf
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
call fcn.004016a5
cmp dword [ebp - 0x40], ebx
jne 0x404b06
cmp byte [ebp - 3], bl
jne 0x404e50
mov esi, str.setup.exe
lea eax, [ebp - 0x128]
push esi
push 0x41b0c8
push 0x41c240
push eax
call fcn.004059b7
add esp, 0xc
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.004059b7
add esp, 0xc
lea ecx, [ebp - 0x74]
push eax
call fcn.004015ac
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 0x404dcd
mov byte [ebp - 0x25], 1
push esi
lea ecx, [ebp - 0xb4]
call fcn.0040154d
lea eax, [ebp - 0xb4]
push eax
call fcn.0040348f
mov esi, dword [ebp - 0xb4]
pop ecx
push ebx
push str.hidcon
push esi
call fcn.00403555
add esp, 0xc
cmp eax, ebx
je 0x404b74
mov esi, eax
mov byte [ebp - 1], 1
jmp 0x404aeb
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x24]
push dword [ebp - 0x44]
push eax
call fcn.004020d6
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x404acc
mov esi, dword [ebp - 8]
inc esi
inc esi
mov dword [ebp - 8], esi
mov ax, word [esi]
cmp ax, 0x30
jb 0x404e50
cmp ax, 0x39
ja 0x404e50
push str.AutoInstall
lea ecx, [ebp - 0x44]
call fcn.0040154d
mov ax, word [esi]
lea ecx, [ebp - 0x44]
push eax
call fcn.004015ea
push dword [ebp - 0xb4]
mov dword [ebp - 0x38], 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 0x404a1c
push ebx
push 0x41baf4
push esi
call fcn.00403555
add esp, 0xc
cmp eax, ebx
je 0x404b94
mov esi, eax
mov al, byte [ebp - 3]
mov byte [ebp - 0x26], al
jmp 0x404aeb
push 1
push 0x41bbd0
push esi
call fcn.00403555
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0xc4], eax
je 0x404bd2
cmp dword [0x41b930], 0xffffffff
jne 0x404bc7
add esi, 4
push esi
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41b930], eax
mov esi, dword [ebp - 0xc4]
jmp 0x404aeb
cmp byte [ebp - 4], bl
je 0x404c32
cmp word [esi], 0x22
je 0x404c02
push 0x41baf0
lea ecx, [ebp - 0x74]
call fcn.0040154d
push esi
lea ecx, [ebp - 0x74]
call fcn.00402c0c
push 0x41baf0
lea ecx, [ebp - 0x74]
call fcn.00402c0c
jmp 0x404c0b
push esi
lea ecx, [ebp - 0x74]
call fcn.0040154d
push ebx
lea eax, [ebp - 0x24]
push 0x41bacc
push eax
call fcn.004020d6
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x404c4a
push 0x41bac8
lea ecx, [ebp - 0x74]
call fcn.00402c0c
jmp 0x404c41
lea eax, [ebp - 0xd0]
lea ecx, [ebp - 0x74]
push eax
call fcn.004015ac
push esi
lea ecx, [ebp - 0x74]
call fcn.00402c0c
push 0xf
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.004016a5
push 0xf
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
call fcn.004016a5
push 0x3c
lea eax, [ebp - 0x11c]
pop esi
push esi
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [0x41c240]
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 0x404cca
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0x118], 0x8740
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x74]
call fcn.00403678
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.0040154d
cmp word [edi], bx
je 0x404d0b
push 0x20
lea ecx, [ebp - 0x8c]
call fcn.004015ea
push edi
lea ecx, [ebp - 0x8c]
call fcn.00402c0c
cmp word [edi], bx
je 0x404d0b
inc edi
inc edi
jmp 0x404d02
lea eax, [ebp - 0x34]
push eax
call fcn.0040348f
lea eax, [ebp - 0x8c]
push eax
call fcn.0040348f
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x88], ebx
pop ecx
mov dword [ebp - 0x10c], eax
pop ecx
je 0x404d3f
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x108], eax
cmp dword [0x41c298], ebx
jne 0x404d7b
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x404e6a
cmp byte [ebp - 0x26], bl
jne 0x404d6f
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 0x404f4e
cmp byte [ebp - 0x25], bl
jne 0x404f4e
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xcc], ebx
mov word [eax], bx
push dword [ebp - 0x8c]
inc dword [ebp - 0x38]
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 0x404a1c
push dword [0x41c240]
call fcn.004023a9
pop ecx
push 0xf
push ebx
call fcn.0040723f
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 - 0x24]
mov dword [ebp - 0x24], 0x417328
call fcn.0040f4a0
lea ecx, [ebp - 0x24]
call fcn.0040f47c
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 0x404e49
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 7
jmp 0x404f0f
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 0x404f77
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.0040723f
add esp, 0x14
cmp byte [ebp - 3], bl
jne 0x404e92
push dword [0x41c240]
call fcn.004023a9
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 - 0x24]
mov dword [ebp - 0x24], 0x417328
call fcn.0040f4a0
lea ecx, [ebp - 0x24]
call fcn.0040f47c
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 0x404f0d
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 0x405247
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 [0x41c298], ebx
jne 0x4050c3
lea eax, [ebp - 8]
mov esi, str.Shortcut
push eax
lea eax, [ebp - 0x24]
push esi
push eax
mov dword [ebp - 8], ebx
call fcn.004020d6
add esp, 0xc
cmp eax, ebx
je 0x405051
push eax
lea ecx, [ebp - 0x34]
call fcn.00402bab
lea eax, [ebp - 0x34]
push 0x41c240
push eax
call fcn.00402854
lea eax, [ebp - 0x34]
push 0x41c230
push eax
call fcn.0040294b
add esp, 0x10
xor edi, edi
cmp dword [0x41c220], ebx
jle 0x405028
mov eax, dword [0x41c224]
lea ecx, [ebp - 0x8c]
mov eax, dword [eax + edi*4]
add eax, 0xc
push eax
call fcn.0040150a
lea eax, [ebp - 0x8c]
push eax
call fcn.004019de
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [0x41c224]
push dword [eax + edi*4]
lea eax, [ebp - 0x34]
push eax
call fcn.00403824
push dword [ebp - 0x8c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x14
inc edi
cmp edi, dword [0x41c220]
jl 0x404fd6
push dword [ebp - 0x34]
call fcn.00402481
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 - 0x24]
push esi
push eax
call fcn.004020d6
add esp, 0x14
jmp 0x404f9c
push dword [0x41c230]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 8]
mov esi, str.Delete
push eax
lea eax, [ebp - 0x24]
push esi
push eax
mov dword [ebp - 8], ebx
call fcn.004020d6
add esp, 0xc
cmp eax, ebx
je 0x4050b2
push eax
lea ecx, [ebp - 0x34]
call fcn.00402bab
lea eax, [ebp - 0x34]
push eax
call fcn.0040348f
push dword [ebp - 0x34]
call fcn.004023a9
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 - 0x24]
push esi
push eax
call fcn.004020d6
add esp, 0x18
jmp 0x405076
cmp byte [ebp - 3], bl
jne 0x4050c3
push dword [0x41c240]
call fcn.004023a9
pop ecx
push dword [ebp - 0xd0]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [0x41b930], 0xffffffff
jne 0x4050e7
cmp byte [ebp - 2], bl
jne 0x40514e
mov dword [0x41b930], 1
cmp dword [0x41b930], ebx
jle 0x40514e
push ebx
lea eax, [ebp - 0x24]
push str.FinishMessage
push eax
call fcn.004020d6
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x40514e
mov eax, 0x3e7
cmp dword [0x41b930], eax
jle 0x405119
mov dword [0x41b930], eax
lea ecx, [ebp - 0x118]
call fcn.00405a41
push ebx
push esi
push dword [0x41c264]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], 0x4172e0
push 0x11
call fcn.00405f4c
lea ecx, [ebp - 0x118]
call fcn.00405a7b
cmp byte [ebp - 9], bl
jne 0x4051ad
cmp dword [0x41c298], ebx
jne 0x4051ad
mov eax, dword [ebp - 0xd4]
sub eax, ebx
je 0x4051ad
dec eax
je 0x405191
push ebx
lea eax, [ebp - 0x24]
push str.SelfDelete
push eax
call fcn.004020d6
add esp, 0xc
cmp eax, ebx
je 0x4051ad
cmp word [eax], 0x31
jne 0x4051ad
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0xc4], esp
jmp 0x40519c
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0xc4], esp
lea eax, [ebp - 0x80]
push eax
call fcn.0040150a
call fcn.00405534
add esp, 0xc
push dword [ebp - 0x44]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp - 0x24], 0x417328
lea ecx, [ebp - 0x24]
call fcn.0040f4a0
lea ecx, [ebp - 0x24]
call fcn.0040f47c
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 0x4051f5
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 0x405247
push 0x10
push str.7_Zip_SFX
push 0x41ba30
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x14
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10