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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4ace
mov eax, dword fs:[0]
push eax
mov eax, 0x1940
call fcn.1008bd90
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.1000562d
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.1008df10
add esp, 0xc
mov dword [ebp - 0x1940], 0
push 0x38
push 0
lea eax, [ebp - 0x193c]
push eax
call fcn.1008df10
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.100ba270
add esp, 0x10
mov eax, dword [ebp - 0x1914]
push eax
lea ecx, [ebp - 0xa8]
call fcn.100028b0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x190c]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.10005515
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.100b8c10
lea ecx, [ebp - 0x18e4]
call fcn.1000562d
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.10005d4b
add esp, 0x10
push 0x10000000
push 0
push 0
push 1
lea ecx, [ebp - 0x18e4]
call fcn.100014d0
push eax
call fcn.100ba190
add esp, 0x14
mov dword [ebp - 0x18b8], eax
cmp dword [ebp - 0x18b8], 0
jne 0x100b83dc
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 0x100e3ca8
call fcn.1006a644
add esp, 0x10
jmp 0x100b8b38
push 0
push 0xffffffffffffffff
push 0x100b8d00
mov edx, dword [ebp - 0x18b8]
push edx
call fcn.100b9d70
add esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x100b8441
mov eax, dword [ebp + 0xc]
push eax
call fcn.100a03f4
add esp, 4
test eax, eax
jbe 0x100b8441
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.100b9dc0
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.100ba140
add esp, 0x10
mov dword [ebp - 0x18b4], eax
cmp dword [ebp - 0x18b4], 0
jne 0x100b84a0
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.100ba140
add esp, 0x10
mov dword [ebp - 0x18b4], eax
cmp dword [ebp - 0x18b4], 0
jne 0x100b84e8
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 0x100e3c40
call fcn.1006a644
add esp, 0x10
jmp 0x100b8b38
mov dword [ebp - 0x18cc], 0x100
movzx edx, word [ebp - 0x1928]
cmp edx, 0x1bb
jne 0x100b8512
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 0x100e3654
lea ecx, [ebp - 0xa8]
call fcn.10001e60
push eax
push 0x100e3c0c
mov edx, dword [ebp - 0x18b4]
push edx
call fcn.100ba0e0
add esp, 0x1c
mov dword [ebp - 0x18c0], eax
cmp dword [ebp - 0x18c0], 0
jne 0x100b8587
mov eax, dword [ebp - 0x18cc]
push eax
push 0
push 0
push str.HTTP_1.1
lea ecx, [ebp - 0xa8]
call fcn.10001e60
push eax
push 0x100e3aa4
mov ecx, dword [ebp - 0x18b4]
push ecx
call fcn.100ba0e0
add esp, 0x1c
mov dword [ebp - 0x18c0], eax
cmp dword [ebp - 0x18c0], 0
jne 0x100b85cf
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 0x100e3e20
call fcn.1006a644
add esp, 0x10
jmp 0x100b8b38
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.100b91c0
add esp, 0x14
mov dword [ebp - 0x18f0], eax
cmp dword [ebp - 0x18f0], 0
jne 0x100b8676
mov edx, dword [ebp - 0x18ac]
cmp dword [edx + 0x50], 0
jne 0x100b86c5
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 0x100e3d78
call fcn.1006a644
add esp, 0x10
jmp 0x100b8b38
mov edx, dword [ebp - 0x18ac]
mov eax, dword [edx + 0x50]
mov dword [ebp - 0x18b0], eax
mov ecx, dword [ebp - 0x18b0]
push ecx
call fcn.100b9340
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.100b9340
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.100b9dc0
add esp, 0x10
test eax, eax
jne 0x100b8762
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 0x100e3f30
call fcn.1006a644
add esp, 0x10
jmp 0x100b8b38
mov edx, dword [ebp - 0x18b0]
push edx
call fcn.100b9180
add esp, 4
cmp dword [ebp + 0x10], 0
ja 0x100b877d
cmp dword [ebp + 0x14], 0
jbe 0x100b87de
cmp dword [ebp + 0x14], 0
jne 0x100b879d
mov eax, dword [ebp + 0x10]
push eax
push str.Range:_bytes_d__r_n
lea ecx, [ebp - 0x18c8]
push ecx
call fcn.10005d4b
add esp, 0xc
jmp 0x100b87bc
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.10005d4b
add esp, 0x10
lea ecx, [ebp - 0x18c8]
call fcn.100014d0
mov dword [ebp - 0x18e0], eax
lea ecx, [ebp - 0x18c8]
call fcn.100014c9
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.100ba080
add esp, 0x1c
test eax, eax
jne 0x100b8884
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.100ba080
add esp, 0x1c
test eax, eax
jne 0x100b8884
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.100b9160
add esp, 4
mov ecx, dword [ebp - 0x18ac]
mov edx, dword [ecx + 8]
push edx
push str.WinHttpSendRequest_failed__err_d
push 2
push 0x100e40a8
call fcn.1006a644
add esp, 0x10
jmp 0x100b8b38
mov eax, dword [ebp - 0x18b0]
push eax
call fcn.100b9160
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 0x100b8924
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 0x100e3fc0
call fcn.1006a644
add esp, 0x10
jmp 0x100b8b38
mov ecx, dword [ebp - 0x18b0]
push ecx
call fcn.100b9180
add esp, 4
mov edx, dword [ebp - 0x18b0]
cmp dword [edx + 0x30], 0
jne 0x100b894b
mov dword [ebp - 0x18f4], 1
jmp 0x100b8955
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.100b9fd0
add esp, 0x18
cmp dword [ebp - 0x18bc], 0xc8
je 0x100b8a0a
cmp dword [ebp - 0x18bc], 0xce
je 0x100b8a0a
cmp dword [ebp - 0x18bc], 0x12e
je 0x100b8a0a
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.100b9160
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 0x100e4280
call fcn.1006a644
add esp, 0x14
jmp 0x100b8b38
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.100b9fd0
add esp, 0x18
test eax, eax
je 0x100b8a75
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 0x100e4188
call fcn.1006a644
add esp, 0x10
jmp 0x100b8a82
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.1008df10
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.100b9fd0
add esp, 0x18
test eax, eax
je 0x100b8b1b
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x18ac]
add ecx, 0x30
call fcn.10001432
mov ecx, dword [ebp - 0x18ac]
add ecx, 0x30
call fcn.10001e60
push eax
push str.WinHttpQueryHeaders_LastModified:__s
push 2
push 0x100e4470
call fcn.1006a644
add esp, 0x10
jmp 0x100b8b29
mov ecx, dword [ebp - 0x18ac]
add ecx, 0x30
call fcn.10005503
mov ecx, dword [ebp - 0x18b0]
push ecx
call fcn.100b9160
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 0x100b8b98
mov edx, dword [ebp - 0x18b0]
push edx
call fcn.100b9300
add esp, 4
mov dword [ebp - 0x18b0], 0
mov eax, dword [ebp - 0x18d8]
push eax
push str.CWinHttpEngine::Open_return:__d
push 2
push 0x100e4368
call fcn.1006a644
add esp, 0x10
mov ecx, dword [ebp - 0x18d8]
mov dword [ebp - 0x1904], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18e4]
call fcn.100014bf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.10001f9a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18c8]
call fcn.100014bf
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.1008a9f7
mov esp, ebp
pop ebp
ret 0x10