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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 8
call fcn.0059b379
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], esp
push 0
mov eax, 0x7e
call fcn.0059b397
cmp dword [ebp - 0xc], esp
je 0x422521
push 6
call fcn.0059b38b
add esp, 4
push 0
push 0
push 0
push VariantClear
push 0
push str.Microsoft.XMLHTTP
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x5a1870
call fcn.0059b385
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, 0x5a02c0
call fcn.0059b385
add esp, 0x40
push VariantClear
push 0
push 0x87c96d
push VariantClear
push 0
push str.Accept
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x5a02c0
call fcn.0059b385
add esp, 0x34
push VariantClear
push 0
push str.zh_CN
push VariantClear
push 0
push str.Accept_Language
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x5a02c0
call fcn.0059b385
add esp, 0x34
push VariantClear
push 0
push str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__WOW64__Trident_5.0_
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, 0x5a02c0
call fcn.0059b385
add esp, 0x34
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, 0x5a02c0
call fcn.0059b385
add esp, 0x34
push VariantClear
push 0
push str.deflate
push VariantClear
push 0
push str.Accept_Encoding
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x5a02c0
call fcn.0059b385
add esp, 0x34
push VariantClear
push 0
push str.Keep_Alive
push VariantClear
push 0
push str.Connection
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x5a02c0
call fcn.0059b385
add esp, 0x34
push VariantClear
push 0
push str.no_cache
push VariantClear
push 0
push str.Cache_Control
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x5a02c0
call fcn.0059b385
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, 0x5a02c0
call fcn.0059b385
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, 0x5a0290
call fcn.0059b385
add esp, 0x28
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x5a0500
call fcn.0059b385
add esp, 0x1c
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x5a0410
call fcn.0059b385
add esp, 0x10
call fcn.0059b37f
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x422818
push ebx
call fcn.0059b37f
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
mov eax, 0x7f
call fcn.0059b397
cmp dword [ebp - 0xc], esp
je 0x42283b
push 6
call fcn.0059b38b
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x42284e
mov eax, 0x6289db
push eax
push 1
mov ebx, 0x59da80
call fcn.0059b385
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
jmp 0x42286c
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x5a1840
call fcn.0059b385
add esp, 0x10
call fcn.0059b37f
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4228a0
push ebx
call fcn.0059b37f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8