Function at 0x14013c760
Capabilities:
List groups for user account

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x128
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xa0], 0xfffffffffffffffe
mov qword [rcx], 0
mov qword [rcx + 8], 8
mov qword [rbp + 0x40], rcx
mov qword [rcx + 0x10], 0
mov qword [rbp + 0x38], 0
mov dword [rbp + 0x7c], 0
xor ebx, ebx
mov eax, 0xea
lea r12, [rbp + 0x60]
jmp 0x14013c7cc
mov rcx, qword [rbp + 0x38]
call sub.netapi32.dll_NetApiBufferFree
mov eax, dword [rbp + 0x34]
cmp eax, 0xea
jne 0x14013cbf8
lea rax, [rbp + 0x38]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x7c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xffffffff
lea rcx, [0x140222ae8]
mov edx, 1
mov r8d, ebx
mov r9d, 0x64
call sub.netapi32.dll_NetQueryDisplayInformation
cmp eax, 0xea
je 0x14013c81a
test eax, eax
jne 0x14013cbf8
mov dword [rbp + 0x34], eax
xor ecx, ecx
mov edx, dword [rbp + 0x7c]
mov dword [rbp + 0x30], edx
jmp 0x14013c876
mov rdx, qword [rsi + 0x10]
mov rcx, rsi
mov rax, qword [rcx + 8]
imul rdi, rdx, 0x38
mov rbx, qword [rbp + 0x10]
mov qword [rax + rdi + 0x30], rbx
movups xmm0, xmmword [rbp - 0x20]
movups xmm1, xmmword [rbp - 0x10]
movups xmm2, xmmword [rbp]
movups xmmword [rax + rdi + 0x20], xmm2
movups xmmword [rax + rdi + 0x10], xmm1
movups xmmword [rax + rdi], xmm0
inc rdx
mov qword [rcx + 0x10], rdx
mov ecx, dword [rbp + 0x2c]
mov edx, dword [rbp + 0x30]
inc ecx
mov ebx, dword [r13 + r14*8 + 0x24]
cmp ecx, edx
jae 0x14013c7c0
mov r13, qword [rbp + 0x38]
mov eax, ecx
lea r14, [rax + rax*4]
test byte [r13 + r14*8 + 0x11], 2
je 0x14013c86f
mov dword [rbp + 0x2c], ecx
mov qword [rbp - 0x28], r13
lea rax, [r14*8]
add rax, r13
mov qword [rbp - 0x30], rax
mov rdx, qword [rax]
mov qword [rbp + 0x80], 0
mov dword [rbp + 0x98], 0
mov dword [rbp + 0x28], 0
mov byte [rbp + 0x9f], 0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x98]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0xffffffff
lea rcx, [0x140222ae8]
xor r8d, r8d
mov r9d, 1
call sub.netapi32.dll_NetUserGetLocalGroups
test eax, eax
je 0x14013c947
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 8
mov qword [rbp + 0x58], 0
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x14013cad0
mov byte [rbp + 0x9f], 1
call sub.netapi32.dll_NetApiBufferFree
jmp 0x14013cad0
mov esi, dword [rbp + 0x98]
test rsi, rsi
je 0x14013c975
lea rax, [rsi*8]
lea rbx, [rax + rax*2]
mov edx, 8
mov rcx, rbx
call fcn.14000e8b0
test rax, rax
jne 0x14013c97a
jmp 0x14013cc10
mov eax, 8
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 0
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x14013cad0
mov eax, dword [rbp + 0x98]
mov qword [rbp - 0x38], rax
test rax, rax
je 0x14013c936
xor r13d, r13d
jmp 0x14013c9e0
mov rdx, qword [rbp + 0x58]
mov rsi, qword [rbp + 0x18]
mov rbx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x50]
lea rcx, [rdx + rdx*2]
mov qword [rax + rcx*8], rsi
mov qword [rax + rcx*8 + 8], rbx
mov qword [rax + rcx*8 + 0x10], rdi
inc qword [rbp + 0x58]
cmp r13, qword [rbp - 0x38]
je 0x14013c926
mov rax, qword [rbp + 0x80]
test rax, rax
je 0x14013cad0
mov rdi, qword [rax + r13*8]
inc r13
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x68], 2
mov qword [rbp + 0x70], 0
xor r8d, r8d
xor r15d, r15d
jmp 0x14013ca37
mov rax, qword [rbp + 0x68]
mov word [rax + r8*2], si
mov r8, qword [rbp + 0x70]
inc r8
mov qword [rbp + 0x70], r8
inc r15
movzx esi, word [rdi + r15*2]
test si, si
je 0x14013ca60
cmp r8, qword [rbp + 0x60]
jne 0x14013ca20
mov rcx, r12
mov rdx, r8
call fcn.140130ed0
mov r8, qword [rbp + 0x70]
jmp 0x14013ca20
mov rdx, qword [rbp + 0x68]
lea rcx, [rbp - 0x20]
call fcn.140174c00
mov rsi, qword [rbp - 0x18]
test rsi, rsi
mov rdi, qword [rbp - 0x10]
cmove rdi, rsi
mov rbx, rsi
cmovne rsi, qword [rbp - 0x20]
mov eax, 1
cmove rbx, rax
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x14013caa8
mov rcx, qword [rbp + 0x68]
add rdx, rdx
mov r8d, 2
call fcn.14000e8c0
mov rdx, qword [rbp + 0x58]
cmp rdx, qword [rbp + 0x48]
jne 0x14013c9bc
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x18], rsi
lea rcx, [rbp + 0x48]
call fcn.140028600
jmp 0x14013c9b0
mov r13, qword [rbp - 0x28]
mov r15d, dword [r13 + r14*8 + 0x20]
mov rax, qword [rbp - 0x30]
mov rdi, qword [rax]
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x88], 2
mov qword [rbp + 0x90], 0
xor r8d, r8d
xor ebx, ebx
jmp 0x14013cb30
mov rax, qword [rbp + 0x88]
mov word [rax + r8*2], si
mov r8, qword [rbp + 0x90]
inc r8
mov qword [rbp + 0x90], r8
inc rbx
movzx esi, word [rdi + rbx*2]
test si, si
je 0x14013cb60
cmp r8, qword [rbp + 0x80]
jne 0x14013cb10
lea rcx, [rbp + 0x80]
mov rdx, r8
call fcn.140130ed0
mov r8, qword [rbp + 0x90]
jmp 0x14013cb10
mov rdx, qword [rbp + 0x88]
mov rcx, r12
call fcn.140174c00
mov rbx, qword [rbp + 0x60]
mov rsi, qword [rbp + 0x68]
mov rdi, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x80]
test rdx, rdx
je 0x14013cb9c
mov rcx, qword [rbp + 0x88]
add rdx, rdx
mov r8d, 2
call fcn.14000e8c0
test rsi, rsi
cmove rdi, rsi
cmove rbx, rsi
mov eax, 1
cmove rsi, rax
mov rax, qword [rbp + 0x58]
lea rcx, [rbp - 8]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rbp + 0x48]
movups xmmword [rcx], xmm0
mov dword [rbp + 0x10], r15d
mov dword [rbp + 0x14], 0
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rdi
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rcx + 0x10]
cmp rdx, qword [rcx]
jne 0x14013c837
mov rsi, rcx
call fcn.140069380
jmp 0x14013c830
mov rax, qword [rbp + 0x40]
add rsp, 0x128
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov byte [rbp + 0x9f], 0
mov edx, 8
mov rcx, rbx
call fcn.14018fcb0
ud2