Function at 0x100a865d
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 [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.1005aaab
movzx eax, al
test eax, eax
je 0x100a8696
push dword [ebp + 8]
push str.TxDl_Main_enter__cmdline_s
push 0xd2
push 0x100c6138
call fcn.1005a93a
add esp, 0x10
push 0x100c6134
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.10003b3a
push 0x100c618c
lea eax, [ebp - 0xc]
push eax
call fcn.1001079b
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x100a86d2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0xc]
call fcn.10003bbe
push 0x100c6190
lea ecx, [ebp - 0x2c8]
call fcn.100016f9
push eax
push 0x100c6194
lea ecx, [ebp - 0x2e4]
call fcn.100016f9
push eax
push 0x100c6198
lea ecx, [ebp - 0x300]
call fcn.100016f9
push eax
lea ecx, [ebp - 0xc]
call fcn.1003338d
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x304], esp
push eax
call fcn.100016f9
lea ecx, [ebp - 0x78]
call fcn.100b06ca
lea ecx, [ebp - 0x300]
call fcn.10001767
lea ecx, [ebp - 0x2e4]
call fcn.10001767
lea ecx, [ebp - 0x2c8]
call fcn.10001767
and dword [ebp - 0x80], 0
and dword [ebp - 0x308], 0
push 0x100c61a0
lea ecx, [ebp - 0x324]
call fcn.100016f9
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x78]
call fcn.1001677d
lea ecx, [ebp - 0x324]
call fcn.10001767
push dword [ebp - 0x80]
mov ecx, 0x100f9260
call fcn.100a81bc
test eax, eax
je 0x100a87ba
or dword [ebp - 0x328], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.100b07b0
lea ecx, [ebp - 0xc]
call fcn.100104e6
mov eax, dword [ebp - 0x328]
jmp 0x100a8b48
xor eax, eax
cmp dword [0x100f9178], 0
setne al
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
cmp dword [0x100f917c], 0
je 0x100a880d
push dword [0x100f917c]
call fcn.100a7819
pop ecx
test eax, eax
jne 0x100a880d
or dword [ebp - 0x32c], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.100b07b0
lea ecx, [ebp - 0xc]
call fcn.100104e6
mov eax, dword [ebp - 0x32c]
jmp 0x100a8b48
cmp dword [ebp - 0x7c], 0
je 0x100a89f7
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.1001dd66
push 0x2001f
push 0x100c61b4
push SysReAllocString
lea ecx, [ebp - 0x2a4]
call fcn.10009b42
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0
jne 0x100a8899
lea eax, [ebp - 0x2ac]
push eax
push str.kSeWT
lea ecx, [ebp - 0x2a4]
call fcn.100205c3
lea eax, [ebp - 0x298]
push eax
push str.kSeDbg
lea ecx, [ebp - 0x2a4]
call fcn.100205c3
cmp dword [ebp - 0x298], 0
je 0x100a88b0
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 0x100a890d
mov eax, dword [ebp - 0x2ac]
sub eax, dword [ebp - 0x29c]
push eax
mov ecx, 0x100f925c
call fcn.1003338d
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100a890d
or dword [ebp - 0x330], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.10009bb4
lea ecx, [ebp - 0x78]
call fcn.100b07b0
lea ecx, [ebp - 0xc]
call fcn.100104e6
mov eax, dword [ebp - 0x330]
jmp 0x100a8b48
lea ecx, [ebp - 0x294]
call fcn.1001dd66
push 0x2001f
push 0x100c6204
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x294]
call fcn.10009b42
mov dword [ebp - 0x2a8], eax
and word [ebp - 0x290], 0
push 0x208
push 0
lea eax, [ebp - 0x28e]
push eax
call fcn.10070cb0
add esp, 0xc
mov dword [ebp - 0x2a0], 0x104
cmp dword [ebp - 0x2a8], 0
jne 0x100a8987
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x290]
push eax
push str.ExeString
lea ecx, [ebp - 0x294]
call fcn.10009cf3
lea eax, [ebp - 0x290]
push eax
call fcn.1006dffb
pop ecx
test eax, eax
jbe 0x100a89e1
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a89e1
or dword [ebp - 0x334], 0xffffffff
lea ecx, [ebp - 0x294]
call fcn.10009bb4
lea ecx, [ebp - 0x2a4]
call fcn.10009bb4
lea ecx, [ebp - 0x78]
call fcn.100b07b0
lea ecx, [ebp - 0xc]
call fcn.100104e6
mov eax, dword [ebp - 0x334]
jmp 0x100a8b48
lea ecx, [ebp - 0x294]
call fcn.10009bb4
lea ecx, [ebp - 0x2a4]
call fcn.10009bb4
push dword [0x100f9204]
mov ecx, 0x100f9260
call fcn.100a8537
lea ecx, [ebp - 8]
call fcn.1004427e
lea ecx, [ebp - 8]
call fcn.10013000
push eax
call sym.QQPCDownload.dll_CreateTxdlController
test eax, eax
jge 0x100a8a55
mov ecx, 0x100f9260
call fcn.100a8432
or dword [ebp - 0x338], 0xffffffff
lea ecx, [ebp - 8]
call fcn.10021766
lea ecx, [ebp - 0x78]
call fcn.100b07b0
lea ecx, [ebp - 0xc]
call fcn.100104e6
mov eax, dword [ebp - 0x338]
jmp 0x100a8b48
lea ecx, [ebp - 8]
call fcn.1003338d
mov dword [ebp - 0x344], eax
push 0
lea ecx, [ebp - 0xc]
call fcn.1003338d
push eax
lea ecx, [ebp - 0x33c]
call fcn.100207c5
mov ecx, eax
call fcn.1003338d
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.1000a869
lea ecx, [ebp - 8]
call fcn.1003338d
push eax
mov ecx, 0x100f92d8
call fcn.100a6805
lea ecx, [ebp - 8]
call fcn.1003338d
push eax
mov ecx, 0x100f9260
call fcn.100a858a
mov ecx, 0x100f92d8
call fcn.100a7634
mov ecx, 0x100f92d8
call fcn.100a67aa
lea ecx, [ebp - 8]
call fcn.1003338d
mov dword [ebp - 0x348], eax
mov eax, dword [ebp - 0x348]
mov eax, dword [eax]
push dword [ebp - 0x348]
call dword [eax + 0x10]
mov ecx, 0x100f9260
call fcn.100a8432
call fcn.1005aaab
movzx eax, al
test eax, eax
je 0x100a8b23
push str.TxDl_Main_leave...
push 0xd2
push str.D:jenkins_TrunkworkspaceCEN_Hive_QQPCDownload_ForDComqqpcmgr_projTxdlTxdl.cpp
call fcn.1005a93a
add esp, 0xc
and dword [ebp - 0x340], 0
lea ecx, [ebp - 8]
call fcn.10021766
lea ecx, [ebp - 0x78]
call fcn.100b07b0
lea ecx, [ebp - 0xc]
call fcn.100104e6
mov eax, dword [ebp - 0x340]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e011
leave
ret 4