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

Disassembly:
lea r12, [rsp - 0x40]
cmp r12, qword [r14 + 0x10]
jbe 0x503a19
sub rsp, 0xc0
mov qword [rsp + 0xb8], rbp
lea rbp, [rsp + 0xb8]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xd0], rbx
movups xmmword [rsp + 0x98], xmm15
movups xmmword [rsp + 0xa8], xmm15
xor edx, edx
jmp 0x503491
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x78]
cmp rcx, rdx
jle 0x503830
mov qword [rsp + 0x58], rdx
movzx esi, byte [rbx + rdx]
cmp esi, 0x80
jge 0x5034b1
lea rdi, [rdx + 1]
jmp 0x5034cc
mov rax, rbx
mov rbx, rcx
mov rcx, rdx
call fcn.0045d080
mov esi, eax
mov rdi, rbx
mov rax, qword [rsp + 0xc8]
mov dword [rsp + 0x4c], esi
mov qword [rsp + 0x78], rdi
mov rcx, qword [rax]
mov rdx, rax
mov eax, esi
call rcx
mov dword [rsp + 0x48], eax
mov ecx, dword [rsp + 0x4c]
cmp eax, ecx
jne 0x503505
cmp ecx, 0xfffd
jne 0x503474
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
jmp 0x503523
cmp ecx, 0xfffd
jne 0x503572
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x58]
nop word [rax + rax]
cmp rcx, rdx
jb 0x503a10
mov rbx, rcx
sub rbx, rdx
mov rsi, rbx
neg rbx
sar rbx, 0x3f
and rbx, rdx
mov rdi, qword [rsp + 0xd0]
lea rax, [rdi + rbx]
mov rbx, rsi
call fcn.00471b00
cmp rbx, 1
je 0x50356b
mov r8d, dword [rsp + 0x48]
nop dword [rax + rax]
cmp eax, r8d
je 0x503474
jmp 0x5035df
mov r8d, dword [rsp + 0x48]
jmp 0x5035df
test ecx, ecx
jge 0x503580
mov rcx, 0xffffffffffffffff
jmp 0x5035d9
cmp ecx, 0x7f
jg 0x50358c
mov ecx, 1
jmp 0x5035d9
cmp ecx, 0x7ff
jg 0x50359b
mov ecx, 2
jmp 0x5035d9
lea r8d, [rcx - 0xd800]
cmp r8d, 0x7ff
ja 0x5035b4
mov rcx, 0xffffffffffffffff
jmp 0x5035d9
cmp ecx, 0xffff
jg 0x5035c3
mov ecx, 3
jmp 0x5035d9
cmp ecx, 0x10ffff
jg 0x5035d2
mov ecx, 4
jmp 0x5035d9
mov rcx, 0xffffffffffffffff
mov r8d, eax
mov rbx, rcx
nop
mov r9, qword [rsp + 0x98]
test r9, r9
je 0x5035ff
lea r10, [rsp + 0x98]
cmp r9, r10
je 0x503617
jmp 0x5039fd
lea r9, [rsp + 0x98]
mov qword [rsp + 0x98], r9
lea r10, [rsp + 0x98]
mov rdx, qword [rsp + 0xd8]
lea r9, [rdx + 4]
test r9, r9
jl 0x5039ea
mov qword [rsp + 0x50], rbx
mov r11, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xb0]
mov r13, r12
sub r12, r11
cmp r12, r9
jl 0x503659
mov rcx, qword [rsp + 0x58]
cmp rdx, rcx
jmp 0x50370a
mov qword [rsp + 0x60], r11
nop
lea rcx, [rdx + r13*2]
lea rcx, [rcx + 4]
mov qword [rsp + 0x68], rcx
lea rax, [0x006578a0]
mov rbx, r11
call fcn.0044a840
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x60]
cmp rdx, rcx
mov rsi, rcx
cmovl rcx, rdx
mov rbx, qword [rsp + 0xa0]
cmp rax, rbx
jne 0x5036b1
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x58]
cmp rdx, rcx
jmp 0x5036db
mov qword [rsp + 0x90], rax
call fcn.004662e0
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x58]
cmp rdx, rcx
mov rax, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0xa8], rsi
mov r8, qword [rsp + 0x68]
mov qword [rsp + 0xb0], r8
mov qword [rsp + 0xa0], rax
mov rbx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x48]
lea r10, [rsp + 0x98]
jb 0x5039e5
nop
mov r9, qword [rsp + 0x98]
test r9, r9
je 0x50372a
nop
cmp r9, r10
je 0x503732
jmp 0x5039d1
mov qword [rsp + 0x98], r10
mov r9, qword [rsp + 0xa8]
lea r11, [rcx + r9]
mov r12, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xa0]
cmp r12, r11
jae 0x50377d
mov qword [rsp + 0x78], r9
mov rbx, r11
mov rdi, rcx
lea rsi, [0x006578a0]
mov rcx, r12
call fcn.0044a920
mov r9, qword [rsp + 0x78]
mov r12, rcx
mov r11, rbx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r11
mov qword [rsp + 0x88], rax
lea rdx, [rax + r9]
mov rbx, qword [rsp + 0xd0]
mov rax, rdx
nop
call fcn.004662e0
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0xa8], rdx
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0xb0], rdx
mov rdx, qword [rsp + 0x88]
mov qword [rsp + 0xa0], rdx
mov ebx, dword [rsp + 0x48]
test ebx, ebx
jl 0x5037e5
lea rax, [rsp + 0x98]
nop
call fcn.004ff5e0
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
lea rax, [rdi + rsi]
mov rcx, qword [rsp + 0xd8]
nop dword [rax + rax]
cmp rcx, rax
jb 0x5039cc
sub rcx, rax
mov rsi, rcx
neg rcx
sar rcx, 0x3f
and rax, rcx
mov rdi, qword [rsp + 0xd0]
lea rbx, [rdi + rax]
mov rax, qword [rsp + 0xc8]
mov rcx, rsi
cmp qword [rsp + 0xb0], 0
je 0x50384c
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rbx
xor edx, edx
jmp 0x503880
mov rax, rbx
mov rbx, rcx
mov rbp, qword [rsp + 0xb8]
add rsp, 0xc0
ret
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
cmp rdx, rcx
jge 0x50397c
movzx esi, byte [rdx + rbx]
cmp esi, 0x80
jge 0x50389b
lea rdi, [rdx + 1]
jmp 0x5038b6
mov rax, rbx
mov rbx, rcx
mov rcx, rdx
call fcn.0045d080
mov esi, eax
mov rdi, rbx
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x70], rdi
mov rcx, qword [rax]
mov rdx, rax
mov eax, esi
call rcx
test eax, eax
jl 0x503862
cmp eax, 0x80
jge 0x503968
nop
nop
mov r8, qword [rsp + 0x98]
nop
test r8, r8
je 0x5038f7
lea r9, [rsp + 0x98]
cmp r8, r9
je 0x503907
jmp 0x5039b9
lea r8, [rsp + 0x98]
mov qword [rsp + 0x98], r8
mov rbx, qword [rsp + 0xa8]
inc rbx
mov r8, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xb0]
cmp rcx, rbx
jae 0x503956
mov dword [rsp + 0x44], eax
mov rax, r8
mov edi, 1
lea rsi, [0x006578a0]
call fcn.0044a920
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xa0], rax
mov r8, rax
mov eax, dword [rsp + 0x44]
mov qword [rsp + 0xa8], rbx
mov byte [rbx + r8 - 1], al
jmp 0x503862
mov ebx, eax
lea rax, [rsp + 0x98]
call fcn.004ff5e0
jmp 0x503862
mov rax, qword [rsp + 0xa0]
mov rcx, rax
neg rax
mov rbx, qword [rsp + 0xa8]
cmp rbx, rax
ja 0x5039aa
mov rax, rcx
mov rbp, qword [rsp + 0xb8]
add rsp, 0xc0
ret
test rcx, rcx
je 0x5039b4
call fcn.0045cf80
call fcn.0045cfc0
lea rax, [0x006576e0]
lea rbx, [0x00718800]
call fcn.00436420
call fcn.00465a00
lea rax, [0x006576e0]
lea rbx, [0x00718800]
nop
call fcn.00436420
call fcn.00465980
lea rax, [0x006576e0]
lea rbx, [0x00718810]
call fcn.00436420
lea rax, [0x006576e0]
lea rbx, [0x00718800]
call fcn.00436420
mov rax, rdx
call fcn.00465a00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.004632e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop dword [rax]
jmp fcn.00503420