Function at 0x100f72e0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011f1bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov eax, dword [0x101558c8]
mov dword [ebp - 0x14], 0x101558c8
test eax, eax
je 0x100f7319
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x10151e84
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.1001cdf0
mov eax, dword [0x101558c8]
test eax, eax
je 0x100f733a
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.1010fec0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x10], 0
test eax, eax
je 0x100f73b7
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 0x100f73b7
mov bl, 1
jmp 0x100f73b9
xor bl, bl
mov eax, dword [ebp - 0x20]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x100f73ca
push eax
call edi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100f73d4
push eax
call edi
cmp dword [ebp - 0x24], 0
je 0x100f73f5
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 0x100f7430
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7426
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7524
push edx
push ecx
call fcn.100703b3
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 0x100f747e
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7474
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7529
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 0x100f74c8
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f74be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f752e
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 0x100f7512
mov ecx, dword [ebp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7508
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7533
push edx
push ecx
call fcn.100703b3
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.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
int3