Function at 0x100a192c
Capabilities:
Check if file exists
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b543d
mov eax, dword fs:[0]
push eax
sub esp, 0x894
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x88c], ecx
and dword [ebp - 0x234], 0
and dword [ebp - 0x230], 0
mov ecx, dword [ebp - 0x88c]
add ecx, 0x44
call fcn.10010f80
test eax, eax
je 0x100a19af
mov ecx, dword [ebp - 0x88c]
add ecx, 0x44
call fcn.10010f80
mov dword [ebp - 0x890], eax
push 0
push str.DelayRun
push dword [ebp - 0x890]
mov eax, dword [ebp - 0x890]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x230], eax
xor eax, eax
cmp dword [ebp - 0x230], 2
sete al
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x100a19de
mov ecx, dword [ebp - 0x88c]
call fcn.1009d29a
mov ecx, dword [ebp - 0x88c]
mov dword [ecx + 0x40], eax
lea ecx, [ebp - 0x228]
call fcn.10023593
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x88c]
add ecx, 0x44
call fcn.10010f80
test eax, eax
je 0x100a1a3a
mov ecx, dword [ebp - 0x88c]
add ecx, 0x44
call fcn.10010f80
mov dword [ebp - 0x894], eax
push 0x100c26d7
lea ecx, [ebp - 0x228]
call fcn.10039cae
push eax
push str.QQExternalAltName
push dword [ebp - 0x894]
mov eax, dword [ebp - 0x894]
mov eax, dword [eax]
call dword [eax + 0x14]
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10071bb0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
mov dword [ebp - 0x22c], eax
je 0x100a1acd
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x100a1aba
push 0x100c57f4
push dword [ebp - 0x238]
call fcn.100731ee
pop ecx
pop ecx
test eax, eax
jne 0x100a1aba
mov dword [ebp - 0x898], 1
jmp 0x100a1ac1
and dword [ebp - 0x898], 0
mov eax, dword [ebp - 0x898]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x100a1e6a
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
and word [ebp - 0x64c], 0
push 0x206
push 0
lea eax, [ebp - 0x64a]
push eax
call fcn.10071bb0
add esp, 0xc
and word [ebp - 0x854], 0
push 0x206
push 0
lea eax, [ebp - 0x852]
push eax
call fcn.10071bb0
add esp, 0xc
and word [ebp - 0x444], 0
push 0x206
push 0
lea eax, [ebp - 0x442]
push eax
call fcn.10071bb0
add esp, 0xc
mov ecx, dword [ebp - 0x88c]
add ecx, 4
call fcn.10004ff5
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x858], eax
push dword [ebp - 0x858]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x64c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x64c]
push eax
mov ecx, dword [ebp - 0x88c]
add ecx, 4
call fcn.10004ff5
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x854]
mov dword [ebp - 0x23c], eax
push str.QQExternal.exe
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x854]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x854]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a1be5
lea eax, [ebp - 0x64c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a1be5
mov dword [ebp - 0x89c], 1
jmp 0x100a1bec
and dword [ebp - 0x89c], 0
mov eax, dword [ebp - 0x89c]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x100a1c8b
push 0x100c5824
lea ecx, [ebp - 0x228]
call fcn.1003d7d2
movzx eax, al
test eax, eax
je 0x100a1c8b
lea ecx, [ebp - 0x228]
call fcn.10010f80
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x854]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x100a1c8b
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a1c8b
lea eax, [ebp - 0x444]
push eax
mov ecx, dword [ebp - 0x88c]
add ecx, 0x94
call fcn.1000a156
lea eax, [ebp - 0x444]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x22c], 0
je 0x100a1e6a
cmp dword [ebp - 0x234], 0
je 0x100a1d38
lea eax, [ebp - 0x87c]
push eax
call fcn.100ac81d
pop ecx
mov byte [ebp - 4], 1
push str.DownloadTransmisson.ini
lea ecx, [ebp - 0x87c]
call fcn.1000a113
lea ecx, [ebp - 0x880]
call fcn.100107ef
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x88c]
push dword [eax + 0x40]
push 0x100c585c
lea eax, [ebp - 0x880]
push eax
call fcn.10016117
add esp, 0xc
lea ecx, [ebp - 0x87c]
call fcn.10010f80
push eax
lea ecx, [ebp - 0x880]
call fcn.10010f80
push eax
push 0x100c5864
push 0x100c586c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x880]
call fcn.10003e5d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x87c]
call fcn.10003e5d
lea eax, [ebp - 0x64c]
push eax
mov ecx, dword [ebp - 0x88c]
add ecx, 0x78
call fcn.1000a156
push 0x100c5888
lea ecx, [ebp - 0x878]
call fcn.1000171b
mov byte [ebp - 4], 3
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x878]
call fcn.10004f45
push 0x100c588c
lea ecx, [ebp - 0x878]
call fcn.10004f45
push 0x100c5890
lea ecx, [ebp - 0x878]
call fcn.10004f45
push 0x100c5894
lea ecx, [ebp - 0x878]
call fcn.10004f45
push dword [ebp - 0x858]
lea ecx, [ebp - 0x878]
call fcn.10004f45
lea ecx, [ebp - 0x878]
call fcn.10004ff5
push eax
mov ecx, dword [ebp - 0x88c]
call fcn.100a114d
mov dword [ebp - 0x85c], eax
cmp dword [ebp - 0x85c], 0
je 0x100a1e4e
push dword [ebp - 0x85c]
lea ecx, [ebp - 0x884]
call fcn.1003d925
mov dword [ebp - 0x8a0], eax
push dword [ebp - 0x8a0]
mov ecx, dword [ebp - 0x88c]
add ecx, 0x74
call fcn.100362e2
lea ecx, [ebp - 0x884]
call fcn.10020d23
mov eax, dword [ebp - 0x88c]
cmp dword [eax + 0x40], 0x7d0
jbe 0x100a1e4c
push 0x3e8
mov ecx, dword [ebp - 0x88c]
add ecx, 0x74
call fcn.10010f80
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x100a1e4c
push 0x51
mov ecx, dword [ebp - 0x88c]
call fcn.1009bbca
jmp 0x100a1e5b
push 0x50
mov ecx, dword [ebp - 0x88c]
call fcn.1009bbca
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x878]
call fcn.10001789
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x888], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.1000abe4
mov eax, dword [ebp - 0x888]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006ef11
leave
ret 4