Function at 0x100f7900
Capabilities:
Check http status code
Get http content length

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011f239
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0
mov eax, dword [0x101558c8]
mov dword [ebp - 0x1c], 0x101558c8
test eax, eax
je 0x100f7943
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x10151e84
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.1001cdf0
mov eax, dword [0x101558c8]
test eax, eax
je 0x100f7964
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 4
lea esi, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
lea edx, [ebp + 0x38]
push 0xffffffffffffffff
cmovae esi, dword [ebp - 0x48]
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x4c], 8
lea eax, [ebp + 8]
push esi
cmovae edx, dword [ebp + 0x38]
cmp dword [ebp + 0x34], 8
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 8
push ecx
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 8]
push edx
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.1010fec0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x100f79e4
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f79da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7f12
push edx
push ecx
call fcn.100703b3
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x1c], 4
test eax, eax
je 0x100f7df7
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea ecx, [ebp - 0x1c]
push 0
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0x20000013
push eax
call esi
cmp dword [ebp - 0x18], 0xc8
jne 0x100f7df7
mov eax, dword [ebp - 0x30]
push ebx
xor bl, bl
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x10], 0
test eax, eax
je 0x100f7b72
push 0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0x20000005
push eax
call esi
test eax, eax
je 0x100f7b72
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x100f7b8d
push 1
mov ecx, edi
call fcn.1001b880
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x14]
mov byte [eax], bl
mov dword [edi + 0xc], 0
mov dword [ecx], 0
lea ecx, [ebp - 0x30]
call fcn.1010fcb0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x100f7ad3
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7ac9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7f17
push edx
push ecx
call fcn.100703b3
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x100f7b21
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7b17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7f1c
push edx
push ecx
call fcn.100703b3
add esp, 8
mov edx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
cmp edx, 8
jb 0x100f7d82
mov ecx, dword [ebp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7d78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7f21
jmp 0x100f7d78
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
jne 0x100f7d95
mov eax, 0xa00000
mov bl, 1
mov dword [ebp - 0x10], eax
inc eax
mov ecx, edi
push eax
call fcn.1001b880
mov esi, dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x60], eax
xorps xmm0, xmm0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x58], esi
xor esi, esi
movsd qword [ebp - 0x50], xmm0
push eax
push esi
push dword [edi + 8]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
movsd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
call fcn.100747a0
mov eax, dword [ebp - 0x10]
add esp, 0xc
xor edi, edi
test eax, eax
je 0x100f7c33
mov ecx, 0x1000
test bl, bl
jne 0x100f7bf0
sub eax, esi
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x60]
push edx
push ecx
lea ecx, [ebp - 0x30]
mov eax, dword [eax + 8]
add eax, esi
push eax
call fcn.1010fbc0
cmp eax, 0xffffffff
je 0x100f7c2d
test eax, eax
jne 0x100f7c21
test bl, bl
jne 0x100f7c2d
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 3
ja 0x100f7c2d
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x10]
cmp esi, eax
jb 0x100f7be0
jmp 0x100f7c33
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x54]
cmp esi, eax
je 0x100f7d24
test bl, bl
jne 0x100f7d28
lea ecx, [ebp - 0x30]
call fcn.1010fcb0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x100f7c85
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7c7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7f26
push edx
push ecx
call fcn.100703b3
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x100f7cd3
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7cc9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7f2b
push edx
push ecx
call fcn.100703b3
add esp, 8
mov edx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
cmp edx, 8
jb 0x100f7de4
mov ecx, dword [ebp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7dda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7f30
jmp 0x100f7dda
test bl, bl
je 0x100f7d2f
mov ecx, dword [ebp - 0x14]
mov dword [ecx], esi
jmp 0x100f7d34
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x100f7d44
push eax
call edi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100f7d4e
push eax
call edi
cmp dword [ebp - 0x30], 0
je 0x100f7a99
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x30]
mov esi, eax
call edi
push esi
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x100f7a99
push edx
push ecx
call fcn.100703b3
add esp, 8
pop ebx
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x30]
call fcn.1010fcb0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x100f7c85
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7c7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100f7c7b
jmp 0x100f7f17
push edx
push ecx
call fcn.100703b3
add esp, 8
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x100f7e07
push eax
call edi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100f7e11
push eax
call edi
cmp dword [ebp - 0x30], 0
je 0x100f7e32
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x30]
mov esi, eax
call edi
push esi
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x100f7e6c
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7e62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7f17
push edx
push ecx
call fcn.100703b3
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x100f7eb6
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7eac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7f17
push edx
push ecx
call fcn.100703b3
add esp, 8
mov edx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
cmp edx, 8
jb 0x100f7f00
mov ecx, dword [ebp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7ef6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7f17
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
mov esp, ebp
pop ebp
ret
call fcn.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
int3