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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40ec78
push rbp
mov rbp, rsp
sub rsp, 0x38
cmp qword [rax + 0x40], 0
je 0x40ec66
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rbx
movzx edx, byte [rbx + 0x14]
test dl, 1
jne 0x40ea41
test cl, cl
je 0x40ebd9
xor eax, eax
add rsp, 0x38
pop rbp
nop
ret
mov byte [rsp + 0x58], cl
mov rdx, qword [0x01f7cc90]
mov rcx, rbx
mov rbx, rax
mov rax, rdx
call fcn.0040eca0
nop word [rax + rax]
test rax, rax
jne 0x40eb42
nop
nop
lea rax, [0x0203d5c8]
call fcn.00410580
mov rax, qword [0x01f7cc90]
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.0040eca0
test rax, rax
je 0x40eaaf
mov qword [rsp + 0x20], rax
nop
nop
lea rax, [0x0203d5c8]
call fcn.004107e0
mov rax, qword [rsp + 0x20]
jmp 0x40eb42
mov rdx, qword [rsp + 0x48]
mov rax, qword [rdx + 0x40]
dec rax
shl rax, 3
add rax, 0x20
xor ebx, ebx
lea rcx, [0x02043d60]
call fcn.00412aa0
test byte [rax], al
cmp dword [0x0203dd30], 0
jne 0x40eae8
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
jmp 0x40eb0d
call fcn.00479b60
mov rcx, qword [rsp + 0x48]
mov qword [r11], rcx
mov rdx, qword [rax]
mov qword [r11 + 8], rdx
mov rdx, qword [rsp + 0x50]
mov qword [r11 + 0x10], rdx
mov rbx, qword [rax + 8]
mov qword [r11 + 0x18], rbx
mov qword [rsp + 0x30], rax
mov qword [rax], rcx
mov qword [rax + 8], rdx
mov dword [rax + 0x10], 0
call fcn.0040eea0
mov rax, qword [rsp + 0x30]
call fcn.0040ed00
nop
nop
lea rax, [0x0203d5c8]
call fcn.004107e0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 0
jne 0x40eb5a
movzx ecx, byte [rsp + 0x58]
test cl, cl
je 0x40eb61
xor eax, eax
add rsp, 0x38
pop rbp
ret
add rsp, 0x38
pop rbp
nop
ret
call fcn.0040eea0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x18], rbx
lea rax, [0x00fde160]
call fcn.004127e0
cmp dword [0x0203dd30], 0
jne 0x40ebb8
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x18]
mov qword [rax + 0x20], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x18], rcx
mov rbx, rax
lea rax, [0x00f401c0]
call fcn.0043f400
call fcn.00479b40
mov rcx, qword [rsp + 0x50]
mov qword [r11], rcx
mov rdx, qword [rsp + 0x48]
mov qword [r11 + 8], rdx
mov rsi, qword [rsp + 0x28]
mov qword [r11 + 0x10], rsi
jmp 0x40eb85
mov rcx, qword [rax + 0x38]
mov ebx, dword [rcx]
nop
call fcn.0046d560
call fcn.00401e20
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x18], rbx
lea rax, [0x00fde160]
nop dword [rax + rax]
call fcn.004127e0
cmp dword [0x0203dd30], 0
jne 0x40ec45
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x18]
mov qword [rax + 0x20], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x18], rcx
mov rbx, rax
lea rax, [0x00f401c0]
nop dword [rax]
call fcn.0043f400
call fcn.00479b40
mov rcx, qword [rsp + 0x50]
mov qword [r11], rcx
mov rdx, qword [rsp + 0x48]
mov qword [r11 + 8], rdx
mov rsi, qword [rsp + 0x28]
mov qword [r11 + 0x10], rsi
jmp 0x40ec0e
lea rax, [0x010b19fb]
mov ebx, 0x1f
call fcn.0043ffc0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], cl
call fcn.00477be0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movzx ecx, byte [rsp + 0x18]
jmp fcn.0040ea00