Function at 0x100a99ed
Capabilities:
Accept command line arguments
Check for time delay via gettickcount
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x564
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.1005b2b4
movzx eax, al
test eax, eax
je 0x100a9a26
push dword [ebp + 8]
push str.TxDl_Main_enter__cmdline_s
push 0xd2
push 0x100c85d0
call fcn.1005b143
add esp, 0x10
push 0x100c85cc
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.10003ab7
push 0x100c8624
lea eax, [ebp - 0xc]
push eax
call fcn.10010694
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x100a9a62
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0xc]
call fcn.10003b4c
push 0x100c8628
lea ecx, [ebp - 0x4e0]
call fcn.100016dd
push eax
push 0x100c862c
lea ecx, [ebp - 0x4fc]
call fcn.100016dd
push eax
push 0x100c8630
lea ecx, [ebp - 0x518]
call fcn.100016dd
push eax
lea ecx, [ebp - 0xc]
call fcn.10030416
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x51c], esp
push eax
call fcn.100016dd
lea ecx, [ebp - 0x78]
call fcn.100b2344
lea ecx, [ebp - 0x518]
call fcn.1000174b
lea ecx, [ebp - 0x4fc]
call fcn.1000174b
lea ecx, [ebp - 0x4e0]
call fcn.1000174b
and dword [ebp - 0x80], 0
and dword [ebp - 0x520], 0
push 0x100c8638
lea ecx, [ebp - 0x53c]
call fcn.100016dd
lea eax, [ebp - 0x520]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x53c]
push eax
lea ecx, [ebp - 0x78]
call fcn.10016728
lea ecx, [ebp - 0x53c]
call fcn.1000174b
push dword [ebp - 0x80]
mov ecx, 0x100fc2c0
call fcn.100a954c
test eax, eax
je 0x100a9b4a
or dword [ebp - 0x540], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.100b242a
lea ecx, [ebp - 0xc]
call fcn.10003b22
mov eax, dword [ebp - 0x540]
jmp 0x100a9f93
xor eax, eax
cmp dword [0x100fc1d8], 0
setne al
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
cmp dword [0x100fc1dc], 0
je 0x100a9b9d
push dword [0x100fc1dc]
call fcn.100a8aeb
pop ecx
test eax, eax
jne 0x100a9b9d
or dword [ebp - 0x544], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.100b242a
lea ecx, [ebp - 0xc]
call fcn.10003b22
mov eax, dword [ebp - 0x544]
jmp 0x100a9f93
cmp dword [ebp - 0x7c], 0
je 0x100a9e42
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x98], 0x1b7740
and dword [ebp - 0x88], 0
lea ecx, [ebp - 0x90]
call fcn.1001f937
push 0x2001f
push 0x100c864c
push SysReAllocString
lea ecx, [ebp - 0x90]
call fcn.100098a5
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jne 0x100a9c29
lea eax, [ebp - 0x98]
push eax
push str.kSeWT
lea ecx, [ebp - 0x90]
call fcn.1002079b
lea eax, [ebp - 0x88]
push eax
push str.kSeDbg
lea ecx, [ebp - 0x90]
call fcn.1002079b
cmp dword [ebp - 0x88], 0
je 0x100a9c40
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x98]
jae 0x100a9c9d
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0x8c]
push eax
mov ecx, 0x100fc2bc
call fcn.10030416
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100a9c9d
or dword [ebp - 0x548], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.10009917
lea ecx, [ebp - 0x78]
call fcn.100b242a
lea ecx, [ebp - 0xc]
call fcn.10003b22
mov eax, dword [ebp - 0x548]
jmp 0x100a9f93
lea ecx, [ebp - 0x84]
call fcn.1001f937
push 0x2001f
push 0x100c869c
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x84]
call fcn.100098a5
mov dword [ebp - 0x94], eax
and word [ebp - 0x2a8], 0
push 0x208
push 0
lea eax, [ebp - 0x2a6]
push eax
call fcn.10070f00
add esp, 0xc
mov dword [ebp - 0x2ac], 0x104
cmp dword [ebp - 0x94], 0
jne 0x100a9d17
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x2a8]
push eax
push str.ExeString
lea ecx, [ebp - 0x84]
call fcn.10009a7b
lea eax, [ebp - 0x2a8]
push eax
call fcn.1006e24b
pop ecx
test eax, eax
jbe 0x100a9d71
lea eax, [ebp - 0x2a8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a9d71
or dword [ebp - 0x54c], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.10009917
lea ecx, [ebp - 0x90]
call fcn.10009917
lea ecx, [ebp - 0x78]
call fcn.100b242a
lea ecx, [ebp - 0xc]
call fcn.10003b22
mov eax, dword [ebp - 0x54c]
jmp 0x100a9f93
and word [ebp - 0x4c0], 0
push 0x208
push 0
lea eax, [ebp - 0x4be]
push eax
call fcn.10070f00
add esp, 0xc
mov dword [ebp - 0x4c4], 0x104
cmp dword [ebp - 0x94], 0
jne 0x100a9dc0
lea eax, [ebp - 0x4c4]
push eax
lea eax, [ebp - 0x4c0]
push eax
push str.InstallDir
lea ecx, [ebp - 0x84]
call fcn.10009a7b
lea eax, [ebp - 0x4c0]
push eax
call fcn.1006e24b
pop ecx
test eax, eax
jbe 0x100a9e2c
push str.QQPCTray.dat
lea eax, [ebp - 0x4c0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x4c0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a9e2c
or dword [ebp - 0x550], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.10009917
lea ecx, [ebp - 0x90]
call fcn.10009917
lea ecx, [ebp - 0x78]
call fcn.100b242a
lea ecx, [ebp - 0xc]
call fcn.10003b22
mov eax, dword [ebp - 0x550]
jmp 0x100a9f93
lea ecx, [ebp - 0x84]
call fcn.10009917
lea ecx, [ebp - 0x90]
call fcn.10009917
push dword [0x100fc264]
mov ecx, 0x100fc2c0
call fcn.100a98c7
lea ecx, [ebp - 8]
call fcn.10019e12
lea ecx, [ebp - 8]
call fcn.1000aaf9
push eax
call sym.QQPCDownload.dll_CreateTxdlController
test eax, eax
jge 0x100a9ea0
mov ecx, 0x100fc2c0
call fcn.100a97c2
or dword [ebp - 0x554], 0xffffffff
lea ecx, [ebp - 8]
call fcn.100218e5
lea ecx, [ebp - 0x78]
call fcn.100b242a
lea ecx, [ebp - 0xc]
call fcn.10003b22
mov eax, dword [ebp - 0x554]
jmp 0x100a9f93
lea ecx, [ebp - 8]
call fcn.10030416
mov dword [ebp - 0x560], eax
push 0
lea ecx, [ebp - 0xc]
call fcn.10030416
push eax
lea ecx, [ebp - 0x558]
call fcn.1002099d
mov ecx, eax
call fcn.10030416
push eax
push dword [ebp - 0x560]
mov eax, dword [ebp - 0x560]
mov eax, dword [eax]
call dword [eax + 0xc]
lea ecx, [ebp - 0x558]
call fcn.1000a713
lea ecx, [ebp - 8]
call fcn.10030416
push eax
mov ecx, 0x100fc338
call fcn.100a79f9
lea ecx, [ebp - 8]
call fcn.10030416
push eax
mov ecx, 0x100fc2c0
call fcn.100a991a
mov ecx, 0x100fc338
call fcn.100a8906
mov ecx, 0x100fc338
call fcn.100a799e
lea ecx, [ebp - 8]
call fcn.10030416
mov dword [ebp - 0x564], eax
mov eax, dword [ebp - 0x564]
mov eax, dword [eax]
push dword [ebp - 0x564]
call dword [eax + 0x10]
mov ecx, 0x100fc2c0
call fcn.100a97c2
call fcn.1005b2b4
movzx eax, al
test eax, eax
je 0x100a9f6e
push str.TxDl_Main_leave...
push 0xd2
push str.D:jenkins_TrunkworkspaceCEN_Hive_QQPCDownload_ForDComqqpcmgr_projTxdlTxdl.cpp
call fcn.1005b143
add esp, 0xc
and dword [ebp - 0x55c], 0
lea ecx, [ebp - 8]
call fcn.100218e5
lea ecx, [ebp - 0x78]
call fcn.100b242a
lea ecx, [ebp - 0xc]
call fcn.10003b22
mov eax, dword [ebp - 0x55c]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e261
leave
ret 4