Function at 0x405700
Capabilities:
Check if file exists
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f55e
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x419014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x20], 0
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
mov byte [ebp - 4], 2
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x405770
push dword [ebp - 0x14]
push str.IsGarbageLog___It_is_not_directory__return_false__s__r_n
push 1
call fcn.00407340
add esp, 0xc
jmp 0x4058d6
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push dword [ebp - 0x14]
push str._sp.ini
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
add esp, 0xc
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [ebp - 0x14]
cmp eax, 1
jne 0x4057b6
push str.IsGarbageLog___It_has_a_p.ini_file__return_false__s__r_n
push eax
call fcn.00407340
add esp, 0xc
jmp 0x4058cd
push str.IsGarbageLog__
push 1
call fcn.00407340
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
add esp, 0xc
movlpd qword [ebp - 0x30], xmm0
lea ecx, [ebp - 0x58]
movq qword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x58], xmm0
call dword [sym.imp.mfc140u.dll_CFileFind::CFileFind]
push 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
push dword [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_CFileFind::FindFile]
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc140u.dll_CFileFind::FindNextFileW]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc140u.dll_CFileFind::GetCreationTime]
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov esi, dword [ebp - 0x30]
mov edi, edx
mov ecx, dword [ebp - 0x2c]
add esi, 0xd2f00
mov dword [ebp - 0x30], esi
adc ecx, 0
sub eax, esi
mov dword [ebp - 0x2c], ecx
sbb edi, ecx
mov dword [ebp - 0x5c], eax
push edi
push eax
push str.IsGarbageLog_______gap__d__r_n
push 1
call fcn.00407340
add esp, 0x14
test edi, edi
jl 0x4058b5
jg 0x405851
cmp dword [ebp - 0x5c], 0
jb 0x4058b5
push str.IsGarbageLog_______its_garbage__r_n
push 1
call fcn.00407340
add esp, 8
lea ecx, [ebp - 0x58]
call dword [0x410530]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebp + 0xc]
mov esi, dword [ebp - 0x64]
push str.__________is_garbage_log__so_remove_log_folder____s__r_n
movzx eax, byte [esi + 0x480]
push eax
call fcn.00407340
add esp, 8
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
mov ecx, esi
call fcn.00404d40
mov esi, dword [ebp + 0x10]
jmp 0x40618e
push str.IsGarbageLog_______it_is_not_garbage__r_n
push 1
call fcn.00407340
add esp, 8
lea ecx, [ebp - 0x58]
call dword [0x410530]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push str.p.ini
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x3c]
call fcn.00406db0
add esp, 4
mov esi, dword [ebp - 0x64]
lea ecx, [esi + 0x494]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x70]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov ecx, dword [esi + 0x494]
mov edi, eax
push 1
push 0x413424
lea eax, [ebp - 0x70]
mov dword [ebp - 0x20], 2
push dword [ecx - 0xc]
push ecx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
mov ecx, edi
mov byte [ebp - 4], 7
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov ecx, dword [ebp + 8]
mov esi, eax
mov edx, dword [edi]
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x20], 6
push dword [ecx - 0xc]
push ecx
push dword [edx - 0xc]
push edx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
push str..ZIP
mov edx, esi
lea ecx, [ebp - 0x18]
call fcn.00406db0
add esp, 0x18
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push str..zip
push 2
push ecx
lea eax, [ebp + 0xc]
mov byte [ebp - 0x5d], 0
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
lea eax, [ebp - 0x5c]
push eax
call fcn.00404f90
mov ecx, eax
mov byte [ebp - 4], 0xb
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
test eax, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x5c]
sete byte [ebp - 0x65]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp byte [ebp - 0x65], 0
je 0x405ad3
lea eax, [ebp + 0xc]
mov byte [ebp - 0x5d], 1
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
push 3
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
lea eax, [ebp - 0x5c]
push eax
call fcn.00404f90
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xc
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x413424
push 0
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
lea eax, [ebp - 0x38]
push eax
call fcn.00404f90
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x5c]
call fcn.00406db0
add esp, 4
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 0xf
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov ecx, dword [ebp + 8]
mov edi, eax
mov edx, dword [esi]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x20], 0x10
push dword [ecx - 0xc]
push ecx
push dword [edx - 0xc]
push edx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp + 0xc]
push edi
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x406179
mov edi, dword [ebp - 0x64]
jmp 0x405da8
push dword [ebp - 0x3c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406179
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x5c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x5c]
mov edi, dword [ebp - 0x64]
push eax
lea ecx, [edi + 0x158]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.docname
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x16
push str.prtinfo
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [edi + 0xd8]
call fcn.004024d0
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x17
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.printerdisplayname
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x18
push str.prtinfo
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [edi + 0xd8]
call fcn.004024d0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x19
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.color
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x1a
push str.prtinfo
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [edi + 0xd8]
call fcn.004024d0
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1b
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.pages
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x1c
push str.prtinfo
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [edi + 0xd8]
call fcn.004024d0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1d
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.logonuserid
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x1e
push str.prtinfo
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [edi + 0xd8]
call fcn.004024d0
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1f
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x4110dc
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
mov ecx, eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
test eax, eax
je 0x40614c
push 0x4110dc
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
mov ecx, eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
test eax, eax
je 0x40614c
push 0x4110dc
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
mov ecx, eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
test eax, eax
je 0x40614c
push 0x4110dc
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
mov ecx, eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
test eax, eax
je 0x40614c
push 0x4110dc
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
mov ecx, eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
test eax, eax
je 0x40614c
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
movzx eax, byte [edi + 0x480]
push str.___________r_n
push eax
call fcn.00407340
push dword [ebp + 0xc]
movzx eax, byte [edi + 0x480]
push str._s_r_n
push eax
call fcn.00407340
add esp, 0x14
cmp byte [ebp - 0x5d], 0
jne 0x405e3e
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
push ecx
mov byte [ebp - 4], 0x20
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
push ecx
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x21
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.004047f0
push dword [ebp - 0x18]
call esi
test eax, eax
jne 0x405e3e
push dword [ebp - 0x18]
movzx eax, byte [edi + 0x480]
push str.create_zip_failure_____s_r_n_r_n
push eax
call fcn.00407340
add esp, 0xc
jmp 0x406179
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
mov ecx, edi
call fcn.00404a20
test al, al
jne 0x405e8e
movzx eax, byte [edi + 0x480]
push str.VerifyZip___false._r_n
push eax
call fcn.00407340
push dword [ebp - 0x18]
movzx eax, byte [edi + 0x480]
push str.create_zip_failure_____s_r_n_r_n
push eax
call fcn.00407340
add esp, 0x14
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x406179
push 0
push 0
push 3
push 0
push 0
push closesocket
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x5c], eax
cmp eax, 1
jge 0x405ee0
push dword [ebp - 0x18]
push eax
movzx eax, byte [edi + 0x480]
push str.create_zip_failure___size:_d_____s_r_n_r_n
push eax
call fcn.00407340
add esp, 0x10
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x406179
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4110dc
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x22
mov esi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
push str.__xml_version_1.0__endcoding_UTF_8____r_n
push eax
call esi
lea eax, [ebp - 0x24]
push str._request__r_n
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push str._t_parameter_name_jobuuid__value__s____r_n
push eax
call esi
push dword [ebp - 0x5c]
lea eax, [ebp - 0x24]
push str._t_parameter_name_filesize__value__d____r_n
push eax
call esi
lea eax, [ebp - 0x24]
push str.__request__r_n
push eax
call esi
lea eax, [ebp - 0x24]
push str.EOF_r_n
push eax
call esi
add esp, 0x34
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
push edi
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 0x160]
call fcn.00401cf0
push 0
push str.false
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x23
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
test eax, eax
jg 0x4060fc
push 0x4110dc
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
test eax, eax
je 0x4060fc
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
push edi
lea eax, [ebp - 0x5c]
push eax
lea ecx, [edi + 0x160]
call fcn.00401930
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x24
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x23
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0
push str.false
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
test eax, eax
jg 0x40608c
push 0x4110dc
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
test eax, eax
je 0x40608c
mov eax, dword [edi + 0x4d4]
test eax, eax
jle 0x40601d
dec eax
mov esi, eax
mov dword [edi + 0x4d4], eax
imul esi, dword [ebp + 0x1c]
add esi, dword [ebp + 0x14]
add esi, dword [ebp + 0x18]
jmp 0x406020
mov esi, dword [ebp + 0x14]
push eax
movzx eax, byte [edi + 0x480]
push esi
push str.connection_success__wait_time_d__disconn_count_d__r_n
push eax
call fcn.00407340
add esp, 0x10
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
cmp byte [ebp - 0x5d], 0
jne 0x40605f
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
mov ecx, edi
call fcn.00404d40
movzx eax, al
push eax
movzx eax, byte [edi + 0x480]
push str.remove_log____d___r_n
push eax
call fcn.00407340
movzx eax, byte [edi + 0x1e4]
push str.Call_SocketClose___Socket_Close._r_n
push eax
call fcn.00407340
add esp, 0x14
jmp 0x4060da
mov eax, dword [edi + 0x4d4]
mov ecx, edi
mov esi, eax
inc eax
imul esi, dword [ebp + 0x1c]
mov dword [edi + 0x4d4], eax
add esi, dword [ebp + 0x14]
add esi, dword [ebp + 0x18]
call fcn.00404c50
push dword [edi + 0x4d4]
movzx eax, byte [edi + 0x480]
push esi
push str.connection_failure__wait_time_d__disconn_count_d__r_n
push eax
call fcn.00407340
movzx eax, byte [edi + 0x1e4]
push str.Call_SocketClose___Socket_Close._r_n
push eax
call fcn.00407340
add esp, 0x18
mov eax, dword [0x419630]
test eax, eax
je 0x4060f4
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [0x419630], 0
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x406138
mov eax, dword [edi + 0x4d4]
mov ecx, edi
mov esi, eax
inc eax
imul esi, dword [ebp + 0x1c]
mov dword [edi + 0x4d4], eax
add esi, dword [ebp + 0x14]
add esi, dword [ebp + 0x18]
call fcn.00404c50
push dword [edi + 0x4d4]
movzx eax, byte [edi + 0x480]
push esi
push str.connection_failure__wait_time_d__disconn_count_d__r_n
push eax
call fcn.00407340
add esp, 0x10
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x40617c
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040d77e
mov esp, ebp
pop ebp
ret 0x18