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

Disassembly:
lea r12, [rsp - 0x150]
cmp r12, qword [r14 + 0x10]
jbe 0x5d5a4b
sub rsp, 0x1d0
mov qword [rsp + 0x1c8], rbp
lea rbp, [rsp + 0x1c8]
mov qword [rsp + 0x1e0], rbx
mov r13, 0
mov qword [rsp + 0x1c0], r13
mov qword [rsp + 0x1e8], rcx
mov qword [rsp + 0xa0], rbx
mov byte [rsp + 0x2e], 0
movups xmmword [rsp + 0xa8], xmm15
cmp qword [rax + 0x48], 0
jne 0x5d51eb
cmp dword [0x0092b0b0], 0
jne 0x5d51db
lea rdx, [0x008d6d60]
mov qword [rax + 0x48], rdx
jmp 0x5d51eb
lea rdi, [rax + 0x48]
lea rdx, [0x008d6d60]
call fcn.00465a20
mov qword [rsp + 0x1d8], rax
mov byte [rax + 0x58], 0
call fcn.005d4320
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rdi
test rcx, rcx
jne 0x5d59fd
mov qword [rsp + 0x78], rbx
mov rcx, qword [rax + 0x80]
mov rdx, qword [rax + 0x88]
mov rdi, qword [rsp + 0x1d8]
mov qword [rdi + 0xe0], rdx
cmp dword [0x0092b0b0], 0
nop
jne 0x5d524b
mov qword [rdi + 0xd8], rcx
jmp 0x5d5260
lea rdx, [rdi + 0xd8]
mov rsi, rdi
mov rdi, rdx
call fcn.00465a00
mov rdi, rsi
mov qword [rsp + 0x70], rax
mov rbx, rax
mov rax, rdi
call fcn.005d5ae0
mov rdx, qword [rsp]
mov r12, qword [rsp + 8]
cmp qword [rsp], 0
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0xb0], r12
jne 0x5d59e2
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x90], r9
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x50], r11
mov qword [rsp + 0x38], r8
test rbx, rbx
je 0x5d535c
test rcx, rcx
je 0x5d534f
movups xmmword [rsp + 0xd8], xmm15
movups xmmword [rsp + 0xe0], xmm15
movups xmmword [rsp + 0xf0], xmm15
lea rdx, [0x005d5a80]
mov qword [rsp + 0xd8], rdx
lea rdx, [rsp + 0xa8]
mov qword [rsp + 0xe0], rdx
mov rdx, qword [rsp + 0x1d8]
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rbx
lea r12, [rsp + 0xd8]
mov qword [rsp + 0x1c0], r12
mov byte [rsp + 0x2e], 1
mov r12d, 1
jmp 0x5d5367
mov rdx, qword [rsp + 0x1d8]
xor r12d, r12d
jmp 0x5d5367
mov rdx, qword [rsp + 0x1d8]
xor r12d, r12d
mov byte [rsp + 0x2f], r12b
mov rax, rdx
lea rbx, [0x00743d10]
mov rcx, qword [rsp + 0x70]
xor edi, edi
xor esi, esi
nop
call fcn.005d0ca0
test rbx, rbx
je 0x5d53d9
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], rcx
movzx ecx, byte [rsp + 0x2f]
nop
test cl, 1
je 0x5d53b9
and ecx, 0xfffffffe
mov byte [rsp + 0x2e], cl
mov rdx, qword [rsp + 0x1c0]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0x1c8]
add rsp, 0x1d0
ret
mov rax, qword [rsp + 0x1d8]
xor ebx, ebx
xor ecx, ecx
call fcn.005d10c0
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rdi
test rcx, rcx
je 0x5d543d
movzx ecx, byte [rsp + 0x2f]
test cl, 1
je 0x5d541d
and ecx, 0xfffffffe
mov byte [rsp + 0x2e], cl
mov rdx, qword [rsp + 0x1c0]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0x1c8]
add rsp, 0x1d0
ret
lea rcx, [0x00689480]
cmp rax, rcx
jne 0x5d544e
mov rdx, rbx
jmp 0x5d5456
mov rdx, rbx
mov ebx, 0
mov qword [rsp + 0x60], rbx
nop dword [rax + rax]
jne 0x5d58fe
mov rax, qword [rsp + 0x1d8]
call fcn.005d6780
test rax, rax
je 0x5d54c6
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rbx
movzx ecx, byte [rsp + 0x2f]
test cl, 1
je 0x5d54a6
and ecx, 0xfffffffe
mov byte [rsp + 0x2e], cl
mov rdx, qword [rsp + 0x1c0]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0x1c8]
add rsp, 0x1d0
ret
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [rcx + 0x48]
mov ebx, 1
call fcn.005ca560
nop dword [rax]
test rbx, rbx
jne 0x5d54e9
xor edx, edx
jmp 0x5d54ec
movzx edx, word [rax]
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsi + 0x28]
mov r8, qword [rsi + 0x20]
mov r9, qword [rsi + 0x30]
nop dword [rax]
cmp rcx, 0x18
jb 0x5d5a18
add r9, 0xffffffffffffffe8
neg r9
sar r9, 0x3f
and r9d, 0x18
cmp rcx, 0x20
jne 0x5d553a
mov r10, qword [r8 + r9]
movabs r11, 0x14452474e574f44
cmp r10, r11
sete r10b
cmp rcx, 0x20
jmp 0x5d5540
mov r10d, 0
jne 0x5d5558
mov rcx, qword [r8 + r9]
movabs r8, 0x4452474e574f44
cmp rcx, r8
sete cl
jmp 0x5d5560
xor ecx, ecx
nop word [rax + rax]
cmp dx, 0x304
jne 0x5d5586
mov rax, qword [rsp + 0x1d8]
cmp word [rax + 0x40], 0x303
ja 0x5d558e
test r10b, r10b
jne 0x5d55ae
nop dword [rax]
test cl, cl
jne 0x5d55ae
jmp 0x5d558e
mov rax, qword [rsp + 0x1d8]
cmp dx, 0x303
jne 0x5d562c
cmp word [rax + 0x40], 0x302
nop
ja 0x5d562c
test cl, cl
je 0x5d562c
mov ebx, 0x2f
call fcn.005cfee0
lea rax, [0x00690f40]
nop
call fcn.0040d960
mov qword [rax + 8], 0x54
lea rcx, [0x006de72e]
mov qword [rax], rcx
lea rcx, [0x00742c00]
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rax
movzx ecx, byte [rsp + 0x2f]
test cl, 1
je 0x5d560c
and ecx, 0xfffffffe
mov byte [rsp + 0x2e], cl
mov rdx, qword [rsp + 0x1c0]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0x1c8]
add rsp, 0x1d0
ret
cmp word [rax + 0x40], 0x304
jne 0x5d5759
lea rdi, [rsp + 0x100]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.0046604b
mov rbp, qword [rbp]
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x108], rcx
mov rcx, qword [rsp + 0x1e8]
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x118], rsi
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x120], rcx
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x128], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x130], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x138], rcx
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x140], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x148], rcx
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x150], rcx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x158], rcx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x160], rcx
lea rax, [rsp + 0x100]
call fcn.005da240
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rbx
movzx ecx, byte [rsp + 0x2f]
test cl, 1
je 0x5d5739
and ecx, 0xfffffffe
mov byte [rsp + 0x2e], cl
mov rdx, qword [rsp + 0x1c0]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0x1c8]
add rsp, 0x1d0
ret
lea rax, [0x006b6700]
call fcn.0040d960
cmp dword [0x0092b0b0], 0
jne 0x5d577b
mov rcx, qword [rsp + 0x1d8]
mov qword [rax], rcx
jmp 0x5d578b
mov rdi, rax
mov rcx, qword [rsp + 0x1d8]
call fcn.00465a00
mov rdx, qword [rsp + 0xa0]
mov qword [rax + 8], rdx
cmp dword [0x0092b0b0], 0
nop
jne 0x5d57ce
mov rdx, qword [rsp + 0x1e8]
mov qword [rax + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rax + 0x18], rdx
mov rdx, qword [rsp + 0x70]
mov qword [rax + 0x20], rdx
mov rdx, qword [rsp + 0x58]
mov qword [rax + 0xb0], rdx
jmp 0x5d580c
lea rdi, [rax + 0x10]
mov rdx, qword [rsp + 0x1e8]
call fcn.00465a20
lea rdi, [rax + 0x18]
mov rdx, qword [rsp + 0x60]
call fcn.00465a20
lea rdi, [rax + 0x20]
mov rdx, qword [rsp + 0x70]
call fcn.00465a20
lea rdi, [rax + 0xb0]
mov rdx, qword [rsp + 0x58]
call fcn.00465a20
mov qword [rsp + 0x68], rax
call fcn.005d68a0
test rax, rax
je 0x5d5869
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rbx
movzx ecx, byte [rsp + 0x2f]
test cl, 1
je 0x5d5849
and ecx, 0xfffffffe
mov byte [rsp + 0x2e], cl
mov rdx, qword [rsp + 0x1c0]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0x1c8]
add rsp, 0x1d0
ret
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x5d58b7
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsi + 0xb0]
nop
test rdi, rdi
je 0x5d58b7
mov rsi, qword [rsp + 0x58]
cmp rsi, rdi
je 0x5d58b7
mov rdx, qword [rsp + 0x1d8]
mov rdx, qword [rdx + 0x48]
mov rsi, qword [rdx + 0xe8]
mov rax, qword [rdx + 0xf0]
mov rdx, qword [rsi + 0x20]
mov rbx, qword [rsp + 0x88]
call rdx
movups xmmword [rsp + 0xa8], xmm15
movzx ecx, byte [rsp + 0x2f]
test cl, 1
je 0x5d58de
and ecx, 0xfffffffe
mov byte [rsp + 0x2e], cl
mov rdx, qword [rsp + 0x1c0]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0x1c8]
add rsp, 0x1d0
ret
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x98], rdx
mov rax, qword [rsp + 0x1d8]
mov ebx, 0xa
nop dword [rax + rax]
call fcn.005cfee0
movups xmmword [rsp + 0xb8], xmm15
movups xmmword [rsp + 0xc8], xmm15
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0xb8], rcx
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0xc0], rcx
lea rcx, [0x00689480]
mov qword [rsp + 0xc8], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0xd0], rcx
lea rax, [0x006ddf8a]
mov ebx, 0x49
lea rcx, [rsp + 0xb8]
mov edi, 2
mov rsi, rdi
call fcn.004c8440
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rbx
movzx ecx, byte [rsp + 0x2f]
test cl, 1
je 0x5d59c2
and ecx, 0xfffffffe
mov byte [rsp + 0x2e], cl
mov rdx, qword [rsp + 0x1c0]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0x1c8]
add rsp, 0x1d0
ret
mov rax, qword [rsp + 0xa8]
mov rbx, r12
mov rbp, qword [rsp + 0x1c8]
add rsp, 0x1d0
ret
mov rax, qword [rsp + 0xa8]
mov rbx, rdi
mov rbp, qword [rsp + 0x1c8]
add rsp, 0x1d0
ret
mov eax, 0x18
nop dword [rax]
call fcn.00465e60
nop
call fcn.004358c0
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0x1c8]
add rsp, 0x1d0
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00463740
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.005d5160