Function at 0x414360
Capabilities:
Check if file exists
Check internet connectivity via wininet
Delete file

Disassembly:
sub esp, 0x14
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov ebx, str.whitelist.rec
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ebp
call fcn.0040c0f0
mov byte [esp + 0x13], 0
call fcn.0040c0f0
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4143a3
push str.Not_enough_memory._r_n
call fcn.0040a210
add esp, 4
jmp 0x414605
mov ecx, eax
call fcn.00406fa0
test al, al
jne 0x4143d2
push str.Prepare_to_refresh_server_whitelist_entries._r_n
call fcn.0040a210
add esp, 4
mov edi, 0x49f4a8
mov byte [esp + 0x13], 1
call fcn.00415bd0
mov edi, eax
mov dword [esp + 0x18], edi
jmp 0x4143e2
mov edi, str.whitelistmissing.txt
call fcn.00415bd0
mov dword [esp + 0x18], eax
mov edi, eax
test edi, edi
je 0x414605
mov ebx, edi
call fcn.0040c3a0
mov ebp, eax
test ebp, ebp
je 0x414605
call fcn.00418550
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x414437
push ebp
push str._Unable_to_convert_new_hashes_to_file:___S_.
push esi
call fcn.0040a310
add esp, 0xc
push str.Submit_new_hashes_failed.
push esi
mov esi, 0x4b1d24
call fcn.00413810
add esp, 8
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040a8c0
push ebp
call fcn.00407520
add esp, 4
or eax, edx
jne 0x4144a4
push str.No_new_hash._r_n
call fcn.0040a210
add esp, 4
push str.No_new_hash.
mov esi, 0x4b1d24
call fcn.00413780
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x414486
push ebp
push str.Delete:__s_r_n
call fcn.0040a210
add esp, 8
jmp 0x414605
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
cmp eax, 2
je 0x414605
push ebp
push str._Unable_to_delete:__s
jmp 0x4145fc
push str.Checking_internet_connection...
mov esi, 0x4b1d24
call fcn.00413780
add esp, 4
push 0
push 1
push str.http:__uav.secureaplus.com
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
je 0x4144d8
push str.Internet_connection_is_available._r_n
call fcn.0040a210
add esp, 4
jmp 0x4144f4
push str.Unable_to_connect_to_Universal_AV_server.
mov esi, 0x4b1d24
call fcn.00413780
add esp, 4
mov ebx, 0x1388
call fcn.00409b80
push str.Uploading_new_hashes...
mov esi, 0x4b1d24
call fcn.00413780
add esp, 4
push 1
mov edx, 0x49fcc8
mov ebx, edi
call fcn.00412a10
add esp, 4
test al, al
je 0x41452d
push 0
mov esi, ebp
call fcn.00417540
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x414565
cmp byte [esp + 0x13], 0
je 0x41455a
call fcn.004159d0
test eax, eax
jne 0x41454c
push str.Refresh_server_whitelist_entries._r_n
call fcn.0040a210
add esp, 4
jmp 0x41455a
push str._Refresh_server_whitelist_entries_failed.
push eax
call fcn.0040a310
add esp, 8
mov esi, ebp
call fcn.00417420
mov dword [esp + 0x14], eax
push ebp
test eax, eax
jne 0x4145f7
push str.New_hashes_have_been_successfully_uploaded_to_the_internet._File:___s_._r_n
call fcn.0040a210
add esp, 8
mov eax, ebp
call fcn.00406d10
mov edi, eax
call fcn.0040c1c0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414590
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, edi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4145a6
sub eax, esi
sar eax, 1
lea ebx, [eax + edx + 2]
lea ecx, [ebx + ebx]
push ecx
call fcn.0047a780
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x4145df
push ebp
push str._Not_enough_memory._Unable_to_move_the_following_file:__s._r_n
call fcn.0040a210
add esp, 8
jmp 0x414605
push edi
call fcn.0040c1c0
push eax
push 0x49d768
push ebx
push esi
call fcn.0047a84a
add esp, 0x14
jmp 0x414605
push str._Upload_new_hashes_failed._File:___s_.
push eax
call fcn.0040a310
add esp, 0xc
call fcn.0040a8c0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x414658
test ebp, ebp
je 0x414651
mov ecx, ebp
call fcn.00406fa0
test al, al
je 0x414651
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x414643
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
push str.Unable_to_delete__s
push eax
call fcn.0040a310
add esp, 0xc
jmp 0x414651
push ebp
push str.Deleted:__s_r_n
call fcn.0040a210
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x414669
push eax
call fcn.0047a868
add esp, 4
test ebp, ebp
je 0x414676
push ebp
call fcn.0047a868
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x414687
push eax
call fcn.0047a868
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x414698
push eax
call fcn.0047a868
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret