Function at 0x670f1260
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x672bfab0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
cmp byte [0x672bffc0], 0
jne 0x670f1794
lea rcx, [0x672bffc0]
call sym.QtCoreVBox4.dll_public:_static_class_QMutex____ptr64___cdecl_QMutexPool::globalInstanceGet_void_const____ptr64_
mov rbx, rax
xor r13d, r13d
lea r14d, [r13 + 1]
test rax, rax
je 0x670f12ef
mov rcx, qword [rax]
test byte [rcx + 4], r14b
je 0x670f12d4
mov rcx, rax
call sym.QtCoreVBox4.dll_public:_void___cdecl_QMutex::lock_void____ptr64
jmp 0x670f12ea
xor eax, eax
lock cmpxchg dword [rcx], r14d
sete cl
test cl, cl
jne 0x670f12ea
mov rcx, rbx
call sym.QtCoreVBox4.dll_private:_void___cdecl_QMutex::lockInternal_void____ptr64
or rbx, r14
jmp 0x670f12f2
mov rbx, r13
mov qword [rbp - 0x31], rbx
cmp byte [0x672bffc0], 0
je 0x670f1340
test bl, 1
je 0x670f1794
and rbx, 0xfffffffffffffffe
mov qword [rbp - 0x31], rbx
and rbx, 0xfffffffffffffffe
mov rcx, qword [rbx]
test byte [rcx + 4], 1
je 0x670f132a
mov rcx, rbx
call sym.QtCoreVBox4.dll_public:_void___cdecl_QMutex::unlock_void____ptr64
jmp 0x670f1794
mov eax, r14d
lock cmpxchg dword [rcx], r13d
je 0x670f1794
mov rcx, rbx
jmp 0x670f178f
or esi, 0xffffffff
mov edx, esi
lea rcx, str.advapi32
call sym.QtCoreVBox4.dll_private:_static_struct_QString::Data____ptr64___cdecl_QString::fromLatin1_helper_char_const____ptr64__int_
mov qword [rbp - 0x19], rax
lea r15, sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null
mov qword [rbp - 0x49], r15
lock inc dword [sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null]
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x49]
call fcn.67063f70
mov qword [rbp - 0x51], r13
mov byte [rbp - 0x41], 0
mov rax, qword [rbp - 0x19]
lock dec dword [rax]
jne 0x670f138e
mov rcx, qword [rbp - 0x19]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
lea rcx, [rbp - 0x49]
call sym.QtCoreVBox4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
mov dl, 1
call sym.QtCoreVBox4.dll_public:_static_struct_HINSTANCE______ptr64___cdecl_QSystemLibrary::load_unsigned_short_int_const____ptr64__bool_
mov qword [rbp - 0x51], rax
mov byte [rbp - 0x41], 1
test rax, rax
je 0x670f14ab
lea rdx, str.GetNamedSecurityInfoW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x672bff48], rax
movzx ecx, byte [rbp - 0x41]
test cl, cl
jne 0x670f13ef
lea rcx, [rbp - 0x49]
call sym.QtCoreVBox4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
mov dl, 1
call sym.QtCoreVBox4.dll_public:_static_struct_HINSTANCE______ptr64___cdecl_QSystemLibrary::load_unsigned_short_int_const____ptr64__bool_
mov qword [rbp - 0x51], rax
mov cl, 1
mov byte [rbp - 0x41], cl
jmp 0x670f13f3
mov rax, qword [rbp - 0x51]
test rax, rax
jne 0x670f13fd
mov rdx, r13
jmp 0x670f1418
lea rdx, str.LookupAccountSidW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
movzx ecx, byte [rbp - 0x41]
mov rax, qword [rbp - 0x51]
mov qword [0x672bff50], rdx
test cl, cl
jne 0x670f143f
lea rcx, [rbp - 0x49]
call sym.QtCoreVBox4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
mov dl, 1
call sym.QtCoreVBox4.dll_public:_static_struct_HINSTANCE______ptr64___cdecl_QSystemLibrary::load_unsigned_short_int_const____ptr64__bool_
mov qword [rbp - 0x51], rax
mov cl, 1
mov byte [rbp - 0x41], cl
test rax, rax
jne 0x670f1449
mov rdx, r13
jmp 0x670f1464
lea rdx, str.BuildTrusteeWithSidW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
movzx ecx, byte [rbp - 0x41]
mov rax, qword [rbp - 0x51]
mov qword [0x672bff58], rdx
test cl, cl
jne 0x670f148a
lea rcx, [rbp - 0x49]
call sym.QtCoreVBox4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
mov dl, 1
call sym.QtCoreVBox4.dll_public:_static_struct_HINSTANCE______ptr64___cdecl_QSystemLibrary::load_unsigned_short_int_const____ptr64__bool_
mov qword [rbp - 0x51], rax
mov byte [rbp - 0x41], 1
test rax, rax
jne 0x670f1494
mov rax, r13
jmp 0x670f14a4
lea rdx, str.GetEffectiveRightsFromAclW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x672bff60], rax
cmp qword [0x672bff58], 0
je 0x670f162d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
mov qword [rbp - 0x39], r13
call fcn.670f1190
lea r8, [rbp - 0x39]
mov edx, 8
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x670f158f
mov dword [rbp - 0x59], r13d
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov r11d, dword [rbp - 0x59]
test r11d, r11d
je 0x670f1585
mov ecx, r11d
call sym.QtCoreVBox4.dll_void____ptr64___cdecl_qMalloc_unsigned_long_long_unsigned___int64__
mov r12, rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x59]
mov r8, r12
mov edx, r14d
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x670f157d
mov rdi, qword [r12]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov ebx, eax
mov ecx, eax
call sym.QtCoreVBox4.dll_void____ptr64___cdecl_qMalloc_unsigned_long_long_unsigned___int64__
mov qword [0x672bff78], rax
mov r8, rdi
mov rdx, rax
mov ecx, ebx
call qword [sym.imp.ADVAPI32.dll_CopySid]
test eax, eax
je 0x670f157d
mov rdx, qword [0x672bff78]
lea rcx, [0x672bff20]
call qword [0x672bff58]
mov rcx, r12
call sym.QtCoreVBox4.dll_void___cdecl_qFree_void____ptr64_
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rbp - 0x41], 0
jne 0x670f15b2
lea rcx, [rbp - 0x49]
call sym.QtCoreVBox4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
mov dl, 1
call sym.QtCoreVBox4.dll_public:_static_struct_HINSTANCE______ptr64___cdecl_QSystemLibrary::load_unsigned_short_int_const____ptr64__bool_
mov qword [rbp - 0x51], rax
mov byte [rbp - 0x41], 1
jmp 0x670f15b6
mov rax, qword [rbp - 0x51]
test rax, rax
je 0x670f162d
lea rdx, str.AllocateAndInitializeSid
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x670f162d
mov dword [rbp + 0x27], 0
mov word [rbp + 0x2b], 0x100
lea rcx, [0x672bff80]
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x27]
call rax
test eax, eax
je 0x670f162d
mov rdx, qword [0x672bff80]
lea rcx, [0x672bff00]
call qword [0x672bff58]
mov edx, esi
lea rcx, str.userenv
call sym.QtCoreVBox4.dll_private:_static_struct_QString::Data____ptr64___cdecl_QString::fromLatin1_helper_char_const____ptr64__int_
mov qword [rbp - 0x29], rax
mov qword [rbp - 9], r15
lock inc dword [sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.67063f70
mov qword [rbp - 0x11], r13
mov byte [rbp - 1], 0
mov rax, qword [rbp - 0x29]
lock dec dword [rax]
jne 0x670f1671
mov rcx, qword [rbp - 0x29]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
lea rcx, [rbp - 9]
call sym.QtCoreVBox4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
mov dl, 1
call sym.QtCoreVBox4.dll_public:_static_struct_HINSTANCE______ptr64___cdecl_QSystemLibrary::load_unsigned_short_int_const____ptr64__bool_
mov qword [rbp - 0x11], rax
mov byte [rbp - 1], 1
test rax, rax
je 0x670f16a8
lea rdx, str.GetUserProfileDirectoryW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x672bff68], rax
mov edx, esi
lea rcx, str.kernel32
call sym.QtCoreVBox4.dll_private:_static_struct_QString::Data____ptr64___cdecl_QString::fromLatin1_helper_char_const____ptr64__int_
mov qword [rbp - 0x21], rax
mov qword [rbp + 0xf], r15
lock inc dword [sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null]
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0xf]
call fcn.67063f70
mov qword [rbp + 7], r13
mov byte [rbp + 0x17], 0
mov rax, qword [rbp - 0x21]
lock dec dword [rax]
jne 0x670f16ec
mov rcx, qword [rbp - 0x21]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
lea rcx, [rbp + 0xf]
call sym.QtCoreVBox4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
mov dl, 1
call sym.QtCoreVBox4.dll_public:_static_struct_HINSTANCE______ptr64___cdecl_QSystemLibrary::load_unsigned_short_int_const____ptr64__bool_
mov qword [rbp + 7], rax
mov byte [rbp + 0x17], 1
test rax, rax
je 0x670f1723
lea rdx, str.GetVolumePathNamesForVolumeNameW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x672bff70], rax
mov byte [0x672bffc0], 1
mov rax, qword [rbp + 0xf]
lock dec dword [rax]
jne 0x670f173d
mov rcx, qword [rbp + 0xf]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rbp - 9]
lock dec dword [rax]
jne 0x670f1750
mov rcx, qword [rbp - 9]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rbp - 0x49]
lock dec dword [rax]
jne 0x670f1763
mov rcx, qword [rbp - 0x49]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rcx, qword [rbp - 0x31]
test cl, 1
je 0x670f1794
and rcx, 0xfffffffffffffffe
mov qword [rbp - 0x31], rcx
and rcx, 0xfffffffffffffffe
mov rdx, qword [rcx]
test byte [rdx + 4], 1
jne 0x670f1320
mov eax, r14d
lock cmpxchg dword [rdx], r13d
je 0x670f1794
call sym.QtCoreVBox4.dll_private:_void___cdecl_QMutex::unlockInternal_void____ptr64
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.671623b0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret