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

Disassembly:
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rbx, rax
or rax, rdx
mov rsi, qword [rsp + 0x78]
or rax, rsi
test rax, 7
jne 0x412a40
movzx eax, byte [0x00850df4]
test al, al
je 0x412a2f
test rdx, rdx
jne 0x4127fe
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0x90]
test rax, rax
je 0x4126ff
mov rcx, qword [rax]
cmp rcx, rdx
ja 0x4126ff
mov rax, qword [rax + 8]
cmp rdx, rax
jb 0x4127f4
mov rax, qword [0x00833b98]
test rax, rax
je 0x4127eb
mov rcx, qword [rax + 8]
mov rax, qword [rax]
xor edi, edi
jmp 0x41271d
inc rdi
cmp rdi, rcx
jge 0x41276f
mov r8, qword [rax + rdi*8]
mov r9, qword [r8 + 0x80]
cmp r9, rdx
ja 0x41271a
mov r10, qword [r8 + 0x88]
cmp rdx, r10
jae 0x41271a
mov rax, qword [r8 + 0x198]
mov qword [rsp + 0x20], rax
mov qword [rsp], rdx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
sub rdx, r9
mov qword [rsp + 0x18], rdx
call fcn.00412a60
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov rax, qword [0x00833b98]
test rax, rax
je 0x4127e5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
xor edi, edi
jmp 0x412789
inc rdi
cmp rdi, rcx
jge 0x4127db
mov r8, qword [rax + rdi*8]
mov r9, qword [r8 + 0x90]
cmp r9, rdx
ja 0x412786
mov r10, qword [r8 + 0x98]
cmp rdx, r10
jae 0x412786
mov rax, qword [r8 + 0x1a8]
mov qword [rsp + 0x20], rax
mov qword [rsp], rdx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
sub rdx, r9
mov qword [rsp + 0x18], rdx
call fcn.00412a60
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
xor eax, eax
xor ecx, ecx
jmp 0x412782
xor ecx, ecx
xor eax, eax
jmp 0x412716
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov rax, qword [0x0083a728]
cmp rdx, rax
jb 0x4126ca
mov rdi, qword [0x0083a730]
cmp rdx, rdi
jae 0x4126ca
mov rdi, qword [0x0083a450]
mov r8, qword [0x0083a448]
mov r9, rdx
sub rdx, rax
mov rax, rdx
shr rdx, 0xd
cmp rdx, rdi
jae 0x412a39
mov rdx, qword [r8 + rdx*8]
test rdx, rdx
je 0x412854
mov rdi, qword [rdx + 0x18]
cmp r9, rdi
jae 0x41285c
mov rdx, r9
jmp 0x4126ca
mov rdi, qword [rdx + 0x80]
cmp r9, rdi
jae 0x412854
movzx edx, byte [rdx + 0x64]
cmp dl, 1
jne 0x412854
mov rdx, qword gs:[0x28]
mov rdx, qword [rdx]
mov rdx, qword [rdx + 0x30]
mov rdi, qword [rdx + 0xa0]
mov qword [rsp + 0x50], rdi
test byte [rdi], al
test byte [rdx], al
lea rdx, [rdi + 0x1290]
mov qword [rsp + 0x48], rdx
mov r8, rax
shr rax, 3
mov r10, qword [0x0083a718]
shr r8, 5
sub r10, r8
lea r8, [r10 - 1]
and rax, 3
test rbx, rbx
jne 0x41297c
xor ecx, ecx
jmp 0x4128cf
lea rcx, [r10 + 8]
cmp rcx, rsi
jae 0x412972
movzx ebx, byte [r8]
mov r10, rcx
mov ecx, eax
shr ebx, cl
bt ebx, 0
jae 0x412922
lea rbx, [r10 + r9]
test byte [rdx], al
mov r11, qword [rdi + 0x1290]
mov rbx, qword [rbx]
mov qword [r11], rbx
mov qword [r11 + 8], 0
mov rbx, qword [rdi + 0x1290]
add rbx, 0x10
mov qword [rdi + 0x1290], rbx
mov r11, qword [rdi + 0x1298]
cmp r11, rbx
je 0x412932
cmp eax, 3
jae 0x41292b
inc eax
jmp 0x4128cb
dec r8
xor eax, eax
jmp 0x4128cb
mov qword [rsp + 0x30], r10
mov dword [rsp + 0x2c], eax
mov qword [rsp + 0x38], r8
xorps xmm0, xmm0
movups xmmword [rsp], xmm0
call fcn.00425b70
mov eax, dword [rsp + 0x2c]
mov ecx, eax
mov rdx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x38]
mov r9, qword [rsp + 0x68]
mov r10, qword [rsp + 0x30]
jmp 0x412922
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
xor ecx, ecx
jmp 0x412984
lea rcx, [r11 + 8]
cmp rcx, rsi
jae 0x412972
movzx r10d, byte [r8]
mov r11, rcx
mov ecx, eax
shr r10d, cl
bt r10d, 0
jae 0x4129da
lea r10, [r11 + r9]
lea r12, [r11 + rbx]
test byte [rdx], al
mov r13, qword [rdi + 0x1290]
mov r10, qword [r10]
mov r12, qword [r12]
mov qword [r13], r10
mov qword [r13 + 8], r12
mov r10, qword [rdi + 0x1290]
add r10, 0x10
mov qword [rdi + 0x1290], r10
mov r12, qword [rdi + 0x1298]
cmp r12, r10
je 0x4129ea
cmp eax, 3
jae 0x4129e3
inc eax
jmp 0x412980
dec r8
xor eax, eax
jmp 0x412980
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x40], r8
xorps xmm0, xmm0
movups xmmword [rsp], xmm0
call fcn.00425b70
mov eax, dword [rsp + 0x28]
mov ecx, eax
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x68]
mov r11, qword [rsp + 0x30]
jmp 0x4129da
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
call fcn.00429b50
ud2
lea rax, [0x006b6a98]
mov qword [rsp], rax
mov qword [rsp + 8], 0x28
call fcn.0042b3a0
ud2