Function at 0x4106a0
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0863
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4e2210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0xbc]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x1c]
call fcn.004057a0
mov dword [ebp - 4], 0
push str.qmupdate
lea ecx, [ebp - 0x1c]
call fcn.00403b80
lea ecx, [ebp - 0x1c]
call fcn.004683f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41071f
lea ecx, [ebp - 0x1c]
call fcn.004683f0
push eax
call fcn.00488770
add esp, 4
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00401e40
add esp, 4
push 0x4c76c9
lea ecx, [ebp - 0x28]
call fcn.004181f0
mov byte [ebp - 4], 1
push 0x4c76ca
lea ecx, [ebp - 0x30]
call fcn.004181f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00461db0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.004623b0
push str.arkGraphic.dll
lea ecx, [ebp - 0x34]
call fcn.00405a00
mov byte [ebp - 4], 4
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00417fc0
push 0x4cbbc4
lea ecx, [ebp - 0x38]
call fcn.00405a00
mov byte [ebp - 4], 5
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00417fc0
push str.BugReportRule.dat
lea ecx, [ebp - 0x3c]
call fcn.00405a00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00417fc0
push str.Common.dll
lea ecx, [ebp - 0x40]
call fcn.00405a00
mov byte [ebp - 4], 7
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00417fc0
push str.dlcore.dll
lea ecx, [ebp - 0x44]
call fcn.00405a00
mov byte [ebp - 4], 8
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00417fc0
push str.extract.dll
lea ecx, [ebp - 0x48]
call fcn.00405a00
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00417fc0
push str.GF.dll
lea ecx, [ebp - 0x4c]
call fcn.00405a00
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00417fc0
push str.GFCustom.dll
lea ecx, [ebp - 0x50]
call fcn.00405a00
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.00417fc0
push str.jgImage.dll
lea ecx, [ebp - 0x54]
call fcn.00405a00
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.00417fc0
push str.jgIOStub.dll
lea ecx, [ebp - 0x58]
call fcn.00405a00
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00417fc0
push str.libexpatw.dll
lea ecx, [ebp - 0x5c]
call fcn.00405a00
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00417fc0
push str.libjpegturbo.dll
lea ecx, [ebp - 0x60]
call fcn.00405a00
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.00417fc0
push str.libpng.dll
lea ecx, [ebp - 0x64]
call fcn.00405a00
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.00417fc0
push str.tencentdl.exe
lea ecx, [ebp - 0x68]
call fcn.00405a00
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00417fc0
push str.tinyxml.dll
lea ecx, [ebp - 0x6c]
call fcn.00405a00
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
call fcn.00417fc0
push str.xGraphic32.dll
lea ecx, [ebp - 0x70]
call fcn.00405a00
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.00417fc0
push str.xImage.dll
lea ecx, [ebp - 0x74]
call fcn.00405a00
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00417fc0
push str.zlib.dll
lea ecx, [ebp - 0x78]
call fcn.00405a00
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78]
call fcn.00417fc0
push str.QMNetworkMgr.dll
lea ecx, [ebp - 0x7c]
call fcn.00405a00
mov byte [ebp - 4], 0x16
lea edx, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.00417fc0
push str.QMCommon.dll
lea ecx, [ebp - 0x80]
call fcn.00405a00
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.00417fc0
push str.dr.dll
lea ecx, [ebp - 0x84]
call fcn.00405a00
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.00417fc0
push str.QMDlder.dll
lea ecx, [ebp - 0x88]
call fcn.00405a00
mov byte [ebp - 4], 0x19
lea edx, [ebp - 0x88]
push edx
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
call fcn.00417fc0
push 0x4cbdec
lea ecx, [ebp - 0x8c]
call fcn.00405a00
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c]
call fcn.00417fc0
push str.QMIpc.dll
lea ecx, [ebp - 0x90]
call fcn.00405a00
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x90]
call fcn.00417fc0
push str.TenioDL.dll
lea ecx, [ebp - 0x94]
call fcn.00405a00
mov byte [ebp - 4], 0x1c
lea edx, [ebp - 0x94]
push edx
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x94]
call fcn.00417fc0
push str.TenioDL_core.dll
lea ecx, [ebp - 0x98]
call fcn.00405a00
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.00417fc0
push str.p2papp.dll
lea ecx, [ebp - 0x9c]
call fcn.00405a00
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00413260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9c]
call fcn.00417fc0
lea edx, [ebp - 0xa4]
push edx
lea ecx, [ebp - 0x18]
call fcn.00413230
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
jmp 0x410c17
lea ecx, [ebp - 0x24]
call fcn.004132b0
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x18]
call fcn.004706f0
push eax
lea ecx, [ebp - 0x24]
call fcn.00471c00
movzx ecx, al
test ecx, ecx
je 0x410d25
push 0x4180b0
lea ecx, [ebp - 0x24]
call fcn.00413290
mov ecx, eax
call fcn.004683f0
push eax
mov ecx, 0x4e6328
call fcn.00412fa0
mov ecx, eax
call fcn.00412f80
lea ecx, [ebp - 0x24]
call fcn.00413290
push eax
mov edx, dword [ebp - 0xbc]
add edx, 0x2c
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.00418000
add esp, 0xc
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 4], 0x1f
mov edx, dword [ebp - 0xc4]
push edx
lea ecx, [ebp - 0x28]
call fcn.00405d40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb0]
call fcn.00417fc0
lea ecx, [ebp - 0x24]
call fcn.00413290
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xb4]
push ecx
call fcn.00418000
add esp, 0xc
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], edx
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x30]
call fcn.00405d40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb4]
call fcn.00417fc0
push 0
lea ecx, [ebp - 0x30]
call fcn.004683f0
push eax
lea ecx, [ebp - 0x28]
call fcn.004683f0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x410c0f
mov dword [ebp - 0xb8], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00413210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00417fc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00417fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00417fc0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret