Function at 0x670c7bc0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x6713e0a8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x67221378]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor ebx, ebx
cmp byte [0x672215f8], bl
jne 0x670c7d97
push 0x672215f8
call sym.QtCore4.dll_public:_static_class_QMutex____cdecl_QMutexPool::globalInstanceGet_void_const__
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x670c7c25
mov ecx, esi
call sym.QtCore4.dll_public:_void___thiscall_QMutex::lock_void_
or esi, 1
mov ecx, esi
mov dword [esp + 0x18], ecx
jmp 0x670c7c2b
mov dword [esp + 0x18], ebx
mov ecx, ebx
mov dword [esp + 0x34], ebx
cmp byte [0x672215f8], bl
jne 0x670c7d7f
push 1
push str.advapi32
mov byte [0x672215f8], 1
call sym.QtCore4.dll_public:_static_struct_HINSTANCE______cdecl_QSystemLibrary::load_unsigned_short_int_const___bool_
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x670c7c91
push str.GetNamedSecurityInfoW
push esi
call edi
push str.LookupAccountSidW
push esi
mov dword [0x672215dc], eax
call edi
push str.BuildTrusteeWithSidW
push esi
mov dword [0x672215e0], eax
call edi
push str.GetEffectiveRightsFromAclW
push esi
mov dword [0x672215e4], eax
call edi
mov dword [0x672215e8], eax
cmp dword [0x672215e4], ebx
je 0x670c7d5b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x1c]
push ecx
push 8
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x670c7cf1
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push 8
lea eax, [esp + 0x28]
push eax
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x670c7ce6
mov edx, dword [esp + 0x20]
push edx
push 0x672215c4
call dword [0x672215e4]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.AllocateAndInitializeSid
push esi
call edi
push str.FreeSid
push esi
mov ebp, eax
call edi
mov esi, eax
cmp ebp, ebx
je 0x670c7d5b
cmp esi, ebx
je 0x670c7d5b
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], 1
mov dword [esp + 0x40], ebx
call ebp
test eax, eax
je 0x670c7d54
mov eax, dword [esp + 0x14]
push eax
push 0x672215b0
call dword [0x672215e4]
mov ecx, dword [esp + 0x14]
push ecx
call esi
push 1
push str.userenv
call sym.QtCore4.dll_public:_static_struct_HINSTANCE______cdecl_QSystemLibrary::load_unsigned_short_int_const___bool_
add esp, 8
cmp eax, ebx
je 0x670c7d7b
push str.GetUserProfileDirectoryW
push eax
call edi
mov dword [0x672215ec], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
test cl, 1
je 0x670c7d97
and ecx, 0xfffffffe
and ecx, 0xfffffffe
call sym.QtCore4.dll_public:_void___thiscall_QMutex::unlock_void_
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.671300ac
add esp, 0x24
ret