Function at 0x1001fd60
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100511f2
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100638a4]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2b0]
mov esi, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x1d0]
cmp eax, 6
je 0x1001fdbc
cmp eax, 5
jne case.default.0x1001fe98
push 0x26c
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.10038ae0
mov eax, dword [esi + 0x18c]
add esp, 0xc
lea edx, [esp + 0x30]
push edx
push eax
mov ecx, 0x10069620
call fcn.1001c0a0
test eax, eax
jne 0x1001fdf1
xor al, al
jmp 0x1002077c
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
add edx, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x130], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x12c], edx
mov edx, eax
or edx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
je 0x1001fe43
mov edx, dword [esi + 0x1e0]
or edx, dword [esi + 0x1e4]
jne 0x1001fe43
mov dword [esi + 0x1e0], eax
mov dword [esi + 0x1e4], ecx
mov edx, dword [esi + 0x11c]
mov ecx, dword [esi + 0x118]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esi + 0x11c], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x118], edx
cmp edx, ecx
jne 0x1001fe7b
mov ecx, dword [esp + 0x4c]
cmp ecx, dword [esp + 0x20]
je 0x1001fe87
call ebx
mov dword [esi + 0x110], eax
mov eax, dword [esp + 0x38]
movzx ecx, byte [esp + 0x8d]
cmp ecx, 6
ja case.default.0x1001fe98
jmp dword [ecx*4 + 0x100207a8]
mov ecx, dword [esi + 0x1d8]
test ecx, ecx
je 0x1001ff89
cmp ecx, 0xffffffff
je 0x1001ff89
call ebx
sub eax, dword [esi + 0x110]
cmp eax, dword [esi + 0x1d8]
jbe 0x1001ff85
mov eax, dword [esi + 0x1d0]
cmp eax, 6
je 0x1001fede
cmp eax, 5
jne 0x1001ff85
cmp ebp, dword [esi + 0x1e4]
jb 0x1001fef8
ja 0x1001fef0
cmp edi, dword [esi + 0x1e0]
jb 0x1001fef8
or edi, ebp
jne 0x1001ff85
mov dword [esi + 0x1d0], 3
call ebx
sub eax, dword [esi + 0x108]
push 0x400
lea edx, [esi + 0x22c]
mov dword [esi + 0x10c], eax
mov eax, dword [esi + 0x18c]
push edx
push eax
mov ecx, 0x10069620
call fcn.1001c250
mov ecx, dword [esi + 0x18c]
push ecx
mov ecx, 0x10069620
mov dword [esi + 0xa3c], eax
call fcn.1001c230
mov ecx, esi
call fcn.1001d380
push 0x10055354
lea ecx, [esi + 0x200]
call fcn.1001e650
mov edx, dword [esi + 0x18c]
mov eax, dword [esi]
push edx
mov edx, dword [eax + 0x2c]
mov ecx, esi
call edx
push eax
push str.Handle:_u_P2SP_TaskID:_u_timeout_and_end
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x14
jmp case.default.0x1001fe98
mov eax, dword [esp + 0x38]
cmp dword [esi + 0x1d0], 6
jne case.default.0x1001fe98
cmp dword [esi + 0x12c], 0
ja 0x1001ffc3
mov edx, dword [esp + 0x58]
add edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
adc ecx, dword [esp + 0x64]
test ecx, ecx
ja 0x1001ffc3
jb 0x1001ffb9
test edx, edx
ja 0x1001ffc3
or eax, dword [esp + 0x3c]
je case.default.0x1001fe98
mov byte [esi + 0xe4], 1
call ebx
sub eax, dword [esi + 0x108]
push 0x1005535c
lea ecx, [esi + 0x200]
mov dword [esi + 0x120], eax
mov dword [esi + 0x1d0], 5
call fcn.1001e650
mov eax, dword [esi + 0x18c]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
push eax
push str.Handle:_u_P2SP_TaskID:_u_get_first_data_pack
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x14
jmp case.default.0x1001fe98
mov eax, dword [esi + 0x1d0]
cmp eax, 1
je case.default.0x1001fe98
cmp eax, 2
je case.default.0x1001fe98
cmp eax, 3
je case.default.0x1001fe98
cmp dword [esi + 0x104], 0
jne 0x1002009c
push 0
push 0x500000
push ebp
push edi
call fcn.1003b3a0
mov dword [esp + 0x20], edx
test ebx, ebx
ja 0x10020060
test ecx, ecx
jbe 0x10020067
mov ecx, 1
jmp 0x10020069
xor ecx, ecx
add eax, ecx
imul eax, eax, 0x927c0
cmp dword [esi + 0x180], 0
jne 0x10020080
mov dword [esi + 0x180], eax
cmp dword [esi + 0xfc], 0
je 0x1002009c
cmp dword [esi + 0xf8], 0
je 0x1002009c
mov dword [esi + 0x180], 0xbb8
mov ecx, dword [esp + 0x58]
add ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
adc edx, dword [esp + 0x64]
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x7c]
mov dword [esi + 0x174], ebp
mov ebp, dword [esp + 0x80]
mov dword [esi + 0x138], ecx
mov ecx, dword [esp + 0x54]
mov dword [esi + 0x13c], edx
mov edx, dword [esp + 0x74]
mov dword [esi + 0x15c], ebp
mov ebp, dword [esi + 0x138]
sub ebp, edx
mov dword [esi + 0x148], edx
mov edx, dword [esi + 0x13c]
mov dword [esi + 0x170], edi
mov edi, dword [esp + 0x78]
sbb edx, edi
mov dword [esi + 0x178], eax
sub eax, ebx
mov dword [esi + 0x17c], ecx
sbb ecx, dword [esp + 0x80]
mov dword [esi + 0x140], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x14c], edi
mov dword [esi + 0x158], ebx
mov dword [esi + 0x144], edx
mov dword [esi + 0x150], eax
mov dword [esi + 0x154], ecx
mov byte [esi + 0xe4], 1
call ebp
sub eax, dword [esi + 0x108]
mov ecx, dword [esi + 0x120]
mov dword [esi + 0x10c], eax
test ecx, ecx
je 0x10020161
sub eax, ecx
mov dword [esi + 0x10c], eax
mov edi, dword [esi + 0x10c]
test edi, edi
je 0x100201bd
mov eax, dword [esi + 0x13c]
mov ecx, dword [esi + 0x138]
xor ebx, ebx
push ebx
push 0x3e8
push eax
push ecx
call fcn.1003acd0
push ebx
push edi
push edx
push eax
call fcn.1003b330
mov edx, dword [esi + 0x17c]
push ebx
push 0x3e8
mov dword [esi + 0x124], eax
mov eax, dword [esi + 0x178]
push edx
push eax
call fcn.1003acd0
push ebx
push edi
push edx
push eax
call fcn.1003b330
mov dword [esi + 0x128], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x98]
push eax
mov ecx, esi
call fcn.1001cf90
test al, al
jne 0x10020273
mov eax, 8
cmp dword [esi + 0x54], eax
jb 0x100201ed
mov ecx, dword [esi + 0x40]
jmp 0x100201f0
lea ecx, [esi + 0x40]
cmp dword [esi + 0xe0], eax
jb 0x10020200
mov eax, dword [esi + 0xcc]
jmp 0x10020206
lea eax, [esi + 0xcc]
mov edx, dword [esi + 0xa38]
push edx
mov edx, dword [esi + 0xa3c]
push edx
mov edx, dword [esi + 0x18c]
push ecx
lea ecx, [esp + 0x9c]
push ecx
push eax
mov eax, dword [esi]
push edx
mov edx, dword [eax + 0x2c]
mov ecx, esi
call edx
push eax
push str.Handle:_u_P2SP_TaskID:_u_End__Check_file_fail__s__File:_s__File0:__s__ErrCode:_d__CheckErr:_d_
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x28
mov ecx, esi
mov dword [esi + 0xa2c], 7
mov dword [esi + 0x1d0], 2
call fcn.1001e510
push 0x10055350
lea ecx, [esi + 0x200]
call fcn.1001e650
jmp 0x100203e5
mov eax, dword [esi + 0x18c]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
push eax
push str.Handle:_u_P2SP_TaskID:_u
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x14
push 0x1005534c
lea ecx, [esi + 0x200]
mov dword [esi + 0x1d0], 1
call fcn.1001e650
cmp dword [esi + 0xe8], 0
je 0x100203dd
mov eax, dword [esi + 0x18]
or edi, 0xffffffff
test eax, eax
je 0x10020350
sub esp, 0x1c
lea edx, [esi + 0x58]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.1000b510
sub esp, 0x1c
lea eax, [esi + 0xa98]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
mov dword [esp + 0x2e4], 0
call fcn.1000b510
mov ecx, dword [esi + 0xec]
push ecx
sub esp, 0x1c
lea edx, [esi + 4]
mov ecx, esp
mov dword [esp + 0x74], esp
push edx
mov byte [esp + 0x304], 1
call fcn.1000b510
sub esp, 0x1c
lea eax, [esi + 0x3c]
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
mov byte [esp + 0x320], 2
call fcn.1000b510
push 1
mov ecx, 0x100695b0
mov dword [esp + 0x320], edi
call fcn.1001f560
cmp dword [esi + 0x34], 0
je 0x100203dd
sub esp, 0x1c
lea edx, [esi + 0x58]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.1000b510
sub esp, 0x1c
lea eax, [esi + 0xa98]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov dword [esp + 0x2e4], 3
call fcn.1000b510
mov ecx, dword [esi + 0xec]
push ecx
sub esp, 0x1c
lea edx, [esi + 0x20]
mov ecx, esp
mov dword [esp + 0x7c], esp
push edx
mov byte [esp + 0x304], 4
call fcn.1000b510
sub esp, 0x1c
lea eax, [esi + 0x3c]
mov ecx, esp
mov dword [esp + 0xa0], esp
push eax
mov byte [esp + 0x320], 5
call fcn.1000b510
push 2
mov ecx, 0x100695b0
mov dword [esp + 0x320], edi
call fcn.1001f560
call ebp
mov dword [esi + 0x184], eax
push 0x800
lea edi, [esi + 0x22c]
push 0
push edi
call fcn.10038ae0
mov ecx, dword [esi + 0x18c]
add esp, 0xc
push 0x400
push edi
push ecx
mov ecx, 0x10069620
call fcn.1001c250
mov edx, dword [esi + 0x18c]
push edx
mov ecx, 0x10069620
mov dword [esi + 0xa3c], eax
call fcn.1001c230
mov ecx, esi
call fcn.1001d380
mov dword [esi + 0x1d4], 1
jmp case.default.0x1001fe98
cmp dword [esi + 0x1d0], 3
je case.default.0x1001fe98
mov eax, dword [esi + 0x18c]
push eax
mov ecx, 0x10069620
call fcn.1001c230
mov ecx, dword [esp + 0x58]
add ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
adc edx, dword [esp + 0x64]
mov eax, dword [esp + 0x50]
mov dword [esi + 0x13c], edx
movzx edx, byte [esp + 0x8d]
mov dword [esi + 0x138], ecx
mov ecx, dword [esp + 0x54]
mov dword [esi + 0x170], edi
mov dword [esi + 0x174], ebp
mov dword [esi + 0x178], eax
mov dword [esi + 0x17c], ecx
mov dword [esi + 0xa3c], edx
call ebx
sub eax, dword [esi + 0x108]
mov ecx, dword [esi + 0x120]
mov dword [esi + 0x10c], eax
test ecx, ecx
je 0x100204c7
sub eax, ecx
mov dword [esi + 0x10c], eax
mov ebx, dword [esi + 0x10c]
test ebx, ebx
je 0x10020527
mov eax, dword [esi + 0x13c]
mov ecx, dword [esi + 0x138]
push 0
push 0x3e8
push eax
push ecx
call fcn.1003acd0
xor ecx, ecx
push ecx
push ebx
push edx
push eax
call fcn.1003b330
mov edx, dword [esi + 0x17c]
push 0
push 0x3e8
mov dword [esi + 0x124], eax
mov eax, dword [esi + 0x178]
push edx
push eax
call fcn.1003acd0
xor ecx, ecx
push ecx
push ebx
push edx
push eax
call fcn.1003b330
mov dword [esi + 0x128], eax
mov ebx, dword [esp + 0x80]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esi + 0x15c], ebx
mov ebx, dword [esi + 0x138]
sub ebx, eax
mov dword [esi + 0x148], eax
mov eax, dword [esi + 0x13c]
sbb eax, ecx
mov dword [esi + 0x14c], ecx
mov ecx, dword [esi + 0x178]
sub ecx, edx
mov dword [esi + 0x158], edx
mov edx, dword [esi + 0x17c]
sbb edx, dword [esp + 0x80]
mov dword [esi + 0x150], ecx
push 0x10055354
lea ecx, [esi + 0x200]
mov dword [esi + 0x140], ebx
mov dword [esi + 0x144], eax
mov dword [esi + 0x154], edx
mov dword [esi + 0x1d0], 3
call fcn.1001e650
or edi, ebp
jne 0x100205b4
mov ecx, esi
call fcn.1001e510
mov eax, dword [esi + 0x18c]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
push eax
push str.Handle:_u_P2SP_TaskID:_u__P2SP_timeout
jmp 0x10020751
mov eax, dword [esi + 0x1d0]
cmp eax, 2
je case.default.0x1001fe98
cmp eax, 3
je case.default.0x1001fe98
mov ecx, dword [esi + 0x18c]
push ecx
mov ecx, 0x10069620
call fcn.1001c230
mov edx, dword [esp + 0x58]
add edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
adc eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x13c], eax
movzx eax, byte [esp + 0x8d]
mov dword [esi + 0x138], edx
mov edx, dword [esp + 0x54]
mov dword [esi + 0x170], edi
mov dword [esi + 0x174], ebp
mov dword [esi + 0x178], ecx
mov dword [esi + 0x17c], edx
mov dword [esi + 0xa3c], eax
call ebx
sub eax, dword [esi + 0x108]
mov ecx, dword [esi + 0x120]
mov dword [esi + 0x10c], eax
test ecx, ecx
je 0x10020662
sub eax, ecx
mov dword [esi + 0x10c], eax
mov edi, dword [esi + 0x10c]
test edi, edi
je 0x100206be
mov ecx, dword [esi + 0x13c]
mov edx, dword [esi + 0x138]
xor ebx, ebx
push ebx
push 0x3e8
push ecx
push edx
call fcn.1003acd0
push ebx
push edi
push edx
push eax
call fcn.1003b330
mov ecx, dword [esi + 0x178]
push ebx
mov dword [esi + 0x124], eax
mov eax, dword [esi + 0x17c]
push 0x3e8
push eax
push ecx
call fcn.1003acd0
push ebx
push edi
push edx
push eax
call fcn.1003b330
mov dword [esi + 0x128], eax
mov eax, dword [esp + 0x74]
mov ebx, dword [esi + 0x138]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
sub ebx, eax
mov dword [esi + 0x148], eax
mov eax, dword [esi + 0x13c]
sbb eax, ecx
mov dword [esi + 0x14c], ecx
mov ecx, dword [esi + 0x178]
sub ecx, edx
mov dword [esi + 0x158], edx
mov edx, dword [esi + 0x17c]
sbb edx, edi
mov dword [esi + 0x150], ecx
push 0x10055350
lea ecx, [esi + 0x200]
mov dword [esi + 0x15c], edi
mov dword [esi + 0x140], ebx
mov dword [esi + 0x144], eax
mov dword [esi + 0x154], edx
mov dword [esi + 0x1d0], 2
call fcn.1001e650
mov eax, dword [esi + 0x18c]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
push eax
push str.Handle:_u_P2SP_TaskID:_u_End__P2SP_downlaod_fail
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x14
mov ecx, esi
call fcn.1001d380
mov ecx, esi
call fcn.1001d2b0
mov ecx, dword [esi + 0x1d0]
mov edx, dword [esp + 0x28]
mov dword [edx], ecx
mov al, 1
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.10038723
add esp, 0x298
ret 4