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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 8
call fcn.0040accd
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
push 0x10
call fcn.0040accd
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, 3
mov dword [ebx], eax
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, 0x40f1a0
call fcn.0040acd9
add esp, 0x28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4042bd
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, 0x40f1a0
call fcn.0040acd9
add esp, 0x28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4042bd
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, 0x40f1a0
call fcn.0040acd9
add esp, 0x28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4042bd
mov eax, 0x482462
jmp 0x4045b7
push 0x482462
mov ebx, dword [ebp + 0x20]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x404316
push 0xa0000004
push 0
push dword [ebp + 0x20]
push 0x80000301
push 0
push 2
push getpeername
push 0
push str.setProxy
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40d1e0
call fcn.0040acd9
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push 0xa0000004
push 0
push dword [ebp + 0xc]
push getpeername
push 0
push 0x482dd9
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x40d1e0
call fcn.0040acd9
add esp, 0x40
push getpeername
push 0
push str.Mozilla_5.0__SymbianOS_9.4__Series60_5.0_NokiaN97_1_20.0.019__Profile_MIDP_2.1_Configuration_CLDC_1.1__AppleWebKit_525__KHTML__like_Gecko__BrowserNG_7.1.1812
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, 0x40d1e0
call fcn.0040acd9
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, 0x40d1e0
call fcn.0040acd9
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, 0x40d1e0
call fcn.0040acd9
add esp, 0x34
push 0xa0000004
push 0
push dword [ebp + 0x18]
push getpeername
push 0
push str.send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40d1e0
call fcn.0040acd9
add esp, 0x28
cmp dword [ebp + 0x10], 0
jne 0x4044a8
push 0
push 0
push 0
push getpeername
push 0
push str.responseText
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40d120
call fcn.0040acd9
add esp, 0x28
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40449f
push ebx
call fcn.0040acd3
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x40457a
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, 0x40d1b0
call fcn.0040acd9
add esp, 0x28
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x40d2a0
call fcn.0040acd9
add esp, 0x10
call fcn.0040acd3
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x40d2c0
call fcn.0040acd9
add esp, 0x1c
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40453c
mov eax, 0x4824dc
push eax
push 1
mov ebx, 0x40bec0
call fcn.0040acd9
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x404562
push ebx
call fcn.0040acd3
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404576
push ebx
call fcn.0040acd3
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x10030
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x40f170
call fcn.0040acd9
add esp, 0x10
mov eax, dword [ebp - 8]
test eax, eax
je 0x4045b2
push eax
mov ebx, eax
call fcn.004011d7
inc eax
push eax
call fcn.0040accd
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4045b7
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x40f170
call fcn.0040acd9
add esp, 0x10
call fcn.0040acd3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4045eb
push ebx
call fcn.0040acd3
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x40d2a0
call fcn.0040acd9
add esp, 0x10
call fcn.0040acd3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x20