Function at 0x1400736e4
Capabilities:
Get user security identifier

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov rax, qword [0x1400be7a8]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov qword [rsp + 0x60], rdx
lea rbx, [0x1400bff64]
mov r13, rcx
mov qword [rsp + 0x58], rbx
xor r14d, r14d
mov dword [rsp + 0x50], 0x44
xor edx, edx
mov qword [rsp + 0x40], r14
lea rcx, [rbp - 0x40]
mov dword [rsp + 0x48], 1
mov r8d, 0x208
call sub.msvcrt.dll_memset
mov dword [rsp + 0x4c], 0x104
mov edi, r14d
test r13, r13
je 0x140073ade
or r12, 0xffffffffffffffff
mov rax, r12
inc rax
cmp word [r13 + rax*2], r14w
jne 0x140073773
cmp rax, 0x21b
jae 0x140073ade
lea rcx, [rsp + 0x58]
call fcn.140079f1c
test eax, eax
jns 0x1400737a9
movzx edi, ax
test edi, edi
je 0x1400737a9
mov rbx, qword [rsp + 0x58]
jmp 0x140073b0f
mov rbx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x4c]
mov rdx, rbx
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x70]
lea rax, [rbp - 0x40]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_security_lsalookup_l2_1_0.dll_LookupAccountNameW]
nop dword [rax + rax]
test eax, eax
jne 0x14007380a
mov rcx, qword [0x1400be2f8]
lea rax, [0x1400be2f8]
cmp rcx, rax
je 0x140073852
test byte [rcx + 0x44], 0x80
je 0x140073852
mov edx, 0xb
jmp 0x140073842
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_security_sddl_l1_1_0.dll_ConvertSidToStringSidW]
nop dword [rax + rax]
test eax, eax
jne 0x140073862
mov rcx, qword [0x1400be2f8]
lea rax, [0x1400be2f8]
cmp rcx, rax
je 0x140073852
test byte [rcx + 0x44], 0x80
je 0x140073852
mov edx, 0xc
mov rcx, qword [rcx + 0x38]
lea r8, [0x1400a4240]
call fcn.14002c20c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
jmp 0x140073895
mov rcx, qword [0x1400be2f8]
lea rax, [0x1400be2f8]
cmp rcx, rax
je 0x14007389d
test byte [rcx + 0x44], 0x80
je 0x14007389d
mov r9, qword [rsp + 0x40]
lea r8, [0x1400a4240]
mov rcx, qword [rcx + 0x38]
mov edx, 0xd
call fcn.14004378c
test edi, edi
jne 0x140073b0f
mov rax, qword [rsp + 0x40]
mov rdi, r12
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x1400738a5
add edi, 0x294
lea ecx, [rdi + rdi]
call sym.spoolsv.exe_PrvDllAllocSplMem
mov r15, rax
test rax, rax
je 0x140073ace
lea rcx, [rdi - 1]
mov esi, edi
cmp rcx, 0x7ffffffe
ja 0x140073aac
mov ecx, esi
mov rdx, rax
cmp word [rdx], r14w
je 0x1400738f1
add rdx, 2
sub rcx, 1
jne 0x1400738e1
mov rax, rcx
mov r14d, 0x80070057
neg rax
sbb eax, eax
xor r10d, r10d
not eax
and eax, r14d
test rcx, rcx
je 0x140073914
mov rdx, rsi
sub rdx, rcx
jmp 0x140073917
mov rdx, r10
test rcx, rcx
je 0x14007397a
mov rcx, rsi
lea r8, [r15 + rdx*2]
sub rcx, rdx
je 0x14007395f
sub rdx, rsi
lea rax, [rcx + 0x7ffffffe]
add rax, rdx
lea r9, str.SOFTWAREMicrosoftWindows_NTCurrentVersionPrintProvidersClient_Side_Rendering_Print_Provider_
sub r9, r8
test rax, rax
je 0x14007395f
movzx edx, word [r9 + r8]
test dx, dx
je 0x14007395f
mov word [r8], dx
dec rax
add r8, 2
sub rcx, 1
jne 0x14007393f
test rcx, rcx
lea rax, [r8 - 2]
cmovne rax, r8
neg rcx
mov word [rax], r10w
sbb eax, eax
not eax
and eax, 0x8007007a
test eax, eax
js 0x140073ab1
mov r8, qword [rsp + 0x40]
mov rdx, rsi
mov rcx, r15
call fcn.14000e29c
xor r10d, r10d
test eax, eax
js 0x140073ab1
lea rax, [rdi - 1]
cmp rax, 0x7ffffffe
ja 0x140073aa7
mov rcx, rsi
mov rax, r15
cmp word [rax], r10w
je 0x1400739c3
add rax, 2
sub rcx, 1
jne 0x1400739b3
mov rax, rcx
neg rax
sbb eax, eax
not eax
and eax, r14d
test rcx, rcx
je 0x1400739dd
mov rdx, rsi
sub rdx, rcx
jmp 0x1400739e0
mov rdx, r10
test rcx, rcx
je 0x140073a43
mov rcx, rsi
lea r8, [r15 + rdx*2]
sub rcx, rdx
je 0x140073a28
sub rdx, rsi
lea rax, [rcx + 0x7ffffffe]
add rax, rdx
lea r9, str.PrintersConnections_
sub r9, r8
test rax, rax
je 0x140073a28
movzx edx, word [r9 + r8]
test dx, dx
je 0x140073a28
mov word [r8], dx
dec rax
add r8, 2
sub rcx, 1
jne 0x140073a08
test rcx, rcx
lea rax, [r8 - 2]
cmovne rax, r8
neg rcx
mov word [rax], r10w
sbb eax, eax
not eax
and eax, 0x8007007a
test eax, eax
js 0x140073ab1
mov rcx, qword [rsp + 0x40]
mov rax, r12
inc rax
cmp word [rcx + rax*2], r10w
jne 0x140073a4f
sub edi, eax
inc r12
cmp word [rcx + r12*2], r10w
jne 0x140073a5b
lea rdx, [r12 + 0x78]
mov rcx, r13
lea rdx, [r15 + rdx*2]
lea r8d, [rdi - 0x78]
call sym.spoolsv.exe_PrvFormatPrinterForRegistryKey
mov rax, qword [rsp + 0x60]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r15
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov edi, eax
jmp 0x140073ab4
mov eax, r14d
jmp 0x140073ab1
mov eax, 0x80070057
movzx edi, ax
mov rcx, qword [0x1400c02b8]
mov r8, r15
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
jmp 0x140073b0f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
jmp 0x140073b0f
mov edi, 0x57
mov rcx, qword [0x1400be2f8]
lea rax, [0x1400be2f8]
cmp rcx, rax
je 0x140073b0f
test byte [rcx + 0x44], 0x80
je 0x140073b0f
mov rcx, qword [rcx + 0x38]
lea edx, [rdi - 0x4d]
lea r8, [0x1400a4240]
call fcn.14002c20c
mov rdx, rbx
call fcn.1400105ac
mov eax, edi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140014250
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret