Function at 0x4ec890
Capabilities:
List groups for user account

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
xor esi, esi
push ebx
lea ebx, [ebp - 0x30]
sub esp, 0x6c
mov eax, dword [sym.imp.Qt5Core.dll_QListData::shared_null]
mov ecx, dword [ebp + 8]
mov word [ebp - 0x28], si
mov dword [ebp - 0x2c], 0
mov dword [ecx], eax
lea eax, [ebp - 0x28]
mov ecx, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00621910
mov eax, dword [ebp + 0xc]
sub esp, 8
mov edx, dword [ebp - 0x30]
mov eax, dword [eax]
mov esi, dword [eax + 4]
test esi, esi
je 0x4ec915
add eax, dword [eax + 0xc]
je 0x4ec8fd
lea ecx, [esi + esi]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp], edx
call sub.msvcrt.dll_memcpy
mov dword [esp + 4], 0
mov ecx, ebx
mov dword [esp], esi
call fcn.00621910
mov edx, dword [ebp - 0x30]
sub esp, 8
lea eax, [ebp - 0x34]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x38]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], 0
call sub.NETAPI32.dll_NetUserGetLocalGroups
mov eax, dword [ebp - 0x30]
lea edi, [ebp - 0x28]
sub esp, 0x20
cmp eax, edi
je 0x4ec967
mov dword [esp], eax
call fcn.00647d50
mov ecx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
test ecx, ecx
je 0x4ec9e8
mov eax, dword [method.QString.fromUtf16_unsigned_short_const__int_]
xor esi, esi
mov dword [ebp - 0x4c], eax
jmp 0x4ec996
cmp edx, 0xffffffff
je 0x4ec98e
lock sub dword [eax], 1
mov eax, dword [ebp - 0x30]
je 0x4ec9c4
add esi, 1
cmp dword [ebp - 0x38], esi
jbe 0x4ec9e5
mov dword [esp + 8], 0xffffffff
mov eax, dword [edi + esi*4]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4c]
call eax
mov dword [esp], ebx
mov ecx, dword [ebp + 8]
call fcn.005a3080
mov eax, dword [ebp - 0x30]
sub esp, 4
mov edx, dword [eax]
test edx, edx
jne 0x4ec980
mov dword [esp + 8], 4
add esi, 1
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
cmp dword [ebp - 0x38], esi
ja 0x4ec996
mov edi, dword [ebp - 0x3c]
mov dword [esp], edi
call sub.NETAPI32.dll_NetApiBufferFree
lea eax, [ebp - 0x28]
sub esp, 4
xor edx, edx
mov ecx, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x28], dx
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00621910
mov eax, dword [ebp + 0xc]
sub esp, 8
mov edx, dword [ebp - 0x30]
mov eax, dword [eax]
mov esi, dword [eax + 4]
test esi, esi
je 0x4eca62
add eax, dword [eax + 0xc]
je 0x4eca4a
lea ecx, [esi + esi]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp], edx
call sub.msvcrt.dll_memcpy
mov dword [esp + 4], 0
mov ecx, ebx
mov dword [esp], esi
call fcn.00621910
mov edx, dword [ebp - 0x30]
sub esp, 8
lea eax, [ebp - 0x34]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x38]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], 0
call sub.NETAPI32.dll_NetUserGetGroups
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
sub esp, 0x1c
cmp eax, ecx
je 0x4ecaac
mov dword [esp], eax
call fcn.00647d50
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
test eax, eax
je 0x4ecb2a
mov eax, dword [method.QString.fromUtf16_unsigned_short_const__int_]
xor esi, esi
mov dword [ebp - 0x4c], eax
jmp 0x4ecad8
cmp edx, 0xffffffff
je 0x4ecad0
lock sub dword [eax], 1
mov eax, dword [ebp - 0x30]
je 0x4ecb06
add esi, 1
cmp dword [ebp - 0x38], esi
jbe 0x4ecb27
mov dword [esp + 8], 0xffffffff
mov eax, dword [edi + esi*4]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4c]
call eax
mov dword [esp], ebx
mov ecx, dword [ebp + 8]
call fcn.005a3080
mov eax, dword [ebp - 0x30]
sub esp, 4
mov edx, dword [eax]
test edx, edx
jne 0x4ecac2
mov dword [esp + 8], 4
add esi, 1
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
cmp dword [ebp - 0x38], esi
ja 0x4ecad8
mov edi, dword [ebp - 0x3c]
mov dword [esp], edi
call sub.NETAPI32.dll_NetApiBufferFree
mov eax, dword [ebp + 8]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret