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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 8
call fcn.004514f5
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
mov eax, 0x11
call fcn.00451501
cmp dword [ebp - 0x10], esp
je 0x407734
push 0
push 0x4015bf3
push 6
call fcn.004514fb
add esp, 0xc
push 0
push 0
push 0
push getpeername
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4559c0
call fcn.0045150d
add esp, 0x28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x407823
push 0
push 0
push 0
push getpeername
push 0
push str.MSXML2.ServerXMLHTTP.6.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4559c0
call fcn.0045150d
add esp, 0x28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x407823
push 0
push 0
push 0
push getpeername
push 0
push str.MSXML2.ServerXMLHTTP.5.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4559c0
call fcn.0045150d
add esp, 0x28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x407823
mov ebx, 6
call fcn.004011d5
push 0x80000301
push 0
push 0x30
push getpeername
push 0
push 0x515afc
push 4
mov ebx, 0x453e30
call fcn.0045150d
add esp, 0x34
mov eax, 0x5158f6
jmp 0x407d90
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push getpeername
push 0
push 0x515b0d
push getpeername
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x454470
call fcn.0045150d
add esp, 0x40
push getpeername
push 0
push str.application_json__
push getpeername
push 0
push str.Accept
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x454470
call fcn.0045150d
add esp, 0x34
cmp dword [0x5ae684], 0
je 0x4078fa
push getpeername
push 0
push str.gzip__deflate
push getpeername
push 0
push str.Accept_Encoding
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x454470
call fcn.0045150d
add esp, 0x34
push getpeername
push 0
push str.zh_CN
push getpeername
push 0
push str.Accept_Language
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x454470
call fcn.0045150d
add esp, 0x34
push getpeername
push 0
push str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__WOW64__Trident_5.0_
push getpeername
push 0
push str.User_Agent
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x454470
call fcn.0045150d
add esp, 0x34
push getpeername
push 0
push str.application_x_www_form_urlencoded
push getpeername
push 0
push str.Content_Type
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x454470
call fcn.0045150d
add esp, 0x34
push getpeername
push 0
push 0x515bf9
push getpeername
push 0
push str.Accept_Encoding
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x454470
call fcn.0045150d
add esp, 0x34
push getpeername
push 0
push str.Keep_Alive
push getpeername
push 0
push str.Connection
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x454470
call fcn.0045150d
add esp, 0x34
push getpeername
push 0
push str.no_cache
push getpeername
push 0
push str.Cache_Control
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x454470
call fcn.0045150d
add esp, 0x34
push getpeername
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x407a8f
mov eax, 0x515718
push eax
push 1
mov ebx, 0x451ae0
call fcn.0045150d
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jle 0x407af2
push 0xa0000004
push 0
push dword [ebp + 0x10]
push getpeername
push 0
push str.Cookie
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x454470
call fcn.0045150d
add esp, 0x34
jmp 0x407b32
push getpeername
push 0
push 0x515718
push getpeername
push 0
push str.Cookie
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x454470
call fcn.0045150d
add esp, 0x34
push 0xa0000004
push 0
push dword [ebp + 0xc]
push getpeername
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x454470
call fcn.0045150d
add esp, 0x28
push 0
push 0
push 0
push getpeername
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x454440
call fcn.0045150d
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, 0x454690
call fcn.0045150d
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, 0x4545c0
call fcn.0045150d
add esp, 0x10
call fcn.00451507
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x407bf1
push ebx
call fcn.00451507
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [0x5ae684], 0
je 0x407c26
lea eax, [ebp - 8]
push eax
call fcn.00407ddb
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x407c22
push ebx
call fcn.00451507
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push getpeername
push 0
push str.GetallResponseHeaders
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x454380
call fcn.0045150d
add esp, 0x28
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x407c6b
push ebx
call fcn.00451507
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push str.Set_Cookie
push getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x407ca0
mov eax, 0x515718
push eax
push 4
mov ebx, 0x452160
call fcn.0045150d
add esp, 0x34
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x407d48
mov eax, 0x515c68
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
lea eax, [ebp - 0xc]
push eax
call fcn.004080ce
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x407cf4
push ebx
call fcn.00451507
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x407d04
push ebx
call fcn.00451507
add esp, 4
push 0x515c68
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00401179
add esp, 8
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x407d2c
push ebx
call fcn.00451507
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407d42
push ebx
call fcn.00451507
add esp, 4
pop eax
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x10], esp
mov eax, 0x12
call fcn.00451501
cmp dword [ebp - 0x10], esp
je 0x407d71
push 0x84d
push 0x4015bf3
push 6
call fcn.004514fb
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x407d8b
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004514f5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x407d90
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x455990
call fcn.0045150d
add esp, 0x10
call fcn.00451507
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x407dc4
push ebx
call fcn.00451507
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x407dd4
push ebx
call fcn.00451507
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18