Function at 0x14002f18f
Capabilities:
List groups for user account

Disassembly:
push rbp
sub rsp, 0x3c0
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x150], rsi
mov qword [rbp + 0x148], rbx
mov qword [rbp + 0x88], rcx
mov qword [rbp + 0x90], rdx
mov qword [rbp + 0x390], rcx
mov qword [rbp + 0x398], rdx
mov rax, qword [0x1400e0a40]
xor rax, rbp
mov qword [rbp + 0x378], rax
mov qword [rbp + 0x98], 0
mov dword [rbp], 0
mov dword [rbp + 4], 1
mov dword [rbp + 8], 0xffffffff
mov dword [rbp + 0xc], 0
mov dword [rbp + 0x10], 0
mov dword [rbp + 0x14], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], 0
lea rax, [0x1400bff10]
mov rdx, qword [sym.imp.orauts.dll_LoadLibraryA]
mov rcx, rax
call rdx
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0xb8]
test rax, rax
je 0x14002f293
mov rax, qword [rbp + 0xb8]
lea rdx, str.scls_is_winlp_mode
mov rcx, qword [sym.imp.orauts.dll_GetProcAddress]
mov qword [rbp + 0x100], rcx
mov rcx, rax
mov rax, qword [rbp + 0x100]
call rax
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc0]
mov qword [0x1400e0b70], rax
mov rax, qword [0x1400e0b70]
test rax, rax
je 0x14002f32b
mov rax, qword [0x1400e0b70]
call rax
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x18]
cmp eax, 1
jne 0x14002f32b
mov rax, qword [rbp + 0x390]
mov rdx, qword [rbp + 0x398]
mov rcx, qword [rbp + 0xb8]
mov qword [rbp + 0x108], rcx
mov rcx, rax
mov rax, qword [rbp + 0x108]
mov r8, rax
call fcn.14002f99f
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
mov dword [rbp + 0x80], eax
mov rax, qword [rbp + 0x378]
mov qword [rbp + 0x378], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x80]
mov rbx, qword [rbp + 0x148]
mov rsi, qword [rbp + 0x150]
lea rsp, [rbp + 0x380]
pop rbp
ret
lea rax, [rbp + 0x158]
lea rdx, str._s_:
mov rcx, qword [rbp + 0x398]
mov qword [rbp + 0x110], rcx
mov rcx, rax
mov rax, qword [rbp + 0x110]
mov r8, rax
call fcn.1400012e0
mov dword [rbp + 0x1c], eax
mov eax, dword [rbp + 0x1c]
mov dword [rbp + 0x20], eax
mov eax, dword [rbp + 0x20]
movsxd rax, eax
imul rax, rax, 2
mov rdx, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
call rdx
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
test rax, rax
jne 0x14002f3a5
mov dword [rbp + 0x14], 2
jmp 0x14002f900
mov eax, 0
mov edx, 0
mov rcx, qword [rbp + 0x398]
mov ebx, dword [rbp + 0x20]
mov rsi, qword [rbp + 0xa8]
mov qword [rsp + 0x20], rsi
mov esi, dword [rbp + 0x20]
movsxd rsi, esi
imul rsi, rsi, 2
shr rsi, 1
mov dword [rsp + 0x28], esi
mov rsi, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov qword [rbp + 0x118], rcx
mov ecx, eax
mov rax, qword [rbp + 0x118]
mov r8, rax
mov r9d, ebx
call rsi
mov dword [rbp + 0x28], eax
mov eax, 0
mov rdx, qword [rbp + 0xa8]
mov ecx, dword [rbp]
mov ebx, dword [rbp + 4]
lea rsi, [rbp + 0x98]
mov qword [rsp + 0x20], rsi
mov esi, dword [rbp + 8]
mov dword [rsp + 0x28], esi
lea rsi, [rbp + 0xc]
mov qword [rsp + 0x30], rsi
lea rsi, [rbp + 0x10]
mov qword [rsp + 0x38], rsi
mov dword [rbp + 0x120], ecx
mov rcx, rax
mov eax, dword [rbp + 0x120]
mov r8d, eax
mov r9d, ebx
call sub.NETAPI32.dll_NetUserGetLocalGroups
mov dword [rbp + 0x2c], eax
mov eax, dword [rbp + 0x2c]
mov dword [rbp + 0x34], eax
mov eax, dword [rbp + 0x34]
test eax, eax
jne 0x14002f803
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0xd0]
test rax, rax
je 0x14002f71d
mov dword [rbp + 0x20], 0
mov dword [rbp + 0x3c], 0
mov eax, dword [rbp + 0x3c]
mov edx, dword [rbp + 0xc]
cmp eax, edx
jb 0x14002f4b3
jmp 0x14002f55f
mov eax, 1
add eax, dword [rbp + 0x3c]
mov dword [rbp + 0x3c], eax
jmp 0x14002f497
mov rax, qword [rbp + 0xd8]
test rax, rax
je 0x14002f4a6
mov eax, 0
mov edx, 0
mov rcx, qword [rbp + 0xd8]
mov rcx, qword [rcx]
mov ebx, 0xffffffff
lea rsi, [rbp + 0x266]
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x28], 0x10e
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov rsi, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rbp + 0x128], rcx
mov ecx, eax
mov rax, qword [rbp + 0x128]
mov r8, rax
mov r9d, ebx
call rsi
mov dword [rbp + 0x50], eax
lea rax, [rbp + 0x266]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rbp + 0xf0], rax
mov eax, 1
add eax, dword [rbp + 0xf0]
add eax, dword [rbp + 0x20]
mov dword [rbp + 0x20], eax
mov eax, 8
add rax, qword [rbp + 0xd8]
mov qword [rbp + 0xd8], rax
jmp 0x14002f4a6
mov eax, 1
add eax, dword [rbp + 0x20]
mov dword [rbp + 0x20], eax
mov eax, dword [rbp + 0x20]
movsxd rax, eax
mov rdx, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
call rdx
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0xa0]
test rax, rax
jne 0x14002f5a9
mov dword [rbp + 0x14], 2
jmp 0x14002f900
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0xd8], rax
mov dword [rbp + 0x20], 0
mov dword [rbp + 0x3c], 0
mov eax, dword [rbp + 0x3c]
mov edx, dword [rbp + 0xc]
cmp eax, edx
jb 0x14002f5e1
jmp 0x14002f6a6
mov eax, 1
add eax, dword [rbp + 0x3c]
mov dword [rbp + 0x3c], eax
jmp 0x14002f5c5
mov rax, qword [rbp + 0xd8]
test rax, rax
je 0x14002f5d4
mov eax, 0
mov edx, 0
mov rcx, qword [rbp + 0xd8]
mov rcx, qword [rcx]
mov ebx, 0xffffffff
lea rsi, [rbp + 0x266]
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x28], 0x10e
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov rsi, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rbp + 0x130], rcx
mov ecx, eax
mov rax, qword [rbp + 0x130]
mov r8, rax
mov r9d, ebx
call rsi
mov dword [rbp + 0x70], eax
mov eax, dword [rbp + 0x20]
movsxd rax, eax
add rax, qword [rbp + 0xa0]
lea rdx, [0x1400bff3c]
lea rcx, [rbp + 0x266]
mov qword [rbp + 0x138], rcx
mov rcx, rax
mov rax, qword [rbp + 0x138]
mov r8, rax
call fcn.1400012e0
mov dword [rbp + 0x78], eax
mov eax, dword [rbp + 0x78]
add eax, dword [rbp + 0x20]
mov dword [rbp + 0x20], eax
mov eax, 8
add rax, qword [rbp + 0xd8]
mov qword [rbp + 0xd8], rax
jmp 0x14002f5d4
mov rax, qword [rbp + 0xa0]
test rax, rax
je 0x14002f71d
mov rax, qword [rbp + 0xa0]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rbp + 0xf8], rax
mov eax, dword [rbp + 0xf8]
mov dword [rbp + 0x20], eax
mov eax, dword [rbp + 0x20]
test eax, eax
jle 0x14002f70d
mov eax, 0xffffffff
add eax, dword [rbp + 0x20]
movsxd rax, eax
add rax, qword [rbp + 0xa0]
movsx eax, byte [rax]
movsx rax, al
cmp eax, 0x2c
jne 0x14002f70d
mov eax, 0xffffffff
add eax, dword [rbp + 0x20]
movsxd rax, eax
add rax, qword [rbp + 0xa0]
mov byte [rax], 0
jmp 0x14002f71d
mov eax, dword [rbp + 0x20]
movsxd rax, eax
add rax, qword [rbp + 0xa0]
mov byte [rax], 0
mov rax, qword [rbp + 0xa0]
test rax, rax
je 0x14002f739
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0xe0], rax
jmp 0x14002f747
lea rax, [0x1400b075c]
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0x390]
mov rdx, qword [rbp + 0xe0]
mov rcx, rax
call fcn.140024a10
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
test eax, eax
je 0x14002f785
lea rax, str.ssprvfexGetUsrGps:_unable_to_wrap_val_message_n
mov rcx, rax
call fcn.140001114
mov dword [rbp + 0x58], eax
mov dword [rbp + 0x14], 1
jmp 0x14002f900
mov rax, qword [rbp + 0x390]
mov edx, 0
mov rcx, rax
call fcn.14002483b
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x5c]
test eax, eax
je 0x14002f7c1
lea rax, str.ssprvfexGetUsrGps:_unable_to_wrap_vres_n
mov rcx, rax
call fcn.140001114
mov dword [rbp + 0x68], eax
mov dword [rbp + 0x14], 1
jmp 0x14002f900
mov rax, qword [rbp + 0x390]
lea rdx, str.Exectask:_getusergroups_successful
mov rcx, rax
call fcn.14002d658
mov dword [rbp + 0x6c], eax
mov eax, dword [rbp + 0x6c]
test eax, eax
je 0x14002f900
lea rax, str.ssprvfexGetUsrGps:_unable_to_wrap_log_message_n
mov rcx, rax
call fcn.140001114
mov dword [rbp + 0x7c], eax
mov dword [rbp + 0x14], 1
jmp 0x14002f900
lea rax, [rbp + 0x158]
mov edx, dword [rbp + 0x20]
movsxd rdx, edx
add rax, rdx
lea rdx, str.No_such_user
mov rcx, rax
call fcn.1400012e0
mov dword [rbp + 0x38], eax
mov rax, qword [rbp + 0x390]
lea rdx, [rbp + 0x158]
mov rcx, rax
call fcn.140024a10
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x40]
test eax, eax
je 0x14002f863
lea rax, str.ssprvfexGetUsrGps:_unable_to_wrap_val_message_n
mov rcx, rax
call fcn.140001114
mov dword [rbp + 0x48], eax
mov dword [rbp + 0x14], 1
jmp 0x14002f900
lea rax, [rbp + 0x158]
lea rdx, str.ssprvfexGetUsrGps:_A_system_error_has_occurred:__d_n
mov ecx, dword [rbp + 0x34]
mov dword [rbp + 0x140], ecx
mov rcx, rax
mov eax, dword [rbp + 0x140]
mov r8d, eax
call fcn.1400012e0
mov dword [rbp + 0x4c], eax
mov rax, qword [rbp + 0x390]
lea rdx, [rbp + 0x158]
mov rcx, rax
call fcn.14002d658
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x54]
test eax, eax
je 0x14002f8c9
lea rax, str.ssprvfexGetUsrGps:_unable_to_wrap_log_message_n
mov rcx, rax
call fcn.140001114
mov dword [rbp + 0x60], eax
mov dword [rbp + 0x14], 1
jmp 0x14002f900
mov rax, qword [rbp + 0x390]
mov edx, 1
mov rcx, rax
call fcn.14002483b
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
test eax, eax
je 0x14002f900
lea rax, str.ssprvfexGetUsrGps:_unable_to_wrap_verification_result_n
mov rcx, rax
call fcn.140001114
mov dword [rbp + 0x74], eax
mov dword [rbp + 0x14], 1
mov rax, qword [rbp + 0x98]
test rax, rax
je 0x14002f91e
mov rax, qword [rbp + 0x98]
mov rcx, rax
call sub.NETAPI32.dll_NetApiBufferFree
mov dword [rbp + 0x30], eax
mov rax, qword [rbp + 0xa8]
test rax, rax
je 0x14002f93d
mov rax, qword [rbp + 0xa8]
mov rdx, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rax
call rdx
mov rax, qword [rbp + 0xa0]
test rax, rax
je 0x14002f95c
mov rax, qword [rbp + 0xa0]
mov rdx, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rax
call rdx
mov eax, dword [rbp + 0x14]
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x378]
mov qword [rbp + 0x378], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x84]
mov rbx, qword [rbp + 0x148]
mov rsi, qword [rbp + 0x150]
lea rsp, [rbp + 0x380]
pop rbp
ret