Function at 0x100b2007
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 [0x100e93e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x100d0e68
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.10003c37
push 0x100d0e6c
lea eax, [ebp - 0xc]
push eax
call fcn.10010866
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x100b2056
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0xc]
call fcn.10003cbb
push 0x100d0e70
lea ecx, [ebp - 0x4e0]
call fcn.100016fc
push eax
push 0x100d0e74
lea ecx, [ebp - 0x4fc]
call fcn.100016fc
push eax
push 0x100d0e78
lea ecx, [ebp - 0x518]
call fcn.100016fc
push eax
lea ecx, [ebp - 0xc]
call fcn.100350cd
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x51c], esp
push eax
call fcn.100016fc
lea ecx, [ebp - 0x78]
call fcn.100ba1b1
lea ecx, [ebp - 0x518]
call fcn.1000176a
lea ecx, [ebp - 0x4fc]
call fcn.1000176a
lea ecx, [ebp - 0x4e0]
call fcn.1000176a
and dword [ebp - 0x80], 0
and dword [ebp - 0x520], 0
push 0x100d0e80
lea ecx, [ebp - 0x53c]
call fcn.100016fc
lea eax, [ebp - 0x520]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x53c]
push eax
lea ecx, [ebp - 0x78]
call fcn.100167d9
lea ecx, [ebp - 0x53c]
call fcn.1000176a
push dword [ebp - 0x80]
mov ecx, 0x10105278
call fcn.100b161b
test eax, eax
je 0x100b213e
or dword [ebp - 0x540], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.100ba297
lea ecx, [ebp - 0xc]
call fcn.100105a7
mov eax, dword [ebp - 0x540]
jmp 0x100b2572
xor eax, eax
cmp dword [0x10105180], 0
setne al
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
cmp dword [0x10105184], 0
je 0x100b219f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [0x10105184], eax
je 0x100b219f
push dword [0x10105184]
call fcn.100b114d
pop ecx
test eax, eax
jne 0x100b219f
or dword [ebp - 0x544], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.100ba297
lea ecx, [ebp - 0xc]
call fcn.100105a7
mov eax, dword [ebp - 0x544]
jmp 0x100b2572
cmp dword [ebp - 0x7c], 0
je 0x100b2444
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.1002191f
push 0x2001f
push 0x100d0e94
push SysReAllocStringLen
lea ecx, [ebp - 0x90]
call fcn.10009c34
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jne 0x100b222b
lea eax, [ebp - 0x98]
push eax
push str.kSeWT
lea ecx, [ebp - 0x90]
call fcn.10020620
lea eax, [ebp - 0x88]
push eax
push str.kSeDbg
lea ecx, [ebp - 0x90]
call fcn.10020620
cmp dword [ebp - 0x88], 0
je 0x100b2242
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 0x100b229f
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0x8c]
push eax
mov ecx, 0x10105274
call fcn.100350cd
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100b229f
or dword [ebp - 0x548], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.10009ca6
lea ecx, [ebp - 0x78]
call fcn.100ba297
lea ecx, [ebp - 0xc]
call fcn.100105a7
mov eax, dword [ebp - 0x548]
jmp 0x100b2572
lea ecx, [ebp - 0x84]
call fcn.1002191f
push 0x2001f
push 0x100d0ee4
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x84]
call fcn.10009c34
mov dword [ebp - 0x94], eax
and word [ebp - 0x2a8], 0
push 0x208
push 0
lea eax, [ebp - 0x2a6]
push eax
call fcn.100738a0
add esp, 0xc
mov dword [ebp - 0x2ac], 0x104
cmp dword [ebp - 0x94], 0
jne 0x100b2319
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x2a8]
push eax
push str.ExeString
lea ecx, [ebp - 0x84]
call fcn.10009de5
lea eax, [ebp - 0x2a8]
push eax
call fcn.10070c0b
pop ecx
test eax, eax
jbe 0x100b2373
lea eax, [ebp - 0x2a8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100b2373
or dword [ebp - 0x54c], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.10009ca6
lea ecx, [ebp - 0x90]
call fcn.10009ca6
lea ecx, [ebp - 0x78]
call fcn.100ba297
lea ecx, [ebp - 0xc]
call fcn.100105a7
mov eax, dword [ebp - 0x54c]
jmp 0x100b2572
and word [ebp - 0x4c0], 0
push 0x208
push 0
lea eax, [ebp - 0x4be]
push eax
call fcn.100738a0
add esp, 0xc
mov dword [ebp - 0x4c4], 0x104
cmp dword [ebp - 0x94], 0
jne 0x100b23c2
lea eax, [ebp - 0x4c4]
push eax
lea eax, [ebp - 0x4c0]
push eax
push 0x100d0f2c
lea ecx, [ebp - 0x84]
call fcn.10009de5
lea eax, [ebp - 0x4c0]
push eax
call fcn.10070c0b
pop ecx
test eax, eax
jbe 0x100b242e
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 0x100b242e
or dword [ebp - 0x550], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.10009ca6
lea ecx, [ebp - 0x90]
call fcn.10009ca6
lea ecx, [ebp - 0x78]
call fcn.100ba297
lea ecx, [ebp - 0xc]
call fcn.100105a7
mov eax, dword [ebp - 0x550]
jmp 0x100b2572
lea ecx, [ebp - 0x84]
call fcn.10009ca6
lea ecx, [ebp - 0x90]
call fcn.10009ca6
push dword [0x10105210]
mov ecx, 0x10105278
call fcn.100b1ee1
lea ecx, [ebp - 8]
call fcn.100025b2
lea ecx, [ebp - 8]
call fcn.1002388c
push eax
call sym.QQPCDownload.dll_CreateTxdlController
test eax, eax
jge 0x100b24a2
mov ecx, 0x10105278
call fcn.100b1ddc
or dword [ebp - 0x554], 0xffffffff
lea ecx, [ebp - 8]
call fcn.100104eb
lea ecx, [ebp - 0x78]
call fcn.100ba297
lea ecx, [ebp - 0xc]
call fcn.100105a7
mov eax, dword [ebp - 0x554]
jmp 0x100b2572
lea ecx, [ebp - 8]
call fcn.100350cd
mov dword [ebp - 0x560], eax
push 0
lea ecx, [ebp - 0xc]
call fcn.100350cd
push eax
lea ecx, [ebp - 0x558]
call fcn.10020822
mov ecx, eax
call fcn.100350cd
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.1000a8ea
lea ecx, [ebp - 8]
call fcn.100350cd
push eax
mov ecx, 0x101052f0
call fcn.100afef6
lea ecx, [ebp - 8]
call fcn.100350cd
push eax
mov ecx, 0x10105278
call fcn.100b1f34
mov ecx, 0x101052f0
call fcn.100b0e12
mov ecx, 0x101052f0
call fcn.100afe9b
lea ecx, [ebp - 8]
call fcn.100350cd
mov dword [ebp - 0x564], eax
mov eax, dword [ebp - 0x564]
mov eax, dword [eax]
push dword [ebp - 0x564]
call dword [eax + 0x10]
mov ecx, 0x10105278
call fcn.100b1ddc
and dword [ebp - 0x55c], 0
lea ecx, [ebp - 8]
call fcn.100104eb
lea ecx, [ebp - 0x78]
call fcn.100ba297
lea ecx, [ebp - 0xc]
call fcn.100105a7
mov eax, dword [ebp - 0x55c]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10070c21
leave
ret 4