Function at 0x100017c5
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 8
call fcn.1000600c
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], esp
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1000181f
push 6
call fcn.10006018
add esp, 4
push 0
push 0
push 0
push VariantClear
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x91c
call fcn.10007230
add esp, 0x28
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push VariantClear
push 0
push str.POST
push VariantClear
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x94c
call fcn.10007690
add esp, 0x40
push VariantClear
push 0
push str.application_x_www_form_urlencoded
push VariantClear
push 0
push str.Content_Type
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x94c
call fcn.10007690
add esp, 0x34
push VariantClear
push 0
push str.Mozilla_5.0__compatible__Baiduspider_2.0__http:__www.baidu.com_search_spider.html_
push VariantClear
push 0
push str.User_Agent
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x94c
call fcn.10007690
add esp, 0x34
push 0xa0000004
push 0
push dword [ebp + 0x10]
push VariantClear
push 0
push str.Cookie
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x94c
call fcn.10007690
add esp, 0x34
push VariantClear
push 0
push str.http:__www.baidu.com_
push VariantClear
push 0
push str.Referer
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x94c
call fcn.10007690
add esp, 0x34
push 0xa0000004
push 0
push dword [ebp + 0xc]
push VariantClear
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x94c
call fcn.10007690
add esp, 0x28
push 0
push 0
push 0
push VariantClear
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x944
call fcn.10007520
add esp, 0x28
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x10]
push 2
mov ebx, 0x9d0
call fcn.10007920
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x984
call fcn.10007900
add esp, 0x10
call fcn.10006006
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10001a54
push ebx
call fcn.10006006
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push VariantClear
push 0
push str.GetAllResponseHeaders
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x930
call fcn.10007430
add esp, 0x28
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10001a9f
push ebx
call fcn.10006006
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
mov eax, str.path
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x14]
call fcn.10001bec
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10001ad8
push ebx
call fcn.10006006
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10001ae8
push ebx
call fcn.10006006
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10001afe
push ebx
call fcn.10006006
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10001b17
mov eax, 0x1001927e
push eax
push 1
mov ebx, 0x168
call fcn.10006630
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10001b41
push ebx
call fcn.10006006
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x10030
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x924
call fcn.10007410
add esp, 0x10
mov dword [ebp - 0x10], esp
call dword [sym.imp.ole32.dll_CoUninitialize]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10001b80
push 6
call fcn.10006018
add esp, 4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10001b9c
push eax
mov ebx, eax
call fcn.10001027
inc eax
push eax
call fcn.1000600c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10001ba1
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x924
call fcn.10007410
add esp, 0x10
call fcn.10006006
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10001bd5
push ebx
call fcn.10006006
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10001be5
push ebx
call fcn.10006006
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10