Function at 0x140020320
Capabilities:
Query environment variable

Disassembly:
jmp 0x140020320
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, r8
mov rbx, rdx
mov rsi, rcx
mov r8d, r9d
mov rdx, rax
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QMainWindow::constructor_class_QWidget____ptr64__class_QFlags_enum_Qt::WindowType_____ptr64]
nop
lea rax, vtable.TwkLicenseWindow.0
mov qword [rsi], rax
lea rax, vtable.TwkLicenseWindow.1.0
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x118], rbx
xor r15d, r15d
mov qword [rsi + 0x120], r15
mov qword [rsi + 0x128], r15
mov qword [rsi + 0x130], r15
mov qword [rsi + 0x148], r15
mov qword [rsi + 0x150], 0xf
mov byte [rsi + 0x138], r15b
mov qword [rsi + 0x180], r15
mov qword [rsi + 0x188], r15
mov qword [rsi + 0x190], r15
mov rdx, rsi
lea rcx, [rsi + 0x30]
call fcn.140008193
mov dl, 1
mov rcx, rsi
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QWidget::setAcceptDrops_bool____ptr64]
lea ecx, [r15 + 0x30]
call fcn.1400040a7
mov rbx, rax
mov qword [rbp + 0x38], rax
lea rdi, vtable.QErrorMessage.0
lea r12, vtable.QErrorMessage.1.0
test rax, rax
je 0x14002040d
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QErrorMessage::constructor_class_QWidget____ptr64____ptr64]
mov qword [rbx], rdi
mov qword [rbx + 0x10], r12
jmp 0x140020410
mov rbx, r15
mov qword [rsi + 0x158], rbx
mov ecx, 0x30
call fcn.1400040a7
mov rbx, rax
mov qword [rbp + 0x38], rax
test rax, rax
je 0x140020442
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QErrorMessage::constructor_class_QWidget____ptr64____ptr64]
mov qword [rbx], rdi
mov qword [rbx + 0x10], r12
jmp 0x140020445
mov rbx, r15
mov qword [rsi + 0x160], rbx
mov ecx, 0x30
call fcn.1400040a7
mov rbx, rax
mov qword [rbp + 0x38], rax
test rax, rax
je 0x140020477
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QErrorMessage::constructor_class_QWidget____ptr64____ptr64]
mov qword [rbx], rdi
mov qword [rbx + 0x10], r12
jmp 0x14002047a
mov rbx, r15
mov qword [rsi + 0x168], rbx
mov ecx, 0x30
call fcn.1400040a7
mov rbx, rax
mov qword [rbp + 0x38], rax
test rax, rax
je 0x1400204ac
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QErrorMessage::constructor_class_QWidget____ptr64____ptr64]
mov qword [rbx], rdi
mov qword [rbx + 0x10], r12
jmp 0x1400204af
mov rbx, r15
mov qword [rsi + 0x170], rbx
mov dl, 1
mov rcx, qword [rsi + 0x158]
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QDialog::setModal_bool____ptr64]
mov rcx, rsi
call fcn.1400083b9
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r15
lea rcx, [rbp - 0x18]
call fcn.140004afc
mov rcx, qword [rbp - 0x18]
cmp qword [rcx + 0x18], 0x10
jb 0x1400204f0
mov rcx, qword [rcx]
mov rbx, 0xffffffffffffffff
test rcx, rcx
je 0x14002050b
mov rax, rbx
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140020500
jmp 0x14002050d
mov eax, ebx
mov edx, eax
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rbp + 0x38], rax
lea rdx, [rbp + 0x38]
mov rcx, qword [rsi + 0xa0]
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QLineEdit::setText_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, str.1AddLicense__
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov rdi, rax
lea rcx, [0x1400d3c58]
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov r8, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdi
mov r9, rsi
mov rdx, qword [rsi + 0x38]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QMetaObject::Connection___cdecl_QObject::connect_class_QObject_const____ptr64__char_const____ptr64__class_QObject_const____ptr64__char_const____ptr64__enum_Qt::ConnectionType_]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMetaObject::Connection::destructor_void____ptr64]
lea rcx, [0x1400d3c88]
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov rdi, rax
lea rcx, [0x1400d3cb8]
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov r8, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdi
mov r9, qword [rsi + 0x38]
mov rdx, qword [rsi + 0xd8]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QMetaObject::Connection___cdecl_QObject::connect_class_QObject_const____ptr64__char_const____ptr64__class_QObject_const____ptr64__char_const____ptr64__enum_Qt::ConnectionType_]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMetaObject::Connection::destructor_void____ptr64]
lea rcx, str.1Save__
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov rdi, rax
lea rcx, [0x1400d3d10]
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov r8, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdi
mov r9, rsi
mov rdx, qword [rsi + 0x50]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QMetaObject::Connection___cdecl_QObject::connect_class_QObject_const____ptr64__char_const____ptr64__class_QObject_const____ptr64__char_const____ptr64__enum_Qt::ConnectionType_]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMetaObject::Connection::destructor_void____ptr64]
lea rcx, [0x1400d3d40]
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov rdi, rax
lea rcx, [0x1400d3d70]
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov r8, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdi
mov r9, qword [rsi + 0x50]
mov rdx, qword [rsi + 0x100]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QMetaObject::Connection___cdecl_QObject::connect_class_QObject_const____ptr64__char_const____ptr64__class_QObject_const____ptr64__char_const____ptr64__enum_Qt::ConnectionType_]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMetaObject::Connection::destructor_void____ptr64]
lea rcx, str.1SaveAs__
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov rdi, rax
lea rcx, [0x1400d3dc8]
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov r8, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdi
mov r9, rsi
mov rdx, qword [rsi + 0x58]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QMetaObject::Connection___cdecl_QObject::connect_class_QObject_const____ptr64__char_const____ptr64__class_QObject_const____ptr64__char_const____ptr64__enum_Qt::ConnectionType_]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMetaObject::Connection::destructor_void____ptr64]
lea rcx, [0x1400d3df8]
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov rdi, rax
lea rcx, [0x1400d3e28]
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov r8, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdi
mov r9, qword [rsi + 0x58]
mov rdx, qword [rsi + 0xf8]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QMetaObject::Connection___cdecl_QObject::connect_class_QObject_const____ptr64__char_const____ptr64__class_QObject_const____ptr64__char_const____ptr64__enum_Qt::ConnectionType_]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMetaObject::Connection::destructor_void____ptr64]
lea rcx, str.1SetLicenseServer__
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov rdi, rax
lea rcx, [0x1400d3e90]
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov r8, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdi
mov r9, rsi
mov rdx, qword [rsi + 0x40]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QMetaObject::Connection___cdecl_QObject::connect_class_QObject_const____ptr64__char_const____ptr64__class_QObject_const____ptr64__char_const____ptr64__enum_Qt::ConnectionType_]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMetaObject::Connection::destructor_void____ptr64]
lea rcx, [0x1400d3ec0]
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov rdi, rax
lea rcx, [0x1400d3ef0]
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov r8, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdi
mov r9, qword [rsi + 0x40]
mov rdx, qword [rsi + 0xe0]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QMetaObject::Connection___cdecl_QObject::connect_class_QObject_const____ptr64__char_const____ptr64__class_QObject_const____ptr64__char_const____ptr64__enum_Qt::ConnectionType_]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMetaObject::Connection::destructor_void____ptr64]
lea rcx, str.1RemoveLicenseServer__
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov rdi, rax
lea rcx, [0x1400d3f58]
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov r8, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdi
mov r9, rsi
mov rdx, qword [rsi + 0x48]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QMetaObject::Connection___cdecl_QObject::connect_class_QObject_const____ptr64__char_const____ptr64__class_QObject_const____ptr64__char_const____ptr64__enum_Qt::ConnectionType_]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMetaObject::Connection::destructor_void____ptr64]
lea rcx, str.1trigger__
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov rdi, rax
lea rcx, [0x1400d3fb8]
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov r8, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdi
mov r9, qword [rsi + 0x48]
mov rdx, qword [rsi + 0xe8]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QMetaObject::Connection___cdecl_QObject::connect_class_QObject_const____ptr64__char_const____ptr64__class_QObject_const____ptr64__char_const____ptr64__enum_Qt::ConnectionType_]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMetaObject::Connection::destructor_void____ptr64]
lea rcx, str.1Quit__
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov rdi, rax
lea rcx, [0x1400d4010]
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov r8, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdi
mov r9, rsi
mov rdx, qword [rsi + 0x30]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QMetaObject::Connection___cdecl_QObject::connect_class_QObject_const____ptr64__char_const____ptr64__class_QObject_const____ptr64__char_const____ptr64__enum_Qt::ConnectionType_]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMetaObject::Connection::destructor_void____ptr64]
lea rcx, str.1DoAbout__
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov rdi, rax
lea rcx, str.2triggered__
call qword [sym.imp.Qt5Core.dll_char_const____ptr64___cdecl_qFlagLocation_char_const____ptr64_]
mov r8, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdi
mov r9, rsi
mov rdx, qword [rsi + 0x60]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QMetaObject::Connection___cdecl_QObject::connect_class_QObject_const____ptr64__char_const____ptr64__class_QObject_const____ptr64__char_const____ptr64__enum_Qt::ConnectionType_]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMetaObject::Connection::destructor_void____ptr64]
mov rcx, rsi
call fcn.140007900
mov rcx, rsi
call fcn.1400061bd
mov rcx, rsi
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QWidget::update_void____ptr64]
lea rcx, str.TWK_LIC_ERRORS
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdi, rax
test rax, rax
je 0x1400208f6
call qword [sym.imp.Qt5Widgets.dll_public:_static_void___cdecl_QApplication::beep_void_]
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400208c0
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rbp + 0x38], rax
lea rdx, [rbp + 0x38]
mov rcx, qword [rsi + 0x158]
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QErrorMessage::showMessage_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140020949
lea r8, [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
call fcn.140005e52
mov rdx, qword [rbp - 8]
mov rcx, qword [rbp - 0x18]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020943
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020943
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002496
nop
mov rax, rsi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret