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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489f68
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4c9080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
xor eax, eax
xor ecx, ecx
mov word [ebp - 0x2c], ax
cmp word [0x4b9118], cx
mov eax, 0x48
mov dword [ebp - 0x1c], 0
cmove eax, ecx
mov dword [ebp - 0x18], 0
push eax
push 0x4b9118
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.0040c84e
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 0x4d03dc
mov ecx, edi
call fcn.00425313
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x418d88
mov ecx, dword [ebp - 0x2c]
inc eax
cmp eax, 0x7fffffff
jbe 0x418d47
call fcn.0044cbda
add eax, eax
cmp eax, 0x1000
jb 0x418d7f
test byte [ebp - 0x2c], 0x1f
je 0x418d5b
call fcn.0044cbda
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x418d67
call fcn.0044cbda
sub ecx, eax
cmp ecx, 4
jae 0x418d73
call fcn.0044cbda
cmp ecx, 0x23
jbe 0x418d7d
call fcn.0044cbda
mov ecx, eax
push ecx
call fcn.0043ae70
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
push 0x4a
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], eax
push str.text_html_application_xhtmlxml_application_xml_q0.9_image_webp___q0.8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x5c], ax
call fcn.0040c84e
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 1
push eax
push 0x4d052c
mov ecx, edi
call fcn.00425313
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x418e36
mov ecx, dword [ebp - 0x5c]
inc eax
cmp eax, 0x7fffffff
jbe 0x418df5
call fcn.0044cbda
add eax, eax
cmp eax, 0x1000
jb 0x418e2d
test byte [ebp - 0x5c], 0x1f
je 0x418e09
call fcn.0044cbda
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x418e15
call fcn.0044cbda
sub ecx, eax
cmp ecx, 4
jae 0x418e21
call fcn.0044cbda
cmp ecx, 0x23
jbe 0x418e2b
call fcn.0044cbda
mov ecx, eax
push ecx
call fcn.0043ae70
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
push 0xe
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], eax
push str.en_US_en_q0.8
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], eax
mov word [ebp - 0x74], ax
call fcn.0040c84e
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 2
push eax
push 0x4d0874
mov ecx, edi
call fcn.00425313
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x418ee4
mov ecx, dword [ebp - 0x74]
inc eax
cmp eax, 0x7fffffff
jbe 0x418ea3
call fcn.0044cbda
add eax, eax
cmp eax, 0x1000
jb 0x418edb
test byte [ebp - 0x74], 0x1f
je 0x418eb7
call fcn.0044cbda
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x418ec3
call fcn.0044cbda
sub ecx, eax
cmp ecx, 4
jae 0x418ecf
call fcn.0044cbda
cmp ecx, 0x23
jbe 0x418ed9
call fcn.0044cbda
mov ecx, eax
push ecx
call fcn.0043ae70
add esp, 4
xor eax, eax
mov dword [ebp - 0x60], 7
push 7
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], eax
push str.Bearer
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], eax
mov word [ebp - 0x44], ax
call fcn.0040c84e
mov dword [ebp - 4], 3
add ebx, 0xc4
mov edx, 7
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [ebp - 0x1c], 0
mov esi, dword [ebx + 0x10]
add esi, dword [ebp - 0x34]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp esi, edx
je 0x418fac
cmp esi, 0x7ffffffe
jbe 0x418f67
push str.string_too_long
call fcn.00439ca9
cmp esi, edx
jbe 0x418f7b
push 0
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040d7e7
mov edx, dword [ebp - 0x18]
jmp 0x418f92
cmp esi, 8
jae 0x418f85
mov dword [ebp - 0x18], edx
jmp 0x418f89
test esi, esi
jne 0x418f96
mov dword [ebp - 0x1c], eax
xor eax, eax
mov word [ebp - 0x2c], ax
test esi, esi
je 0x418fac
cmp edx, 8
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [eax], cx
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d569
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040d569
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
push 0x4d07fc
mov ecx, edi
call fcn.00425313
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x41903a
mov ecx, dword [ebp - 0x2c]
inc eax
cmp eax, 0x7fffffff
jbe 0x418ff9
call fcn.0044cbda
add eax, eax
cmp eax, 0x1000
jb 0x419031
test byte [ebp - 0x2c], 0x1f
je 0x41900d
call fcn.0044cbda
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x419019
call fcn.0044cbda
sub ecx, eax
cmp ecx, 4
jae 0x419025
call fcn.0044cbda
cmp ecx, 0x23
jbe 0x41902f
call fcn.0044cbda
mov ecx, eax
push ecx
call fcn.0043ae70
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x4190ae
mov ecx, dword [ebp - 0x44]
inc eax
cmp eax, 0x7fffffff
jbe 0x41906d
call fcn.0044cbda
add eax, eax
cmp eax, 0x1000
jb 0x4190a5
test byte [ebp - 0x44], 0x1f
je 0x419081
call fcn.0044cbda
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x41908d
call fcn.0044cbda
sub ecx, eax
cmp ecx, 4
jae 0x419099
call fcn.0044cbda
cmp ecx, 0x23
jbe 0x4190a3
call fcn.0044cbda
mov ecx, eax
push ecx
call fcn.0043ae70
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov al, 1
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043b37f
mov esp, ebp
pop ebp
ret 4