Function at 0x100f69d0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011e65f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov eax, dword [0x101548f0]
mov dword [ebp - 0x14], 0x101548f0
test eax, eax
je 0x100f6a09
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x10150e84
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.1001cdf0
mov eax, dword [0x101548f0]
test eax, eax
je 0x100f6a2a
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
push esi
mov byte [ebp - 4], 4
lea esi, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
lea edx, [ebp + 0x38]
push dword [ebp - 0x2c]
cmovae esi, dword [ebp - 0x3c]
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 - 0x24]
call fcn.1010f370
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x10], 0
test eax, eax
je 0x100f6aa7
push 0
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0x20000013
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
cmp dword [ebp - 0x10], 0xc8
jne 0x100f6aa7
mov bl, 1
jmp 0x100f6aa9
xor bl, bl
mov eax, dword [ebp - 0x20]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x100f6aba
push eax
call edi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100f6ac4
push eax
call edi
cmp dword [ebp - 0x24], 0
je 0x100f6ae5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x24]
mov esi, eax
call edi
push esi
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ebp - 0x28]
pop edi
cmp edx, 8
jb 0x100f6b20
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f6b16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f6c14
push edx
push ecx
call fcn.1006fca3
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
cmp edx, 8
jb 0x100f6b6e
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f6b64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f6c19
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 0x100f6bb8
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f6bae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f6c1e
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 0x100f6c02
mov ecx, dword [ebp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f6bf8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f6c23
push edx
push ecx
call fcn.1006fca3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.1007d9e8
call fcn.1007d9e8
call fcn.1007d9e8
call fcn.1007d9e8
int3