Function at 0x49919f
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4d2a20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
and dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x68]
add ecx, 0x18
call fcn.00420cd9
movzx eax, al
test eax, eax
je 0x4991e2
jmp 0x499457
lea eax, [ebp - 0x20]
push eax
call fcn.0049a528
mov ecx, eax
call fcn.004998ee
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
and dword [ebp - 4], 0
push 0x4baa1c
push dword [ebp - 0x70]
lea eax, [ebp - 0x14]
push eax
call fcn.00402e88
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00406df8
push str..tmp
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00402e88
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00413706
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49925a
lea ecx, [ebp - 0x1c]
call fcn.00413706
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x40
call fcn.00401000
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x3c
call fcn.00401000
mov eax, dword [ebp - 0x68]
and dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x68]
add ecx, 0x34
call fcn.00401e7a
mov dword [ebp - 0x28], 0x4988fc
and dword [ebp - 0x24], 0
push 0x153
push str.D:jenkins_Trunkworkspacecpu_vul_fixnewqqpcmgr_projQuickFixOnlineCfg.cpp
push 0x4baa88
lea ecx, [ebp - 0x64]
call fcn.004021ce
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x68]
add ecx, 8
call fcn.00405508
push eax
push dword [ebp - 0x78]
push 0
call fcn.0049867b
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.00437253
push 0xffffffffffffffff
mov eax, dword [ebp - 0x68]
push dword [eax + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x38], 0
jne 0x499347
movzx eax, byte [0x4d376e]
test eax, eax
je 0x49932a
push 0x4baaa4
push 0x4baad8
push 0x4bab0c
push str.__s____s___s_m_bDownloadOk__false
push 0
push 0
call fcn.00489f00
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00406df8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00406df8
jmp 0x499457
mov ecx, dword [ebp - 0x68]
add ecx, 0x1c
call fcn.00413706
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x40
call fcn.00413706
push eax
call fcn.0049b2f8
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4993b7
movzx eax, byte [0x4d376e]
test eax, eax
je 0x49939a
push 0x4bab60
push 0x4bab94
push 0x4babc8
push str.__s____s___s_VerfiyMd5_failed
push 0
push 0
call fcn.00489f00
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00406df8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00406df8
jmp 0x499457
push 0x80
lea ecx, [ebp - 0x14]
call fcn.00413706
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 1
lea ecx, [ebp - 0x14]
call fcn.00413706
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x40
call fcn.00413706
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x18], eax
movzx eax, byte [0x4d376e]
test eax, eax
je 0x499424
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x68]
push dword [eax + 0x40]
push 0x4bac10
push 0x4bac44
push str.__s____s_move__s_to__s_ret__d_err_d
push 0
push 0
call fcn.00489ffc
add esp, 0x24
cmp dword [ebp - 0x18], 0
je 0x499433
mov dword [ebp - 0x10], 1
jmp 0x499437
and dword [ebp - 0x10], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00406df8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00406df8
xor eax, eax
jne 0x4991cb
movzx eax, byte [0x4d376e]
test eax, eax
je 0x499480
push dword [ebp - 0x10]
push str.COnlineCfg::PullUpdateCfg
push 0x4bacd8
push 0x4bace8
push 0
push 0
call fcn.00489ffc
add esp, 0x18
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret