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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x18012e760]
xor rax, rsp
mov qword [rbp], rax
movabs rax, 0x5443454e4e4f43
xor esi, esi
mov dword [rsp + 0x20], esi
mov r14, qword [rcx + 8]
mov qword [rbp - 8], rax
lea rcx, [r14 + 0xc8]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QString::isEmpty_void_const___ptr64]
test al, al
je 0x18009c0bf
lea rcx, [r14 + 0xa0]
lea rdx, [rsp + 0x68]
call sym.Qt5Network.dll_public:_class_QString___cdecl_QHostAddress::toString_void____ptr64
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll__toLatin1_QString__QEHAA_AVQByteArray__XZ]
lea ebx, [rsi + 3]
jmp 0x18009c0d6
lea rdx, [r14 + 0xc8]
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QByteArray___cdecl_QUrl::toAce_class_QString_const____ptr64_]
mov ebx, 4
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray____ptr64____ptr64]
test bl, 4
je 0x18009c0f7
and ebx, 0xfffffffb
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
test bl, 2
je 0x18009c10a
and ebx, 0xfffffffd
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
test bl, 1
je 0x18009c11a
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx edx, word [r14 + 0xa8]
lea rax, [rsp + 0x40]
mov qword [rbp - 0x78], rax
lea rcx, [rsp + 0x70]
lea rax, [rsp + 0x28]
mov byte [rsp + 0x28], 0x3a
mov qword [rbp - 0x70], rax
mov r8d, 0xa
lea rax, [rbp - 0x78]
mov qword [rbp - 0x68], rax
call qword [sym.imp.Qt5Core.dll_public:_static_class_QByteArray___cdecl_QByteArray::number_int__int_]
lea rdx, [rsp + 0x38]
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x68]
call fcn.180071520
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
or r15d, 0xffffffff
lea rdx, [rbp - 8]
mov r8d, r15d
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_char_const____ptr64__int____ptr64]
mov dl, 0x20
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::operator_char____ptr64]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::operator_class_QByteArray_const____ptr64____ptr64]
lea rdx, str._HTTP_1.1_r_n
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::operator_char_const____ptr64____ptr64]
lea rdx, str.Proxy_Connection:_keep_alive_r_n
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::operator_char_const____ptr64____ptr64]
lea rax, str.Host:
xor r8d, r8d
mov qword [rbp - 0x58], rax
lea r13, [0x1800e0868]
lea rax, [rsp + 0x40]
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x48]
lea rax, [rbp - 0x58]
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x48], rax
call fcn.180070d90
mov r8d, r15d
lea rdx, str.User_Agent
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_char_const____ptr64__int____ptr64]
lea rdx, [rsp + 0x48]
lea rcx, [r14 + 0xc0]
call sym.Qt5Network.dll_public:_bool___cdecl_QNetworkProxy::hasRawHeader_class_QByteArray_const____ptr64_const___ptr64
test al, al
lea rcx, [rsp + 0x48]
sete bl
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
test bl, bl
je 0x18009c24a
lea rdx, str.User_Agent:_Mozilla_5.0_r_n
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::operator_char_const____ptr64____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [r14 + 0xc0]
call sym.Qt5Network.dll_public:_class_QList_class_QByteArray____cdecl_QNetworkProxy::rawHeaderList_void____ptr64
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
lea rcx, [rsp + 0x30]
mov rbx, rax
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::end_void_const___ptr64]
mov rdi, rax
cmp rbx, rax
je 0x18009c2e4
lea rax, [rbp - 0x28]
mov qword [rbp - 0x10], r13
mov qword [rbp - 0x18], rax
lea r13, [0x1800e342c]
nop
mov r8, rbx
mov qword [rbp - 0x38], rbx
lea rdx, [rsp + 0x78]
mov qword [rbp - 0x30], r13
lea rcx, [r14 + 0xc0]
call sym.Qt5Network.dll_public:_class_QByteArray___cdecl_QNetworkProxy::rawHeader_class_QByteArray_const____ptr64____ptr64
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x28], rcx
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x20]
xor r8d, r8d
call fcn.180044900
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
add rbx, 8
cmp rbx, rdi
jne 0x18009c290
lea r13, [0x1800e0868]
mov rbx, qword [r14 + 0xe8]
test rbx, rbx
je 0x18009c40d
cmp dword [rbx + 0x20], esi
je 0x18009c40d
mov r8d, r15d
mov byte [r14 + 0xf6], 1
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_char_const____ptr64__int____ptr64]
lea r9, [rsp + 0x38]
mov rcx, rbx
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x80]
call fcn.180071f60
mov rcx, rax
mov r12, rax
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QByteArray::size_void_const___ptr64]
lea rcx, [rsp + 0x20]
lea r13d, [rax + 0x15]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QByteArray::size_void_const___ptr64]
add r13d, eax
lea rcx, [rsp + 0x20]
mov edx, r13d
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::reserve_int____ptr64]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QByteArray::size_void_const___ptr64]
lea rcx, [rsp + 0x20]
movsxd rbx, eax
call qword [sym.imp.Qt5Core.dll_public:_char____ptr64___cdecl_QByteArray::data_void____ptr64]
add rbx, rax
lea rcx, str.Proxy_Authorization:
sub rcx, rbx
mov al, 0x50
mov byte [rbx], al
inc rbx
movzx eax, byte [rcx + rbx]
test al, al
jne 0x18009c381
mov rcx, r12
call qword [sym.imp.Qt5Core.dll_public:_char_const____ptr64___cdecl_QByteArray::constData_void_const___ptr64]
mov rcx, r12
mov rdi, rax
call qword [sym.imp.Qt5Core.dll_public:_char_const____ptr64___cdecl_QByteArray::end_void_const___ptr64]
mov rcx, rax
sub rcx, rdi
cmp rdi, rax
cmova rcx, rsi
test rcx, rcx
je 0x18009c3d5
nop word [rax + rax]
movzx eax, byte [rdi]
inc rsi
mov byte [rbx], al
lea rbx, [rbx + 1]
lea rdi, [rdi + 1]
cmp rsi, rcx
jne 0x18009c3c0
mov edx, r13d
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::resize_int____ptr64]
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
lea r13, [0x1800e0868]
mov rdx, r13
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::operator_char_const____ptr64____ptr64]
mov rdx, r13
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::operator_char_const____ptr64____ptr64]
mov rcx, qword [r14 + 0xd0]
lea rdx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_long_long___int64____cdecl_QIODevice::write_class_QByteArray_const____ptr64____ptr64]
mov dword [r14 + 0xe0], 1
mov rdi, qword [rsp + 0x30]
mov eax, dword [rdi]
test eax, eax
je 0x18009c458
cmp eax, 0xffffffff
je 0x18009c49b
lock xadd dword [rdi], r15d
cmp r15d, 1
jne 0x18009c49b
mov rdi, qword [rsp + 0x30]
movsxd rbx, dword [rdi + 0xc]
movsxd rsi, dword [rdi + 8]
add rbx, 2
add rsi, 2
lea rbx, [rdi + rbx*8]
lea rsi, [rdi + rsi*8]
cmp rsi, rbx
je 0x18009c492
nop word [rax + rax]
sub rbx, 8
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
cmp rbx, rsi
jne 0x18009c480
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1800d83b0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret