Function at 0x4ea540
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.0061ca40
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 0x4ea5c5
add eax, dword [eax + 0xc]
je 0x4ea5ad
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.0061ca40
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 0x4ea617
mov dword [esp], eax
call fcn.00642b70
mov ecx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
test ecx, ecx
je 0x4ea698
mov eax, dword [method.QString.fromUtf16_unsigned_short_const__int_]
xor esi, esi
mov dword [ebp - 0x4c], eax
jmp 0x4ea646
cmp edx, 0xffffffff
je 0x4ea63e
lock sub dword [eax], 1
mov eax, dword [ebp - 0x30]
je 0x4ea674
add esi, 1
cmp dword [ebp - 0x38], esi
jbe 0x4ea695
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.0059e230
mov eax, dword [ebp - 0x30]
sub esp, 4
mov edx, dword [eax]
test edx, edx
jne 0x4ea630
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 0x4ea646
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.0061ca40
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 0x4ea712
add eax, dword [eax + 0xc]
je 0x4ea6fa
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.0061ca40
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 0x4ea75c
mov dword [esp], eax
call fcn.00642b70
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
test eax, eax
je 0x4ea7da
mov eax, dword [method.QString.fromUtf16_unsigned_short_const__int_]
xor esi, esi
mov dword [ebp - 0x4c], eax
jmp 0x4ea788
cmp edx, 0xffffffff
je 0x4ea780
lock sub dword [eax], 1
mov eax, dword [ebp - 0x30]
je 0x4ea7b6
add esi, 1
cmp dword [ebp - 0x38], esi
jbe 0x4ea7d7
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.0059e230
mov eax, dword [ebp - 0x30]
sub esp, 4
mov edx, dword [eax]
test edx, edx
jne 0x4ea772
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 0x4ea788
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