Function at 0x41571c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ccb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x884
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x878], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
call fcn.004020a0
test eax, eax
je 0x415766
mov eax, 1
jmp 0x415c02
lea ecx, [ebp - 0x28]
call fcn.0045ab28
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
call fcn.004020c0
mov dword [ebp - 0x87c], eax
push 0
push 0x8040
mov ecx, dword [ebp - 0x87c]
push ecx
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::Open
mov dword [ebp - 0x880], eax
cmp dword [ebp - 0x880], 0
jne 0x4157fa
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push str.CSyncEngine::UnCompressGzipFile__1._File_open_error.__s
push 4
mov ecx, dword [0x476a9c]
push ecx
call fcn.00407ea0
add esp, 0x10
mov dword [ebp - 0x838], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::CFile
mov eax, dword [ebp - 0x838]
jmp 0x415c02
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::GetLength
mov dword [ebp - 0x884], eax
mov edx, dword [ebp - 0x884]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
ja 0x41583b
mov dword [ebp - 0x83c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::CFile
mov eax, dword [ebp - 0x83c]
jmp 0x415c02
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x888], eax
mov ecx, dword [ebp - 0x888]
mov dword [ebp - 0x840], ecx
mov edx, dword [ebp - 0x840]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402770
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::Close
jmp 0x415944
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00415636
add esp, 0x10
cmp dword [ebp - 0x2c], 0
je 0x41598f
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x84c], ecx
mov edx, dword [ebp - 0x84c]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x18], 0
je 0x41599d
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
ja 0x4159f4
cmp dword [ebp - 0x18], 0
je 0x4159bb
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x850], ecx
mov edx, dword [ebp - 0x850]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
push str.CSyncEngine::UnCompressGzipFile__Failed_GZipUnCompress__._pUnCompressBuffNULL_or_dwUnCompressSize0
push 4
mov eax, dword [0x476a9c]
push eax
call fcn.00407ea0
add esp, 0xc
mov dword [ebp - 0x854], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::CFile
mov eax, dword [ebp - 0x854]
jmp 0x415c02
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
call fcn.004020c0
mov dword [ebp - 0x88c], eax
mov ecx, dword [ebp - 0x88c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x415a6e
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x858], edx
mov eax, dword [ebp - 0x858]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push str.CSyncEngine::UnCompressGzipFile__Failed_DeleteFile_strGzipFilePath_.
push 4
mov eax, dword [0x476a9c]
push eax
call fcn.00407ea0
add esp, 0x10
mov dword [ebp - 0x85c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::CFile
mov eax, dword [ebp - 0x85c]
jmp 0x415c02
mov ecx, dword [ebp + 8]
call fcn.004020c0
mov dword [ebp - 0x890], eax
push 0
push 0x9041
mov ecx, dword [ebp - 0x890]
push ecx
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::Open
mov dword [ebp - 0x894], eax
cmp dword [ebp - 0x894], 0
jne 0x415af8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x860], edx
mov eax, dword [ebp - 0x860]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push str.CSyncEngine::UnCompressGzipFile__2._File_open_error.__s
push 4
mov eax, dword [0x476a9c]
push eax
call fcn.00407ea0
add esp, 0x10
mov dword [ebp - 0x864], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::CFile
mov eax, dword [ebp - 0x864]
jmp 0x415c02
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.00416d40
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::Close
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x868], ecx
mov edx, dword [ebp - 0x868]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x415bdc
mov dword [ebp - 4], 0
mov dword [ebp - 0x874], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::CFile
mov eax, dword [ebp - 0x874]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8