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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x40d570
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax + 0x40]
mov rdx, qword [rax + 0x38]
test rcx, rcx
je 0x40d555
mov rcx, qword [rsp + 0x80]
movzx ebx, byte [rcx + 0x14]
test bl, 1
jne 0x40d28a
movzx ebx, byte [rsp + 0x88]
test bl, bl
je 0x40d155
mov qword [rsp + 0x90], 0
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov ecx, dword [rdx]
mov dword [rsp + 8], ecx
mov qword [rsp], rax
call fcn.0044d4a0
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x80]
mov qword [rsp], rcx
call fcn.0044cfa0
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 8]
mov qword [rsp + 0x58], rcx
mov rdx, qword [rsp + 0x78]
mov qword [rsp], rdx
call fcn.0044cfa0
mov rax, qword [rsp + 8]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x10]
mov qword [rsp + 0x28], rcx
mov rdx, qword [rsp + 0x60]
mov qword [rsp], rdx
call fcn.0044dc30
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 8]
mov qword [rsp + 0x48], rcx
lea rdx, [0x00683540]
mov qword [rsp], rdx
call fcn.00410b80
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x18], rcx
mov ecx, dword [0x00850df0]
lea rdi, [rax + 0x10]
test ecx, ecx
jne 0x40d278
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x28], rcx
mov ecx, dword [0x00850df0]
lea rdi, [rax + 0x20]
test ecx, ecx
jne 0x40d266
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x20], rcx
mov rcx, qword [rsp + 0x20]
mov qword [rax + 0x38], rcx
mov ecx, dword [0x00850df0]
lea rdi, [rax + 0x30]
test ecx, ecx
jne 0x40d254
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x30], rcx
mov rcx, rax
jmp 0x40d53e
mov rcx, rax
mov rax, qword [rsp + 0x48]
call fcn.004553b0
jmp 0x40d53e
mov rcx, rax
mov rax, qword [rsp + 0x50]
call fcn.004553b0
mov rax, rcx
jmp 0x40d22c
mov rcx, rax
mov rax, qword [rsp + 0x58]
call fcn.004553b0
mov rax, rcx
jmp 0x40d20c
mov rdx, qword [0x0082a6f8]
mov qword [rsp], rdx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rcx
call fcn.0040d580
mov rax, qword [rsp + 0x18]
test rax, rax
je 0x40d414
mov rcx, qword [rax + 0x18]
test rcx, rcx
jne 0x40d402
movzx ecx, byte [rsp + 0x88]
test cl, cl
je 0x40d2e1
mov qword [rsp + 0x90], 0
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp], rax
call fcn.0044cfa0
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 8]
mov qword [rsp + 0x58], rcx
mov rdx, qword [rsp + 0x78]
mov qword [rsp], rdx
call fcn.0044cfa0
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 8]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rsp + 0x38]
mov qword [rsp], rdx
call fcn.0040d760
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 8]
mov qword [rsp + 0x48], rcx
lea rdx, [0x00683540]
mov qword [rsp], rdx
call fcn.00410b80
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x18], rcx
mov ecx, dword [0x00850df0]
lea rdi, [rax + 0x10]
test ecx, ecx
jne 0x40d3f0
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x28], rcx
mov ecx, dword [0x00850df0]
lea rdi, [rax + 0x20]
test ecx, ecx
jne 0x40d3de
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x20], rcx
mov rcx, qword [rsp + 0x20]
mov qword [rax + 0x38], rcx
mov ecx, dword [0x00850df0]
lea rdi, [rax + 0x30]
test ecx, ecx
jne 0x40d3cc
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x30], rcx
mov rcx, rax
jmp 0x40d527
mov rcx, rax
mov rax, qword [rsp + 0x48]
call fcn.004553b0
jmp 0x40d527
mov rcx, rax
mov rax, qword [rsp + 0x50]
call fcn.004553b0
mov rax, rcx
jmp 0x40d3a4
mov rcx, rax
mov rax, qword [rsp + 0x58]
call fcn.004553b0
mov rax, rcx
jmp 0x40d384
mov qword [rsp + 0x90], rax
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
lea rax, [0x00850bc0]
mov qword [rsp], rax
call fcn.0040eda0
mov rax, qword [0x0082a6f8]
mov qword [rsp], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 8], rax
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x10], rcx
call fcn.0040d580
mov rax, qword [rsp + 0x18]
test rax, rax
je 0x40d474
mov qword [rsp + 0x38], rax
lea rax, [0x00850bc0]
mov qword [rsp], rax
call fcn.0040ef90
mov rax, qword [rsp + 0x38]
jmp 0x40d2b2
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax + 0x40]
dec rcx
shl rcx, 3
add rcx, 0x20
mov qword [rsp], rcx
mov qword [rsp + 8], 0
lea rcx, [0x00852960]
mov qword [rsp + 0x10], rcx
call fcn.00410fe0
mov rdi, qword [rsp + 0x18]
test byte [rdi], al
mov eax, dword [0x00850df0]
lea rcx, [rdi + 8]
test eax, eax
jne 0x40d505
mov rax, qword [rsp + 0x78]
mov qword [rdi], rax
mov rcx, qword [rsp + 0x80]
mov qword [rdi + 8], rcx
mov qword [rsp + 0x40], rdi
mov qword [rsp], rdi
call fcn.0040d760
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
call fcn.0040d5e0
lea rax, [0x00850bc0]
mov qword [rsp], rax
call fcn.0040ef90
mov rax, qword [rsp + 0x40]
jmp 0x40d2b2
mov rax, qword [rsp + 0x78]
call fcn.004553b0
mov rdx, rdi
mov rdi, rcx
mov rax, qword [rsp + 0x80]
call fcn.004553b0
mov rdi, rdx
jmp 0x40d4cf
lea rax, [0x00660a20]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
call fcn.0042aba0
ud2
lea rax, [0x00660a20]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
call fcn.0042aba0
ud2
lea rax, [0x006b418e]
mov qword [rsp], rax
mov qword [rsp + 8], 0x1f
call fcn.0042b3a0
ud2
call fcn.00452950
jmp fcn.0040d0e0