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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011f25b
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 0x100f7fa8
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 [0x101558c8]
mov dword [ebp - 0x14], 0x101558c8
test eax, eax
je 0x100f7fbf
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x10151e84
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.1001cdf0
mov eax, dword [0x101558c8]
test eax, eax
je 0x100f7fe3
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 1
cmp dword [ebp - 0x34], 0
jne 0x100f7ff4
xor eax, eax
jmp 0x100f7fff
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
cmp dword [edi + 0x14], 8
jb 0x100f8007
mov edi, dword [edi]
push ebx
push ecx
push eax
push edi
push dword [esi]
lea ecx, [ebp - 0x2c]
call fcn.1010fd00
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x100f809c
mov ecx, dword [ebp - 0x28]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test ecx, ecx
je 0x100f8033
push ecx
call edi
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x100f8040
push ecx
call edi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100f805f
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 0x100f8333
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f8329
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f8346
jmp 0x100f8329
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 0x100f8119
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
test eax, eax
je 0x100f80d9
push eax
call ebx
mov eax, dword [ebp - 0x28]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x100f80e9
push eax
call edi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100f80f3
push eax
call edi
cmp dword [ebp - 0x2c], 0
je 0x100f805f
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 0x100f805f
mov eax, dword [ebp - 0x2c]
xor bl, bl
mov dword [ebp - 0x14], 4
mov dword [ebp + 0x10], 0
test eax, eax
je 0x100f81cf
push 0
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0x10]
push ecx
push 0x20000005
push eax
call esi
test eax, eax
je 0x100f81cf
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x100f81e6
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.1010fcb0
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x100f81bc
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f81b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f8346
push edx
push ecx
call fcn.100703b3
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 0x100f81fa
mov eax, 0xa00000
mov bl, 1
mov dword [ebp + 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100f820a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
jbe 0x100f8207
lea ecx, [ebp - 0x2c]
call fcn.1010fcb0
jmp 0x100f805f
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.100f57f0
mov eax, dword [ebp + 0x10]
inc eax
push eax
push 0
push dword [esi + 8]
call fcn.100747a0
add esp, 0xc
xor edi, edi
mov esi, dword [ebp - 0x6c]
cmp esi, dword [ebp + 0x10]
jae 0x100f82af
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100f8251
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100f82ac
cmp dword [ebp - 0x10], 0
je 0x100f8265
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
ja 0x100f82ac
mov ecx, 0x1000
test bl, bl
jne 0x100f8278
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.1010fbc0
cmp eax, 0xffffffff
je 0x100f82a9
test eax, eax
jne 0x100f8235
test bl, bl
jne 0x100f82a9
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 3
jbe 0x100f8235
mov esi, dword [ebp - 0x6c]
cmp esi, dword [ebp + 0x10]
je 0x100f82c2
test bl, bl
jne 0x100f82c6
lea ecx, [ebp - 0x2c]
call fcn.1010fcb0
jmp 0x100f805f
test bl, bl
je 0x100f82df
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
cmp esi, 0xa00000
jae 0x100f82e7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov byte [eax + esi], 0
jmp 0x100f82e7
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ecx], eax
lea ecx, [ebp - 0x2c]
call fcn.1010fcb0
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x100f81bc
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f81b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100f81b2
jmp 0x100f8346
push edx
push ecx
call fcn.100703b3
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.1007e0fa
int3