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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x510ab7
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0x50], 0
jne 0x510a67
cmp qword [rax + 0xa0], 0
jne 0x510a17
call fcn.004d43c0
mov rax, qword [rsp]
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
cmp qword [rsp + 0x10], 0
jne 0x5109f5
lea rdx, [0x006a49c0]
mov rbx, qword [rsp + 0x68]
mov qword [rbx + 0x50], rdx
cmp dword [0x00811460], 0
jne 0x5109e7
mov qword [rbx + 0x58], rax
mov qword [rsp + 0x48], rcx
mov rdx, qword [rbx + 0xf8]
lea rsi, [rdx + 1]
mov r8, qword [rbx + 0xf0]
mov r9, qword [rbx + 0x100]
cmp r9, rsi
jb 0x51096f
lea rsi, [rdx + 1]
mov qword [rbx + 0xf8], rsi
shl rdx, 4
lea rsi, [0x006a49a0]
mov qword [r8 + rdx], rsi
lea rdi, [r8 + rdx]
lea rdi, [rdi + 8]
cmp dword [0x00811460], 0
nop dword [rax + rax]
jne 0x510965
mov qword [r8 + rdx + 8], rax
lea rax, [0x00656900]
mov qword [rsp], rax
call fcn.0040e560
mov rdi, qword [rsp + 8]
cmp dword [0x00811460], 0
jne 0x510953
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0x110]
lea rdx, [rcx + 1]
mov rbx, qword [rax + 0x108]
mov rsi, qword [rax + 0x118]
cmp rsi, rdx
jb 0x5108de
lea rdx, [rcx + 1]
mov qword [rax + 0x110], rdx
shl rcx, 4
lea rax, [0x006a4a60]
mov qword [rbx + rcx], rax
lea rax, [rbx + rcx]
lea rax, [rax + 8]
cmp dword [0x00811460], 0
jne 0x5108ce
mov qword [rbx + rcx + 8], rdi
lea rax, [0x006a5cf0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov rcx, rdi
mov rdi, rax
call fcn.0046ca20
mov rdi, rcx
jmp 0x5108a8
mov qword [rsp + 0x40], rdi
lea rax, [0x00621ec0]
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
call fcn.0044ddc0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x68]
mov qword [rbx + 0x118], rdx
cmp dword [0x00811460], 0
jne 0x510945
mov qword [rbx + 0x108], rax
mov rdi, qword [rsp + 0x40]
mov rdx, rax
mov rax, rbx
mov rbx, rdx
jmp 0x510878
lea rdi, [rbx + 0x108]
call fcn.0046c920
jmp 0x510932
mov rax, qword [rsp + 0x48]
call fcn.0046c920
nop dword [rax]
jmp 0x510855
call fcn.0046c920
jmp 0x51082b
mov qword [rsp + 0x50], rax
lea rax, [0x00621ec0]
mov qword [rsp], rax
mov qword [rsp + 8], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], rsi
call fcn.0044ddc0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x68]
mov qword [rbx + 0x100], rdx
cmp dword [0x00811460], 0
jne 0x5109d8
mov qword [rbx + 0xf0], rax
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
jmp 0x5107f2
lea rdi, [rbx + 0xf0]
nop
call fcn.0046c920
jmp 0x5109c3
lea rdi, [rbx + 0x58]
call fcn.0046c920
jmp 0x5107cb
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x88], rbx
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
lea rax, [0x00625ba0]
mov qword [rsp], rax
call fcn.0040e560
mov rax, qword [rsp + 8]
mov qword [rax + 8], 0x25
lea rcx, [0x006651a6]
mov qword [rax], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
lea rcx, [0x006a4760]
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
lea rax, [0x00625ba0]
mov qword [rsp], rax
call fcn.0040e560
mov rax, qword [rsp + 8]
mov qword [rax + 8], 0x17
lea rcx, [0x0065fed7]
mov qword [rax], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
lea rcx, [0x006a4760]
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
call fcn.0046abe0
nop dword [rax]
jmp fcn.00510740