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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x59da67
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
xor edx, edx
nop
jmp 0x59d545
inc rdx
cmp rbx, rdx
jle 0x59d58e
movzx esi, byte [rax + rdx]
cmp sil, 0x20
jb 0x59d55a
cmp sil, 0x7f
jne 0x59d542
lea rax, [0x00690f40]
call fcn.0040d960
mov qword [rax + 8], 0x29
lea rcx, [0x006d86bc]
mov qword [rax], rcx
lea rbx, [0x00742c00]
mov rcx, rax
xor eax, eax
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov byte [rsp + 0x68], cl
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
nop dword [rax]
test rbx, rbx
jne 0x59d5dd
test cl, cl
je 0x59d5dd
lea rax, [0x00690f40]
call fcn.0040d960
mov qword [rax + 8], 9
lea rcx, [0x006ca8a1]
mov qword [rax], rcx
lea rbx, [0x00742c00]
mov rcx, rax
xor eax, eax
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
lea rax, [0x006bace0]
call fcn.0040d960
mov qword [rsp + 0x30], rax
mov rbx, qword [rsp + 0x60]
cmp rbx, 1
jne 0x59d624
mov rdx, qword [rsp + 0x58]
cmp byte [rdx], 0x2a
jne 0x59d629
mov qword [rax + 0x40], 1
lea rdx, [0x007400f8]
mov qword [rax + 0x38], rdx
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov rdx, qword [rsp + 0x58]
mov rax, rdx
call fcn.0059d1c0
mov rdx, qword [rsp + 0x30]
mov qword [rdx + 8], rbx
cmp dword [0x0092b0b0], 0
jne 0x59d648
mov qword [rdx], rax
jmp 0x59d656
mov r9, rdi
mov rdi, rdx
call fcn.00465900
mov rdi, r9
test rsi, rsi
jne 0x59da37
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x38], rcx
call fcn.004d71c0
mov rdi, qword [rsp + 0x30]
mov qword [rdi + 8], rbx
cmp dword [0x0092b0b0], 0
nop
jne 0x59d687
mov qword [rdi], rax
jmp 0x59d68c
call fcn.00465900
mov rbx, qword [rsp + 0x20]
cmp rbx, 1
jge 0x59d69b
xor edx, edx
jmp 0x59d6f7
mov rdx, qword [rsp + 0x38]
lea rax, [rbx + rdx]
lea rax, [rax - 1]
mov ecx, 1
lea rbx, [0x00740180]
call fcn.00402d80
test al, al
jne 0x59d6cb
mov rbx, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x30]
xor edx, edx
jmp 0x59d6f7
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
lea rcx, [0x00740180]
mov edi, 1
call fcn.004d53e0
cmp rax, 1
sete dl
mov rbx, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x30]
test dl, dl
je 0x59d719
mov byte [rdi + 0x59], 1
lea rcx, [rbx - 1]
cmp rbx, rcx
jb 0x59da5e
mov rdx, rdi
mov rbx, rcx
mov rax, qword [rsp + 0x38]
jmp 0x59d751
mov rax, qword [rsp + 0x38]
lea rcx, [0x00740180]
mov edi, 1
call fcn.004d8fa0
mov rdx, qword [rsp + 0x30]
mov qword [rdx + 0x68], rdi
cmp dword [0x0092b0b0], 0
nop
jne 0x59d748
mov qword [rdx + 0x60], rcx
jmp 0x59d751
lea rdi, [rdx + 0x60]
call fcn.00465a00
cmp rbx, 1
jl 0x59d762
cmp byte [rax], 0x2f
sete sil
nop
jmp 0x59d764
xor esi, esi
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x38], rax
test sil, sil
jne 0x59d7f8
cmp qword [rdx + 8], 0
je 0x59d7ab
mov qword [rdx + 0x18], rbx
cmp dword [0x0092b0b0], 0
jne 0x59d791
mov qword [rdx + 0x10], rax
jmp 0x59d79a
lea rdi, [rdx + 0x10]
call fcn.00465900
mov rax, rdx
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
movzx esi, byte [rsp + 0x68]
test sil, sil
jne 0x59da03
lea rcx, [0x006c935b]
mov edi, 1
call fcn.004d8fa0
lea rcx, [0x00740158]
mov edi, 1
call fcn.004d88e0
nop dword [rax + rax]
test rax, rax
jge 0x59d9cf
mov rax, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x20]
cmp qword [rdx + 8], 0
je 0x59d806
mov ecx, 1
jmp 0x59d843
movzx esi, byte [rsp + 0x68]
test sil, sil
je 0x59d814
xor ecx, ecx
jmp 0x59d843
cmp rbx, 3
jge 0x59d81e
xor ecx, ecx
jmp 0x59d840
lea rbx, [0x006c94a7]
mov ecx, 3
call fcn.00402d80
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x20]
mov ecx, eax
mov rax, qword [rsp + 0x38]
xor ecx, 1
test cl, cl
je 0x59d85c
cmp rbx, 2
jl 0x59d858
cmp word [rax], 0x2f2f
sete sil
jmp 0x59d860
xor esi, esi
jmp 0x59d860
xor esi, esi
nop
test sil, sil
je 0x59d971
cmp rbx, 2
jb 0x59da51
lea rdx, [rbx - 2]
mov qword [rsp + 0x28], rdx
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and edx, 2
add rax, rdx
mov qword [rsp + 0x40], rax
lea rcx, [0x006c935b]
mov edi, 1
mov rbx, rsi
call fcn.004d88e0
test rax, rax
jl 0x59d8db
mov rdx, qword [rsp + 0x28]
cmp rax, rdx
ja 0x59da49
mov rcx, qword [rsp + 0x20]
sub rcx, rax
add rcx, 0xfffffffffffffffe
mov rsi, rcx
neg rcx
sar rcx, 0x3f
and rcx, rax
mov rdi, qword [rsp + 0x40]
add rcx, rdi
jmp 0x59d8e9
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
xor esi, esi
xor ecx, ecx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x38], rcx
mov rbx, rax
mov rax, rdi
call fcn.0059daa0
cmp dword [0x0092b0b0], 0
jne 0x59d912
mov rdx, qword [rsp + 0x30]
mov qword [rdx + 0x20], rax
jmp 0x59d929
mov rdx, qword [rsp + 0x30]
lea r8, [rdx + 0x20]
mov r9, rdi
mov rdi, r8
call fcn.00465900
mov rdi, r9
mov qword [rdx + 0x30], rcx
cmp dword [0x0092b0b0], 0
jne 0x59d93c
mov qword [rdx + 0x28], rbx
jmp 0x59d94e
lea r8, [rdx + 0x28]
mov rax, rdi
mov rdi, r8
call fcn.00465a40
mov rdi, rax
test rdi, rdi
jne 0x59d95f
mov rbx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x38]
jmp 0x59d992
xor eax, eax
mov rbx, rdi
mov rcx, rsi
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
cmp qword [rdx + 8], 0
je 0x59d992
cmp rbx, 1
jl 0x59d987
cmp byte [rax], 0x2f
sete sil
jmp 0x59d989
xor esi, esi
test sil, sil
je 0x59d992
mov byte [rdx + 0x58], 1
mov rcx, rbx
mov rbx, rax
mov rax, rdx
nop dword [rax + rax]
call fcn.0059e460
test rax, rax
je 0x59d9bc
mov rcx, rbx
mov rbx, rax
xor eax, eax
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov rax, qword [rsp + 0x30]
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
lea rax, [0x00690f40]
call fcn.0040d960
mov qword [rax + 8], 0x2e
lea rcx, [0x006d9c9b]
mov qword [rax], rcx
lea rbx, [0x00742c00]
mov rcx, rax
xor eax, eax
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
lea rax, [0x00690f40]
call fcn.0040d960
mov qword [rax + 8], 0x17
lea rcx, [0x006d02e4]
mov qword [rax], rcx
lea rbx, [0x00742c00]
mov rcx, rax
xor eax, eax
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
xor eax, eax
mov rbx, rsi
mov rcx, r8
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov rcx, rax
call fcn.00465de0
mov eax, 2
mov rcx, rbx
call fcn.00465e60
mov rdx, rbx
call fcn.00465de0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], cl
call fcn.00463740
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movzx ecx, byte [rsp + 0x18]
jmp fcn.0059d520