Function at 0x4053a7
Capabilities:
Accept command line arguments
Check if file exists
Check os version
Encode data using xor
Get file attributes
Log keystrokes via polling
Set current directory

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x31c
push ebx
push esi
push edi
push 0x4046e2
call dword [sym.imp.MSVCRT.dll_int____cdecl___unsigned_int____cdecl__set_new_handler_int____cdecl___unsigned_int__]
pop ecx
call fcn.00402107
lea eax, [ebp - 0x2b4]
push eax
mov dword [ebp - 0x2b4], 0x114
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x406c99
cmp dword [ebp - 0x2a4], 2
jne 0x406c99
cmp dword [ebp - 0x2b0], 5
jb 0x406c99
or dword [ebp - 0x48], 0xffffffff
or dword [ebp - 0x44], 0xffffffff
lea ecx, [ebp + 0x14]
mov byte [str.___InstallEnd__], 0x3b
mov byte [str.___Install__UTF_8_], 0x3b
mov dword [ebp + 0x38], 0x41b8d4
xor esi, esi
mov byte [ebp + 0x66], 0
mov byte [ebp + 0x67], 0
mov byte [ebp + 0x5f], 0
mov byte [ebp + 0x64], 0
call fcn.00410f2d
lea ecx, [ebp - 0x6c]
call fcn.00410f2d
mov dword [ebp + 0x4c], esi
mov dword [ebp + 0x50], esi
mov dword [ebp + 0x54], esi
call fcn.00403f58
push 0x41bcc0
lea ecx, [ebp - 0x60]
call fcn.00411362
mov esi, dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
lea eax, [ebp + 0x14]
push eax
call esi
push eax
call fcn.004042ca
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.004113e9
lea eax, [ebp - 0x60]
push eax
call fcn.004032ec
mov ebx, dword [ebp - 0x60]
pop ecx
push ebx
mov dword [ebp + 0x48], ebx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
xor edi, edi
inc edi
push edi
lea eax, [ebx + eax*2]
push 0x41a6f4
push str.SfxVarModulePlatform
mov dword [ebp - 0x18], eax
call fcn.00403b4f
add esp, 0xc
push edi
call fcn.004027b8
push eax
push str.SfxVarSystemPlatform
call fcn.00403b4f
add esp, 0xc
push edi
call esi
push eax
push str.SfxVarCmdLine0
call fcn.00403b4f
movzx eax, word [0x41e6e4]
add esp, 0xc
push eax
push 0x41bc40
push 0x20
lea ecx, [ebp + 0x14]
call fcn.00403001
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [ebp + 0x14]
push esi
call fcn.00401d03
xor ecx, ecx
mov dword [ebp + 0x18], eax
push edi
mov word [esi + eax*2], cx
push dword [ebp + 0x14]
push str.SfxVarSystemLanguage
call fcn.00403b4f
push str.sfxlang
push ebx
call fcn.004043ac
add esp, 0x24
test eax, eax
je 0x40555c
cmp word [eax], 0x3a
jne 0x40555c
add eax, 2
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
lea ecx, [eax - 1]
cmp ecx, 0xfffe
ja 0x405540
mov word [0x41e6e4], ax
add ebx, 2
cmp word [ebx], 0x20
ja 0x405540
jmp 0x405554
cmp ax, 0x20
ja 0x40555c
add ebx, 2
movzx eax, word [ebx]
test ax, ax
jne 0x40554b
push str.sfxversion
push ebx
call fcn.004043ac
pop ecx
pop ecx
test eax, eax
je 0x40559e
call fcn.0040497f
xor esi, esi
push dword [ebp - 0x60]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp + 0x4c]
call fcn.00405221
push dword [ebp - 0x6c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
mov eax, esi
jmp 0x406cb0
push str.sfxwaitall
push ebx
call fcn.004043ac
pop ecx
pop ecx
test eax, eax
je 0x4055ba
push eax
call fcn.00404dd3
pop ecx
mov esi, eax
jmp 0x405574
push str.sfxelevation
push ebx
mov byte [ebp + 0x65], 0
call fcn.004043ac
pop ecx
pop ecx
test eax, eax
je 0x4055e8
mov byte [ebp + 0x65], 1
jmp 0x4055de
cmp cx, 0x20
ja 0x4055e6
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x4055d5
mov ebx, eax
mov eax, 0x208
push eax
push eax
mov ecx, 0x41e79c
call fcn.00403001
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test eax, eax
jne 0x405617
push 6
push edi
call fcn.00408e03
pop ecx
pop ecx
mov esi, edi
jmp 0x405574
mov esi, dword [0x41e79c]
push esi
call fcn.00401d03
xor ecx, ecx
mov dword [0x41e7a0], eax
mov dword [esp], str.sfxtest
push ebx
mov word [esi + eax*2], cx
call fcn.004043ac
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4057de
cmp word [esi], 0x3a
je 0x405655
push 0x64
pop esi
jmp 0x405574
movzx ecx, word [esi + 2]
mov eax, ecx
or eax, 0x20
sub eax, 0x61
push 2
pop ebx
je 0x40575f
sub eax, ebx
je 0x40574b
dec eax
je 0x4056cd
sub eax, 0xb
je 0x405689
sub eax, 7
jne 0x40564d
mov esi, 0x4f30
jmp 0x405574
cmp word [esi + 4], 0x3a
jne 0x405572
movzx eax, word [esi + 6]
sub eax, 0x31
je 0x405610
dec eax
je 0x4056c3
dec eax
je 0x4056bf
dec eax
je 0x4056b5
dec eax
jne 0x405572
push 7
jmp 0x40564f
mov esi, 0x3ff
jmp 0x405574
push 0x1f
jmp 0x40564f
mov esi, 0x5b7
jmp 0x405574
cmp ecx, 0x44
jne 0x40570e
cmp word [esi + 4], 0x3a
jne 0x40564d
add esi, 6
jmp 0x4056f8
cmp ax, 0x3a
je 0x405700
movzx eax, ax
push eax
mov ecx, 0x41e7e8
call fcn.004011ee
add esi, ebx
movzx eax, word [esi]
cmp eax, 0x20
ja 0x4056e2
cmp dword [0x41e7ec], 0
jne 0x405711
jmp 0x40564d
add esi, 4
and dword [0x41e7e0], 0
cmp word [esi], 0x3a
jne 0x405739
lea eax, [esi + 2]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41e7e0], eax
cmp eax, 0xe10
ja 0x405739
test eax, eax
jne 0x405743
mov dword [0x41e7e0], 0xa
mov dword [0x41e7e4], edi
jmp 0x405769
xor eax, eax
cmp word [esi + 4], 0x63
sete al
add eax, 3
mov dword [0x41e7e4], eax
jmp 0x405769
mov dword [0x41e7e4], ebx
jmp 0x405769
add esi, ebx
cmp word [esi], 0x20
ja 0x405767
jmp 0x405779
cmp ax, 0x20
ja 0x405781
add esi, ebx
movzx eax, word [esi]
test ax, ax
jne 0x405771
push str.sfxconfig
push esi
mov ebx, esi
call fcn.004043ac
pop ecx
pop ecx
test eax, eax
je 0x4057de
cmp word [eax], 0x3a
jne 0x4057a5
jmp 0x4057a2
cmp cx, 0x20
ja 0x4057ad
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x40579c
mov edx, dword [ebp + 0x14]
and dword [ebp + 0x18], 0
xor ecx, ecx
mov word [edx], cx
lea ecx, [ebp + 0x14]
push ecx
push eax
call fcn.004042ca
cmp dword [0x41e7e4], 2
pop ecx
pop ecx
mov ebx, eax
je 0x4057de
lea eax, [ebp + 0x14]
push eax
mov ecx, 0x41e79c
call fcn.00410f79
mov esi, 0x41e79c
push esi
mov ecx, 0x41e760
call fcn.00410f79
mov edi, 0x41e76c
push esi
mov ecx, edi
call fcn.00410f79
push esi
call fcn.004020e4
xor esi, esi
pop ecx
cmp eax, esi
jl 0x40589f
mov ecx, dword [0x41e760]
mov dword [0x41e764], eax
lea esi, [eax + eax]
xor eax, eax
mov word [esi + ecx], ax
mov eax, dword [0x41e79c]
lea eax, [esi + eax + 2]
push eax
mov ecx, edi
call fcn.00411391
mov eax, dword [0x41e79c]
lea eax, [esi + eax + 2]
mov esi, 0x41e784
push eax
mov ecx, esi
call fcn.00411391
push 0x2e
mov ecx, esi
call fcn.00411077
test eax, eax
jle 0x405865
mov edx, dword [0x41e784]
xor ecx, ecx
mov dword [0x41e788], eax
mov word [edx + eax*2], cx
push esi
mov esi, 0x41e778
mov ecx, esi
call fcn.00410f79
push 4
call fcn.004025a3
pop ecx
push eax
mov ecx, esi
call fcn.004113e9
mov eax, dword [0x41e784]
mov ecx, dword [0x41e778]
mov dword [0x41e718], eax
mov dword [0x41e720], ecx
mov dword [0x41e724], eax
xor esi, esi
call fcn.004027b8
push eax
mov ecx, 0x41e790
call fcn.00411391
push 0x28
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
cmp eax, esi
je 0x4058d4
mov dword [eax + 4], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], esi
mov dword [eax], 0x41b9f8
mov edi, eax
mov dword [ebp + 0x58], eax
jmp 0x4058d9
xor edi, edi
mov dword [ebp + 0x58], edi
cmp edi, esi
je 0x4058e3
mov eax, dword [edi]
push edi
call dword [eax + 4]
push dword [0x41e79c]
mov ecx, edi
call fcn.00409491
test al, al
jne 0x405917
push dword [0x41e79c]
push 7
push 1
call fcn.00408e03
add esp, 0xc
cmp edi, esi
je 0x405910
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 2
jmp 0x40564f
lea ecx, [ebp + 0x3c]
call fcn.00410d41
lea eax, [ebp + 0x3c]
push eax
push edi
call fcn.00402dc0
pop ecx
pop ecx
test al, al
jne 0x405953
push 9
push esi
call fcn.00408e03
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x40594c
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 3
jmp 0x40564f
cmp dword [0x41e7e4], esi
jne 0x4059e7
push str.sfxconfig
push ebx
call fcn.004043ac
pop ecx
pop ecx
cmp eax, esi
je 0x4059e7
cmp word [eax], 0x3a
jne 0x405979
add eax, 2
movzx ecx, word [eax]
cmp cx, si
je 0x4059cb
cmp cx, 0x20
ja 0x405992
add eax, 2
movzx ecx, word [eax]
cmp cx, si
jne 0x405981
cmp word [eax], si
je 0x4059cb
lea ecx, [ebp + 0x3c]
push ecx
push eax
call fcn.0040526e
pop ecx
pop ecx
test al, al
jne 0x4059cb
push 0xa
push esi
call fcn.00408e03
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp edi, esi
je 0x4059c4
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 4
jmp 0x40564f
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
cmp edi, esi
je 0x405572
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x405572
lea ecx, [ebp + 0x4c]
call fcn.0040524a
cmp dword [ebp + 0x40], esi
je 0x405a14
push esi
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x3c]
push eax
call fcn.00403c08
add esp, 0xc
test al, al
jne 0x405a14
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x4059ba
cmp dword [0x41e7e4], 4
je 0x4059cb
mov eax, dword [0x41e0a0]
mov esi, 0x41e0a0
jmp 0x405a5e
push eax
lea eax, [ebp - 0xc4]
push str.SfxString_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push dword [esi]
call fcn.004025a3
pop ecx
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.00403b4f
add esp, 0xc
add esi, 0x10
mov eax, dword [esi]
test eax, eax
jne 0x405a29
lea eax, [ebp + 0x4c]
push eax
call fcn.00404422
push 1
push 0x41a650
sub ebx, 2
push str.SfxVarCmdLine2
mov dword [ebp + 0x60], ebx
call fcn.00403b4f
add esp, 0x10
push 0x30
pop edi
cmp word [ebx], 0x20
jbe 0x405aa5
add ebx, 2
cmp word [ebx], 0x20
ja 0x405a8e
jmp 0x405aa2
cmp ax, 0x20
ja 0x405aad
add ebx, 2
mov dword [ebp + 0x60], ebx
movzx eax, word [ebx]
test ax, ax
jne 0x405a99
movzx eax, word [ebx]
cmp eax, 0x2f
je 0x405abe
cmp eax, 0x2d
jne 0x405d3d
lea esi, [ebx + 2]
cmp word [esi], 0x21
je 0x405d31
push 0x41bb84
push esi
call fcn.004040ae
pop ecx
pop ecx
test eax, eax
je 0x405b22
lea ecx, [ebx + 6]
movzx eax, word [ecx]
cmp ax, di
jb 0x405aec
cmp eax, 0x39
jbe 0x405b00
cmp eax, 0x61
jb 0x405af6
cmp eax, 0x7a
jbe 0x405b00
cmp eax, 0x41
jb 0x405b10
cmp eax, 0x5a
ja 0x405b10
mov dword [ebp + 0x38], ecx
mov byte [ebp + 0x66], 1
mov byte [ebp + 0x67], 1
jmp 0x405a88
cmp eax, 0x20
ja 0x405d3d
mov dword [ebp + 0x38], 0x41b8d4
jmp 0x405b03
push 0x41bb7c
push esi
call fcn.004040ae
pop ecx
pop ecx
test eax, eax
je 0x405b45
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebx + 6]
push eax
push str.OverwriteMode
jmp 0x405c88
push 0x41bb74
push esi
call fcn.004040ae
pop ecx
pop ecx
test eax, eax
je 0x405b88
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, di
jb 0x405d3d
cmp ecx, 0x32
ja 0x405d3d
cmp word [ebx + 8], 0x20
ja 0x405d3d
lea ecx, [ebp + 0x4c]
push ecx
push eax
push str.GUIMode
jmp 0x405c88
push 0x41bb6c
push esi
call fcn.004040ae
pop ecx
pop ecx
test eax, eax
je 0x405bab
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebx + 6]
push eax
push str.GUIFlags
jmp 0x405c88
push 0x41bb64
push esi
call fcn.004040ae
pop ecx
pop ecx
test eax, eax
je 0x405bce
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebx + 6]
push eax
push str.MiscFlags
jmp 0x405c88
push 0x41bb5c
push esi
call fcn.004040ae
pop ecx
pop ecx
test eax, eax
je 0x405c0a
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, di
je 0x405bf3
cmp ecx, 0x31
jne 0x405d3d
cmp word [ebx + 8], 0x20
ja 0x405d3d
lea ecx, [ebp + 0x4c]
push ecx
push eax
push str.SelfDelete
jmp 0x405c88
push 0x41bb54
push esi
call fcn.004040ae
pop ecx
pop ecx
test eax, eax
je 0x405c2f
cmp word [ebx + 6], 0x20
ja 0x405d3d
mov byte [ebp + 0x5f], 1
jmp 0x405a88
push 0x41bb4c
push esi
call fcn.004040ae
pop ecx
pop ecx
test eax, eax
je 0x405c6a
lea eax, [ebx + 6]
movzx ecx, word [eax]
cmp cx, di
jb 0x405d3d
cmp ecx, 0x39
ja 0x405d3d
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41e3a0], eax
jmp 0x405a88
push 0x41bb44
push esi
call fcn.004040ae
pop ecx
pop ecx
test eax, eax
je 0x405c95
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebx + 8]
push eax
push str.BeginPromptTimeout
call fcn.0040480f
add esp, 0xc
jmp 0x405a88
movzx eax, word [esi]
cmp eax, 0x70
je 0x405cfe
cmp eax, 0x50
je 0x405cfe
cmp eax, 0x79
je 0x405cac
cmp eax, 0x59
jne 0x405cbc
cmp word [ebx + 4], 0x20
ja 0x405cbc
mov byte [ebp + 0x66], 1
jmp 0x405a88
cmp eax, 0x3f
je 0x405ccb
cmp eax, 0x68
je 0x405ccb
cmp eax, 0x48
jne 0x405cdb
cmp word [ebx + 4], 0x20
ja 0x405cdb
mov byte [ebp + 0x64], 1
jmp 0x405a88
lea eax, [ebp + 0x4c]
push eax
push esi
call fcn.00404715
pop ecx
pop ecx
test eax, eax
je 0x405d3d
cmp eax, 1
je 0x405d95
mov ebx, eax
mov dword [ebp + 0x60], ebx
jmp 0x405a88
lea ecx, [ebp - 0x54]
call fcn.00410f2d
lea eax, [ebp - 0x54]
push eax
add ebx, 4
push ebx
call fcn.004042ca
push dword [ebp - 0x54]
lea ebx, [eax - 2]
mov dword [ebp + 0x60], ebx
call fcn.004010e5
push dword [ebp - 0x54]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
jmp 0x405a88
mov esi, ebx
add ebx, 4
mov dword [ebp + 0x60], ebx
test esi, esi
jne 0x405d3f
mov esi, ebx
cmp dword [ebp + 0x48], esi
je 0x405db2
push dword [ebp + 0x48]
lea ecx, [ebp + 8]
call fcn.00411362
sub esi, dword [ebp + 0x48]
lea eax, [ebp + 8]
push eax
sar esi, 1
push esi
lea ecx, [ebp - 0x10]
call fcn.00410eb5
push dword [ebp - 0x10]
lea ecx, [ebp + 0x14]
call fcn.00411391
push dword [ebp - 0x10]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
lea ecx, [ebp + 0x14]
call fcn.004110a3
lea ecx, [ebp + 0x14]
call fcn.00411424
push 1
push dword [ebp + 0x14]
jmp 0x405db9
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x58]
pop ecx
test eax, eax
je 0x405dab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x20
jmp 0x40564f
push 1
push 0x41a650
push str.SfxVarCmdLine1
call fcn.00403b4f
add esp, 0xc
push ebx
lea ecx, [ebp + 8]
call fcn.00411362
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 0x18]
sub eax, ebx
sar eax, 1
push eax
lea ecx, [ebp - 0x10]
call fcn.00410eb5
push dword [ebp - 0x10]
lea ecx, [ebp + 0x14]
call fcn.00411391
push dword [ebp - 0x10]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
lea ecx, [ebp + 0x14]
call fcn.004110a3
lea ecx, [ebp + 0x14]
call fcn.00411424
push 1
push dword [ebp + 0x14]
push str.SfxVarCmdLine2
call fcn.00403b4f
lea eax, [ebp + 0x4c]
push eax
call fcn.00404422
add esp, 0x10
cmp byte [ebp + 0x65], 0
jne 0x405f99
test byte [0x41e734], 4
je 0x405f99
call fcn.0040285a
test eax, eax
jne 0x405f99
lea ecx, [ebp + 8]
call fcn.00410f2d
lea ecx, [ebp - 0x54]
call fcn.00410f2d
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
call fcn.004042ca
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00411362
push str.sfxelevation
push 0x41b950
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x20]
push 0x41b8c8
push eax
call fcn.0041133d
add esp, 0xc
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00411318
add esp, 0xc
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00411318
add esp, 0xc
push 0x20
push eax
lea ecx, [ebp - 4]
call fcn.004112b4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004112f8
add esp, 0xc
push dword [eax]
lea ecx, [ebp - 0x54]
call fcn.00411391
push dword [ebp - 0x40]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 4]
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 - 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x20]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x14
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_SetProcessWorkingSetSize]
xor esi, esi
push esi
push 2
push dword [ebp - 0x54]
call fcn.00404a70
add esp, 0xc
push dword [ebp - 0x10]
test eax, eax
jne 0x405f63
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x54]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x58]
add esp, 0x10
cmp eax, esi
je 0x405f5c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xb
jmp 0x40564f
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x54]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x58]
add esp, 0x10
cmp eax, esi
je 0x405574
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405574
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
mov edi, str.SetEnvironment
lea eax, [ebp + 0x4c]
push edi
push eax
call fcn.004033ff
add esp, 0xc
jmp 0x406006
push esi
lea ecx, [ebp - 4]
call fcn.00411362
push 0x3d
push dword [ebp - 4]
call fcn.00410bdc
pop ecx
pop ecx
test eax, eax
jle 0x40600e
mov edx, dword [ebp - 4]
mov dword [ebp], eax
add eax, eax
xor ecx, ecx
mov word [eax + edx], cx
push ecx
lea eax, [eax + esi + 2]
push eax
push dword [ebp - 4]
call fcn.00403b4f
push dword [ebp - 4]
inc dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x4c]
push edi
push eax
call fcn.004033ff
add esp, 0x1c
mov esi, eax
test esi, esi
jne 0x405fb5
jmp 0x406017
push dword [ebp - 4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
call fcn.00404ee2
xor edi, edi
cmp dword [0x41e394], 0xffffffff
jne 0x40602d
mov dword [0x41e394], edi
cmp byte [ebp + 0x64], 0
je 0x4060b7
push edi
lea eax, [ebp + 0x4c]
push str.HelpText
push eax
call fcn.004033ff
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x406059
push 0x18
call fcn.004025a3
pop ecx
mov esi, eax
lea ecx, [ebp - 0xc0]
call fcn.0040796c
push edi
push esi
push dword [0x41e718]
lea ecx, [ebp - 0xc0]
push 0x11
mov dword [ebp - 0xc0], 0x41b77c
mov dword [ebp - 0x88], 0x7d6
call fcn.00407bc7
lea ecx, [ebp - 0xc0]
call fcn.004079cd
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x58]
pop ecx
cmp eax, edi
je 0x405572
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x405572
cmp byte [ebp + 0x66], 0
je 0x4060c7
and dword [0x41e394], 0xfffffeff
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push edi
lea eax, [ebp + 0x4c]
push str.SfxAuthor
push eax
call fcn.004033ff
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4061d3
lea eax, [ebp - 0x1a0]
push eax
call fcn.0040a7b0
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, eax
push eax
lea eax, [ebp - 0x1a0]
push esi
push eax
call fcn.0040aa10
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.0040ace0
add esp, 0x14
push 8
pop ecx
mov esi, str.123456789ABCDEFGHJKMNPQRSTUVWXYZ
lea edi, [ebp - 0x138]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov edx, dword [ebp + ecx*4 - 0x104]
lea eax, [ebp + ecx*4 - 0x114]
xor dword [eax], edx
inc ecx
cmp ecx, 4
jl 0x406137
xor edi, edi
xor ebx, ebx
mov eax, ebx
cdq
and edx, 7
add eax, edx
sar eax, 3
movzx esi, byte [ebp + eax - 0x114]
mov ecx, ebx
and ecx, 0x80000007
jns 0x406173
dec ecx
or ecx, 0xfffffff8
inc ecx
shr esi, cl
and esi, 0x1f
test ebx, ebx
je 0x406194
mov eax, ebx
push 0x19
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x406194
push 0x2d
pop eax
mov word [ebp + edi*2 - 0xac], ax
inc edi
movsx ax, byte [ebp + esi - 0x138]
mov word [ebp + edi*2 - 0xac], ax
add ebx, 5
inc edi
cmp ebx, 0x7d
jl 0x406151
xor eax, eax
mov word [ebp + edi*2 - 0xac], ax
lea eax, [ebp - 0xac]
push eax
mov ecx, 0x41e6d4
call fcn.00411391
mov ebx, dword [ebp + 0x60]
mov byte [0x41e6d0], 1
xor esi, esi
push esi
lea eax, [ebp + 0x4c]
push str.InstallPath
push eax
call fcn.004033ff
add esp, 0xc
mov edi, 0x41e754
cmp eax, esi
je 0x4061f8
push eax
mov ecx, edi
call fcn.00411391
push edi
call fcn.00404057
push esi
lea eax, [ebp + 0x4c]
push str.BeginPromptTimeout
push eax
call fcn.004033ff
add esp, 0x10
cmp eax, esi
je 0x406221
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41e740], eax
cmp dword [0x41e7ec], esi
je 0x406248
lea eax, [ebp + 0x4c]
push eax
call fcn.0040960b
push dword [ebp + 0x3c]
mov esi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x58]
pop ecx
pop ecx
test eax, eax
jmp 0x405f88
cmp dword [0x41e7e4], 3
jne 0x40625c
lea eax, [ebp + 0x4c]
push eax
call fcn.0040950e
jmp 0x406232
test byte [0x41e734], 8
mov esi, dword [ebp + 0x58]
jne 0x406297
push esi
call fcn.004016d1
pop ecx
test eax, eax
jne 0x406297
push 8
push eax
call fcn.00408e03
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
test esi, esi
je 0x406290
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 5
jmp 0x40564f
push 0
lea eax, [ebp + 0x4c]
push 0x41b804
push eax
call fcn.004033ff
add esp, 0xc
test eax, eax
je 0x4062f7
cmp byte [ebp + 0x66], 0
jne 0x4062f7
push eax
push dword [0x41e718]
call fcn.00408b95
pop ecx
pop ecx
test eax, eax
je 0x406428
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4062e4
mov byte [ebp + 0x66], 1
mov byte [ebp + 0x67], 1
cmp dword [0x41e7cc], 0
je 0x4062f7
and dword [0x41e394], 0xffffff7f
lea ecx, [ebp + 0x2c]
call fcn.00410f2d
cmp byte [ebp + 0x67], 0
je 0x40637d
mov esi, dword [ebp + 0x38]
push str.AutoInstall
lea ecx, [ebp + 0x2c]
call fcn.00411391
movzx eax, word [esi]
push eax
lea ecx, [ebp + 0x2c]
call fcn.004011ee
push 0
push dword [ebp + 0x2c]
lea eax, [ebp + 0x4c]
push eax
call fcn.004033ff
add esp, 0xc
test eax, eax
je 0x406436
add esi, 2
movzx eax, word [esi]
cmp eax, 0x30
jb 0x40634a
cmp eax, 0x39
jbe 0x406308
cmp eax, 0x61
jb 0x406354
cmp eax, 0x7a
jbe 0x406308
cmp eax, 0x41
jb 0x40635e
cmp eax, 0x5a
jbe 0x406308
push str.AutoInstall
lea ecx, [ebp + 0x2c]
call fcn.00411391
mov eax, dword [ebp + 0x38]
movzx eax, word [eax]
push eax
lea ecx, [ebp + 0x2c]
call fcn.004011ee
mov esi, dword [ebp + 0x58]
cmp dword [ebp + 0x30], 0
mov byte [ebp + 0x65], 0
jne 0x4063d9
push 0
lea eax, [ebp + 0x4c]
push str.ExecuteFile
push eax
call fcn.004033ff
add esp, 0xc
test eax, eax
je 0x4063af
push str.ExecuteFile
lea ecx, [ebp + 0x2c]
call fcn.00411391
mov byte [ebp + 0x65], 1
cmp dword [ebp + 0x30], 0
jne 0x4063d9
push 0
lea eax, [ebp + 0x4c]
push str.RunProgram
push eax
call fcn.004033ff
add esp, 0xc
test eax, eax
je 0x4063d9
push str.RunProgram
lea ecx, [ebp + 0x2c]
call fcn.00411391
cmp byte [ebp + 0x67], 0
jne 0x406479
cmp byte [ebp + 0x66], 0
jne 0x406479
mov eax, dword [0x41e394]
and eax, 0xc0
cmp al, 0x80
jne 0x406479
push dword [0x41e70c]
push dword [0x41e710]
call fcn.00408c30
pop ecx
pop ecx
test eax, eax
jne 0x406479
push dword [ebp + 0x2c]
cmp byte [0x41e744], al
je 0x406469
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406297
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406286
push dword [ebp + 0x2c]
push 0xe
push 0
call fcn.00408e03
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x58]
add esp, 0x14
test eax, eax
je 0x406462
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 6
jmp 0x40564f
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406430
cmp dword [0x41e758], 0
jne 0x4064ab
lea eax, [ebp - 0x10]
push str.7ZipSfx._03x
push eax
call fcn.00404e30
pop ecx
pop ecx
push eax
mov ecx, edi
call fcn.00410f79
push dword [ebp - 0x10]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov byte [0x41e6fc], 0
jmp 0x4064de
push edi
lea ecx, [ebp + 8]
call fcn.00410f51
lea eax, [ebp + 8]
push eax
call fcn.00404057
cmp dword [ebp + 0xc], 0
pop ecx
je 0x4064cf
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.00410f79
push dword [ebp + 8]
mov byte [0x41e6fc], 1
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [0x41e754]
pop ecx
mov ecx, dword [0x41e758]
movzx edx, word [eax + ecx*2 - 2]
cmp edx, 0x5c
je 0x4064f9
cmp edx, 0x2f
jne 0x40650b
dec ecx
xor edx, edx
mov dword [0x41e758], ecx
mov word [eax + ecx*2], dx
mov eax, dword [0x41e754]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
cmp byte [ebp + 0x66], 0
je 0x40651f
or dword [0x41e734], 3
cmp dword [0x41e7e0], 0
jne 0x406533
push edi
push esi
call fcn.00401bdc
pop ecx
pop ecx
jmp 0x406541
call fcn.00408c7f
test eax, eax
jne 0x40656d
mov eax, 0x80004005
test eax, eax
je 0x40656d
call fcn.004046cc
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
test esi, esi
je 0x406566
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 8
jmp 0x40564f
call fcn.00404ee2
cmp byte [ebp + 0x5f], 0
je 0x406585
cmp byte [0x41e6fc], 0
jne 0x406b83
and dword [ebp + 0x48], 0
lea ecx, [ebp - 4]
call fcn.00410f2d
cmp byte [ebp + 0x67], 0
jne 0x4065a6
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x4c]
push eax
call fcn.00404276
pop ecx
pop ecx
mov eax, dword [ebp + 0x38]
mov byte [ebp + 0x67], 0
mov dword [ebp - 0x18], eax
xor esi, esi
lea ecx, [ebp + 0x20]
mov dword [ebp - 0x28], esi
mov byte [ebp + 0x64], 0
call fcn.00410f2d
lea ecx, [ebp - 0x24]
call fcn.00410f2d
mov dword [ebp + 0x60], esi
cmp dword [ebp + 0x30], esi
jne 0x406676
cmp byte [0x41e6fc], 0
jne 0x406a2b
mov esi, str.setup.exe
push esi
push 0x41a790
lea eax, [ebp - 0xf4]
push edi
push eax
call fcn.00411318
add esp, 0xc
push eax
lea eax, [ebp + 8]
push eax
call fcn.00411318
add esp, 0xc
push dword [eax]
lea ecx, [ebp + 0x20]
call fcn.00411391
push dword [ebp + 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xf4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x406a42
mov byte [ebp + 0x67], 1
push esi
lea ecx, [ebp - 0x24]
call fcn.00411391
lea eax, [ebp - 0x24]
push eax
call fcn.0040408b
mov esi, dword [ebp - 0x24]
pop ecx
xor edi, edi
push edi
push str.waitall
push esi
call fcn.004040e8
add esp, 0xc
cmp eax, edi
je 0x4066f5
mov esi, eax
mov byte [ebp + 0x64], 1
jmp 0x406655
lea eax, [ebp + 0x48]
push eax
push dword [ebp + 0x2c]
lea eax, [ebp + 0x4c]
push eax
call fcn.004033ff
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x40663f
mov esi, dword [ebp - 0x18]
add esi, 2
movzx eax, word [esi]
mov dword [ebp - 0x18], esi
cmp eax, 0x30
jb 0x4066a5
cmp eax, 0x39
jbe 0x4066c1
cmp eax, 0x61
jb 0x4066af
cmp eax, 0x7a
jbe 0x4066c1
cmp eax, 0x41
jb 0x406a2b
cmp eax, 0x5a
ja 0x406a2b
push str.AutoInstall
lea ecx, [ebp + 0x2c]
call fcn.00411391
movzx eax, word [esi]
push eax
lea ecx, [ebp + 0x2c]
call fcn.004011ee
push dword [ebp - 0x24]
and dword [ebp + 0x48], 0
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x20]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
jmp 0x4065b0
push edi
push str.hidcon
push esi
call fcn.004040e8
add esp, 0xc
cmp eax, edi
je 0x406713
or dword [ebp + 0x60], 1
mov esi, eax
jmp 0x406655
push edi
push str.nowait
push esi
call fcn.004040e8
add esp, 0xc
cmp eax, edi
je 0x406737
cmp byte [0x41e6fc], 0
mov esi, eax
je 0x406655
jmp 0x40674c
push edi
push str.forcenowait
push esi
call fcn.004040e8
add esp, 0xc
cmp eax, edi
je 0x406758
mov esi, eax
or dword [ebp + 0x60], 0x10000
jmp 0x406655
push 2
push 0x41bb4c
push esi
call fcn.004040e8
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40678e
cmp dword [0x41e3a0], 0xffffffff
jne 0x406787
add esi, 4
push esi
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41e3a0], eax
mov esi, edi
jmp 0x406655
push 3
push 0x41ba6c
push esi
call fcn.004040e8
xor edi, edi
add esp, 0xc
cmp eax, edi
je 0x4067b0
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x48], ecx
jmp 0x4067ce
push 3
push 0x41ba64
push esi
call fcn.004040e8
add esp, 0xc
cmp eax, edi
je 0x4067d5
movzx ecx, word [esi + 6]
sub ecx, 0x30
mov dword [ebp - 0x44], ecx
mov esi, eax
jmp 0x406655
push edi
push 0x41a6f4
push esi
call fcn.004040e8
add esp, 0xc
cmp eax, edi
jne 0x40682f
push edi
push str.i386
push esi
call fcn.004040e8
add esp, 0xc
cmp eax, edi
jne 0x40682f
push edi
push str.amd64
push esi
call fcn.004040e8
add esp, 0xc
cmp eax, edi
jne 0x406821
push edi
push 0x41a6ec
push esi
call fcn.004040e8
add esp, 0xc
cmp eax, edi
je 0x40683d
mov esi, eax
mov dword [ebp - 0x28], 2
jmp 0x406655
mov esi, eax
mov dword [ebp - 0x28], 1
jmp 0x406655
cmp byte [ebp + 0x65], 0
lea ecx, [ebp + 0x20]
je 0x40689b
cmp word [esi], 0x22
je 0x40686e
push 0x41b8c8
call fcn.00411391
push esi
lea ecx, [ebp + 0x20]
call fcn.004113e9
push 0x41b8c8
lea ecx, [ebp + 0x20]
call fcn.004113e9
jmp 0x406874
push esi
call fcn.00411391
push edi
lea eax, [ebp + 0x4c]
push str.ExecuteParameters
push eax
call fcn.004033ff
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4068ad
push 0x41bcc0
lea ecx, [ebp + 0x20]
call fcn.004113e9
jmp 0x4068a4
lea eax, [ebp - 4]
push eax
call fcn.00410f79
push esi
lea ecx, [ebp + 0x20]
call fcn.004113e9
lea ecx, [ebp - 0x40]
call fcn.00410f2d
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 0x20]
call fcn.004042ca
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00411362
lea eax, [ebp - 0x40]
push eax
call fcn.0040408b
pop ecx
cmp dword [0x41e7e4], edi
jne 0x4069dc
push dword [ebp - 0x28]
call fcn.00402829
pop ecx
test eax, eax
je 0x4069dc
cmp word [ebx], di
je 0x40690b
push ebx
lea ecx, [ebp - 0x34]
call fcn.004113e9
jmp 0x406906
add ebx, 2
cmp word [ebx], di
jne 0x406903
lea eax, [ebp - 0x34]
push eax
call fcn.0040408b
cmp byte [ebp + 0x64], 0
pop ecx
jne 0x4069be
push dword [0x41e754]
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
lea eax, [ebp - 0x34]
push eax
push 0x41b948
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xdc]
push 0x41b8c8
push eax
call fcn.0041133d
add esp, 0xc
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00411318
add esp, 0xc
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.004112f8
add esp, 0xc
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.00411362
push dword [ebp - 0xe8]
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 - 0xdc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [0x41e754]
push dword [ebp + 0x60]
push dword [ebp - 0x10]
call fcn.00404a70
add esp, 0x18
push dword [ebp - 0x10]
test eax, eax
je 0x406a91
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x4069d7
push dword [ebp + 0x60]
push dword [ebp - 0x34]
push dword [ebp - 0x40]
call fcn.00404b6a
add esp, 0xc
cmp eax, edi
jne 0x406a99
call fcn.004027cd
cmp byte [ebp + 0x65], 0
jne 0x406b00
cmp byte [ebp + 0x67], 0
jne 0x406b00
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ebp], edi
mov word [ecx], ax
push dword [ebp - 0x34]
inc dword [ebp + 0x48]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x40]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x20]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
mov edi, 0x41e754
jmp 0x4065b0
push dword [ebp - 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x20]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
jmp 0x406b23
call fcn.004046cc
push 0xf
push 0
call fcn.00408e03
push dword [ebp - 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x20]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x58]
add esp, 0x1c
test eax, eax
je 0x4056b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4056b1
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x406aa0
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push dword [ebp + 0x20]
push 0x10
push 1
call fcn.00408e03
call fcn.004046cc
push dword [ebp - 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x40]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x20]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x58]
add esp, 0x28
cmp eax, edi
je 0x406af9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 9
jmp 0x40564f
push dword [ebp - 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x40]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x20]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
cmp dword [0x41e7e4], 0
jne 0x406b7a
call fcn.00404ee2
push dword [ebp - 0x48]
lea eax, [ebp + 0x4c]
push dword [ebp + 0x38]
push str.Shortcut
push eax
push 0x404f39
call fcn.0040489c
add esp, 0x14
push dword [0x41e760]
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
push dword [ebp - 0x44]
lea eax, [ebp + 0x4c]
push dword [ebp + 0x38]
push str.Delete
push eax
push 0x40486d
call fcn.0040489c
add esp, 0x14
call fcn.004046cc
push dword [ebp - 4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [0x41e3a0], 0xffffffff
jne 0x406b9c
cmp byte [ebp + 0x66], 0
jne 0x406c10
mov dword [0x41e3a0], 1
cmp dword [0x41e3a0], 0
jle 0x406c10
push 0
lea eax, [ebp + 0x4c]
push str.FinishMessage
push eax
call fcn.004033ff
mov esi, eax
add esp, 0xc
test esi, esi
je 0x406c10
mov eax, 0x3e7
cmp dword [0x41e3a0], eax
jle 0x406bd0
mov dword [0x41e3a0], eax
lea ecx, [ebp - 0xbc]
call fcn.0040796c
push 0
push esi
push dword [0x41e718]
lea ecx, [ebp - 0xbc]
push 0x11
mov dword [ebp - 0xbc], 0x41b7d4
mov dword [ebp - 0x84], 0x7d5
call fcn.00407bc7
lea ecx, [ebp - 0xbc]
call fcn.004079cd
cmp byte [ebp + 0x5f], 0
jne 0x406c53
cmp dword [0x41e7e4], 0
jne 0x406c53
push 0
lea eax, [ebp + 0x4c]
push str.SelfDelete
push eax
call fcn.004033ff
add esp, 0xc
test eax, eax
je 0x406c53
cmp word [eax], 0x31
jne 0x406c53
sub esp, 0xc
mov ecx, esp
push 0x41e79c
call fcn.00410f51
call fcn.00405016
add esp, 0xc
push dword [ebp + 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x3c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x58]
pop ecx
pop ecx
test eax, eax
je 0x406c72
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x60]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp + 0x4c]
call fcn.00405221
push dword [ebp - 0x6c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
xor eax, eax
jmp 0x406cb0
push 0x10
push 0x41b7c8
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
add ebp, 0x68
leave
ret 0x10