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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c50de
mov eax, dword fs:[0]
push eax
mov eax, 0x1940
call fcn.1008c2a0
mov eax, dword [0x1010c070]
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.1000567e
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.1008e420
add esp, 0xc
mov dword [ebp - 0x1940], 0
push 0x38
push 0
lea eax, [ebp - 0x193c]
push eax
call fcn.1008e420
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.100ba790
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.10005566
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.100b9130
lea ecx, [ebp - 0x18e4]
call fcn.1000567e
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.10005d9c
add esp, 0x10
push 0x10000000
push 0
push 0
push 1
lea ecx, [ebp - 0x18e4]
call fcn.100014d0
push eax
call fcn.100ba6b0
add esp, 0x14
mov dword [ebp - 0x18b8], eax
cmp dword [ebp - 0x18b8], 0
jne 0x100b88fc
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 0x100e4b50
call fcn.1006ab44
add esp, 0x10
jmp 0x100b9058
push 0
push 0xffffffffffffffff
push 0x100b9220
mov edx, dword [ebp - 0x18b8]
push edx
call fcn.100ba290
add esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x100b8961
mov eax, dword [ebp + 0xc]
push eax
call fcn.100a0914
add esp, 4
test eax, eax
jbe 0x100b8961
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.100ba2e0
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.100ba660
add esp, 0x10
mov dword [ebp - 0x18b4], eax
cmp dword [ebp - 0x18b4], 0
jne 0x100b89c0
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.100ba660
add esp, 0x10
mov dword [ebp - 0x18b4], eax
cmp dword [ebp - 0x18b4], 0
jne 0x100b8a08
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 0x100e4ca8
call fcn.1006ab44
add esp, 0x10
jmp 0x100b9058
mov dword [ebp - 0x18cc], 0x100
movzx edx, word [ebp - 0x1928]
cmp edx, 0x1bb
jne 0x100b8a32
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.10001e60
push eax
push 0x100e4824
mov edx, dword [ebp - 0x18b4]
push edx
call fcn.100ba600
add esp, 0x1c
mov dword [ebp - 0x18c0], eax
cmp dword [ebp - 0x18c0], 0
jne 0x100b8aa7
mov eax, dword [ebp - 0x18cc]
push eax
push 0
push 0
push 0x100e482c
lea ecx, [ebp - 0xa8]
call fcn.10001e60
push eax
push 0x100e4c74
mov ecx, dword [ebp - 0x18b4]
push ecx
call fcn.100ba600
add esp, 0x1c
mov dword [ebp - 0x18c0], eax
cmp dword [ebp - 0x18c0], 0
jne 0x100b8aef
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 0x100e4d10
call fcn.1006ab44
add esp, 0x10
jmp 0x100b9058
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.100b96e0
add esp, 0x14
mov dword [ebp - 0x18f0], eax
cmp dword [ebp - 0x18f0], 0
jne 0x100b8b96
mov edx, dword [ebp - 0x18ac]
cmp dword [edx + 0x50], 0
jne 0x100b8be5
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 0x100e4eb0
call fcn.1006ab44
add esp, 0x10
jmp 0x100b9058
mov edx, dword [ebp - 0x18ac]
mov eax, dword [edx + 0x50]
mov dword [ebp - 0x18b0], eax
mov ecx, dword [ebp - 0x18b0]
push ecx
call fcn.100b9860
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.100b9860
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.100ba2e0
add esp, 0x10
test eax, eax
jne 0x100b8c82
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 0x100e4e20
call fcn.1006ab44
add esp, 0x10
jmp 0x100b9058
mov edx, dword [ebp - 0x18b0]
push edx
call fcn.100b96a0
add esp, 4
cmp dword [ebp + 0x10], 0
ja 0x100b8c9d
cmp dword [ebp + 0x14], 0
jbe 0x100b8cfe
cmp dword [ebp + 0x14], 0
jne 0x100b8cbd
mov eax, dword [ebp + 0x10]
push eax
push str.Range:_bytes_d__r_n
lea ecx, [ebp - 0x18c8]
push ecx
call fcn.10005d9c
add esp, 0xc
jmp 0x100b8cdc
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.10005d9c
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.100ba5a0
add esp, 0x1c
test eax, eax
jne 0x100b8da4
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.100ba5a0
add esp, 0x1c
test eax, eax
jne 0x100b8da4
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.100b9680
add esp, 4
mov ecx, dword [ebp - 0x18ac]
mov edx, dword [ecx + 8]
push edx
push str.WinHttpSendRequest_failed__err_d
push 2
push 0x100e4f58
call fcn.1006ab44
add esp, 0x10
jmp 0x100b9058
mov eax, dword [ebp - 0x18b0]
push eax
call fcn.100b9680
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 0x100b8e44
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 0x100e5190
call fcn.1006ab44
add esp, 0x10
jmp 0x100b9058
mov ecx, dword [ebp - 0x18b0]
push ecx
call fcn.100b96a0
add esp, 4
mov edx, dword [ebp - 0x18b0]
cmp dword [edx + 0x30], 0
jne 0x100b8e6b
mov dword [ebp - 0x18f4], 1
jmp 0x100b8e75
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.100ba4f0
add esp, 0x18
cmp dword [ebp - 0x18bc], 0xc8
je 0x100b8f2a
cmp dword [ebp - 0x18bc], 0xce
je 0x100b8f2a
cmp dword [ebp - 0x18bc], 0x12e
je 0x100b8f2a
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.100b9680
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 0x100e50a0
call fcn.1006ab44
add esp, 0x14
jmp 0x100b9058
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.100ba4f0
add esp, 0x18
test eax, eax
je 0x100b8f95
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 0x100e5320
call fcn.1006ab44
add esp, 0x10
jmp 0x100b8fa2
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.1008e420
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.100ba4f0
add esp, 0x18
test eax, eax
je 0x100b903b
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 0x100e5278
call fcn.1006ab44
add esp, 0x10
jmp 0x100b9049
mov ecx, dword [ebp - 0x18ac]
add ecx, 0x30
call fcn.10005554
mov ecx, dword [ebp - 0x18b0]
push ecx
call fcn.100b9680
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 0x100b90b8
mov edx, dword [ebp - 0x18b0]
push edx
call fcn.100b9820
add esp, 4
mov dword [ebp - 0x18b0], 0
mov eax, dword [ebp - 0x18d8]
push eax
push str.CWinHttpEngine::Open_return:__d
push 2
push 0x100e5530
call fcn.1006ab44
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.1008aeea
mov esp, ebp
pop ebp
ret 0x10