Function at 0x10cc4ac
Capabilities:
Check for time delay via gettickcount
Check http status code

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x248
push ebx
push edi
xor edi, edi
mov dword [ebp - 4], 2
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ebx, dword [ebp + 0x4c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 8], edi
cmp ebx, edi
je 0x10cc3fe
mov dword [ebx], 2
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0xa54], edi
je 0x10cc432
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 0x1d64c]
mov eax, dword [ebp + 0x14]
imul ecx, ecx, 0x20a
lea edx, [ecx + edi + 0x1ca0c]
mov dword [ebp - 0x20], eax
mov dword [ebp + 0x14], edx
mov dword [ebp + 0x18], 0x10188dc
jmp 0x10cc438
mov dword [ebp - 0x20], edi
mov edi, dword [ebp + 0xc]
push 0x4000
call fcn.01029a40
lea eax, [edi + eax*4 + 8]
push eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
push 0
push 1
push 0x4000
push edi
call fcn.010b3c70
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10cc931
cmp eax, 0xffffffff
je 0x10cc931
cmp dword [ebp + 0x30], 0
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0x14]
push 0
je 0x10cc488
push 0x1bb
jmp 0x10cc48a
push 0x50
push edx
push eax
mov eax, dword [ecx + 0x354]
call eax
mov dword [ebp + 8], eax
test eax, eax
je 0x10cc931
mov edi, dword [ebp + 0x34]
mov dword [ebp - 4], 6
test edi, edi
jne 0x10cc4b7
mov dword [ebp + 0x34], 0x10188d0
mov edi, dword [ebp + 0x34]
push 0x10188d0
push edi
call fcn.0102b9f0
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
cmp dword [ebp + 0x30], 0
je 0x10cc4f0
mov edx, dword [ebp + 0x18]
mov ecx, dword [esi + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + 0x31c]
push 0x800100
push 0
push 0
push 0
push edx
push edi
push eax
call ecx
jmp 0x10cc50f
mov eax, dword [ebp + 0x18]
mov edx, dword [esi + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [edx + 0x31c]
push 0x100
push 0
push 0
push 0
push eax
push edi
push ecx
call edx
mov edi, eax
test edi, edi
je 0x10cc8fa
cmp dword [ebp + 0x40], 0
mov dword [ebp - 4], 0xe
je 0x10cc540
mov eax, dword [esi]
mov ecx, dword [eax + 0x3550]
push edi
add ecx, 0x70
push ecx
push eax
call fcn.010b7a20
mov dword [ebp - 4], 0x1e
mov eax, dword [ebp + 0x1c]
mov edx, dword [esi + 8]
push eax
push eax
push eax
push eax
mov eax, dword [edx + 0x350]
push edi
call eax
test ebx, ebx
je 0x10cc579
mov ecx, dword [esi + 8]
mov eax, dword [ebp + 8]
push 4
lea edx, [ebp - 0x34]
push edx
push 0x3f
mov dword [ebp - 0x34], 1
mov ecx, dword [ecx + 0x348]
push eax
call ecx
or dword [ebp - 4], 0x20
push 0x10188a0
call fcn.0102ab80
mov edx, eax
mov dword [ebp - 0x30], edx
test edx, edx
je 0x10cc8ee
test ebx, ebx
je 0x10cc5cf
cmp dword [ebp + 0x38], 0
jne 0x10cc5cf
mov ebx, dword [esi + 8]
push 0xa0000000
push edx
call fcn.0102bd10
push eax
push edx
mov edx, dword [ebx + 0x344]
push edi
call edx
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x344]
push 0xa0000000
push 0xb
push 0x1018888
push edi
call ecx
or dword [ebp - 4], 0x40
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10cc62f
push 0x20a
lea edx, [ebp - 0x248]
push 0
push edx
call sub.msvcrt.dll_memset
push ebx
push 0x1018870
lea eax, [ebp - 0x248]
push 0x103
push eax
call fcn.0102c0d0
mov edx, dword [esi + 8]
add esp, 0x1c
push 0xa0000000
lea eax, [ebp - 0x248]
push eax
call fcn.0102bd10
mov edx, dword [edx + 0x344]
push eax
lea ecx, [ebp - 0x248]
push ecx
push edi
call edx
or dword [ebp - 4], 0x200
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x10cc648
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ebp + 0xc]
push ecx
push edi
push edx
call eax
or dword [ebp - 4], 0x80
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call ebx
mov edx, dword [ebp + 0x20]
mov ecx, dword [esi + 8]
push 0
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x24]
push eax
push eax
mov eax, dword [ecx + 0x328]
push edx
push 0
push 0
push edi
call eax
test eax, eax
je 0x10cc7e8
or dword [ebp - 4], 0x100
call ebx
mov ecx, dword [ebp + 0x40]
push eax
push ecx
mov dword [ebp + 0xc], eax
call fcn.01055210
mov edx, dword [esi + 8]
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0x330]
push edi
call eax
test eax, eax
je 0x10cc7c6
or dword [ebp - 4], 0x400
call ebx
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call fcn.01055210
mov edx, dword [esi + 8]
push 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x20000013
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x14], 0
mov edx, dword [edx + 0x32c]
push edi
call edx
test eax, eax
je 0x10cc8e5
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0x800
mov dword [ebp - 0x28], eax
call ebx
sub eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x48]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
cmp eax, 0x190
jb 0x10cc729
or dword [ebp - 4], 0x1000
xor ecx, ecx
cmp eax, 0x1f4
setne cl
inc ecx
mov dword [ebp - 8], ecx
xor eax, eax
mov dword [ebp + 0xc], eax
xor ebx, ebx
mov dword [ebp + 0x14], eax
jmp 0x10cc737
xor eax, eax
mov edx, dword [ebp + 0xc]
add edx, 0x1001
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
push edx
push eax
call fcn.01029660
test eax, eax
je 0x10cc77b
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp + 0xc]
mov dword [ebp + 0x14], eax
push 0x1000
add eax, edx
push eax
mov eax, dword [ecx + 0x318]
push edi
call eax
mov ebx, eax
test ebx, ebx
je 0x10cc7b1
mov ecx, dword [ebp - 0x18]
add dword [ebp + 0xc], ecx
test ebx, ebx
je 0x10cc7b1
cmp dword [ebp - 0x18], 0
ja 0x10cc735
test dword [ebp - 4], 0x1000
jne 0x10cc795
or dword [ebp - 4], 0x8000
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x2c]
or dword [ebp - 4], 0x2000
mov dword [edx], eax
mov edx, dword [ebp + 0xc]
mov dword [ecx], edx
jmp 0x10cc8e5
mov eax, dword [ebp + 0x14]
push eax
call fcn.0102d700
or dword [ebp - 4], 0x2000
jmp 0x10cc8e5
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x324]
call edx
mov dword [ebp - 0x24], eax
call ebx
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.01055210
mov dword [ebp - 0xc], eax
jmp 0x10cc8e5
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x324]
call edx
mov dword [ebp - 0x1c], eax
call ebx
push eax
mov eax, dword [ebp + 0x40]
push eax
call fcn.01055210
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0x2ee7
jne 0x10cc818
mov dword [ebp - 8], 3
jmp 0x10cc828
xor ecx, ecx
cmp eax, 0x2efd
setne cl
add ecx, 4
mov dword [ebp - 8], ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x3550]
test eax, eax
je 0x10cc8e5
cmp dword [eax + 0x268], 0
je 0x10cc8e5
lea edx, [ebp + 0x40]
push edx
push ebx
mov dword [ebp + 0x40], 0
call fcn.010b8c20
cmp dword [ebp + 0x40], 0
je 0x10cc8e5
mov eax, dword [ebp + 0x10]
push eax
push ebx
call fcn.0102e820
test eax, eax
je 0x10cc8e5
mov ecx, dword [ebp + 0x10]
push ecx
push ebx
call fcn.0102e890
mov ebx, eax
test ebx, ebx
je 0x10cc8e5
cmp ebx, 0xffffffff
je 0x10cc8e5
mov edx, dword [ebp + 0x4c]
mov eax, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x44]
push edx
mov edx, dword [ebp + 0x3c]
push eax
mov eax, dword [ebp + 0x38]
push ecx
mov ecx, dword [ebp + 0x34]
push 0
push edx
mov edx, dword [ebp + 0x30]
push eax
mov eax, dword [ebp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x28]
push edx
mov edx, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ebx
push ecx
push esi
call fcn.010cc3c0
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x4c]
test eax, eax
je 0x10cc8d9
or dword [eax], 0x4000
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x318]
push ebx
call eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0102d700
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x314]
push edi
call eax
mov eax, dword [ebp + 0x4c]
test eax, eax
je 0x10cc91d
test dword [eax], 0x4000
jne 0x10cc91d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
add ecx, edx
cmp ecx, dword [ebp + 0x1c]
jb 0x10cc91d
or dword [ebp - 4], 0x10000
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x314]
push ecx
call edx
mov ebx, dword [ebp + 0x4c]
jmp 0x10cc938
mov dword [ebp - 8], 3
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
pop esi
test ebx, ebx
je 0x10cc972
test dword [ebx], 0x4000
jne 0x10cc972
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 8]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x48