Function at 0x100f7630
Capabilities:
Check for time delay via gettickcount
Check http status code
Get http content length

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011e6fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0
push edi
mov edi, edx
mov dword [ebp - 0x14], esi
or ebx, 0x4000000
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], eax
je 0x100f7698
push 4
lea eax, [ebp - 0x10]
push eax
push 5
push dword [esi]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
call esi
push 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push 6
push dword [eax]
call esi
mov esi, dword [ebp - 0x14]
mov eax, dword [0x101548f0]
mov dword [ebp - 0x14], 0x101548f0
test eax, eax
je 0x100f76af
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x10150e84
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.1001cdf0
mov eax, dword [0x101548f0]
test eax, eax
je 0x100f76d3
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 1
cmp dword [ebp - 0x34], 0
jne 0x100f76e4
xor eax, eax
jmp 0x100f76ef
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
cmp dword [edi + 0x14], 8
jb 0x100f76f7
mov edi, dword [edi]
push ebx
push ecx
push eax
push edi
push dword [esi]
lea ecx, [ebp - 0x2c]
call fcn.1010f1b0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x100f778c
mov ecx, dword [ebp - 0x28]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test ecx, ecx
je 0x100f7723
push ecx
call edi
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x100f7730
push ecx
call edi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100f774f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x2c]
mov esi, eax
call edi
push esi
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x100f7a23
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7a19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7a36
jmp 0x100f7a19
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea ecx, [ebp - 0x14]
push 0
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 4
push ecx
push 0x20000013
push eax
mov dword [ebp - 0x18], 0
call esi
mov eax, dword [ebp - 0x18]
cmp eax, 0xc8
je 0x100f7809
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
test eax, eax
je 0x100f77c9
push eax
call ebx
mov eax, dword [ebp - 0x28]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x100f77d9
push eax
call edi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100f77e3
push eax
call edi
cmp dword [ebp - 0x2c], 0
je 0x100f774f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x2c]
mov esi, eax
call edi
push esi
mov dword [ebp - 0x2c], 0
call ebx
jmp 0x100f774f
mov eax, dword [ebp - 0x2c]
xor bl, bl
mov dword [ebp - 0x14], 4
mov dword [ebp + 0x10], 0
test eax, eax
je 0x100f78bf
push 0
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0x10]
push ecx
push 0x20000005
push eax
call esi
test eax, eax
je 0x100f78bf
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x100f78d6
mov esi, dword [ebp + 8]
mov ecx, esi
push 1
call fcn.1001b880
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x2c]
mov byte [eax], bl
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], 0
mov dword [eax], 0
call fcn.1010f160
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x100f78ac
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f78a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7a36
push edx
push ecx
call fcn.1006fca3
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
jne 0x100f78ea
mov eax, 0xa00000
mov bl, 1
mov dword [ebp + 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100f78fa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
jbe 0x100f78f7
lea ecx, [ebp - 0x2c]
call fcn.1010f160
jmp 0x100f774f
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
inc eax
push eax
mov ecx, esi
call fcn.1001b880
push dword [ebp + 0x10]
lea ecx, [ebp - 0x78]
call fcn.100f4ee0
mov eax, dword [ebp + 0x10]
inc eax
push eax
push 0
push dword [esi + 8]
call fcn.10074090
add esp, 0xc
xor edi, edi
mov esi, dword [ebp - 0x6c]
cmp esi, dword [ebp + 0x10]
jae 0x100f799f
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100f7941
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100f799c
cmp dword [ebp - 0x10], 0
je 0x100f7955
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
ja 0x100f799c
mov ecx, 0x1000
test bl, bl
jne 0x100f7968
mov eax, dword [ebp + 0x10]
sub eax, esi
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x78]
push edx
push ecx
lea ecx, [ebp - 0x2c]
mov eax, dword [eax + 8]
add eax, esi
push eax
call fcn.1010f070
cmp eax, 0xffffffff
je 0x100f7999
test eax, eax
jne 0x100f7925
test bl, bl
jne 0x100f7999
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 3
jbe 0x100f7925
mov esi, dword [ebp - 0x6c]
cmp esi, dword [ebp + 0x10]
je 0x100f79b2
test bl, bl
jne 0x100f79b6
lea ecx, [ebp - 0x2c]
call fcn.1010f160
jmp 0x100f774f
test bl, bl
je 0x100f79cf
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
cmp esi, 0xa00000
jae 0x100f79d7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov byte [eax + esi], 0
jmp 0x100f79d7
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ecx], eax
lea ecx, [ebp - 0x2c]
call fcn.1010f160
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x100f78ac
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f78a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100f78a2
jmp 0x100f7a36
push edx
push ecx
call fcn.1006fca3
add esp, 8
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1007d9e8
int3