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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
lea rax, [rsp - 0x48]
cmp rax, qword [rcx + 0x10]
jbe 0x508249
sub rsp, 0xc8
mov qword [rsp + 0xc0], rbp
lea rbp, [rsp + 0xc0]
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x110], 0
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x48], rcx
mov rdx, qword [rsp + 0xd8]
mov rbx, qword [rdx + 8]
mov qword [rsp + 0x40], rbx
test rcx, 1
jne 0x508200
test rbx, 1
jne 0x508200
lea rsi, [0x0066f400]
mov qword [rsp], rsi
call fcn.0040f840
mov rax, qword [rsp + 8]
mov qword [rsp + 0x58], rax
mov qword [rax], 0
lea rcx, [0x0066f400]
mov qword [rsp], rcx
call fcn.0040f840
mov rax, qword [rsp + 8]
mov qword [rsp + 0x50], rax
mov qword [rax], 0
lea rcx, [0x0066f480]
mov qword [rsp], rcx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
call fcn.0043e630
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x18]
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rax
lea rax, [0x0066fc40]
mov qword [rsp], rax
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
call fcn.0043e630
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x28]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rdx
mov byte [rsp + 0x37], 1
lea rax, [rsp + 0x37]
mov qword [rsp + 0x10], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x18], rax
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov dword [rsp], 0x18
lea rdx, [0x006e0500]
mov qword [rsp + 8], rdx
call fcn.004296d0
test eax, eax
jne 0x5081ea
mov qword [rsp + 0x38], 0xffffffffffffffff
mov qword [rsp + 0xa0], 0
lea rax, [0x0050ae10]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
mov rbx, qword [rsp + 0x48]
cmp rcx, rbx
jge 0x508163
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsi]
mov r8, qword [rsp + 0x40]
cmp rdi, r8
jge 0x508126
cmp rcx, rbx
jge 0x5080e9
mov r9, qword [rsp + 0xd8]
mov r10, qword [r9 + 8]
mov r11, qword [r9]
cmp rdi, r10
jae 0x5080e2
mov edi, dword [r11 + rdi*4]
mov r10, qword [rsp + 0xd0]
mov r11, qword [r10]
mov r12, qword [r10 + 8]
cmp rcx, r12
jae 0x5080e2
mov ecx, dword [r11 + rcx*4]
cmp edi, ecx
jge 0x5080ae
mov qword [rsp], rsi
mov qword [rsp + 8], r9
mov ecx, dword [rsp + 0xe4]
mov dword [rsp + 0x10], ecx
mov rdi, qword [rsp + 0xa0]
lea rdx, [rsp + 0xa0]
call rdi
movzx eax, byte [rsp + 0x18]
mov byte [rsp + 0x37], al
movzx eax, byte [rsp + 0x37]
test al, al
je 0x50803e
jmp 0x507f8c
mov rax, qword [0x0088f8f0]
mov rcx, qword [0x0088f8e8]
mov rdx, qword [0x0088f8e0]
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0xf8], rax
mov rax, qword [0x0088f8c8]
mov rcx, qword [0x0088f8c0]
mov rdx, qword [0x0088f8d0]
mov qword [rsp + 0x100], rcx
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], rdx
nop
call fcn.0042a0a0
mov rbp, qword [rsp + 0xc0]
add rsp, 0xc8
ret
mov qword [rsp], rax
mov qword [rsp + 8], r10
mov ecx, dword [rsp + 0xe0]
mov dword [rsp + 0x10], ecx
mov rdi, qword [rsp + 0xa0]
lea rdx, [rsp + 0xa0]
call rdi
movzx eax, byte [rsp + 0x18]
mov byte [rsp + 0x37], al
jmp 0x508030
call fcn.004293e0
ud2
mov qword [rsp], rsi
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 8], rcx
mov edi, dword [rsp + 0xe4]
mov dword [rsp + 0x10], edi
mov r9, qword [rsp + 0xa0]
lea rdx, [rsp + 0xa0]
call r9
movzx eax, byte [rsp + 0x18]
mov byte [rsp + 0x37], al
jmp 0x508030
mov qword [rsp], rax
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 8], rcx
mov edi, dword [rsp + 0xe0]
mov dword [rsp + 0x10], edi
mov r9, qword [rsp + 0xa0]
lea rdx, [rsp + 0xa0]
call r9
movzx eax, byte [rsp + 0x18]
mov byte [rsp + 0x37], al
jmp 0x508030
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsi]
mov r8, qword [rsp + 0x40]
cmp rdi, r8
jge 0x50817a
jmp 0x507fa2
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x100], rdx
mov qword [rsp + 0x108], rcx
mov qword [rsp + 0x110], rax
nop
call fcn.0042a0a0
mov rbp, qword [rsp + 0xc0]
add rsp, 0xc8
ret
nop
call fcn.0042a0a0
mov rbp, qword [rsp + 0xc0]
add rsp, 0xc8
ret
lea rax, [0x006d867e]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x1f
lea rax, [0x0066fb00]
mov qword [rsp], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 8], rax
call fcn.0040ccd0
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x10]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.0042a540
ud2
call fcn.00452210
jmp fcn.00507d70