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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3444
call fcn.00471f10
mov eax, dword [0x541280]
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 0x4817e2
test esi, esi
je 0x4817e2
xor eax, eax
push 0x200
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.0046a400
add esp, 0xc
lea eax, [ebp - 0x208]
mov ecx, edi
push 0x100
push eax
push esi
call fcn.00480c70
test al, al
je 0x4817e2
xor eax, eax
push 0x1000
push eax
mov word [ebp - 0x120c], ax
lea eax, [ebp - 0x120a]
push eax
call fcn.0046a400
add esp, 0xc
lea eax, [ebp - 0x120c]
mov ecx, edi
push 0x800
push eax
push esi
call fcn.00481030
test al, al
je 0x4817e2
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 0x481570
push str.POST__s_HTTP_1.1_r_n
jmp 0x481575
push str.GET__s_HTTP_1.1_r_n
push eax
call fcn.00481970
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.00443de0
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.00443de0
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 0x481605
lea edx, [ebp - 0x242c]
mov esi, edx
lea ecx, [ecx]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x481620
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x481630
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 0x481652
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x481662
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 0x481680
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 0x4816a0
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 0x4816c0
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 0x481770
lea edi, [ebx - 2]
jmp 0x4816f0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4816f0
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.00443e80
lea edx, [ebp - 0x1414]
add esp, 0xc
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x481746
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x481756
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 0x4817aa
mov esi, edx
lea esp, [esp]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x481780
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x481790
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 0x4817b0
mov eax, dword [0x53aab0]
mov dword [ebx], eax
mov ax, word [0x53aab4]
pop edi
mov word [ebx + 4], ax
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e339
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.0045e339
mov esp, ebp
pop ebp
ret 0x14