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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x1d01324]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x26d8]
mov ebx, dword [eax + edi*4]
mov eax, dword [ebx + 0x20]
cmp dword [eax + 4], 1
jne 0x1c7b04d
cmp dword [ebx], 0
je 0x1c7b1cd
mov dword [ebx + 0x28], 4
mov ecx, esi
push 1
push edi
call fcn.01c7bad0
mov bl, 1
test al, al
jne 0x1c7b295
cmp byte [esi + 0x26f0], 0
je 0x1c7b28b
mov dword [ebp - 0x14], 0x15f90
mov eax, dword [esi + 0x26d8]
cmp dword [esi + 0x26dc], eax
je 0x1c7b288
xor ebx, ebx
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [eax + ebx*4]
push 4
lea ecx, [ebp - 0x14]
push ecx
push 6
push dword [eax + 0x1c]
call edi
add ebx, 1
mov eax, dword [esi + 0x26d8]
mov ecx, dword [esi + 0x26dc]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jb 0x1c7b020
jmp 0x1c7b288
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x1c7b08d
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 4
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x1c]
lea edi, [ebp - 0x14]
push ecx
push edx
push edi
mov edi, dword [ebp + 8]
push 0x20000013
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x1c7b08d
mov eax, dword [ebp - 0x14]
jmp 0x1c7b08f
xor eax, eax
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x1c7b09c
mov dword [ecx + 0x2450], eax
cmp eax, 0xce
jne 0x1c7b132
cmp dword [ebx], 0
jne 0x1c7b132
mov eax, dword [esi + 0x5d100]
and eax, dword [esi + 0x5d104]
cmp eax, 0xffffffff
je 0x1c7b230
mov ecx, esi
push ebx
call fcn.01c7bbf0
test al, al
je 0x1c7b28b
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x3c]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x1c7b28b
mov edx, dword [ebx + 0x8040]
add eax, dword [edx + 8]
adc ecx, dword [edx + 0xc]
mov edx, dword [esi + 0x5d108]
mov edi, dword [esi + 0x5d10c]
mov dword [ebp - 0x20], edx
or edx, edi
je 0x1c7b2ce
mov edx, dword [ebp - 0x20]
xor edx, eax
xor edi, ecx
or edi, edx
je 0x1c7b2ce
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1c7b128
mov byte [eax + 0x244c], 1
mov ecx, esi
push dword [ebp + 8]
jmp 0x1c7b2bc
cmp eax, 0x194
je 0x1c7b2ab
cmp eax, 0x1f4
jne 0x1c7b230
mov dword [ebx + 0x28], 4
mov ecx, esi
push 1
push edi
call fcn.01c7bad0
mov bl, 1
test al, al
jne 0x1c7b295
cmp byte [esi + 0x26f0], 0
je 0x1c7b28b
mov dword [ebp - 0x14], 0x15f90
mov eax, dword [esi + 0x26d8]
cmp dword [esi + 0x26dc], eax
je 0x1c7b288
xor ebx, ebx
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
nop word cs:[eax + eax]
nop dword [eax + eax]
mov eax, dword [eax + ebx*4]
push 4
lea ecx, [ebp - 0x14]
push ecx
push 6
push dword [eax + 0x1c]
call edi
add ebx, 1
mov eax, dword [esi + 0x26d8]
mov ecx, dword [esi + 0x26dc]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jb 0x1c7b1a0
jmp 0x1c7b288
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x1c7afd7
mov dword [ebx + 0x1c], ecx
cmp dword [eax + 0x2448], 0xffffffff
jne 0x1c7b1f6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x20]
mov dword [ecx + 0x2448], eax
cmp byte [esi + 0x26f0], 0
je 0x1c7b217
mov dword [ebp - 0x14], 0x4e20
lea eax, [ebp - 0x14]
push 4
push eax
push 6
push dword [ebx + 0x1c]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [ebx + 0x8040]
cmp byte [eax + 1], 0
jne 0x1c7b28b
mov byte [eax + 1], 1
mov dword [ebx + 0x28], 8
jmp 0x1c7b293
cmp byte [esi + 0x26f0], 0
je 0x1c7b28b
mov dword [ebp - 0x14], 0x15f90
mov eax, dword [esi + 0x26d8]
cmp dword [esi + 0x26dc], eax
je 0x1c7b288
xor ebx, ebx
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
nop word cs:[eax + eax]
mov eax, dword [eax + ebx*4]
push 4
lea ecx, [ebp - 0x14]
push ecx
push 6
push dword [eax + 0x1c]
call edi
add ebx, 1
mov eax, dword [esi + 0x26d8]
mov ecx, dword [esi + 0x26dc]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jb 0x1c7b260
mov edi, dword [ebp + 8]
mov ecx, esi
push edi
call fcn.01c7ba00
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01cb3141
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1c7b2b9
mov byte [eax + 0x244c], 1
mov ecx, esi
push edi
call fcn.01c7ba00
mov ecx, esi
push 4
call fcn.01c79710
mov ebx, eax
jmp 0x1c7b295
xor eax, dword [esi + 0x5d100]
xor ecx, dword [esi + 0x5d104]
or ecx, eax
mov edi, dword [ebp + 8]
jne 0x1c7b28b
mov eax, dword [ebx + 0x20]
cmp dword [eax + 0x2448], 0xffffffff
jne 0x1c7b1f6
jmp 0x1c7b1e4