Function at 0x41caf0
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 0x41cbd8
mov ecx, dword [ebp - 0x2c]
inc eax
cmp eax, 0x7fffffff
jbe 0x41cb97
call fcn.0044cbda
add eax, eax
cmp eax, 0x1000
jb 0x41cbcf
test byte [ebp - 0x2c], 0x1f
je 0x41cbab
call fcn.0044cbda
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x41cbb7
call fcn.0044cbda
sub ecx, eax
cmp ecx, 4
jae 0x41cbc3
call fcn.0044cbda
cmp ecx, 0x23
jbe 0x41cbcd
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 0x41cc86
mov ecx, dword [ebp - 0x5c]
inc eax
cmp eax, 0x7fffffff
jbe 0x41cc45
call fcn.0044cbda
add eax, eax
cmp eax, 0x1000
jb 0x41cc7d
test byte [ebp - 0x5c], 0x1f
je 0x41cc59
call fcn.0044cbda
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x41cc65
call fcn.0044cbda
sub ecx, eax
cmp ecx, 4
jae 0x41cc71
call fcn.0044cbda
cmp ecx, 0x23
jbe 0x41cc7b
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 0x41cd34
mov ecx, dword [ebp - 0x74]
inc eax
cmp eax, 0x7fffffff
jbe 0x41ccf3
call fcn.0044cbda
add eax, eax
cmp eax, 0x1000
jb 0x41cd2b
test byte [ebp - 0x74], 0x1f
je 0x41cd07
call fcn.0044cbda
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x41cd13
call fcn.0044cbda
sub ecx, eax
cmp ecx, 4
jae 0x41cd1f
call fcn.0044cbda
cmp ecx, 0x23
jbe 0x41cd29
call fcn.0044cbda
mov ecx, eax
push ecx
call fcn.0043ae70
add esp, 4
xor eax, eax
mov dword [ebp - 0x60], 7
push 6
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], eax
push 0x4b9da4
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 0x41cdfc
cmp esi, 0x7ffffffe
jbe 0x41cdb7
push str.string_too_long
call fcn.00439ca9
cmp esi, edx
jbe 0x41cdcb
push 0
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040d7e7
mov edx, dword [ebp - 0x18]
jmp 0x41cde2
cmp esi, 8
jae 0x41cdd5
mov dword [ebp - 0x18], edx
jmp 0x41cdd9
test esi, esi
jne 0x41cde6
mov dword [ebp - 0x1c], eax
xor eax, eax
mov word [ebp - 0x2c], ax
test esi, esi
je 0x41cdfc
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 0x41ce8a
mov ecx, dword [ebp - 0x2c]
inc eax
cmp eax, 0x7fffffff
jbe 0x41ce49
call fcn.0044cbda
add eax, eax
cmp eax, 0x1000
jb 0x41ce81
test byte [ebp - 0x2c], 0x1f
je 0x41ce5d
call fcn.0044cbda
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x41ce69
call fcn.0044cbda
sub ecx, eax
cmp ecx, 4
jae 0x41ce75
call fcn.0044cbda
cmp ecx, 0x23
jbe 0x41ce7f
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 0x41cefe
mov ecx, dword [ebp - 0x44]
inc eax
cmp eax, 0x7fffffff
jbe 0x41cebd
call fcn.0044cbda
add eax, eax
cmp eax, 0x1000
jb 0x41cef5
test byte [ebp - 0x44], 0x1f
je 0x41ced1
call fcn.0044cbda
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x41cedd
call fcn.0044cbda
sub ecx, eax
cmp ecx, 4
jae 0x41cee9
call fcn.0044cbda
cmp ecx, 0x23
jbe 0x41cef3
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