Function at 0x40397a
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 0x4051f0
cmp dword [ebp - 0x244], 2
jne 0x4051f0
cmp dword [ebp - 0x250], 5
jb 0x4051f0
call fcn.0040317e
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.0040169c
push esi
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
call fcn.0040169c
or dword [ebp - 0xd4], 0xffffffff
push esi
lea ecx, [ebp - 0x80]
mov dword [ebp - 8], 0x419204
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.0040169c
push esi
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
call fcn.0040169c
push esi
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xd8], ebx
call fcn.0040169c
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00403638
push str.sfxversion
push eax
mov dword [ebp - 0x38], eax
call fcn.0040384a
add esp, 0x10
test eax, eax
je 0x403aef
lea ecx, [ebp - 0x11c]
mov dword [0x418914], 8
call fcn.00405314
push ebx
push 1
mov dword [ebp - 0x11c], 0x414330
call fcn.00402fa8
pop ecx
push eax
lea ecx, [ebp - 0x11c]
push dword [0x4191f4]
push 0x11
call fcn.00405f3f
lea ecx, [ebp - 0x11c]
call fcn.00405a6e
jmp 0x40458f
mov esi, 0x208
cmp dword [ebp - 0x78], esi
jg 0x403b06
push 0x209
lea ecx, [ebp - 0x80]
call fcn.0040169c
push esi
push dword [ebp - 0x80]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x403b27
push 6
push 1
pop ebx
push ebx
call fcn.00407249
pop ecx
pop ecx
jmp 0x4051b5
push dword [ebp - 0x80]
call fcn.00405a04
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.0040384a
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
mov edi, str.sfxconfig
je 0x403caa
cmp word [esi], 0x3a
je 0x403b67
push 0x64
pop ebx
jmp 0x4051b5
mov cx, word [esi + 2]
movzx eax, cx
or al, 0x20
sub eax, 0x61
je 0x403c25
dec eax
dec eax
je 0x403c19
dec eax
je 0x403ba1
dec eax
dec eax
je 0x403b97
sub eax, 0x10
jne 0x403b5f
mov ebx, 0x42cb
jmp 0x4051b5
mov ebx, 0x2033
jmp 0x4051b5
cmp cx, 0x44
jne 0x403bd9
cmp word [esi + 4], 0x3a
jne 0x403b5f
add esi, 6
mov ax, word [esi]
cmp ax, 0x20
jbe 0x403bcf
cmp ax, 0x3a
je 0x403bcf
inc esi
push eax
mov ecx, 0x419218
inc esi
call fcn.004015e1
jmp 0x403bb1
cmp dword [0x41921c], ebx
jne 0x403bdc
jmp 0x403b5f
add esi, 4
mov dword [0x419224], ebx
cmp word [esi], 0x3a
jne 0x403c03
lea eax, [esi + 2]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
cmp eax, 0xe10
pop ecx
mov dword [0x419224], eax
ja 0x403c03
cmp eax, ebx
jne 0x403c0d
mov dword [0x419224], 0xa
mov dword [0x419228], 1
jmp 0x403c2f
mov dword [0x419228], 3
jmp 0x403c2f
mov dword [0x419228], 2
cmp word [esi], 0x20
jbe 0x403c39
inc esi
inc esi
jmp 0x403c2f
mov ax, word [esi]
cmp ax, bx
je 0x403c4b
cmp ax, 0x20
ja 0x403c4b
inc esi
inc esi
jmp 0x403c39
push edi
push esi
mov dword [ebp - 0x38], esi
call fcn.0040384a
pop ecx
cmp eax, ebx
pop ecx
je 0x403caa
cmp word [eax], 0x3a
jne 0x403c63
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
je 0x403c71
cmp cx, 0x20
jbe 0x403c61
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xbc], ebx
mov word [ecx], bx
lea ecx, [ebp - 0xc0]
push ecx
push eax
call fcn.00403638
cmp dword [0x419228], 2
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
je 0x403caa
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0x80]
push eax
call fcn.004015a3
lea eax, [ebp - 0x80]
mov ecx, 0x4191c0
push eax
call fcn.004015a3
lea eax, [ebp - 0x80]
push eax
call fcn.00402ae9
cmp eax, ebx
pop ecx
jl 0x403d61
mov ecx, dword [0x4191c0]
mov word [ecx + eax*2], bx
mov ecx, dword [ebp - 0x80]
mov dword [0x4191c4], eax
lea eax, [ecx + eax*2 + 2]
lea ecx, [ebp - 0x9c]
push eax
call fcn.00401544
mov eax, dword [ebp - 0x98]
cmp eax, ebx
je 0x403d25
mov ecx, dword [ebp - 0x9c]
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0x2e
je 0x403d0e
cmp eax, ecx
je 0x403d14
dec eax
dec eax
jmp 0x403d00
sub eax, ecx
sar eax, 1
jmp 0x403d17
or eax, 0xffffffff
cmp eax, ebx
jle 0x403d25
mov word [ecx + eax*2], bx
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0xa8]
push eax
call fcn.004015a3
push 4
call fcn.00402fa8
pop ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00402bc3
mov eax, dword [ebp - 0x9c]
mov dword [0x4191f4], eax
mov eax, dword [ebp - 0xa8]
mov dword [0x4191f8], eax
push 0x10
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x403d78
mov ecx, eax
call fcn.00405226
mov esi, eax
jmp 0x403d7a
xor esi, esi
cmp esi, ebx
mov dword [ebp - 0x10], esi
je 0x403d87
mov eax, dword [esi]
push esi
call dword [eax + 4]
push dword [ebp - 0x80]
mov ecx, esi
call fcn.0040e7d6
test al, al
jne 0x403dc1
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.00407249
add esp, 0x14
cmp dword [ebp - 0x10], ebx
je 0x403dba
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 2
jmp 0x403b61
push 0xf
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.00402ec0
push 0xf
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.00402ec0
push 0xf
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
call fcn.00402ec0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push eax
call fcn.004038b6
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x68]
push esi
call fcn.00401a5e
add esp, 0x1c
test al, al
jne 0x403ed3
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.004038b6
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x68]
push esi
call fcn.00401a5e
add esp, 0x1c
test al, al
jne 0x403ed3
call fcn.00402b0c
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x68]
movzx eax, ax
push ecx
push eax
call fcn.004038b6
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x68]
push esi
call fcn.00401a5e
add esp, 0x1c
test al, al
jne 0x403ed3
lea eax, [ebp - 0x50]
push eax
push str.___InstallEnd__
push str.___Install__UTF_8_
push esi
call fcn.00401a5e
add esp, 0x10
test al, al
jne 0x403ed3
push 9
push ebx
call fcn.00407249
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 0x403ecc
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 3
jmp 0x403b61
cmp dword [0x419228], ebx
jne 0x403f73
push edi
push dword [ebp - 0x38]
call fcn.0040384a
pop ecx
cmp eax, ebx
pop ecx
je 0x403f73
cmp word [eax], 0x3a
jne 0x403efa
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
je 0x403f08
cmp cx, 0x20
jbe 0x403ef8
cmp word [eax], bx
je 0x403f45
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.00403698
pop ecx
test al, al
pop ecx
jne 0x403f45
push 0xa
push ebx
call fcn.00407249
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 0x403fc9
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 0x4051b5
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x4051b5
lea ecx, [ebp - 0x24]
call fcn.004058bc
cmp dword [ebp - 0x4c], ebx
mov edi, 0x414328
mov dword [ebp - 0x24], edi
je 0x403fda
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00401c91
pop ecx
test al, al
pop ecx
jne 0x403fda
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], edi
call fcn.0040f489
lea ecx, [ebp - 0x24]
call fcn.0040f465
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 0x403fd3
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 4
jmp 0x403b61
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], ebx
push eax
lea eax, [ebp - 0x24]
push str.SetEnvironment
push eax
call fcn.004020a6
add esp, 0xc
mov edi, eax
cmp edi, ebx
je 0x4040ba
push edi
lea ecx, [ebp - 0x34]
call fcn.00402b62
push ebx
push 0x3d
lea ecx, [ebp - 0x34]
call fcn.00402d8c
mov esi, eax
cmp esi, ebx
jle 0x4040b1
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x134]
mov word [eax + esi*2], bx
mov dword [ebp - 0x30], esi
call fcn.00402b4a
lea ecx, [ebp - 0x128]
call fcn.00402b4a
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x134]
push eax
call fcn.004015a3
lea eax, [edi + esi*2 + 2]
lea ecx, [ebp - 0x128]
push eax
call fcn.00401544
lea eax, [ebp - 0x134]
mov ecx, 0x4191a8
push eax
call fcn.00402d2b
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.004020a6
add esp, 0x18
jmp 0x403ff8
push dword [ebp - 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
call fcn.0040346a
push ebx
lea eax, [ebp - 0x24]
push str.Title
push eax
call fcn.004020a6
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x404108
push esi
lea ecx, [ebp - 0xa8]
call fcn.00401544
push 4
call fcn.00402fa8
pop ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00402bc3
mov eax, dword [ebp - 0xa8]
mov dword [0x4191f4], esi
mov dword [0x4191f8], eax
push ebx
lea eax, [ebp - 0x24]
push str.ErrorTitle
push eax
call fcn.004020a6
add esp, 0xc
cmp eax, ebx
je 0x404123
mov dword [0x4191f8], eax
push ebx
lea eax, [ebp - 0x24]
push str.ExtractTitle
push eax
call fcn.004020a6
add esp, 0xc
cmp eax, ebx
je 0x40413e
mov dword [0x4191f0], eax
push ebx
lea eax, [ebp - 0x24]
push str.Progress
push eax
call fcn.004020a6
add esp, 0xc
cmp eax, ebx
je 0x40416e
push 0x418d2c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40416e
mov dword [0x4191fc], 2
push ebx
lea eax, [ebp - 0x24]
push str.GUIMode
push eax
call fcn.004020a6
add esp, 0xc
cmp eax, ebx
je 0x40419e
mov ax, word [eax]
cmp ax, 0x31
je 0x404193
cmp ax, 0x32
jne 0x40419e
movzx eax, ax
sub eax, 0x30
mov dword [0x4191fc], eax
push ebx
lea eax, [ebp - 0x24]
push str.OverwriteMode
push eax
call fcn.004020a6
add esp, 0xc
cmp eax, ebx
je 0x4041de
movzx eax, word [eax]
sub eax, 0x30
dec eax
je 0x4041d4
dec eax
je 0x4041c8
mov dword [0x419200], ebx
jmp 0x4041de
mov dword [0x419200], 2
jmp 0x4041de
mov dword [0x419200], 1
push ebx
lea eax, [ebp - 0x24]
push str.GUIFlags
push eax
call fcn.004020a6
add esp, 0xc
cmp eax, ebx
je 0x4041fb
push eax
call fcn.0040355c
pop ecx
push ebx
lea eax, [ebp - 0x24]
push str.ExtractCancelText
push eax
call fcn.004020a6
mov dword [0x4191e0], eax
push ebx
lea eax, [ebp - 0x24]
push str.ExtractDialogText
push eax
call fcn.004020a6
mov dword [0x4191dc], eax
push ebx
lea eax, [ebp - 0x24]
push str.ExtractDialogWidth
push eax
call fcn.004020a6
add esp, 0x24
cmp eax, ebx
je 0x404246
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x418918], eax
push ebx
lea eax, [ebp - 0x24]
push str.ExtractPathWidth
push eax
call fcn.004020a6
add esp, 0xc
cmp eax, ebx
je 0x404269
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41891c], eax
push ebx
lea eax, [ebp - 0x24]
push str.ExtractPathTitle
push eax
call fcn.004020a6
add esp, 0xc
cmp eax, ebx
je 0x404284
mov dword [0x4191ec], eax
push ebx
lea eax, [ebp - 0x24]
push str.ExtractPathText
push eax
call fcn.004020a6
add esp, 0xc
cmp eax, ebx
je 0x40429f
mov dword [0x4191e8], eax
push ebx
lea eax, [ebp - 0x24]
push str.CancelPrompt
push eax
call fcn.004020a6
add esp, 0xc
cmp eax, ebx
je 0x4042ba
mov dword [0x4191e4], eax
mov edi, dword [ebp - 0x38]
dec edi
dec edi
cmp word [edi], 0x20
jbe 0x4042c9
inc edi
inc edi
jmp 0x4042bf
mov ax, word [edi]
cmp ax, bx
je 0x4042db
cmp ax, 0x20
ja 0x4042db
inc edi
inc edi
jmp 0x4042c9
mov ax, word [edi]
cmp ax, 0x2f
je 0x4042ee
cmp ax, 0x2d
jne 0x4044e1
cmp word [edi + 2], 0x21
lea esi, [edi + 2]
jne 0x404303
cmp word [edi + 4], 0x20
jbe 0x4044cc
push 0x418bf0
push esi
call fcn.004034db
pop ecx
test eax, eax
pop ecx
je 0x404347
mov cx, word [edi + 6]
lea eax, [edi + 6]
cmp cx, 0x30
jb 0x404334
cmp cx, 0x39
ja 0x404334
mov dword [ebp - 8], eax
mov byte [ebp - 2], 1
mov byte [ebp - 1], 1
jmp 0x4042bf
cmp cx, 0x20
ja 0x4044e1
mov dword [ebp - 8], 0x419204
jmp 0x40432a
push 0x418be8
push esi
call fcn.004034db
pop ecx
test eax, eax
pop ecx
je 0x40438b
mov ax, word [edi + 6]
cmp ax, 0x30
jb 0x4044e1
cmp ax, 0x32
ja 0x4044e1
cmp word [edi + 8], 0x20
ja 0x4044e1
movzx eax, ax
sub eax, 0x30
mov dword [0x419200], eax
jmp 0x4042bf
push 0x418be0
push esi
call fcn.004034db
pop ecx
test eax, eax
pop ecx
je 0x4043cf
mov ax, word [edi + 6]
cmp ax, 0x30
jb 0x4044e1
cmp ax, 0x32
ja 0x4044e1
cmp word [edi + 8], 0x20
ja 0x4044e1
movzx eax, ax
sub eax, 0x30
mov dword [0x4191fc], eax
jmp 0x4042bf
push 0x418bd8
push esi
call fcn.004034db
pop ecx
test eax, eax
pop ecx
je 0x4043ef
lea eax, [edi + 6]
push eax
call fcn.0040355c
pop ecx
jmp 0x4042bf
push 0x418bd0
push esi
call fcn.004034db
pop ecx
test eax, eax
pop ecx
je 0x404430
mov ax, word [edi + 6]
cmp ax, 0x30
je 0x404414
cmp ax, 0x31
jne 0x4044e1
cmp word [edi + 8], 0x20
ja 0x4044e1
movzx eax, ax
sub eax, 0x30
mov dword [ebp - 0xd4], eax
jmp 0x4042bf
push 0x418bc8
push esi
call fcn.004034db
pop ecx
test eax, eax
pop ecx
je 0x404455
cmp word [edi + 6], 0x20
ja 0x4044e1
mov byte [ebp - 9], 1
jmp 0x4042bf
push 0x418bc0
push esi
call fcn.004034db
pop ecx
test eax, eax
pop ecx
je 0x40448b
mov cx, word [edi + 6]
lea eax, [edi + 6]
cmp cx, 0x30
jb 0x4044e1
cmp cx, 0x39
ja 0x4044e1
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x418920], eax
jmp 0x4042bf
mov si, word [esi]
cmp si, 0x79
je 0x40449a
cmp si, 0x59
jne 0x4044aa
cmp word [edi + 4], 0x20
ja 0x4044aa
mov byte [ebp - 2], 1
jmp 0x4042bf
cmp si, 0x3f
je 0x4044bc
cmp si, 0x68
je 0x4044bc
cmp si, 0x48
jne 0x4044e1
cmp word [edi + 4], 0x20
ja 0x4044e1
mov byte [ebp - 4], 1
jmp 0x4042bf
add edi, 4
mov ax, word [edi]
cmp ax, bx
je 0x4044e1
cmp ax, 0x20
ja 0x4044e1
inc edi
inc edi
jmp 0x4044cf
cmp dword [0x418914], 0xffffffff
jne 0x4044f0
mov dword [0x418914], ebx
cmp byte [ebp - 4], bl
je 0x4045cd
push ebx
lea eax, [ebp - 0x24]
push str.HelpText
push eax
call fcn.004020a6
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x40451b
push 0x18
call fcn.00402fa8
pop ecx
mov esi, eax
lea ecx, [ebp - 0x11c]
call fcn.00405314
push ebx
push esi
push dword [0x4191f4]
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0x414304
push 0x11
call fcn.00405f3f
lea ecx, [ebp - 0x11c]
call fcn.00405a6e
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x414328
call fcn.0040f489
lea ecx, [ebp - 0x24]
call fcn.0040f465
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 0x40458f
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 0x405207
cmp byte [ebp - 2], bl
je 0x4045d9
and byte [0x418915], 0xfe
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
lea eax, [ebp - 0x24]
push str.InstallPath
push eax
call fcn.004020a6
add esp, 0xc
cmp eax, ebx
je 0x404601
push eax
mov ecx, 0x4191d0
call fcn.00401544
push 0x4191d0
call fcn.00403434
cmp dword [0x41921c], ebx
pop ecx
je 0x404666
lea eax, [ebp - 0x24]
push eax
call fcn.00407430
pop ecx
mov esi, eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x414328
call fcn.0040f489
lea ecx, [ebp - 0x24]
call fcn.0040f465
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 0x40465f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, esi
jmp 0x4051b5
cmp dword [0x419228], 3
jne 0x40467a
lea eax, [ebp - 0x24]
push eax
call fcn.0040767f
jmp 0x40461d
push ebx
lea eax, [ebp - 0x24]
push str.BeginPrompt
push eax
call fcn.004020a6
add esp, 0xc
cmp eax, ebx
je 0x4046bc
cmp byte [ebp - 2], bl
jne 0x4046bc
push eax
push dword [0x4191f4]
call fcn.0040712e
pop ecx
test eax, eax
pop ecx
je 0x40482d
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x4046bc
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.0040169c
cmp byte [ebp - 1], bl
je 0x4047a5
mov esi, dword [ebp - 8]
push str.AutoInstall
lea ecx, [ebp - 0x44]
call fcn.00401544
mov eax, esi
mov ax, word [eax]
push eax
lea ecx, [ebp - 0x44]
call fcn.004015e1
push ebx
lea eax, [ebp - 0x24]
push dword [ebp - 0x44]
push eax
call fcn.004020a6
add esp, 0xc
test eax, eax
je 0x40472d
inc esi
inc esi
mov ax, word [esi]
cmp ax, 0x30
jb 0x404789
cmp ax, 0x39
ja 0x404789
push str.AutoInstall
lea ecx, [ebp - 0x44]
call fcn.00401544
mov ax, word [esi]
jmp 0x4046ed
push dword [ebp - 0x44]
push 0xe
push ebx
call fcn.00407249
push dword [ebp - 0x44]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x414328
call fcn.0040f489
lea ecx, [ebp - 0x24]
call fcn.0040f465
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 0x404782
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 6
jmp 0x403b61
push str.AutoInstall
lea ecx, [ebp - 0x44]
call fcn.00401544
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x44]
mov ax, word [eax]
push eax
call fcn.004015e1
cmp dword [ebp - 0x40], ebx
mov byte [ebp - 4], bl
jne 0x4047f6
mov esi, str.ExecuteFile
push ebx
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.004020a6
add esp, 0xc
test eax, eax
je 0x4047d1
push esi
lea ecx, [ebp - 0x44]
call fcn.00401544
mov byte [ebp - 4], 1
cmp dword [ebp - 0x40], ebx
jne 0x4047f6
mov esi, str.RunProgram
push ebx
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.004020a6
add esp, 0xc
test eax, eax
je 0x4047f6
push esi
lea ecx, [ebp - 0x44]
call fcn.00401544
cmp byte [ebp - 1], bl
jne 0x404873
cmp byte [ebp - 2], bl
jne 0x404873
mov eax, dword [0x418914]
and ax, 0xc0
cmp al, 0x80
jne 0x404873
push dword [0x4191e8]
push dword [0x4191ec]
call fcn.004071d3
pop ecx
test eax, eax
pop ecx
jne 0x404873
push dword [ebp - 0x44]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x414328
call fcn.0040f489
lea ecx, [ebp - 0x24]
call fcn.0040f465
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 0x40486c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 5
jmp 0x403b61
cmp dword [0x4191d4], ebx
jne 0x4048a4
lea eax, [ebp - 0x34]
push str.7ZipSfx._03x
push eax
call fcn.0040330c
pop ecx
pop ecx
push eax
mov ecx, 0x4191d0
call fcn.004015a3
push dword [ebp - 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov byte [ebp - 3], bl
jmp 0x4048db
push 0x4191d0
lea ecx, [ebp - 0x34]
call fcn.0040150a
lea eax, [ebp - 0x34]
push eax
call fcn.00403434
cmp dword [ebp - 0x30], ebx
pop ecx
jne 0x4048ce
lea eax, [ebp - 0x34]
mov ecx, 0x4191d0
push eax
call fcn.004015a3
push dword [ebp - 0x34]
mov byte [ebp - 3], 1
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov ecx, dword [0x4191d4]
mov eax, dword [0x4191d0]
mov dx, word [eax + ecx*2 - 2]
cmp dx, 0x5c
je 0x4048f7
cmp dx, 0x2f
jne 0x404902
dec ecx
mov word [eax + ecx*2], bx
mov dword [0x4191d4], ecx
cmp dword [0x419224], ebx
jne 0x40491b
push 0x4191d0
push dword [ebp - 0x10]
call fcn.0040532b
pop ecx
pop ecx
jmp 0x404929
call fcn.0040737b
test eax, eax
jne 0x40498d
mov eax, 0x80004005
cmp eax, ebx
je 0x40498d
cmp byte [ebp - 3], bl
jne 0x40493e
push dword [0x4191d0]
call fcn.00402379
pop ecx
push dword [ebp - 0x44]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp - 0x24], 0x414328
lea ecx, [ebp - 0x24]
call fcn.0040f489
lea ecx, [ebp - 0x24]
call fcn.0040f465
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 0x404986
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 8
jmp 0x403b61
call fcn.0040346a
cmp byte [ebp - 9], bl
je 0x4049a0
cmp byte [ebp - 3], bl
jne 0x40508f
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.0040169c
cmp byte [ebp - 1], bl
jne 0x4049d9
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004035e2
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.0040169c
push 0xf
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
call fcn.0040169c
cmp dword [ebp - 0x40], ebx
jne 0x404ac6
cmp byte [ebp - 3], bl
jne 0x404e10
mov esi, str.setup.exe
lea eax, [ebp - 0x128]
push esi
push 0x4180b8
push 0x4191d0
push eax
call fcn.004059aa
add esp, 0xc
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.004059aa
add esp, 0xc
lea ecx, [ebp - 0x74]
push eax
call fcn.004015a3
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 0x404d8d
mov byte [ebp - 0x25], 1
push esi
lea ecx, [ebp - 0xb4]
call fcn.00401544
lea eax, [ebp - 0xb4]
push eax
call fcn.0040344f
mov esi, dword [ebp - 0xb4]
pop ecx
push ebx
push str.hidcon
push esi
call fcn.00403515
add esp, 0xc
cmp eax, ebx
je 0x404b34
mov esi, eax
mov byte [ebp - 1], 1
jmp 0x404aab
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x24]
push dword [ebp - 0x44]
push eax
call fcn.004020a6
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x404a8c
mov esi, dword [ebp - 8]
inc esi
inc esi
mov dword [ebp - 8], esi
mov ax, word [esi]
cmp ax, 0x30
jb 0x404e10
cmp ax, 0x39
ja 0x404e10
push str.AutoInstall
lea ecx, [ebp - 0x44]
call fcn.00401544
mov ax, word [esi]
lea ecx, [ebp - 0x44]
push eax
call fcn.004015e1
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 0x4049dc
push ebx
push 0x418ae4
push esi
call fcn.00403515
add esp, 0xc
cmp eax, ebx
je 0x404b54
mov esi, eax
mov al, byte [ebp - 3]
mov byte [ebp - 0x26], al
jmp 0x404aab
push 1
push 0x418bc0
push esi
call fcn.00403515
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0xc4], eax
je 0x404b92
cmp dword [0x418920], 0xffffffff
jne 0x404b87
add esi, 4
push esi
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x418920], eax
mov esi, dword [ebp - 0xc4]
jmp 0x404aab
cmp byte [ebp - 4], bl
je 0x404bf2
cmp word [esi], 0x22
je 0x404bc2
push 0x418ae0
lea ecx, [ebp - 0x74]
call fcn.00401544
push esi
lea ecx, [ebp - 0x74]
call fcn.00402bc3
push 0x418ae0
lea ecx, [ebp - 0x74]
call fcn.00402bc3
jmp 0x404bcb
push esi
lea ecx, [ebp - 0x74]
call fcn.00401544
push ebx
lea eax, [ebp - 0x24]
push 0x418abc
push eax
call fcn.004020a6
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x404c0a
push 0x418ab8
lea ecx, [ebp - 0x74]
call fcn.00402bc3
jmp 0x404c01
lea eax, [ebp - 0xd0]
lea ecx, [ebp - 0x74]
push eax
call fcn.004015a3
push esi
lea ecx, [ebp - 0x74]
call fcn.00402bc3
push 0xf
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0040169c
push 0xf
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
call fcn.0040169c
push 0x3c
lea eax, [ebp - 0x11c]
pop esi
push esi
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [0x4191d0]
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 0x404c8a
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0x118], 0x8740
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x74]
call fcn.00403638
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.00401544
cmp word [edi], bx
je 0x404ccb
push 0x20
lea ecx, [ebp - 0x8c]
call fcn.004015e1
push edi
lea ecx, [ebp - 0x8c]
call fcn.00402bc3
cmp word [edi], bx
je 0x404ccb
inc edi
inc edi
jmp 0x404cc2
lea eax, [ebp - 0x34]
push eax
call fcn.0040344f
lea eax, [ebp - 0x8c]
push eax
call fcn.0040344f
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x88], ebx
pop ecx
mov dword [ebp - 0x10c], eax
pop ecx
je 0x404cff
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x108], eax
cmp dword [0x419228], ebx
jne 0x404d3b
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x404e2a
cmp byte [ebp - 0x26], bl
jne 0x404d2f
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 0x404f0e
cmp byte [ebp - 0x25], bl
jne 0x404f0e
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 0x4049dc
push dword [0x4191d0]
call fcn.00402379
pop ecx
push 0xf
push ebx
call fcn.00407249
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], 0x414328
call fcn.0040f489
lea ecx, [ebp - 0x24]
call fcn.0040f465
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 0x404e09
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 7
jmp 0x404ecf
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 0x404f37
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.00407249
add esp, 0x14
cmp byte [ebp - 3], bl
jne 0x404e52
push dword [0x4191d0]
call fcn.00402379
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], 0x414328
call fcn.0040f489
lea ecx, [ebp - 0x24]
call fcn.0040f465
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 0x404ecd
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 0x405207
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 [0x419228], ebx
jne 0x405083
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.004020a6
add esp, 0xc
cmp eax, ebx
je 0x405011
push eax
lea ecx, [ebp - 0x34]
call fcn.00402b62
lea eax, [ebp - 0x34]
push 0x4191d0
push eax
call fcn.00402824
lea eax, [ebp - 0x34]
push 0x4191c0
push eax
call fcn.0040291b
add esp, 0x10
xor edi, edi
cmp dword [0x4191b0], ebx
jle 0x404fe8
mov eax, dword [0x4191b4]
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.004019ae
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [0x4191b4]
push dword [eax + edi*4]
lea eax, [ebp - 0x34]
push eax
call fcn.004037e4
push dword [ebp - 0x8c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x14
inc edi
cmp edi, dword [0x4191b0]
jl 0x404f96
push dword [ebp - 0x34]
call fcn.00402451
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.004020a6
add esp, 0x14
jmp 0x404f5c
push dword [0x4191c0]
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.004020a6
add esp, 0xc
cmp eax, ebx
je 0x405072
push eax
lea ecx, [ebp - 0x34]
call fcn.00402b62
lea eax, [ebp - 0x34]
push eax
call fcn.0040344f
push dword [ebp - 0x34]
call fcn.00402379
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.004020a6
add esp, 0x18
jmp 0x405036
cmp byte [ebp - 3], bl
jne 0x405083
push dword [0x4191d0]
call fcn.00402379
pop ecx
push dword [ebp - 0xd0]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [0x418920], 0xffffffff
jne 0x4050a7
cmp byte [ebp - 2], bl
jne 0x40510e
mov dword [0x418920], 1
cmp dword [0x418920], ebx
jle 0x40510e
push ebx
lea eax, [ebp - 0x24]
push str.FinishMessage
push eax
call fcn.004020a6
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x40510e
mov eax, 0x3e7
cmp dword [0x418920], eax
jle 0x4050d9
mov dword [0x418920], eax
lea ecx, [ebp - 0x118]
call fcn.00405a34
push ebx
push esi
push dword [0x4191f4]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], 0x4142e0
push 0x11
call fcn.00405f3f
lea ecx, [ebp - 0x118]
call fcn.00405a6e
cmp byte [ebp - 9], bl
jne 0x40516d
cmp dword [0x419228], ebx
jne 0x40516d
mov eax, dword [ebp - 0xd4]
sub eax, ebx
je 0x40516d
dec eax
je 0x405151
push ebx
lea eax, [ebp - 0x24]
push str.SelfDelete
push eax
call fcn.004020a6
add esp, 0xc
cmp eax, ebx
je 0x40516d
cmp word [eax], 0x31
jne 0x40516d
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0xc4], esp
jmp 0x40515c
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0xc4], esp
lea eax, [ebp - 0x80]
push eax
call fcn.0040150a
call fcn.00405506
add esp, 0xc
push dword [ebp - 0x44]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp - 0x24], 0x414328
lea ecx, [ebp - 0x24]
call fcn.0040f489
lea ecx, [ebp - 0x24]
call fcn.0040f465
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 0x4051b5
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 0x405207
push 0x10
push str.UApps_PKG
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