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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011e6d9
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 [0x101548f0]
mov dword [ebp - 0x1c], 0x101548f0
test eax, eax
je 0x100f7033
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x10150e84
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.1001cdf0
mov eax, dword [0x101548f0]
test eax, eax
je 0x100f7054
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.1010f370
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x100f70d4
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f70ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7602
push edx
push ecx
call fcn.1006fca3
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 0x100f74e7
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 0x100f74e7
mov eax, dword [ebp - 0x30]
push ebx
xor bl, bl
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x10], 0
test eax, eax
je 0x100f7262
push 0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0x20000005
push eax
call esi
test eax, eax
je 0x100f7262
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x100f727d
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.1010f160
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x100f71c3
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f71b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7607
push edx
push ecx
call fcn.1006fca3
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 0x100f7211
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7207
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f760c
push edx
push ecx
call fcn.1006fca3
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 0x100f7472
mov ecx, dword [ebp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7468
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7611
jmp 0x100f7468
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
jne 0x100f7485
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.10074090
mov eax, dword [ebp - 0x10]
add esp, 0xc
xor edi, edi
test eax, eax
je 0x100f7323
mov ecx, 0x1000
test bl, bl
jne 0x100f72e0
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.1010f070
cmp eax, 0xffffffff
je 0x100f731d
test eax, eax
jne 0x100f7311
test bl, bl
jne 0x100f731d
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 3
ja 0x100f731d
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x10]
cmp esi, eax
jb 0x100f72d0
jmp 0x100f7323
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x54]
cmp esi, eax
je 0x100f7414
test bl, bl
jne 0x100f7418
lea ecx, [ebp - 0x30]
call fcn.1010f160
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x100f7375
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f736b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7616
push edx
push ecx
call fcn.1006fca3
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 0x100f73c3
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f73b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f761b
push edx
push ecx
call fcn.1006fca3
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 0x100f74d4
mov ecx, dword [ebp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f74ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7620
jmp 0x100f74ca
test bl, bl
je 0x100f741f
mov ecx, dword [ebp - 0x14]
mov dword [ecx], esi
jmp 0x100f7424
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 0x100f7434
push eax
call edi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100f743e
push eax
call edi
cmp dword [ebp - 0x30], 0
je 0x100f7189
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 0x100f7189
push edx
push ecx
call fcn.1006fca3
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.1010f160
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x100f7375
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f736b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100f736b
jmp 0x100f7607
push edx
push ecx
call fcn.1006fca3
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 0x100f74f7
push eax
call edi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100f7501
push eax
call edi
cmp dword [ebp - 0x30], 0
je 0x100f7522
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 0x100f755c
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7552
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7607
push edx
push ecx
call fcn.1006fca3
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 0x100f75a6
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f759c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7607
push edx
push ecx
call fcn.1006fca3
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 0x100f75f0
mov ecx, dword [ebp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f75e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7607
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
mov esp, ebp
pop ebp
ret
call fcn.1007d9e8
call fcn.1007d9e8
call fcn.1007d9e8
call fcn.1007d9e8
call fcn.1007d9e8
call fcn.1007d9e8
call fcn.1007d9e8
int3