Function at 0x408730
Capabilities:
Create directory
Delete file
Get common file path
Get file size
Read .ini file

Disassembly:
mov eax, 0x2984
call fcn.00447e10
mov eax, dword [0x491050]
xor eax, esp
mov dword [esp + 0x297c], eax
mov edx, dword [0x488dd8]
mov eax, dword [str.c:zvSndLogszvmon]
mov ecx, dword [0x488dd4]
push ebx
push ebp
push esi
push edi
push 0x1f4
mov dword [esp + 0x174], edx
mov dword [esp + 0x16c], eax
mov eax, dword [0x488ddc]
mov dword [esp + 0x170], ecx
mov ecx, dword [0x488de0]
lea edx, [esp + 0x180]
push 0
push edx
mov dword [esp + 0x180], eax
mov dword [esp + 0x184], ecx
call fcn.00444930
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.00413390
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push str.c:zvSndLogs
call esi
push 0
push str.c:zvSndLogszvmon
call esi
push 0
push str.c:zvSndLogsApConAc
call esi
push 0
push 0x23
lea eax, [esp + 0x788]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push str.Net_ProtectorZVMON
lea ecx, [esp + 0x784]
push 0x208
push ecx
call fcn.0043e110
add esp, 0xc
mov ecx, str.c:zvSndLogszvmon
call fcn.00408f30
push 0x4878c0
lea edx, [esp + 0x18]
push str.c:zvDPREP.log
push edx
call fcn.0043ec90
add esp, 0xc
test eax, eax
jne 0x40884a
mov eax, dword [esp + 0x14]
push eax
push str.Deleting_logs_in_SndLogs_zvmon_folder
call fcn.0043ed30
mov ecx, dword [esp + 0x1c]
push ecx
push 0x4878d4
call fcn.0043ed30
mov edx, dword [esp + 0x24]
push edx
call fcn.0043efd0
add esp, 0x14
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.c:zvSndLogszvmon.zip
call esi
push 0x4878c0
lea eax, [esp + 0x18]
push str.c:zvDPREP.log
push eax
call fcn.0043ec90
add esp, 0xc
test eax, eax
jne 0x40889d
mov ecx, dword [esp + 0x14]
push ecx
push str._tDeleting_zip_files_zvmon.zip
call fcn.0043ed30
mov edx, dword [esp + 0x1c]
push edx
push 0x4878d4
call fcn.0043ed30
mov eax, dword [esp + 0x24]
push eax
call fcn.0043efd0
add esp, 0x14
push 0x4878c0
lea ecx, [esp + 0x18]
push str.c:zvDPREP.log
push ecx
call fcn.0043ec90
add esp, 0xc
test eax, eax
jne 0x4088e3
mov edx, dword [esp + 0x14]
push edx
push str._tEnumerating_last__2_days_modified_logs_for_zvmon
call fcn.0043ed30
mov eax, dword [esp + 0x1c]
push eax
push 0x4878d4
call fcn.0043ed30
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0043efd0
add esp, 0x14
lea ecx, [esp + 0x780]
call fcn.00409080
mov ecx, str.c:zvSndLogsApConAc
call fcn.00408f30
push 0x4878c0
lea edx, [esp + 0x18]
push str.c:zvDPREP.log
push edx
call fcn.0043ec90
add esp, 0xc
test eax, eax
jne 0x40893f
mov eax, dword [esp + 0x14]
push eax
push str._tDeleting_logs_in_SndLogs_ApConAc_folder
call fcn.0043ed30
mov ecx, dword [esp + 0x1c]
push ecx
push 0x4878d4
call fcn.0043ed30
mov edx, dword [esp + 0x24]
push edx
call fcn.0043efd0
add esp, 0x14
push str.c:zvSndLogsApConAc.zip
call esi
push 0x4878c0
lea eax, [esp + 0x18]
push str.c:zvDPREP.log
push eax
call fcn.0043ec90
add esp, 0xc
test eax, eax
jne 0x40898c
mov ecx, dword [esp + 0x14]
push ecx
push str._tDeleting_zip_files_ApConAc.zip
call fcn.0043ed30
mov edx, dword [esp + 0x1c]
push edx
push 0x4878d4
call fcn.0043ed30
mov eax, dword [esp + 0x24]
push eax
call fcn.0043efd0
add esp, 0x14
push 0x4878c0
lea ecx, [esp + 0x18]
push str.c:zvDPREP.log
push ecx
call fcn.0043ec90
add esp, 0xc
test eax, eax
jne 0x4089d2
mov edx, dword [esp + 0x14]
push edx
push str._tEnumerating_last__2_days_modified_logs_for_ApConAc
call fcn.0043ed30
mov eax, dword [esp + 0x1c]
push eax
push 0x4878d4
call fcn.0043ed30
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0043efd0
add esp, 0x14
mov ecx, str.C:zvApConAc
call fcn.00409080
push 0x4953a8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4956c8], eax
test eax, eax
jne 0x408a40
push 0x4878c0
lea edx, [esp + 0x18]
push str.c:zvDPREP.log
push edx
call fcn.0043ec90
add esp, 0xc
test eax, eax
jne 0x408a36
mov eax, dword [esp + 0x14]
push eax
push str._nzip.dll_Loading_Failed___
call fcn.0043ed30
mov ecx, dword [esp + 0x1c]
push ecx
push 0x4878d4
call fcn.0043ed30
mov edx, dword [esp + 0x24]
push edx
call fcn.0043efd0
add esp, 0x14
mov eax, 1
jmp 0x408d93
push str.zipFolder
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4956d0], eax
test eax, eax
jne 0x408a78
push str.GetprocAddress_faied_for_zipFolder_in_nzip.dll
call fcn.00402250
mov eax, dword [0x4956c8]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 2
jmp 0x408d93
lea ecx, [esp + 0x168]
push 0
push ecx
call eax
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
add esp, 8
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.c:zvSndLogszvmon.zip
mov byte [esp + 0x36], 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x408abc
xor esi, esi
jmp 0x408acc
push 0
push esi
call ebx
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebp
mov ebp, dword [sym.imp.SHLWAPI.dll_StrFormatByteSize64A]
push 0x104
lea edx, [esp + 0x57c]
push edx
push 0
push esi
call ebp
cmp esi, 0x500000
jbe 0x408afe
push str.File_size_greater_than_5_MB_so_unable_to_upload_file_on_server
call fcn.00402250
add esp, 4
mov byte [esp + 0x1a], 1
push str.c:zvSndLogsApConAc
lea eax, [esp + 0x16c]
push 0x208
push eax
mov byte [esp + 0x27], 0
call fcn.0043dc50
add esp, 0xc
lea ecx, [esp + 0x168]
push 0
push ecx
call dword [0x4956d0]
add esp, 8
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.c:zvSndLogsApConAc.zip
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x408b54
xor esi, esi
jmp 0x408b64
push 0
push esi
call ebx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, edi
push 0x104
lea edx, [esp + 0x57c]
push edx
push 0
push esi
call ebp
cmp esi, 0x500000
jbe 0x408b90
push str.File_size_greater_than_5_MB_so_unable_to_upload_ApConAc.zip_file_on_server
call fcn.00402250
add esp, 4
mov byte [esp + 0x1b], 1
push 0x4952a0
push 0x104
lea eax, [esp + 0x34]
push eax
push str.sam
push str.CALLID
push str.RCALL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x2c]
push str.sam
push ecx
mov byte [esp + eax + 0x34], 0
call fcn.0044fd00
add esp, 8
test eax, eax
jne 0x408be3
push 0x48905c
lea edx, [esp + 0x30]
push 0x32
push edx
call fcn.0043dc50
add esp, 0xc
lea eax, [esp + 0x2c]
push 0x32
push eax
call fcn.00440520
push str.LicenseCode
lea esi, [esp + 0x6c]
mov ebx, str.SOFTWAREMessage_LabsNet_ProtectorConfig
mov edi, 0x80000002
call fcn.004022a0
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408c10
sub eax, edx
jne 0x408c62
push str.LicenseCode
lea esi, [esp + 0x64]
mov ebx, str.SoftwareVB_and_VBA_Program_SettingsSPYWAREPROTECTIONConfig
mov edi, 0x80000001
call fcn.004022a0
mov eax, esi
add esp, 4
lea edx, [eax + 1]
jmp 0x408c40
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408c40
sub eax, edx
jne 0x408c62
push 0x486f97
lea ecx, [esp + 0x64]
push 0x104
push ecx
call fcn.0043dc50
add esp, 0xc
xor ebx, ebx
push 0x496578
mov byte [esp + 0x70], bl
call fcn.00402250
add esp, 4
push 0x1fff
lea edx, [esp + 0x98d]
push ebx
push edx
mov byte [esp + 0x994], bl
call fcn.00444930
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
add esp, 0xc
cmp byte [esp + 0x1a], bl
jne 0x408d0c
lea eax, [esp + 0x988]
push eax
lea ecx, [esp + 0x64]
push ecx
mov edi, str.zvMon
lea ebx, [esp + 0x34]
mov esi, str.C:ZVSndLogszvmon.zip
call fcn.004093c0
add esp, 8
push str.File_uploaded_successfully...
lea edx, [esp + 0x98c]
push edx
call ebp
test eax, eax
jne 0x408cff
lea eax, [esp + 0x578]
push eax
push str._tZVMON____s__Zip__Sent
lea edx, [esp + 0x378]
call fcn.0040cdc0
lea ecx, [esp + 0x378]
push ecx
call fcn.00402250
add esp, 0xc
jmp 0x408d0c
push str._tError_In_Uploading_zvmon.zip_to_server.
call fcn.00402250
add esp, 4
cmp byte [esp + 0x1b], 0
jne 0x408d81
lea edx, [esp + 0x988]
push edx
lea eax, [esp + 0x64]
push eax
mov edi, str.ApCon
lea ebx, [esp + 0x34]
mov esi, str.C:ZVSndLogsApConAc.zip
call fcn.004093c0
add esp, 8
push str.File_uploaded_successfully...
lea ecx, [esp + 0x98c]
push ecx
call ebp
test eax, eax
jne 0x408d74
lea edx, [esp + 0x578]
push edx
push str._tAPCON____s__Zip__Sent
lea edx, [esp + 0x378]
call fcn.0040cdc0
lea eax, [esp + 0x378]
push eax
call fcn.00402250
add esp, 0xc
jmp 0x408d81
push str._tError_In_Uploading_APcon.zip_to_server.
call fcn.00402250
add esp, 4
mov eax, dword [0x4956c8]
test eax, eax
je 0x408d91
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [esp + 0x298c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00439cd0
add esp, 0x2984
ret