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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push 0x4000
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
call fcn.0101c4b0
mov esi, dword [ebp + 0xc]
lea edi, [esi + eax*4 + 8]
push edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
push 0
push 1
push 0x4000
push esi
call fcn.01087c30
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x109c059
cmp eax, 0xffffffff
je 0x109c059
cmp dword [ebp + 0x30], 0
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov ecx, dword [esi + 8]
push 0
je 0x109bdb0
push 0x1bb
jmp 0x109bdb2
push 0x50
push edx
push eax
mov eax, dword [ecx + 0x338]
call eax
mov dword [ebp + 8], eax
test eax, eax
je 0x109c059
mov edi, dword [ebp + 0x34]
test edi, edi
jne 0x109bdd3
mov edi, 0x1012a04
push ebx
push 0x1012a04
push edi
call fcn.0101e0c0
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
cmp dword [ebp + 0x30], 0
je 0x109be0d
mov edx, dword [ebp + 0x18]
mov ecx, dword [esi + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + 0x30c]
push 0x800100
push 0
push 0
push 0
push edx
push edi
push eax
call ecx
jmp 0x109be2c
mov eax, dword [ebp + 0x18]
mov edx, dword [esi + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [edx + 0x30c]
push pe_nt_image_headers32
push 0
push 0
push 0
push eax
push edi
push ecx
call edx
mov edi, eax
test edi, edi
je 0x109c034
mov eax, dword [esi]
mov ecx, dword [eax + 0x23110]
push edi
add ecx, 0x70
push ecx
push eax
call fcn.01020f40
mov eax, dword [ebp + 0x1c]
mov edx, dword [esi + 8]
push eax
push eax
push eax
push eax
mov eax, dword [edx + 0x334]
push edi
call eax
test ebx, ebx
je 0x109be7e
mov ecx, dword [esi + 8]
mov eax, dword [ebp + 8]
push 4
lea edx, [ebp - 0x10]
push edx
push 0x3f
mov dword [ebp - 0x10], 1
mov ecx, dword [ecx + 0x330]
push eax
call ecx
push 0x10129d4
call fcn.0101d3c0
mov edx, eax
mov dword [ebp + 0x18], edx
test edx, edx
je 0x109c028
mov eax, dword [ebp + 0x38]
test ebx, ebx
je 0x109bed3
test eax, eax
jne 0x109bed7
mov ebx, dword [esi + 8]
push 0xa0000000
push edx
call fcn.0101e3c0
push eax
push edx
mov edx, dword [ebx + 0x32c]
push edi
call edx
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x32c]
push 0xa0000000
push 0xb
push 0x100fffc
push edi
call ecx
jmp 0x109bee2
test eax, eax
je 0x109bee2
mov edx, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0xc]
push edx
push edi
push ecx
call eax
mov eax, dword [ebp + 0x24]
mov edx, dword [esi + 8]
mov ecx, dword [edx + 0x318]
push 0
push eax
push eax
mov eax, dword [ebp + 0x20]
push eax
push 0
push 0
push edi
call ecx
test eax, eax
je 0x109bff4
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x320]
push 0
push edi
call eax
test eax, eax
je 0x109c01f
mov ecx, dword [esi + 8]
push 0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20000013
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], 0
mov ecx, dword [ecx + 0x31c]
push edi
mov ebx, 1
call ecx
test eax, eax
je 0x109c01f
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [ebp - 0x18]
mov edx, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x44]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
cmp eax, 0x190
jb 0x109bf7e
xor edx, edx
cmp eax, 0x1f4
setne dl
inc edx
mov dword [ebp - 4], edx
xor eax, eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x14], eax
jmp 0x109bf8a
xor eax, eax
mov ecx, dword [ebp + 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
add eax, 0x1001
push eax
push ecx
call fcn.0101c0d0
test eax, eax
je 0x109bfcd
mov edx, dword [esi + 8]
mov edx, dword [edx + 0x308]
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp + 0x30], eax
push 0x1000
add eax, ecx
push eax
push edi
call edx
mov ebx, eax
test ebx, ebx
je 0x109bfe9
mov eax, dword [ebp - 8]
add dword [ebp + 0x14], eax
test ebx, ebx
je 0x109bfe9
cmp dword [ebp - 8], 0
ja 0x109bf88
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
mov dword [ecx], edx
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
jmp 0x109c01f
mov edx, dword [ebp + 0x30]
push edx
call fcn.010608a0
jmp 0x109c01f
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x314]
call ecx
cmp eax, 0x2ee7
jne 0x109c00f
mov dword [ebp - 4], 3
jmp 0x109c01f
xor edx, edx
cmp eax, 0x2efd
setne dl
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x18]
push eax
call fcn.010608a0
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x304]
push edi
call edx
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x304]
push ecx
call edx
mov edi, dword [ebp - 0x1c]
pop ebx
push edi
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x40
push edi
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x40