Function at 0x431280
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd2d1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x528f34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [eax], esi
mov eax, dword [ebx + 4]
cmp eax, esi
mov dword [ebp - 0x18], esi
je 0x4312d4
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov esi, edx
shr esi, 0x1f
add esi, edx
call fcn.00444780
push esi
push eax
push str.Start_Detect_File_Conflic__Is_target_system__d__TotalNum__d_
push str.QPUPDATE
push 2
push str.CCopyFileLogic::DetectFilesConflic
push 0x1ed
push str.F:_svn_codeQPUpd_v137SourceLogicCopyFileLogic.cpp
mov dword [ebp - 0x1c], eax
call fcn.00442b40
mov esi, dword [ebx + 4]
add esp, 0x20
cmp esi, dword [ebx + 8]
jbe 0x43130f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, ebx
mov ebx, dword [ebx + 8]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], ebx
jbe 0x431322
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test edi, edi
je 0x43132b
cmp edi, dword [ebp + 8]
je 0x431331
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, ebx
je 0x43152c
cmp dword [ebp - 0x1c], 0
jne 0x43139e
test edi, edi
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jne 0x43134b
call ebx
cmp esi, dword [edi + 8]
jb 0x431352
call ebx
push esi
lea ecx, [ebp - 0x24]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
or dword [ebp - 0x10], 1
push str.QQProtect.sys
mov ecx, eax
mov dword [ebp - 4], 0
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXStringW::CompareNoCase_wchar_t_const__const
test eax, eax
je 0x43139a
cmp esi, dword [edi + 8]
jb 0x43137d
call ebx
push esi
lea ecx, [ebp - 0x20]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
or dword [ebp - 0x10], 2
push str.QQFrmMgr.sys
mov ecx, eax
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXStringW::CompareNoCase_wchar_t_const__const
test eax, eax
jne 0x43139e
mov bl, 1
jmp 0x4313a0
xor bl, bl
test byte [ebp - 0x10], 2
je 0x4313b2
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x20]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
test byte [ebp - 0x10], 1
mov dword [ebp - 4], 0xffffffff
je 0x4313cb
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0x24]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
test bl, bl
jne 0x4314ef
call fcn.00444360
test eax, eax
jne 0x43141b
call fcn.004444a0
test al, al
je 0x43141b
test edi, edi
jne 0x4313ef
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [edi + 8]
jb 0x4313fa
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
lea ecx, [ebp - 0x28]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
or dword [ebp - 0x10], 4
push str.QQFrmMgr.sys
mov ecx, eax
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXStringW::CompareNoCase_wchar_t_const__const
test eax, eax
jne 0x43141b
mov bl, 1
jmp 0x43141d
xor bl, bl
test byte [ebp - 0x10], 4
je 0x43142f
and dword [ebp - 0x10], 0xfffffffb
lea ecx, [ebp - 0x28]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
test bl, bl
jne 0x4314ef
test edi, edi
jne 0x431441
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [edi + 8]
jb 0x43144c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea edx, [esi + 4]
push edx
lea ecx, [ebp - 0x14]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
mov ebx, 1
push 0
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
lea ecx, [ebp - 0x14]
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x14]
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
add dword [ebp - 0x18], ebx
cmp eax, ebx
je 0x4314e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
je 0x4314e0
cmp eax, 3
je 0x4314e0
mov ecx, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
push ecx
push str.__d__Detect_conflic___s___ErrorCode__d_
push str.QPUPDATE
push 2
push str.CCopyFileLogic::DetectFilesConflic
push 0x20b
push str.F:_svn_codeQPUpd_v137SourceLogicCopyFileLogic.cpp
call fcn.00442b40
add esp, 0x24
cmp dword [ebx], 0x20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
je 0x43150f
mov dword [ebx], 0
jmp 0x4314ea
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
test edi, edi
jne 0x4314f9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [edi + 8]
jb 0x431504
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [ebp + 8]
add esi, 0xc
jmp 0x431311
xor esi, esi
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc