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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
mov eax, dword [0x100df3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.1005ae92
movzx eax, al
test eax, eax
je 0x100a91e0
push dword [ebp + 8]
push str.TxDl_Main_enter__cmdline_s
push 0xd2
push 0x100c7390
call fcn.1005ad21
add esp, 0x10
push 0x100c738c
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.10003c85
push 0x100c73e4
lea eax, [ebp - 0xc]
push eax
call fcn.100108dd
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x100a921c
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0xc]
call fcn.10003d09
push 0x100c73e8
lea ecx, [ebp - 0x2c8]
call fcn.10001712
push eax
push 0x100c73ec
lea ecx, [ebp - 0x2e4]
call fcn.10001712
push eax
push 0x100c73f0
lea ecx, [ebp - 0x300]
call fcn.10001712
push eax
lea ecx, [ebp - 0xc]
call fcn.10012148
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x304], esp
push eax
call fcn.10001712
lea ecx, [ebp - 0x78]
call fcn.100b1214
lea ecx, [ebp - 0x300]
call fcn.10001780
lea ecx, [ebp - 0x2e4]
call fcn.10001780
lea ecx, [ebp - 0x2c8]
call fcn.10001780
and dword [ebp - 0x80], 0
and dword [ebp - 0x308], 0
push 0x100c73f8
lea ecx, [ebp - 0x324]
call fcn.10001712
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x78]
call fcn.1001674c
lea ecx, [ebp - 0x324]
call fcn.10001780
push dword [ebp - 0x80]
mov ecx, 0x100fb2c0
call fcn.100a8d06
test eax, eax
je 0x100a9304
or dword [ebp - 0x328], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.100b12fa
lea ecx, [ebp - 0xc]
call fcn.10010628
mov eax, dword [ebp - 0x328]
jmp 0x100a9692
xor eax, eax
cmp dword [0x100fb1d8], 0
setne al
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
cmp dword [0x100fb1dc], 0
je 0x100a9357
push dword [0x100fb1dc]
call fcn.100a8363
pop ecx
test eax, eax
jne 0x100a9357
or dword [ebp - 0x32c], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.100b12fa
lea ecx, [ebp - 0xc]
call fcn.10010628
mov eax, dword [ebp - 0x32c]
jmp 0x100a9692
cmp dword [ebp - 0x7c], 0
je 0x100a9541
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x2ac], 0x1b7740
and dword [ebp - 0x298], 0
lea ecx, [ebp - 0x2a4]
call fcn.10009c1c
push 0x2001f
push 0x100c740c
push SysReAllocString
lea ecx, [ebp - 0x2a4]
call fcn.10009b99
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0
jne 0x100a93e3
lea eax, [ebp - 0x2ac]
push eax
push str.kSeWT
lea ecx, [ebp - 0x2a4]
call fcn.10020425
lea eax, [ebp - 0x298]
push eax
push str.kSeDbg
lea ecx, [ebp - 0x2a4]
call fcn.10020425
cmp dword [ebp - 0x298], 0
je 0x100a93fa
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x29c]
cmp eax, dword [ebp - 0x2ac]
jae 0x100a9457
mov eax, dword [ebp - 0x2ac]
sub eax, dword [ebp - 0x29c]
push eax
mov ecx, 0x100fb2bc
call fcn.10012148
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100a9457
or dword [ebp - 0x330], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.10009c0b
lea ecx, [ebp - 0x78]
call fcn.100b12fa
lea ecx, [ebp - 0xc]
call fcn.10010628
mov eax, dword [ebp - 0x330]
jmp 0x100a9692
lea ecx, [ebp - 0x294]
call fcn.10009c1c
push 0x2001f
push 0x100c745c
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x294]
call fcn.10009b99
mov dword [ebp - 0x2a8], eax
and word [ebp - 0x290], 0
push 0x208
push 0
lea eax, [ebp - 0x28e]
push eax
call fcn.10070d10
add esp, 0xc
mov dword [ebp - 0x2a0], 0x104
cmp dword [ebp - 0x2a8], 0
jne 0x100a94d1
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x290]
push eax
push str.ExeString
lea ecx, [ebp - 0x294]
call fcn.10009d77
lea eax, [ebp - 0x290]
push eax
call fcn.1006e05b
pop ecx
test eax, eax
jbe 0x100a952b
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a952b
or dword [ebp - 0x334], 0xffffffff
lea ecx, [ebp - 0x294]
call fcn.10009c0b
lea ecx, [ebp - 0x2a4]
call fcn.10009c0b
lea ecx, [ebp - 0x78]
call fcn.100b12fa
lea ecx, [ebp - 0xc]
call fcn.10010628
mov eax, dword [ebp - 0x334]
jmp 0x100a9692
lea ecx, [ebp - 0x294]
call fcn.10009c0b
lea ecx, [ebp - 0x2a4]
call fcn.10009c0b
push dword [0x100fb264]
mov ecx, 0x100fb2c0
call fcn.100a9081
lea ecx, [ebp - 8]
call fcn.100236ae
lea ecx, [ebp - 8]
call fcn.1003455e
push eax
call sym.QQPCDownload.dll_CreateTxdlController
test eax, eax
jge 0x100a959f
mov ecx, 0x100fb2c0
call fcn.100a8f7c
or dword [ebp - 0x338], 0xffffffff
lea ecx, [ebp - 8]
call fcn.10021569
lea ecx, [ebp - 0x78]
call fcn.100b12fa
lea ecx, [ebp - 0xc]
call fcn.10010628
mov eax, dword [ebp - 0x338]
jmp 0x100a9692
lea ecx, [ebp - 8]
call fcn.10012148
mov dword [ebp - 0x344], eax
push 0
lea ecx, [ebp - 0xc]
call fcn.10012148
push eax
lea ecx, [ebp - 0x33c]
call fcn.10020627
mov ecx, eax
call fcn.10012148
push eax
push dword [ebp - 0x344]
mov eax, dword [ebp - 0x344]
mov eax, dword [eax]
call dword [eax + 0xc]
lea ecx, [ebp - 0x33c]
call fcn.1000a9bd
lea ecx, [ebp - 8]
call fcn.10012148
push eax
mov ecx, 0x100fb338
call fcn.100a734f
lea ecx, [ebp - 8]
call fcn.10012148
push eax
mov ecx, 0x100fb2c0
call fcn.100a90d4
mov ecx, 0x100fb338
call fcn.100a817e
mov ecx, 0x100fb338
call fcn.100a72f4
lea ecx, [ebp - 8]
call fcn.10012148
mov dword [ebp - 0x348], eax
mov eax, dword [ebp - 0x348]
mov eax, dword [eax]
push dword [ebp - 0x348]
call dword [eax + 0x10]
mov ecx, 0x100fb2c0
call fcn.100a8f7c
call fcn.1005ae92
movzx eax, al
test eax, eax
je 0x100a966d
push str.TxDl_Main_leave...
push 0xd2
push str.D:jenkins_TrunkworkspaceCEN_Hive_QQPCDownload_ForDComqqpcmgr_projTxdlTxdl.cpp
call fcn.1005ad21
add esp, 0xc
and dword [ebp - 0x340], 0
lea ecx, [ebp - 8]
call fcn.10021569
lea ecx, [ebp - 0x78]
call fcn.100b12fa
lea ecx, [ebp - 0xc]
call fcn.10010628
mov eax, dword [ebp - 0x340]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e071
leave
ret 4