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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4145b4
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x414579
cmp qword [rax], 0
nop word [rax + rax]
je 0x414579
movzx ecx, byte [rax + 8]
test cl, 4
jne 0x41459a
cmp byte [rax + 9], 0
jne 0x414397
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x50], rcx
mov rbx, qword [rsp + 0x88]
cmp rbx, 0x20
jge 0x414261
nop
lea rax, [rcx + 8]
xor edx, edx
nop
jmp 0x414189
inc rdx
add rax, 0x10
cmp rdx, 8
jae 0x4141a7
mov rbx, qword [rsp + 0x88]
cmp qword [rax + 8], rbx
je 0x4141c8
test byte [rcx], al
movzx ebx, byte [rdx + rcx]
test bl, bl
jne 0x414182
lea rax, [0x008123e0]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x98], 0
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
test byte [rcx], al
movzx esi, byte [rdx + rcx]
cmp sil, 1
jbe 0x41419d
mov qword [rsp + 0x38], rdx
mov rsi, qword [rax]
mov rdi, qword [rsp + 0x80]
cmp rsi, rdi
je 0x414225
mov qword [rsp + 0x40], rax
mov qword [rsp], rsi
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rbx
nop dword [rax]
call fcn.00402a40
cmp byte [rsp + 0x18], 0
jne 0x414225
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x38]
nop dword [rax + rax]
jmp 0x414182
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x51]
mov rcx, qword [rsp + 0x38]
imul rcx, rax
mov rax, qword [rsp + 0x50]
lea rax, [rax + rcx]
lea rax, [rax + 0x88]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x98], 1
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
nop
lea rsi, [rcx + 8]
xor edx, edx
mov edi, 8
jmp 0x414276
inc rdx
add rsi, 0x10
cmp rdx, 8
jae 0x414296
nop dword [rax]
cmp qword [rsi + 8], rbx
je 0x41432f
test byte [rcx], al
movzx r8d, byte [rdx + rcx]
test r8b, r8b
jne 0x41426f
cmp rdi, 8
jne 0x4142bd
lea rax, [0x008123e0]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x98], 0
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov qword [rsp + 0x28], rdi
shl rdi, 4
lea rcx, [rdi + rcx]
lea rcx, [rcx + 8]
mov rcx, qword [rcx]
mov rsi, qword [rsp + 0x80]
mov qword [rsp], rcx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbx
call fcn.00402a40
cmp byte [rsp + 0x18], 0
je 0x41429c
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x51]
mov rcx, qword [rsp + 0x28]
imul rcx, rax
mov rax, qword [rsp + 0x50]
lea rax, [rax + rcx]
lea rax, [rax + 0x88]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x98], 1
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
test byte [rcx], al
movzx r8d, byte [rdx + rcx]
nop word [rax + rax]
nop
cmp r8b, 1
jbe 0x41428a
mov r8, qword [rsi]
mov r9, qword [rsp + 0x80]
cmp r8, r9
je 0x414547
mov r10d, dword [r8]
cmp dword [r9], r10d
jne 0x41426f
lea r9, [r9 + rbx]
lea r9, [r9 - 4]
lea r8, [r8 + rbx]
lea r8, [r8 - 4]
mov r9d, dword [r9]
nop dword [rax]
cmp dword [r8], r9d
jne 0x41426f
cmp rdi, 8
jne 0x414397
mov rdi, rdx
jmp 0x41426f
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rcx + 0x48]
mov rbx, qword [rdx]
mov esi, dword [rax + 0xc]
lea rdi, [rsp + 0x80]
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
call rbx
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x78]
movzx ebx, byte [rcx + 9]
mov rdx, rcx
mov ecx, ebx
mov esi, 1
shl rsi, cl
lea rcx, [rsi - 1]
mov rbx, rcx
and rcx, rax
mov rsi, qword [rsp + 0x70]
movzx edi, word [rsi + 0x52]
imul rcx, rdi
mov r8, qword [rdx + 0x18]
add rcx, qword [rdx + 0x10]
test r8, r8
je 0x414429
movzx edx, byte [rdx + 8]
nop dword [rax]
test dl, 8
je 0x41453f
and rbx, rax
imul rdi, rbx
lea rdx, [r8 + rdi]
movzx ebx, byte [r8 + rdi]
add ebx, 0xfffffffe
nop dword [rax]
cmp bl, 3
jae 0x414537
shr rax, 0x38
cmp al, 5
jae 0x414434
add eax, 5
mov byte [rsp + 0x27], al
jmp 0x414500
inc rbx
add rdx, 0x10
cmp rbx, 8
jae 0x4144f1
mov rdi, qword [rsp + 0x88]
cmp qword [rdx + 8], rdi
jne 0x41443d
movzx r8d, byte [rbx + rcx]
cmp r8b, al
jne 0x41443d
mov qword [rsp + 0x30], rbx
mov r8, qword [rdx]
mov r9, qword [rsp + 0x80]
cmp r8, r9
je 0x4144b5
mov qword [rsp + 0x48], rdx
mov qword [rsp], r8
mov qword [rsp + 8], r9
mov qword [rsp + 0x10], rdi
call fcn.00402a40
cmp byte [rsp + 0x18], 0
jne 0x4144b5
movzx eax, byte [rsp + 0x27]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x70]
jmp 0x41443d
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x51]
mov rcx, qword [rsp + 0x30]
imul rcx, rax
mov rax, qword [rsp + 0x58]
lea rax, [rax + rcx]
lea rax, [rax + 0x88]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x98], 1
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
movzx edx, word [rsi + 0x52]
lea rdx, [rcx + rdx]
lea rdx, [rdx - 8]
mov rcx, qword [rdx]
test rcx, rcx
je 0x414516
mov qword [rsp + 0x58], rcx
nop
lea rdx, [rcx + 8]
xor ebx, ebx
jmp 0x414444
lea rax, [0x008123e0]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x98], 0
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov rcx, rdx
jmp 0x414429
shr rbx, 1
jmp 0x414409
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x51]
imul rdx, rax
lea rax, [rdx + rcx]
lea rax, [rax + 0x88]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x98], 1
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
lea rax, [0x008123e0]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x98], 0
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
lea rax, [0x00663ad6]
mov qword [rsp], rax
mov qword [rsp + 8], 0x21
call fcn.00439220
nop
call fcn.0046abe0
jmp fcn.00414100