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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3444
call fcn.00476ea0
mov eax, dword [0x548280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3444], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3440], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test ebx, ebx
je 0x487252
test esi, esi
je 0x487252
xor eax, eax
push 0x200
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.0046f380
add esp, 0xc
lea eax, [ebp - 0x208]
mov ecx, edi
push 0x100
push eax
push esi
call fcn.004866e0
test al, al
je 0x487252
xor eax, eax
push 0x1000
push eax
mov word [ebp - 0x120c], ax
lea eax, [ebp - 0x120a]
push eax
call fcn.0046f380
add esp, 0xc
lea eax, [ebp - 0x120c]
mov ecx, edi
push 0x800
push eax
push esi
call fcn.00486aa0
test al, al
je 0x487252
lea eax, [ebp - 0x3438]
mov dword [ebp - 0x2434], 0
mov dword [ebp - 0x343c], eax
xor eax, eax
cmp dword [ebp + 0x18], eax
mov word [ebp - 0x3438], ax
lea eax, [ebp - 0x120c]
push eax
lea eax, [ebp - 0x343c]
jbe 0x486fe0
push str.POST__s_HTTP_1.1_r_n
jmp 0x486fe5
push str.GET__s_HTTP_1.1_r_n
push eax
call fcn.004873e0
lea eax, [ebp - 0x242c]
mov dword [ebp - 0x1c28], 0
mov dword [ebp - 0x2430], eax
add esp, 0xc
xor eax, eax
mov word [ebp - 0x242c], ax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x2430]
push str.Host:__s_r_n
push eax
call fcn.00445f30
mov ecx, dword [ebp - 0x3440]
mov eax, str.Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_43.0.2357.81_Safari_537.36
test ecx, ecx
mov dword [ebp - 0x141c], 0
cmovne eax, ecx
lea ecx, [ebp - 0x1c20]
push eax
mov dword [ebp - 0x1c24], ecx
lea eax, [ebp - 0x1c24]
xor ecx, ecx
push str.User_Agent:__s_r_n
push eax
mov word [ebp - 0x1c20], cx
call fcn.00445f30
lea ecx, [ebp - 0x3438]
mov edx, ebx
mov eax, ecx
add esp, 0x18
sub edx, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x487075
lea edx, [ebp - 0x242c]
mov esi, edx
lea ecx, [ecx]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x487090
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4870a0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x1c20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4870c2
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4870d2
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4870f0
mov ecx, 7
mov esi, str.Accept:____r_n
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebx - 2]
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x487110
mov ecx, 0xe
mov esi, str.Accept_Language:_zh_CN_zh__r_n
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebx - 2]
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x487130
mov edx, dword [ebp + 0x18]
mov ecx, 0xc
mov esi, str.Connection:_keep_alive_r_n
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
test edx, edx
je 0x4871e0
lea edi, [ebx - 2]
jmp 0x487160
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x487160
mov ecx, 0x20
mov dword [ebp - 0x1210], 0
mov esi, str.Content_Type:_application_x_www_form_urlencoded__charsetUTF_8_r_n
lea eax, [ebp - 0x1414]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1418], eax
xor eax, eax
push edx
mov word [ebp - 0x1414], ax
lea eax, [ebp - 0x1418]
push str.Content_Length:__u_r_n
push eax
movsw word es:[edi], word [esi]
call fcn.00446130
lea edx, [ebp - 0x1414]
add esp, 0xc
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4871b6
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4871c6
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x3444]
test edx, edx
je 0x48721a
mov esi, edx
lea esp, [esp]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4871f0
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x487200
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add ebx, 0xfffffffe
lea ecx, [ecx]
mov ax, word [ebx + 2]
lea ebx, [ebx + 2]
test ax, ax
jne 0x487220
mov eax, dword [0x540be0]
mov dword [ebx], eax
mov ax, word [0x540be4]
pop edi
mov word [ebx + 4], ax
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004632a9
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004632a9
mov esp, ebp
pop ebp
ret 0x14