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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x412fc8
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x412fab
movzx ecx, byte [rax + 8]
nop word [rax + rax]
test cl, 4
jne 0x412f92
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx + 0x48]
mov rbx, qword [rdx]
mov esi, dword [rax + 0xc]
lea rdi, [rsp + 0x50]
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
call rbx
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x48]
movzx ebx, byte [rcx + 8]
xor ebx, 4
mov byte [rcx + 8], bl
cmp qword [rcx + 0x10], 0
je 0x412f25
mov rdx, qword [rsp + 0x40]
jmp 0x412da4
lea r10, [r12 + 1]
mov rcx, rbx
mov r8, r9
mov rbx, r11
mov r9, r10
cmp r9, 8
jae 0x412ec6
test byte [rbx], al
movzx r10d, byte [rbx + r9]
nop dword [rax + rax]
cmp r10b, 1
ja 0x412e95
test rcx, rcx
mov r11, rbx
cmovne rbx, rcx
mov r12, r9
cmovne r9, r8
nop dword [rax + rax]
test r10b, r10b
jne 0x412cf6
cmp qword [rsi + 0x18], 0
jne 0x412e00
mov rdi, qword [rsi]
inc rdi
movzx ecx, byte [rsi + 9]
nop word [rax + rax]
cmp rdi, 8
jle 0x412ddd
mov r8d, 1
shl r8, cl
shr r8, 1
lea r10, [r8 + r8*2]
lea r8, [r8 + r10*4]
cmp rdi, r8
jbe 0x412ddd
mov qword [rsp], rdx
mov qword [rsp + 8], rsi
call fcn.004112e0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x20]
mov rax, rdx
mov rdx, qword [rsp + 0x40]
movzx ebx, byte [rcx + 9]
mov rsi, rcx
mov ecx, ebx
mov edi, 1
shl rdi, cl
lea rbx, [rdi - 1]
and rbx, rax
cmp qword [rsi + 0x18], 0
jne 0x412ef3
movzx edi, word [rdx + 0x52]
imul rbx, rdi
add rbx, qword [rsi + 0x10]
xor ecx, ecx
xor r8d, r8d
jmp 0x412eda
movzx edi, word [rsi + 0xa]
cmp cl, 0xf
jbe 0x412deb
mov ecx, 0xf
and ecx, 0xf
mov r8d, 1
shl r8d, cl
cmp r8w, di
jbe 0x412d7f
nop dword [rax]
test rbx, rbx
je 0x412e66
shr rax, 0x38
cmp al, 5
jae 0x412e10
add eax, 5
test byte [rbx], al
mov rcx, r9
and r9, 7
mov byte [rbx + r9], al
mov rax, rbx
lea rdi, [rbx + rcx*8]
lea rdi, [rdi + 8]
nop
mov r8, qword [rsp + 0x50]
mov qword [rdi], r8
inc qword [rsi]
movzx edx, byte [rdx + 0x51]
imul rdx, rcx
movzx ecx, byte [rsi + 8]
lea rax, [rdx + rax]
lea rax, [rax + 0x48]
test cl, 4
je 0x412f79
and ecx, 0xfffffffb
mov byte [rsi + 8], cl
mov qword [rsp + 0x58], rax
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov qword [rsp], rsi
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], r11
call fcn.0040eee0
mov rbx, qword [rsp + 0x18]
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor r9d, r9d
jmp 0x412e05
mov r10, rbx
lea rbx, [rbx + r9*8]
lea rbx, [rbx + 8]
mov r11, qword [rsp + 0x50]
cmp qword [rbx], r11
je 0x412ebb
mov r11, r10
mov r12, r9
mov rbx, rcx
mov r9, r8
jmp 0x412cf6
mov rax, r10
mov rcx, r9
jmp 0x412e34
mov r9, rbx
lea rbx, [rbx + rdi]
lea rbx, [rbx - 8]
nop
mov rbx, qword [rbx]
test rbx, rbx
je 0x412ee5
xor r9d, r9d
nop dword [rax]
jmp 0x412d07
mov r11, r9
mov rbx, rcx
mov r9, r8
jmp 0x412d45
mov qword [rsp + 0x28], rbx
mov qword [rsp], rdx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbx
call fcn.00413720
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x48]
nop
jmp 0x412dc7
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x40]
mov rdx, qword [rcx]
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
mov byte [rsp + 0x10], 1
nop
call fcn.0040daa0
mov rax, qword [rsp + 0x18]
cmp dword [0x00811460], 0
jne 0x412f69
mov rdx, qword [rsp + 0x48]
mov qword [rdx + 0x10], rax
mov rax, qword [rsp + 0x20]
mov rcx, rdx
jmp 0x412cec
mov rdx, qword [rsp + 0x48]
lea rdi, [rdx + 0x10]
call fcn.0046c920
jmp 0x412f5c
lea rax, [0x0065f162]
mov qword [rsp], rax
mov qword [rsp + 8], 0x15
call fcn.00439220
lea rax, [0x0065f162]
mov qword [rsp], rax
mov qword [rsp + 8], 0x15
call fcn.00439220
lea rax, [0x0061e920]
mov qword [rsp], rax
lea rax, [0x006a1940]
mov qword [rsp + 8], rax
call fcn.00438920
nop
call fcn.0046abe0
jmp fcn.00412c60