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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5e2e
mov eax, dword fs:[0]
push eax
mov eax, 0x1940
call fcn.1008cee0
mov eax, dword [0x1010e070]
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.1008f060
add esp, 0xc
mov dword [ebp - 0x1940], 0
push 0x38
push 0
lea eax, [ebp - 0x193c]
push eax
call fcn.1008f060
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.100bb3c0
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.100b9d60
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.100bb2e0
add esp, 0x14
mov dword [ebp - 0x18b8], eax
cmp dword [ebp - 0x18b8], 0
jne 0x100b952c
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 0x100e5cc8
call fcn.1006b794
add esp, 0x10
jmp 0x100b9c88
push 0
push 0xffffffffffffffff
push 0x100b9e50
mov edx, dword [ebp - 0x18b8]
push edx
call fcn.100baec0
add esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x100b9591
mov eax, dword [ebp + 0xc]
push eax
call fcn.100a1544
add esp, 4
test eax, eax
jbe 0x100b9591
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.100baf10
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.100bb290
add esp, 0x10
mov dword [ebp - 0x18b4], eax
cmp dword [ebp - 0x18b4], 0
jne 0x100b95f0
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.100bb290
add esp, 0x10
mov dword [ebp - 0x18b4], eax
cmp dword [ebp - 0x18b4], 0
jne 0x100b9638
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 0x100e5c28
call fcn.1006b794
add esp, 0x10
jmp 0x100b9c88
mov dword [ebp - 0x18cc], 0x100
movzx edx, word [ebp - 0x1928]
cmp edx, 0x1bb
jne 0x100b9662
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 0x100e5b7c
mov edx, dword [ebp - 0x18b4]
push edx
call fcn.100bb230
add esp, 0x1c
mov dword [ebp - 0x18c0], eax
cmp dword [ebp - 0x18c0], 0
jne 0x100b96d7
mov eax, dword [ebp - 0x18cc]
push eax
push 0
push 0
push 0x100e5784
lea ecx, [ebp - 0xa8]
call fcn.10001e70
push eax
push 0x100e5ac4
mov ecx, dword [ebp - 0x18b4]
push ecx
call fcn.100bb230
add esp, 0x1c
mov dword [ebp - 0x18c0], eax
cmp dword [ebp - 0x18c0], 0
jne 0x100b971f
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 0x100e5e40
call fcn.1006b794
add esp, 0x10
jmp 0x100b9c88
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.100ba310
add esp, 0x14
mov dword [ebp - 0x18f0], eax
cmp dword [ebp - 0x18f0], 0
jne 0x100b97c6
mov edx, dword [ebp - 0x18ac]
cmp dword [edx + 0x50], 0
jne 0x100b9815
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 0x100e5d70
call fcn.1006b794
add esp, 0x10
jmp 0x100b9c88
mov edx, dword [ebp - 0x18ac]
mov eax, dword [edx + 0x50]
mov dword [ebp - 0x18b0], eax
mov ecx, dword [ebp - 0x18b0]
push ecx
call fcn.100ba490
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.100ba490
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.100baf10
add esp, 0x10
test eax, eax
jne 0x100b98b2
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 0x100e5f10
call fcn.1006b794
add esp, 0x10
jmp 0x100b9c88
mov edx, dword [ebp - 0x18b0]
push edx
call fcn.100ba2d0
add esp, 4
cmp dword [ebp + 0x10], 0
ja 0x100b98cd
cmp dword [ebp + 0x14], 0
jbe 0x100b992e
cmp dword [ebp + 0x14], 0
jne 0x100b98ed
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 0x100b990c
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.100bb1d0
add esp, 0x1c
test eax, eax
jne 0x100b99d4
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.100bb1d0
add esp, 0x1c
test eax, eax
jne 0x100b99d4
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.100ba2b0
add esp, 4
mov ecx, dword [ebp - 0x18ac]
mov edx, dword [ecx + 8]
push edx
push str.WinHttpSendRequest_failed__err_d
push 2
push 0x100e60c0
call fcn.1006b794
add esp, 0x10
jmp 0x100b9c88
mov eax, dword [ebp - 0x18b0]
push eax
call fcn.100ba2b0
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 0x100b9a74
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 0x100e5ff0
call fcn.1006b794
add esp, 0x10
jmp 0x100b9c88
mov ecx, dword [ebp - 0x18b0]
push ecx
call fcn.100ba2d0
add esp, 4
mov edx, dword [ebp - 0x18b0]
cmp dword [edx + 0x30], 0
jne 0x100b9a9b
mov dword [ebp - 0x18f4], 1
jmp 0x100b9aa5
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.100bb120
add esp, 0x18
cmp dword [ebp - 0x18bc], 0xc8
je 0x100b9b5a
cmp dword [ebp - 0x18bc], 0xce
je 0x100b9b5a
cmp dword [ebp - 0x18bc], 0x12e
je 0x100b9b5a
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.100ba2b0
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 0x100e6290
call fcn.1006b794
add esp, 0x14
jmp 0x100b9c88
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.100bb120
add esp, 0x18
test eax, eax
je 0x100b9bc5
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 0x100e61a8
call fcn.1006b794
add esp, 0x10
jmp 0x100b9bd2
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.1008f060
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.100bb120
add esp, 0x18
test eax, eax
je 0x100b9c6b
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 0x100e6430
call fcn.1006b794
add esp, 0x10
jmp 0x100b9c79
mov ecx, dword [ebp - 0x18ac]
add ecx, 0x30
call fcn.10005569
mov ecx, dword [ebp - 0x18b0]
push ecx
call fcn.100ba2b0
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 0x100b9ce8
mov edx, dword [ebp - 0x18b0]
push edx
call fcn.100ba450
add esp, 4
mov dword [ebp - 0x18b0], 0
mov eax, dword [ebp - 0x18d8]
push eax
push str.CWinHttpEngine::Open_return:__d
push 2
push 0x100e6338
call fcn.1006b794
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.1008bb47
mov esp, ebp
pop ebp
ret 0x10