Function at 0x140001875
Capabilities:
Query environment variable

Disassembly:
jmp 0x140030e40
jmp 0x140024340
jmp 0x140023660
jmp 0x140023710
push rbx
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
mov dword [rsp + 0x20], 0xffffffff
xor r9d, r9d
lea r8, str.Tweak_License_Installer_n_nInstall_your_Tweak_Licenses.
lea rdx, [rsp + 0x60]
lea rcx, [0x1400fc080]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QMetaObject::tr_char_const____ptr64__char_const____ptr64__int____ptr64]
nop
mov dword [rsp + 0x20], 0xffffffff
xor r9d, r9d
lea r8, str.About_TweakLicenseInstaller
lea rdx, [rsp + 0x58]
lea rcx, [0x1400fc080]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QMetaObject::tr_char_const____ptr64__char_const____ptr64__int____ptr64]
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.Qt5Widgets.dll_public:_static_void___cdecl_QMessageBox::about_class_QWidget____ptr64__class_QString_const____ptr64__class_QString_const____ptr64_]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
add rsp, 0x40
pop rbx
ret
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rdi, rcx
lea rcx, str.TWK_LIC_ERRORS
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbx, rax
test rax, rax
je 0x140023785
call qword [sym.imp.Qt5Widgets.dll_public:_static_void___cdecl_QApplication::beep_void_]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp byte [rbx + rdx], 0
jne 0x140023750
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rdi + 0x158]
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QErrorMessage::showMessage_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rdi, rcx
lea rsi, [rcx + 0x180]
mov rcx, qword [rsi + 8]
cmp qword [rsi], rcx
je 0x140024475
mov rcx, qword [rcx - 8]
call fcn.14002c200
test al, al
je 0x14002445c
mov edx, 0x33
lea rcx, str.Are_you_sure_you_want_to_remove_the_license_server_
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x20], 0xffffffff
xor r9d, r9d
lea r8, str.QMessageBox::question__
lea rdx, [rsp + 0x50]
lea rcx, [0x1400fc080]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QMetaObject::tr_char_const____ptr64__char_const____ptr64__int____ptr64]
nop
mov dword [rsp + 0x20], 0
mov r9d, 0x14000
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.Qt5Widgets.dll_public:_static_enum_QMessageBox::StandardButton___cdecl_QMessageBox::question_class_QWidget____ptr64__class_QString_const____ptr64__class_QString_const____ptr64__class_QFlags_enum_QMessageBox::StandardButton___enum_QMessageBox::StandardButton_]
mov ebx, eax
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp ebx, 0x4000
jne 0x14002445c
mov rax, qword [rdi + 0x188]
mov rcx, qword [rax - 8]
test rcx, rcx
je 0x140024419
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rdx, qword [rsi + 8]
sub rdx, qword [rsi]
sar rdx, 3
dec rdx
mov r8, rsi
mov rcx, rsi
call fcn.1400099ee
mov byte [rdi + 0x178], 1
lea rdx, str.INFO:_license_server_removed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003c56
mov rcx, rax
lea rdx, [0x14000363e]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call fcn.140007900
mov rcx, rdi
call fcn.1400061bd
mov rcx, rdi
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QWidget::update_void____ptr64]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
test edx, edx
jne 0x140030f54
push rbx
sub rsp, 0x20
mov rbx, r9
cmp r8d, 0xc
ja case.default.0x140030e6f
movsxd rax, r8d
lea r8, [0x140000000]
mov edx, dword [r8 + rax*4 + 0x30f58]
add rdx, r8
jmp rdx
add rsp, 0x20
pop rbx
jmp 0x1400059a7
call fcn.140001cda
mov rcx, qword [rbx]
test rcx, rcx
je case.default.0x140030e6f
mov byte [rcx], al
add rsp, 0x20
pop rbx
ret
call fcn.1400019d8
mov rcx, qword [rbx]
test rcx, rcx
je case.default.0x140030e6f
mov byte [rcx], al
add rsp, 0x20
pop rbx
ret
mov rdx, qword [r9 + 8]
call fcn.1400070ef
mov rcx, qword [rbx]
test rcx, rcx
je case.default.0x140030e6f
mov byte [rcx], al
add rsp, 0x20
pop rbx
ret
call fcn.140004cf0
mov rcx, qword [rbx]
test rcx, rcx
je case.default.0x140030e6f
mov byte [rcx], al
add rsp, 0x20
pop rbx
ret
call fcn.140001654
mov rcx, qword [rbx]
test rcx, rcx
je case.default.0x140030e6f
mov byte [rcx], al
add rsp, 0x20
pop rbx
ret
mov rax, qword [r9 + 0x10]
movzx r8d, byte [rax]
mov rdx, qword [r9 + 8]
call fcn.140006df7
mov rcx, qword [rbx]
test rcx, rcx
je case.default.0x140030e6f
mov byte [rcx], al
add rsp, 0x20
pop rbx
ret
xor r8d, r8d
jmp 0x140030efc
call fcn.1400070cc
jmp 0x140030f05
mov rax, qword [r9 + 0x10]
mov rdx, qword [r9 + 8]
mov r8d, dword [rax]
mov rdx, qword [rdx]
call fcn.140008521
jmp 0x140030f05
add rsp, 0x20
pop rbx
jmp 0x140002509
add rsp, 0x20
pop rbx
jmp 0x140007d1f
call fcn.140009642
add rsp, 0x20
pop rbx
ret