Function at 0x1000e090
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 4]
cmp eax, 0x20
je 0x10009c8b
cmp eax, 0x14
je 0x10009c86
xor eax, eax
ret 8
cmp eax, 0x20
jne 0x10009c99
mov eax, dword [ecx + 8]
add eax, 0xc
push eax
mov eax, dword [esp + 8]
push eax
jmp 0x10009ca5
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 4]
add eax, 8
push eax
push ecx
mov ecx, dword [0x10069070]
push 0
call fcn.10010590
dec eax
neg eax
sbb eax, eax
inc eax
ret 8
mov eax, dword [esp + 8]
cmp dword [eax + 4], 4
je 0x10009d0c
mov eax, dword [ecx + 0x38]
mov ecx, dword [esp + 4]
push eax
push ecx
push str.Recv__OnStop_Msg_Error_HWND:_u_:_u
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x14
xor eax, eax
ret 8
mov edx, dword [eax + 8]
mov eax, dword [edx]
push eax
call sym.LiveUpd360.dll_PPStopTask
add esp, 4
movzx eax, al
ret 8
mov eax, dword [esp + 8]
cmp dword [eax + 4], 4
je 0x10009d4c
mov eax, dword [ecx + 0x38]
mov ecx, dword [esp + 4]
push eax
push ecx
push str.Recv__OnStop_Msg_Error_HWND:_u_:_u
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x14
xor eax, eax
ret 8
mov edx, dword [eax + 8]
mov eax, dword [edx]
push eax
call sym.LiveUpd360.dll_PPRemoveTask
add esp, 4
movzx eax, al
ret 8
mov eax, dword [esp + 8]
cmp dword [eax + 4], 4
je 0x10009d88
mov eax, dword [esp + 4]
push eax
push str.HWND:_u__OnClose_fail
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x10
xor eax, eax
ret 8
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov eax, dword [esp + 4]
push edx
push eax
call fcn.1000e930
add esp, 8
movzx eax, al
ret 8
mov eax, dword [esp + 4]
mov ecx, dword [0x10069070]
push eax
call fcn.100106c0
ret 8
mov eax, dword [esp + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov ecx, dword [0x10069070]
push eax
call fcn.10010560
ret 8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
mov eax, dword [esi + 0x38]
push eax
push edi
push str.Recv__OnQueryIpPort_Msg_HWND:_u_:_u
push 1
push 0x10069158
call fcn.10017d90
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + 8]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov edx, dword [ecx]
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], eax
call fcn.10018510
mov ebx, dword [sym.imp.USER32.dll_FindWindowExW]
lea eax, [esp + 0x2c]
add esp, 0x1c
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0xd
mov dword [esp + 0x20], 0xc
mov dword [esp + 0xc], 0
xor eax, eax
mov edi, edi
push 0
push str.LiveUpd360C
push eax
push 0
call ebx
test eax, eax
je 0x10009e84
cmp eax, edi
jne 0x10009e70
mov eax, dword [esi + 0x38]
lea ecx, [esp + 0xc]
push ecx
push 0x1388
push 0
lea edx, [esp + 0x28]
push edx
push eax
push 0x4a
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x10009eb3
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 8
mov ecx, dword [esi + 0x38]
push ecx
push 0x10053644
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
mov ecx, dword [0x10069668]
mov eax, dword [esp + 8]
mov eax, dword [eax + 8]
test ecx, ecx
je 0x1000a701
mov edx, dword [eax + 4]
push edx
lea edx, [eax + 8]
mov eax, dword [eax]
push edx
push eax
call ecx
add esp, 0xc
mov eax, 1
ret 8
mov eax, dword [esp + 8]
sub esp, 0x34
cmp dword [eax + 4], 8
push ebp
mov ebp, ecx
je 0x1000a9d9
xor eax, eax
pop ebp
add esp, 0x34
ret 8
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], 0x14
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 5
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x38], ebx
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
push edi
mov edi, dword [esp + 0x44]
lea eax, [esp + 0x2c]
push eax
push edi
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [0x10069070]
mov dword [esp + 0x34], edx
call fcn.10010600
test eax, eax
jne 0x1000aa46
mov edx, dword [ebp + 0x38]
push edx
push str._OnGetConfig_fail__WHDN:_u
jmp 0x1000aaba
lea eax, [esp + 0x18]
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x3ea
mov dword [esp + 0x14], 0x28
mov dword [esp + 0x4c], ebx
xor eax, eax
jmp 0x1000aa70
push ebx
push str.LiveUpd360C
push eax
push ebx
call esi
cmp eax, ebx
je 0x1000aa82
cmp eax, edi
jne 0x1000aa70
mov eax, dword [ebp + 0x38]
lea ecx, [esp + 0x4c]
push ecx
push 0x1388
push ebx
lea edx, [esp + 0x1c]
push edx
push eax
push 0x4a
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
pop esi
cmp eax, ebx
je 0x1000aab1
mov eax, dword [esp + 0x48]
pop edi
pop ebx
pop ebp
add esp, 0x34
ret 8
mov ecx, dword [ebp + 0x38]
push ecx
push str._OnGetConfig_Msg_fail__WHDN:_u
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x10
pop edi
pop ebx
xor eax, eax
pop ebp
add esp, 0x34
ret 8
sub esp, 0x260
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x25c], eax
mov eax, dword [esp + 0x268]
cmp dword [eax + 4], 8
push ebp
mov ebp, dword [esp + 0x268]
mov dword [esp + 8], ecx
je 0x1000d2a0
mov eax, dword [ecx + 0x38]
push eax
push ebp
push str.Recv__OnQuery_Msg_Error_HWND:_u_:_u
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x14
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.10038723
add esp, 0x260
ret 8
push ebx
push esi
mov esi, dword [eax + 8]
mov ecx, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], ecx
call edi
lea edx, [esp + 0x2c]
mov ebx, eax
mov eax, dword [esi]
push edx
push eax
call sym.LiveUpd360.dll_PPQueryTask
add esp, 8
test al, al
jne 0x1000d2fa
mov ecx, dword [esi]
push ecx
call fcn.1000ccf0
add esp, 4
cmp eax, 1
jne 0x1000d3fb
mov edx, dword [esi]
push edx
push str.Handle:_u_OnQuery_fail
push eax
push 0x10069158
call fcn.10017d90
add esp, 0x10
jmp 0x1000d3fb
call edi
sub eax, ebx
cmp eax, 0x1388
jbe 0x1000d331
mov eax, dword [esi]
push eax
call fcn.1000ccf0
add esp, 4
cmp eax, 1
jne 0x1000d331
call edi
mov ecx, dword [esi]
sub eax, ebx
push eax
push ecx
push str.Handle:_u_Time:_d_OnQuery_fail
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x14
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
lea edx, [esp + 0x24]
mov dword [esp + 0x18], 0x3ee
mov dword [esp + 0x1c], 0x248
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], 0
xor eax, eax
lea esp, [esp]
push 0
push str.LiveUpd360C
push eax
push 0
call edi
test eax, eax
je 0x1000d374
cmp eax, ebp
jne 0x1000d360
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
mov eax, dword [edx + 0x38]
push 0x1388
push 0
lea ecx, [esp + 0x24]
push ecx
push eax
push 0x4a
push ebp
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x1000d3cd
cmp dword [esp + 0x10], 0
jne 0x1000d3c7
mov ecx, dword [esi]
push ecx
call fcn.1000ccf0
add esp, 4
cmp eax, 1
jne 0x1000d3c7
mov edx, dword [esi]
push edx
push str.Handle:_u_OnQuery_fail
push eax
push 0x10069158
call fcn.10017d90
add esp, 0x10
mov eax, dword [esp + 0x10]
jmp 0x1000d3fd
mov eax, dword [esi]
push eax
call fcn.1000ccf0
add esp, 4
cmp eax, 1
jne 0x1000d3fb
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CDownService::SendMessageTimeout_Error__LastError:_d_Handle:_u
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x14
xor eax, eax
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebx
pop ebp
xor ecx, esp
call fcn.10038723
add esp, 0x260
ret 8
sub esp, 0x668
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x664], eax
mov eax, dword [esp + 0x670]
cmp dword [eax + 4], 8
push ebp
mov ebp, dword [esp + 0x670]
mov dword [esp + 8], ecx
je 0x1000d47b
push str.OnQueryEx_Error_Param
push 1
push 0x10069158
call fcn.10017d90
add esp, 0xc
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x664]
xor ecx, esp
call fcn.10038723
add esp, 0x668
ret 8
push ebx
push esi
mov esi, dword [eax + 8]
push edi
push 0x644
lea eax, [esp + 0x30]
push 0
push eax
mov dword [esp + 0x278], 0x648
call fcn.10038ae0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x67c], 0
mov ecx, dword [esi + 4]
add esp, 0xc
mov dword [esp + 0x24], ecx
call edi
lea edx, [esp + 0x2c]
mov ebx, eax
mov eax, dword [esi]
push edx
push eax
call sym.LiveUpd360.dll_PPQueryTaskEx
add esp, 8
test al, al
jne 0x1000d4ff
mov ecx, dword [esi]
push ecx
call fcn.1000ccf0
add esp, 4
cmp eax, 1
jne 0x1000d5fb
mov edx, dword [esi]
push edx
push str.Handle:_u_OnQueryEx_fail
push eax
push 0x10069158
call fcn.10017d90
add esp, 0x10
jmp 0x1000d5fb
call edi
sub eax, ebx
cmp eax, 0x1388
jb 0x1000d536
mov eax, dword [esi]
push eax
call fcn.1000ccf0
add esp, 4
cmp eax, 1
jne 0x1000d536
call edi
mov ecx, dword [esi]
sub eax, ebx
push eax
push ecx
push str.Handle:_u_Time:_d_OnQueryEx_fail
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x14
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
lea edx, [esp + 0x24]
mov dword [esp + 0x18], 0x3f3
mov dword [esp + 0x1c], 0x650
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], 0
xor eax, eax
mov edi, edi
push 0
push str.LiveUpd360C
push eax
push 0
call edi
test eax, eax
je 0x1000d574
cmp eax, ebp
jne 0x1000d560
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
mov eax, dword [edx + 0x38]
push 0x1388
push 0
lea ecx, [esp + 0x24]
push ecx
push eax
push 0x4a
push ebp
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x1000d5cd
cmp dword [esp + 0x10], 0
jne 0x1000d5c7
mov ecx, dword [esi]
push ecx
call fcn.1000ccf0
add esp, 4
cmp eax, 1
jne 0x1000d5c7
mov edx, dword [esi]
push edx
push str.Handle:_u_OnQueryEx_fail
push eax
push 0x10069158
call fcn.10017d90
add esp, 0x10
mov eax, dword [esp + 0x10]
jmp 0x1000d5fd
mov eax, dword [esi]
push eax
call fcn.1000ccf0
add esp, 4
cmp eax, 1
jne 0x1000d5fb
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CDownService::SendMessageTimeout_Error_ErrorValue:_d_Handle:_u
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x14
xor eax, eax
mov ecx, dword [esp + 0x674]
pop edi
pop esi
pop ebx
pop ebp
xor ecx, esp
call fcn.10038723
add esp, 0x668
ret 8
push ecx
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [eax + 8]
lea edx, [esi + 0x428]
push edi
mov edi, ecx
mov eax, edx
mov dword [esp + 0xc], edi
lea ebx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000da60
sub eax, ebx
sar eax, 1
cmp eax, dword [esi + 0x41c]
je 0x1000da95
push edx
push str._OnStart_fail_URL_s
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 8
mov eax, dword [esi + 0x418]
push ebp
mov ebp, dword [esp + 0x18]
push eax
lea ecx, [esi + 0x208]
push ecx
mov ecx, dword [esi + 0x410]
push eax
mov eax, dword [esi + 0x414]
push 0x1000d220
push eax
push ecx
push esi
push edx
push ebp
call fcn.1000e580
mov ebx, eax
add esp, 0x24
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x1000db12
add edi, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [esi + 0x420]
mov ecx, dword [esp + 0x10]
mov esi, dword [esi + 0x424]
lea edx, [esp + 0x1c]
push edx
call fcn.1000d950
mov dword [eax], ebp
mov dword [eax + 4], ebx
push edi
mov dword [eax + 8], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret 8
mov eax, dword [edi + 0x1c]
push eax
push str._OnStart_handle_NULL___DownMap_d
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x10
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret 8
push 0xffffffffffffffff
push 0x100502cb
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebp
push esi
push edi
mov eax, dword [0x100638a4]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov edi, dword [esp + 0xec]
mov eax, dword [edi + 4]
mov ebp, dword [esp + 0xe8]
cmp eax, 0x67c
je 0x1000dd10
cmp eax, 0x470
je 0x1000dd10
xor eax, eax
jmp 0x1000de57
mov esi, dword [edi + 8]
lea ecx, [esp + 0x10]
call fcn.1000db40
mov eax, esi
mov dword [esp + 0xe0], 0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000dd30
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x4c]
call fcn.10009330
cmp dword [edi + 4], 0x470
jne 0x1000dd60
mov dword [esp + 0xd0], 0
jmp 0x1000ddbf
lea edx, [esi + 0x208]
mov eax, edx
lea edi, [eax + 2]
jmp 0x1000dd70
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000dd70
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x68]
call fcn.10009330
lea ecx, [esi + 0x474]
mov eax, ecx
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x1000dd95
sub eax, edi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0xbc]
call fcn.10009330
mov eax, dword [esi + 0x470]
mov dword [esp + 0xd0], eax
lea edi, [esi + 0x208]
push 0x5c
push edi
call fcn.100386f7
add esp, 8
test eax, eax
je 0x1000ddd9
add eax, 2
jmp 0x1000dddb
mov eax, edi
test eax, eax
je 0x1000de01
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x1000dde4
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x84]
call fcn.10009330
lea edx, [esi + 0x410]
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000de10
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0xa0]
call fcn.10009330
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [0x10069070]
push ebp
call fcn.10014520
lea ecx, [esp + 0x10]
mov dword [esp + 0xe0], 0xffffffff
call fcn.1000dbd0
mov eax, 1
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.10038723
add esp, 0xd4
ret 8
mov eax, dword [esp + 8]
mov edx, dword [eax]
cmp edx, 0xe
ja case.0x1000e09b.7
jmp dword [edx*4 + 0x1000e120]
mov dword [esp + 8], eax
jmp 0x1000dcb0
mov dword [esp + 8], eax
jmp 0x10009c70
mov dword [esp + 8], eax
jmp 0x1000a9c0
mov dword [esp + 8], eax
jmp 0x1000da40
mov dword [esp + 8], eax
jmp 0x10009ce0
mov dword [esp + 8], eax
jmp 0x10009d20
mov dword [esp + 8], eax
jmp 0x1000d240
mov dword [esp + 8], eax
jmp 0x1000d420
mov dword [esp + 8], eax
jmp 0x10009d60
mov dword [esp + 8], eax
jmp 0x10009db0
mov dword [esp + 8], eax
jmp 0x10009dd0
mov dword [esp + 8], eax
jmp 0x10009df0
mov dword [esp + 8], eax
jmp 0x1000a6e0
mov eax, 1
ret 8