Function at 0x4707e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3024
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x3020], 0
jne 0x47081d
cmp dword [ebp + 0x14], 0
jne 0x47081d
mov eax, 1
jmp 0x470b84
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push dword [0x55ba84]
lea eax, [ebp - 0x100c]
push eax
push ebx
call fcn.004207e0
lea ecx, [ebp - 0x100c]
add esp, 0xc
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x470844
mov eax, dword [str.CnCrypt_]
lea edi, [ebp - 0x1810]
mov esi, dword [ebp + 0xc]
sub edi, esi
mov dword [ecx], eax
mov eax, dword [0x52471c]
mov dword [ecx + 4], eax
mov eax, dword [0x524720]
mov dword [ecx + 8], eax
mov eax, dword [0x524724]
mov dword [ecx + 0xc], eax
mov ax, word [0x524728]
mov word [ecx + 0x10], ax
mov ecx, esi
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edi + ecx - 2], ax
test ax, ax
jne 0x470890
cmp dword [ebp + 0x10], 0
je 0x470acb
lea eax, [ebp - 0x100c]
push eax
call fcn.004209e0
add esp, 4
test eax, eax
jne 0x470927
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x3024], eax
lea eax, [ebp - 0x100c]
push eax
call fcn.00414f30
add esp, 4
test eax, eax
jne 0x470927
push dword [ebp - 0x3024]
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push ebx
call fcn.00417c00
add esp, 4
lea eax, [ebp - 0x100c]
push eax
push str.CANT_CREATE_FOLDER
call fcn.004bb8b0
add esp, 4
push eax
lea eax, [ebp - 0x2818]
push eax
call fcn.004054c0
lea eax, [ebp - 0x2818]
push ebx
push eax
call fcn.00419a60
add esp, 0x14
jmp 0x470b78
push 0x519c28
lea eax, [ebp - 0x1810]
push eax
lea eax, [ebp - 0x2014]
push str._s_s
push eax
call fcn.004054c0
push str.CnCrypt.lnk
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x808]
push str._s_s
push eax
call fcn.004054c0
lea eax, [ebp - 0x808]
push eax
push str.ADDING_ICON
push ebx
call fcn.004721e0
push 0
push 0
lea eax, [ebp - 0x808]
push eax
push 0x516968
lea eax, [ebp - 0x1810]
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.004202e0
add esp, 0x44
test eax, eax
jne 0x470b78
push str.CnCrypt_Website.url
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x808]
push str._s_s
push eax
call fcn.004054c0
lea eax, [ebp - 0x808]
push eax
push str.ADDING_ICON
push ebx
call fcn.004721e0
add esp, 0x1c
mov eax, 0x30
call fcn.004e1f60
mov eax, esp
push 3
push 0x18
push str.http:__www.cncrypt.com_
push eax
call fcn.00405530
lea ecx, [ebp - 0x808]
push ecx
push eax
call fcn.00420430
add esp, 8
test eax, eax
je 0x470b78
push 0x519c28
lea eax, [ebp - 0x1810]
push eax
lea eax, [ebp - 0x2014]
push str._s_s
push eax
call fcn.004054c0
push str.Uninstall_CnCrypt.lnk
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x808]
push str._s_s
push eax
call fcn.004054c0
add esp, 0x20
xor ecx, ecx
movzx eax, word [ecx + str.___setup__u]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x301e], ax
test ax, ax
jne 0x470a45
lea eax, [ebp - 0x808]
push eax
push str.ADDING_ICON
push ebx
call fcn.004721e0
push 0
push 0
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x301c]
push eax
lea eax, [ebp - 0x1810]
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.004202e0
add esp, 0x24
test eax, eax
jne 0x470b78
push str.CnCrypt_Users_Guide.lnk
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x808]
push str._s_s
push eax
call fcn.004054c0
add esp, 0x10
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp dword [ebp + 0x14], 0
je 0x470b6e
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [edi + esi - 2], ax
test ax, ax
jne 0x470ad5
push 0x519c28
lea eax, [ebp - 0x1810]
push eax
lea eax, [ebp - 0x2014]
push str._s_s
push eax
call fcn.004054c0
push dword [0x55ba84]
lea eax, [ebp - 0x100c]
push eax
push ebx
call fcn.00420670
push str.CnCrypt.lnk
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x808]
push str._s_s
push eax
call fcn.004054c0
lea eax, [ebp - 0x808]
push eax
push str.ADDING_ICON
push ebx
call fcn.004721e0
push 0
push 0
lea eax, [ebp - 0x808]
push eax
push 0x516968
lea eax, [ebp - 0x1810]
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.004202e0
add esp, 0x50
test eax, eax
jne 0x470b78
mov dword [ebp - 0x3020], 1
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [ebp - 0x3020]
lea esp, [ebp - 0x3030]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret