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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x5ecfa8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5edb4e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0xc], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
cmp eax, 0xc8
jbe 0x5ed2e8
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
xor eax, eax
push ebp
push 0x5ed299
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 4
push eax
call sub.kernel32.dll_EnterCriticalSection
xor eax, eax
push ebp
push 0x5ed1b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x5ed18d
inc ebx
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
je 0x5ed183
mov eax, dword [ebp - 4]
call fcn.005f3be8
test al, al
je 0x5ed139
mov eax, dword [0x6c0740]
mov eax, dword [eax]
call fcn.006315f4
test al, al
jne 0x5ed139
push ebp
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x24]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
mov edx, esi
call fcn.004055f8
mov eax, dword [ebp - 0x3c]
pop edx
call fcn.005ec204
pop ecx
test al, al
jne 0x5ed139
push ebp
mov eax, esi
call fcn.005ec2f0
pop ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x5ed177
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0xcac], 0xffffffff
jne 0x5ed104
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x1084], 1
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x107d], 1
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x4828], 1
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x20]
add edx, 0x15
call fcn.004055f8
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0x3c]
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x24]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov ecx, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ed8]
mov edx, dword [ebp - 0x20]
call fcn.0041fa48
jmp 0x5ed177
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x24]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.005f0da0
mov edx, dword [esi + 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1edc]
call fcn.0041fa48
mov edx, dword [esi + 0x74]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ee0]
call fcn.0041fa48
mov edx, 0xacf9
mov eax, esi
call fcn.00402fb0
inc dword [ebp - 0x24]
dec ebx
jne 0x5ed037
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ed1b9
mov eax, dword [ebp - 4]
add eax, 4
push eax
call sub.kernel32.dll_LeaveCriticalSection
ret
xor eax, eax
push ebp
push 0x5ed399
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x1ef8]
jbe 0x5ed38f
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov edx, dword [ebp - 4]
mov dword [edx + 0x1ef8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, 0
jl 0x5ed38f
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x5ed354
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x2e4], 0
je 0x5ed364
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x5ed386
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x2ec], 0
je 0x5ed386
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x48]
dec dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0xffffffff
jne 0x5ed331
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5ed3b8
xor eax, eax
push ebp
push 0x5ed481
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x5ed477
inc ebx
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x24]
call fcn.0041fbf0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x5ed46d
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x20]
sub eax, dword [edx + 0x2e8]
mov edx, dword [select]
cmp eax, dword [edx + 0x1aa8]
jbe 0x5ed46d
xor eax, eax
push ebp
push 0x5ed43e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x24]
call fcn.0041fbf0
call fcn.00404430
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5ed45d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x24]
call fcn.0041fa94
jmp 0x5ed477
inc dword [ebp - 0x24]
dec ebx
jne 0x5ed3e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5ed4a0
mov byte [ebp - 0x15], 0
xor eax, eax
push ebp
push 0x5eda99
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x1c]
jle 0x5eda81
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x5eda79
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
sub edx, dword [eax + 0x370]
mov eax, dword [ebp - 0x20]
cmp edx, dword [eax + 0x374]
jle 0x5eda51
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x370], edx
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x2e4], 0
jne 0x5ed8e9
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x1084], 0
jne 0x5ed57c
xor eax, eax
push ebp
push 0x5ed558
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
call fcn.0063c104
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5eda51
xor eax, eax
push ebp
push 0x5ed88e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x4829], 0
je 0x5ed5aa
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x4829], 0
mov eax, dword [ebp - 0x20]
call fcn.00641648
jmp 0x5ed616
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xca8], 0
jne 0x5ed5ca
mov eax, dword [ebp - 0x20]
mov byte [eax + 0xca8], 1
mov eax, dword [ebp - 0x20]
call fcn.00641bb4
jmp 0x5ed616
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x20]
sub eax, dword [edx + 0x36c]
mov edx, dword [ebp - 0x20]
cmp eax, dword [edx + 0x368]
jbe 0x5ed616
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x36c], eax
mov dword [ebp - 0x14], 0xa
mov eax, dword [ebp - 0x20]
call fcn.00659f40
mov dword [ebp - 0x14], 0xb
mov eax, dword [ebp - 0x20]
call fcn.0063d93c
mov dword [ebp - 0x14], 0xc
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x20]
sub eax, dword [edx + 0x1088]
mov edx, dword [select]
cmp eax, dword [edx + 0x1a08]
jbe 0x5ed802
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x1088], eax
mov eax, dword [0x6c0e30]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [ebp - 0x20]
cmp eax, dword [edx + 0x108c]
jle 0x5ed7d7
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x6c]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x108c]
mov eax, dword [0x6c0e30]
mov eax, dword [eax]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [0x6c0a94]
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
call fcn.006210e8
mov dword [ebp - 0x14], 0xd
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
sub al, 0x42
je 0x5ed737
sub al, 5
je 0x5ed6f7
sub al, 0xb
je 0x5ed6b7
sub al, 2
je 0x5ed774
jmp 0x5ed7bd
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x5ed6ce
mov eax, dword [ebp - 0x28]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
push 0
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x28]
dec ecx
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.0040588c
mov edx, dword [ebp - 0x70]
xor ecx, ecx
mov eax, dword [ebp - 0x20]
call fcn.006658ec
jmp 0x5ed7d7
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x5ed70e
mov eax, dword [ebp - 0x2c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
push 0
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x2c]
dec ecx
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.0040588c
mov edx, dword [ebp - 0x74]
mov cl, 1
mov eax, dword [ebp - 0x20]
call fcn.006658ec
jmp 0x5ed7d7
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x5ed74e
mov eax, dword [ebp - 0x30]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
push 0
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x30]
dec ecx
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.0040588c
mov edx, dword [ebp - 0x78]
mov cl, 2
mov eax, dword [ebp - 0x20]
call fcn.006658ec
jmp 0x5ed7d7
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x5ed78b
mov eax, dword [ebp - 0x34]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x34]
dec ecx
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.0040588c
mov eax, dword [ebp - 0x7c]
push eax
mov cx, 0x14df
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
call fcn.0066293c
jmp 0x5ed7d7
push 0
mov ecx, dword [select]
movzx ecx, byte [ecx + 0x1a0c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
call fcn.006658ec
mov eax, dword [ebp - 0x20]
inc dword [eax + 0x108c]
mov eax, dword [0x6c0e30]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [ebp - 0x20]
cmp eax, dword [edx + 0x108c]
jg 0x5ed802
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [eax + 0x108c], edx
mov dword [ebp - 0x14], 0xe
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x4c]
mov dword [ebp - 0x14], 0xf
mov eax, dword [0x6c0740]
mov eax, dword [eax]
call fcn.006315f4
test al, al
jne 0x5ed881
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x20]
sub eax, dword [edx + 0x1078]
mov edx, dword [select]
cmp eax, dword [edx + 0x1aa4]
jbe 0x5ed881
mov dword [ebp - 0x14], 0x10
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x1078], eax
mov dword [ebp - 0x14], 0x11
mov eax, dword [ebp - 0x20]
call fcn.0063d02c
mov dword [ebp - 0x14], 0x12
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.005f0e48
mov dword [ebp - 0x14], 0x13
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5eda51
xor eax, eax
push ebp
push 0x5ed94c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x35a0]
xor edx, edx
call fcn.0049fbc4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov dword [ebp - 0x14], 2
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x44]
mov dword [ebp - 0x14], 3
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x4828], 0
je 0x5ed942
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.005ec04c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5ed9a8
xor eax, eax
push ebp
push 0x5eda06
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.005f0f40
mov dword [ebp - 0x14], 4
mov eax, dword [ebp - 0x20]
call fcn.0063d02c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.005f0e48
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0xb94]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0xb9c]
mov eax, dword [0x6c12b8]
mov eax, dword [eax]
call fcn.004e1b38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5ed4c3
inc dword [ebp - 0x1c]
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0xc]
mov edx, dword [0x6c101c]
cmp eax, dword [edx]
jbe 0x5ed4c3
mov byte [ebp - 0x15], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x60], edx
jmp 0x5eda81
inc dword [ebp - 0x1c]
jmp 0x5ed4c3
cmp byte [ebp - 0x15], 0
jne 0x5eda8f
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x60], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5edabe
mov eax, dword [ebp - 4]
inc dword [eax + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [0x6c0d68]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
jne 0x5edaeb
mov edx, dword [ebp - 4]
xor eax, eax
mov dword [edx + 0x64], eax
mov edx, dword [0x6c0d68]
mov dword [edx], eax
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0xc]
mov edx, dword [0x6c0a8c]
mov dword [edx], eax
mov eax, dword [0x6c0a18]
mov eax, dword [eax]
mov edx, dword [0x6c0a8c]
cmp eax, dword [edx]
jge 0x5edb1b
mov eax, dword [0x6c0a8c]
mov eax, dword [eax]
mov edx, dword [0x6c0a18]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5edb55
lea eax, [ebp - 0x98]
mov edx, 0x10
call fcn.004053b8
lea eax, [ebp - 0x50]
mov edx, 7
call fcn.004053b8
lea eax, [ebp - 8]
call fcn.00405394
ret