Function at 0x100b7e90
Capabilities:
Check http status code
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c472e
mov eax, dword fs:[0]
push eax
mov eax, 0x1940
call fcn.1008bb10
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18ac], ecx
mov dword [ebp - 0x18d8], 0
mov dword [ebp - 0x18b8], 0
mov dword [ebp - 0x18b4], 0
mov dword [ebp - 0x18c0], 0
mov dword [ebp - 0x18b0], 0
mov dword [ebp - 0x18bc], 0
mov dword [ebp - 0x18d0], 0
mov dword [ebp - 0x1900], 0
xor eax, eax
mov dword [ebp - 0x18fc], eax
mov dword [ebp - 0x18f0], 0
mov dword [ebp - 0x18c4], 0
mov dword [ebp - 0x18f8], 0
mov dword [ebp - 0x18d4], 0
mov dword [ebp - 0x18e0], 0
mov dword [ebp - 0x18dc], 0
lea ecx, [ebp - 0x18c8]
call fcn.10005693
mov dword [ebp - 4], 0
xor ecx, ecx
mov word [ebp - 0x18a8], cx
push 0x17fe
push 0
lea edx, [ebp - 0x18a6]
push edx
call fcn.1008dc90
add esp, 0xc
mov dword [ebp - 0x1940], 0
push 0x38
push 0
lea eax, [ebp - 0x193c]
push eax
call fcn.1008dc90
add esp, 0xc
mov dword [ebp - 0x1940], 0x3c
lea ecx, [ebp - 0x4a8]
mov dword [ebp - 0x190c], ecx
lea edx, [ebp - 0x14a8]
mov dword [ebp - 0x1930], edx
lea eax, [ebp - 0xca8]
mov dword [ebp - 0x191c], eax
lea ecx, [ebp - 0x18a8]
mov dword [ebp - 0x193c], ecx
lea edx, [ebp - 0x8a8]
mov dword [ebp - 0x1914], edx
lea eax, [ebp - 0x10a8]
mov dword [ebp - 0x1924], eax
mov dword [ebp - 0x1920], 0x200
mov ecx, dword [ebp - 0x1920]
mov dword [ebp - 0x1910], ecx
mov edx, dword [ebp - 0x1910]
mov dword [ebp - 0x1938], edx
mov eax, dword [ebp - 0x1938]
mov dword [ebp - 0x1918], eax
mov ecx, dword [ebp - 0x1918]
mov dword [ebp - 0x192c], ecx
mov edx, dword [ebp - 0x192c]
mov dword [ebp - 0x1908], edx
mov eax, dword [ebp - 0x18ac]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18ac]
mov eax, dword [edx + 0xc]
call eax
lea ecx, [ebp - 0x1940]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.100b9ff0
add esp, 0x10
mov eax, dword [ebp - 0x1914]
push eax
lea ecx, [ebp - 0xa8]
call fcn.100028c0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x190c]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.1000557b
mov dword [ebp - 0x18ec], 0
mov dword [ebp - 0x18e8], 0
lea edx, [ebp - 0x18e8]
push edx
lea eax, [ebp - 0x18ec]
push eax
mov ecx, dword [ebp - 0x18ac]
call fcn.100b8990
lea ecx, [ebp - 0x18e4]
call fcn.10005693
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18e8]
push ecx
mov edx, dword [ebp - 0x18ec]
push edx
push str.Mozilla_5.0__compatible__MSIE_8.0__Windows_NT__d._d__QQPCMgr7.0_
lea eax, [ebp - 0x18e4]
push eax
call fcn.10005db1
add esp, 0x10
push 0x10000000
push 0
push 0
push 1
lea ecx, [ebp - 0x18e4]
call fcn.100014e0
push eax
call fcn.100b9f10
add esp, 0x14
mov dword [ebp - 0x18b8], eax
cmp dword [ebp - 0x18b8], 0
jne 0x100b815c
mov ecx, dword [ebp - 0x18ac]
mov dword [ecx + 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x18ac]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x18ac]
mov ecx, dword [eax + 8]
push ecx
push str.WinHttpOpen_failed__err_d
push 2
push 0x100e3c60
call fcn.1006a3c4
add esp, 0x10
jmp 0x100b88b8
push 0
push 0xffffffffffffffff
push 0x100b8a80
mov edx, dword [ebp - 0x18b8]
push edx
call fcn.100b9af0
add esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x100b81c1
mov eax, dword [ebp + 0xc]
push eax
call fcn.100a0174
add esp, 4
test eax, eax
jbe 0x100b81c1
mov dword [ebp - 0x194c], 3
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1948], ecx
mov dword [ebp - 0x1944], 0
push 0xc
lea edx, [ebp - 0x194c]
push edx
push 0x26
mov eax, dword [ebp - 0x18b8]
push eax
call fcn.100b9b40
add esp, 0x10
mov dword [ebp - 0x18c4], 4
push 0
movzx ecx, word [ebp - 0x1928]
push ecx
mov edx, dword [ebp - 0x1930]
push edx
mov eax, dword [ebp - 0x18b8]
push eax
call fcn.100b9ec0
add esp, 0x10
mov dword [ebp - 0x18b4], eax
cmp dword [ebp - 0x18b4], 0
jne 0x100b8220
push 0
movzx ecx, word [ebp - 0x1928]
push ecx
mov edx, dword [ebp - 0x1930]
push edx
mov eax, dword [ebp - 0x18b8]
push eax
call fcn.100b9ec0
add esp, 0x10
mov dword [ebp - 0x18b4], eax
cmp dword [ebp - 0x18b4], 0
jne 0x100b8268
mov ecx, dword [ebp - 0x18ac]
mov dword [ecx + 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x18ac]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x18ac]
mov ecx, dword [eax + 8]
push ecx
push str.WinHttpConnect_failed__err_d
push 2
push 0x100e3bc0
call fcn.1006a3c4
add esp, 0x10
jmp 0x100b88b8
mov dword [ebp - 0x18cc], 0x100
movzx edx, word [ebp - 0x1928]
cmp edx, 0x1bb
jne 0x100b8292
mov eax, dword [ebp - 0x18cc]
or eax, 0x800000
mov dword [ebp - 0x18cc], eax
mov ecx, dword [ebp - 0x18cc]
push ecx
push 0
push 0
push str.HTTP_1.1
lea ecx, [ebp - 0xa8]
call fcn.10001e70
push eax
push 0x100e3b14
mov edx, dword [ebp - 0x18b4]
push edx
call fcn.100b9e60
add esp, 0x1c
mov dword [ebp - 0x18c0], eax
cmp dword [ebp - 0x18c0], 0
jne 0x100b8307
mov eax, dword [ebp - 0x18cc]
push eax
push 0
push 0
push 0x100e371c
lea ecx, [ebp - 0xa8]
call fcn.10001e70
push eax
push 0x100e3a5c
mov ecx, dword [ebp - 0x18b4]
push ecx
call fcn.100b9e60
add esp, 0x1c
mov dword [ebp - 0x18c0], eax
cmp dword [ebp - 0x18c0], 0
jne 0x100b834f
mov edx, dword [ebp - 0x18ac]
mov dword [edx + 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x18ac]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x18ac]
mov eax, dword [edx + 8]
push eax
push str.WinHttpOpenRequest_failed__err_d
push 2
push 0x100e3dd8
call fcn.1006a3c4
add esp, 0x10
jmp 0x100b88b8
mov ecx, dword [ebp - 0x18ac]
add ecx, 0x60
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 0x18ac]
mov dword [edx + 0x54], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x18ac]
mov dword [ecx + 0x58], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 0x18ac]
mov dword [edx + 0x5c], eax
mov eax, dword [ebp - 0x18ac]
add eax, 0x50
push eax
mov ecx, dword [ebp - 0x18ac]
mov edx, dword [ecx + 0x5c]
push edx
mov eax, dword [ebp - 0x18ac]
mov ecx, dword [eax + 0x58]
push ecx
mov edx, dword [ebp - 0x18ac]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0x18c0]
push ecx
call fcn.100b8f40
add esp, 0x14
mov dword [ebp - 0x18f0], eax
cmp dword [ebp - 0x18f0], 0
jne 0x100b83f6
mov edx, dword [ebp - 0x18ac]
cmp dword [edx + 0x50], 0
jne 0x100b8445
mov eax, dword [ebp - 0x18ac]
mov dword [eax + 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x18ac]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x18ac]
add edx, 0x60
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x18ac]
mov ecx, dword [eax + 8]
push ecx
push str.CreateMyContext_failed__err_d
push 2
push 0x100e3d08
call fcn.1006a3c4
add esp, 0x10
jmp 0x100b88b8
mov edx, dword [ebp - 0x18ac]
mov eax, dword [edx + 0x50]
mov dword [ebp - 0x18b0], eax
mov ecx, dword [ebp - 0x18b0]
push ecx
call fcn.100b90c0
add esp, 4
mov edx, dword [ebp - 0x18ac]
add edx, 0x60
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x18b0]
push eax
call fcn.100b90c0
add esp, 4
push 4
lea ecx, [ebp - 0x18b0]
push ecx
push 0x2d
mov edx, dword [ebp - 0x18b0]
mov eax, dword [edx + 0x20]
push eax
call fcn.100b9b40
add esp, 0x10
test eax, eax
jne 0x100b84e2
mov ecx, dword [ebp - 0x18ac]
mov dword [ecx + 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x18ac]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x18ac]
mov ecx, dword [eax + 8]
push ecx
push str.WinHttpSetOption_failed__err_d
push 2
push 0x100e3ea8
call fcn.1006a3c4
add esp, 0x10
jmp 0x100b88b8
mov edx, dword [ebp - 0x18b0]
push edx
call fcn.100b8f00
add esp, 4
cmp dword [ebp + 0x10], 0
ja 0x100b84fd
cmp dword [ebp + 0x14], 0
jbe 0x100b855e
cmp dword [ebp + 0x14], 0
jne 0x100b851d
mov eax, dword [ebp + 0x10]
push eax
push str.Range:_bytes_d__r_n
lea ecx, [ebp - 0x18c8]
push ecx
call fcn.10005db1
add esp, 0xc
jmp 0x100b853c
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push str.Range:_bytes_d__d_r_n
lea ecx, [ebp - 0x18c8]
push ecx
call fcn.10005db1
add esp, 0x10
lea ecx, [ebp - 0x18c8]
call fcn.100014e0
mov dword [ebp - 0x18e0], eax
lea ecx, [ebp - 0x18c8]
call fcn.100014d9
mov dword [ebp - 0x18dc], eax
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x18dc]
push edx
mov eax, dword [ebp - 0x18e0]
push eax
mov ecx, dword [ebp - 0x18b0]
mov edx, dword [ecx + 0x20]
push edx
call fcn.100b9e00
add esp, 0x1c
test eax, eax
jne 0x100b8604
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x18dc]
push eax
mov ecx, dword [ebp - 0x18e0]
push ecx
mov edx, dword [ebp - 0x18b0]
mov eax, dword [edx + 0x20]
push eax
call fcn.100b9e00
add esp, 0x1c
test eax, eax
jne 0x100b8604
mov ecx, dword [ebp - 0x18ac]
mov dword [ecx + 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x18ac]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x18b0]
push eax
call fcn.100b8ee0
add esp, 4
mov ecx, dword [ebp - 0x18ac]
mov edx, dword [ecx + 8]
push edx
push str.WinHttpSendRequest_failed__err_d
push 2
push 0x100e4058
call fcn.1006a3c4
add esp, 0x10
jmp 0x100b88b8
mov eax, dword [ebp - 0x18b0]
push eax
call fcn.100b8ee0
add esp, 4
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 0x18ac]
mov ecx, dword [eax + 0x54]
mov dword [ebp + edx - 0x1900], ecx
mov edx, 4
shl edx, 0
mov eax, dword [ebp - 0x18ac]
mov ecx, dword [eax + 0x5c]
mov dword [ebp + edx - 0x1900], ecx
push 0xea60
push 0
lea edx, [ebp - 0x1900]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x18d0], eax
cmp dword [ebp - 0x18d0], 0
je 0x100b86a4
mov eax, dword [ebp - 0x18ac]
mov dword [eax + 4], 7
mov ecx, dword [ebp - 0x18ac]
mov edx, dword [ebp - 0x18d0]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x18d0]
push eax
push str.CWinHttpEngine::Open_wait_m_hRequestEvent_failed__dwWait_d
push 2
push 0x100e3f88
call fcn.1006a3c4
add esp, 0x10
jmp 0x100b88b8
mov ecx, dword [ebp - 0x18b0]
push ecx
call fcn.100b8f00
add esp, 4
mov edx, dword [ebp - 0x18b0]
cmp dword [edx + 0x30], 0
jne 0x100b86cb
mov dword [ebp - 0x18f4], 1
jmp 0x100b86d5
mov dword [ebp - 0x18f4], 0
mov eax, dword [ebp - 0x18f4]
mov dword [ebp - 0x18d8], eax
push 0
lea ecx, [ebp - 0x18c4]
push ecx
lea edx, [ebp - 0x18bc]
push edx
push 0
push 0x20000013
mov eax, dword [ebp - 0x18b0]
mov ecx, dword [eax + 0x20]
push ecx
call fcn.100b9d50
add esp, 0x18
cmp dword [ebp - 0x18bc], 0xc8
je 0x100b878a
cmp dword [ebp - 0x18bc], 0xce
je 0x100b878a
cmp dword [ebp - 0x18bc], 0x12e
je 0x100b878a
mov dword [ebp - 0x18d8], 0
mov edx, dword [ebp - 0x18ac]
mov dword [edx + 4], 8
mov eax, dword [ebp - 0x18ac]
mov ecx, dword [ebp - 0x18bc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x18b0]
push edx
call fcn.100b8ee0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x18bc]
push eax
push str.WinHttpQueryHeaders_status_code:__d__error:_d
push 2
push 0x100e4228
call fcn.1006a3c4
add esp, 0x14
jmp 0x100b88b8
mov dword [ebp - 0x18d4], 0
lea ecx, [ebp - 0x18d4]
push ecx
lea edx, [ebp - 0x18c4]
push edx
lea eax, [ebp - 0x18f8]
push eax
push 0
push 0x20000005
mov ecx, dword [ebp - 0x18b0]
mov edx, dword [ecx + 0x20]
push edx
call fcn.100b9d50
add esp, 0x18
test eax, eax
je 0x100b87f5
mov eax, dword [ebp - 0x18ac]
mov ecx, dword [ebp - 0x18f8]
mov dword [eax + 0x48], ecx
mov edx, dword [ebp - 0x18ac]
mov eax, dword [edx + 0x48]
push eax
push str.WinHttpQueryHeaders_file_size:_d
push 2
push 0x100e4140
call fcn.1006a3c4
add esp, 0x10
jmp 0x100b8802
mov ecx, dword [ebp - 0x18ac]
mov dword [ecx + 0x48], 0xffffffff
mov dword [ebp - 0x18d4], 0
xor edx, edx
mov word [ebp - 0x90], dx
push 0x7e
push 0
lea eax, [ebp - 0x8e]
push eax
call fcn.1008dc90
add esp, 0xc
mov dword [ebp - 0x18c4], 0x80
lea ecx, [ebp - 0x18d4]
push ecx
lea edx, [ebp - 0x18c4]
push edx
lea eax, [ebp - 0x90]
push eax
push 0
push 0xb
mov ecx, dword [ebp - 0x18b0]
mov edx, dword [ecx + 0x20]
push edx
call fcn.100b9d50
add esp, 0x18
test eax, eax
je 0x100b889b
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x18ac]
add ecx, 0x30
call fcn.10001442
mov ecx, dword [ebp - 0x18ac]
add ecx, 0x30
call fcn.10001e70
push eax
push str.WinHttpQueryHeaders_LastModified:__s
push 2
push 0x100e43c8
call fcn.1006a3c4
add esp, 0x10
jmp 0x100b88a9
mov ecx, dword [ebp - 0x18ac]
add ecx, 0x30
call fcn.10005569
mov ecx, dword [ebp - 0x18b0]
push ecx
call fcn.100b8ee0
add esp, 4
mov edx, dword [ebp - 0x18ac]
add edx, 0x60
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x18ac]
mov ecx, dword [ebp - 0x18b4]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x18ac]
mov eax, dword [ebp - 0x18b8]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x18ac]
add ecx, 0x60
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x18b0], 0
je 0x100b8918
mov edx, dword [ebp - 0x18b0]
push edx
call fcn.100b9080
add esp, 4
mov dword [ebp - 0x18b0], 0
mov eax, dword [ebp - 0x18d8]
push eax
push str.CWinHttpEngine::Open_return:__d
push 2
push 0x100e42d0
call fcn.1006a3c4
add esp, 0x10
mov ecx, dword [ebp - 0x18d8]
mov dword [ebp - 0x1904], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18e4]
call fcn.100014cf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.10001faa
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18c8]
call fcn.100014cf
mov eax, dword [ebp - 0x1904]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008a777
mov esp, ebp
pop ebp
ret 0x10