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

Disassembly:
lea r12, [rsp - 0x50]
cmp r12, qword [r14 + 0x10]
jbe 0x4196d7
push rbp
mov rbp, rsp
sub rsp, 0xc8
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0xf0], rdi
cmp dword [0x00921938], 0
je 0x41908c
add rsp, 0xc8
pop rbp
ret
mov rax, qword [rsp + 0xd8]
test rax, rax
je 0x4196c5
movzx ecx, byte [rax + 0x17]
and ecx, 0x1f
cmp cl, 0x16
jne 0x419690
cmp qword [rax + 0x30], 0
je 0x41967f
mov qword [rsp + 0x78], rax
mov rax, rbx
call fcn.00404d00
test al, al
jne 0x41966e
mov rax, qword [rsp + 0xe0]
xor ebx, ebx
mov rcx, rbx
call fcn.00413ec0
nop
test rax, rax
jne 0x419109
mov rcx, qword [rsp + 0xe0]
lea rdx, [0x009210a0]
cmp rcx, rdx
je 0x4195ee
lea rax, [0x008938e0]
jmp 0x419601
mov rcx, qword [rsp + 0xe0]
mov rdx, rcx
cmp rax, rdx
je 0x419145
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x4195dd
cmp qword [rdx + 8], 0
jne 0x4195dd
cmp qword [rdx], 0x10
jb 0x41914a
nop dword [rax]
jmp 0x4195dd
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0xe8]
test rdx, rdx
je 0x41935c
movzx esi, byte [rdx + 0x17]
and esi, 0x1f
cmp sil, 0x13
jne 0x4195aa
mov qword [rsp + 0x68], rdx
movzx esi, word [rdx + 0x32]
nop word [rax + rax]
nop
test si, 0x8000
jne 0x41953d
cmp word [rdx + 0x30], 1
jne 0x4194e5
movzx esi, byte [rdx + 0x14]
nop word [rax + rax]
test sil, 1
je 0x4191ad
mov ebx, 0x48
jmp 0x4191b2
mov ebx, 0x38
mov rsi, qword [rdx + rbx]
mov qword [rsp + 0x70], rsi
nop dword [rax + rax]
cmp rsi, rax
je 0x4192fd
movzx edi, byte [rsi + 0x17]
and edi, 0x1f
cmp dil, 0x16
jne 0x4192c0
movzx ebx, byte [rsi + 0x14]
nop
test bl, 1
jne 0x4191e9
xor ebx, ebx
jmp 0x41922c
mov ecx, 5
lea rbx, [0x0072ad80]
jmp qword [rbx + rcx*8]
test rbx, rbx
je 0x419295
movzx ebx, byte [rax + 0x14]
test bl, 1
jne 0x41923e
xor ebx, ebx
jmp 0x41928d
movzx ebx, byte [rax + 0x17]
and ebx, 0x1f
add rbx, 0xffffffffffffffef
cmp rbx, 8
ja 0x419289
lea rcx, [0x0072ade0]
jmp qword [rcx + rbx*8]
lea rbx, [rax + 0x30]
test rbx, rbx
sete bl
jmp 0x4192a0
mov ebx, 1
nop word [rax + rax]
test bl, bl
je 0x419489
mov rbx, qword [rsi + 0x30]
cmp qword [rax + 0x30], rbx
je 0x4192fd
jmp 0x419489
cmp dil, 0x14
jne 0x419489
cmp qword [rsi + 0x40], 0
je 0x4192fd
mov rbx, qword [rsp + 0xd8]
mov rax, rsi
nop dword [rax]
call fcn.0040b1c0
test rax, rax
je 0x419489
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
movzx ebx, word [rdx + 0x32]
and ebx, 0x7fff
nop
test bx, bx
jne 0x419313
xor ebx, ebx
xor ecx, ecx
jmp 0x419356
movzx edi, byte [rdx + 0x14]
test dil, 1
je 0x419324
mov ecx, 0x48
jmp 0x419329
mov ecx, 0x38
movzx edi, word [rdx + 0x30]
add ebx, edi
add rdx, rcx
movzx ecx, bx
cmp rdi, rcx
ja 0x419482
sub rcx, rdi
mov rbx, rcx
neg rcx
shl rdi, 3
sar rcx, 0x3f
and rdi, rcx
lea rcx, [rdx + rdi]
xor edx, edx
xor edi, edi
jmp 0x4193cd
movups xmmword [rsp + 0x88], xmm15
lea rax, [0x00419780]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x88]
mov qword [rsp], rax
call fcn.00464560
xorps xmm15, xmm15
mov r14, qword [0x00921328]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0xc8
pop rbp
ret
mov r8, qword [rcx + rdx*8]
movzx r9d, byte [r8 + 0x15]
lea rdi, [rdi + r9]
lea rdi, [rdi - 1]
neg r9
and rdi, r9
inc rdx
add rdi, qword [r8]
cmp rdx, rbx
jl 0x4193b0
lea rax, [rdi + 7]
and rax, 0xfffffffffffffff8
mov qword [rsp + 0x58], rax
nop
call fcn.00418b00
movups xmmword [rsp + 0x98], xmm15
movups xmmword [rsp + 0xa8], xmm15
movups xmmword [rsp + 0xb8], xmm15
lea rax, [0x00419720]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x98]
mov qword [rsp], rax
call fcn.00464560
xorps xmm15, xmm15
mov r14, qword [0x00921328]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0xc8
pop rbp
ret
mov eax, edi
call fcn.00466ae0
mov rax, qword [rsp + 0x78]
call fcn.0045b860
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x60], rbx
mov rax, qword [rsp + 0x68]
call fcn.0045b860
mov ecx, 0x22
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x60]
lea r8, [0x006b335e]
mov r9d, 0xe
mov r10, rax
mov r11, rbx
xor eax, eax
lea rbx, [0x006bc423]
call fcn.0044f780
nop dword [rax]
call fcn.00437240
call fcn.0045b860
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x60], rbx
mov rax, qword [rsp + 0x68]
nop dword [rax]
call fcn.0045b860
mov ecx, 0x22
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x60]
lea r8, [0x006b335e]
mov r9d, 0xe
mov r10, rax
mov r11, rbx
xor eax, eax
lea rbx, [0x006bc423]
call fcn.0044f780
call fcn.00437240
nop dword [rax]
call fcn.0045b860
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x60], rbx
mov rax, qword [rsp + 0x68]
call fcn.0045b860
lea rcx, [0x006b49f8]
mov qword [rsp], rcx
mov qword [rsp + 8], 0x12
mov ecx, 0x22
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x60]
lea r8, [0x006b335e]
mov r9d, 0xe
mov r10, rax
mov r11, rbx
xor eax, eax
lea rbx, [0x006bc423]
nop
call fcn.0044f880
call fcn.00437240
mov rax, rdx
call fcn.0045b860
mov ecx, 0x29
mov rdi, rax
mov rsi, rbx
lea r8, [0x006b3dbe]
mov r9d, 0x10
xor eax, eax
lea rbx, [0x006bf0d4]
call fcn.0044f6c0
call fcn.00437240
lea rax, [0x006c4020]
mov ebx, 0x41
call fcn.00437240
add rsp, 0xc8
pop rbp
ret
mov rax, qword [rax + 0x248]
mov rcx, rdx
test rax, rax
je 0x41965d
mov rdx, rcx
cmp qword [rax + 0xc0], rcx
ja 0x419620
cmp qword [rax + 0xc8], rcx
ja 0x4195ee
nop dword [rax + rax]
cmp qword [rax + 0xd0], rcx
ja 0x419632
cmp qword [rax + 0xd8], rcx
ja 0x4195ee
cmp qword [rax + 0xe0], rcx
ja 0x419649
nop dword [rax + rax]
cmp qword [rax + 0xe8], rcx
ja 0x4195ee
cmp qword [rax + 0xf0], rcx
ja 0x4195f7
cmp qword [rax + 0xf8], rcx
jbe 0x4195f7
jmp 0x4195ee
lea rax, [0x006c2400]
mov ebx, 0x34
call fcn.00437240
lea rax, [0x006c3ddf]
mov ebx, 0x40
call fcn.00437240
lea rax, [0x006b3350]
mov ebx, 0xe
call fcn.00437240
call fcn.0045b860
mov ecx, 0x28
mov rdi, rax
mov rsi, rbx
lea r8, [0x006b2e2d]
mov r9d, 0xd
xor eax, eax
lea rbx, [0x006beb05]
call fcn.0044f6c0
nop dword [rax + rax]
call fcn.00437240
lea rax, [0x006bfa17]
mov ebx, 0x2b
call fcn.00437240
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004646a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00419040