Function at 0x14001db70
Capabilities:
Get user security identifier

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x5f0]
sub rsp, 0x6f0
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0x5e0], rax
mov r15, r8
mov rdi, rdx
mov r14d, ecx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.140043ce0
mov esi, ebx
cmp r14d, 0xffffffff
je 0x14001de1e
mov rax, qword [0x1400971a8]
mov qword [rsp + 0x40], rbx
test rax, rax
je 0x14001de1e
lea rcx, [rsp + 0x58]
mov edx, r14d
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
xor ecx, ecx
lea r8d, [rbx + 5]
call rax
test eax, eax
je 0x14001de1e
mov rcx, qword [rsp + 0x40]
movzx eax, word [rcx]
cmp ax, word [0x1400815c8]
je 0x14001dc25
mov r8, rcx
mov edx, 0x104
lea rcx, [rbp - 0x50]
call fcn.140049578
mov rcx, qword [rsp + 0x40]
lea esi, [rbx + 1]
mov rax, qword [0x1400971b0]
test rax, rax
je 0x14001dc33
call rax
test esi, esi
je 0x14001de1e
test rdi, rdi
je 0x14001dc51
lea r8, [rbp - 0x50]
mov edx, 0x104
mov rcx, rdi
call fcn.140049578
xor eax, eax
mov dword [rsp + 0x40], 0x44
xor edx, edx
mov qword [rsp + 0x60], rax
mov r8d, 0x208
mov qword [rsp + 0x68], rax
lea rcx, [rbp + 0x1c0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], eax
call fcn.140043ce0
lea rax, [rsp + 0x58]
mov dword [rsp + 0x5c], 0x104
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x5c]
xor ecx, ecx
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x60]
lea rax, [rbp + 0x1c0]
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_security_lsalookup_l2_1_0.dll_LookupAccountNameW]
test eax, eax
je 0x14001de1e
cmp dword [rsp + 0x58], 1
jne 0x14001dd25
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x48], rbx
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_security_sddl_l1_1_0.dll_ConvertSidToStringSidW]
test eax, eax
je 0x14001de1e
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x14001de1e
mov edx, 0x104
mov rcx, r15
call fcn.140049578
mov rcx, qword [rsp + 0x48]
jmp 0x14001de13
xor edx, edx
lea rcx, [rbp + 0x3d0]
mov r8d, 0x208
call fcn.140043ce0
lea rax, [rbp - 0x50]
mov edx, 0x104
lea r9, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
lea r8, [0x140080d48]
lea rcx, [rbp + 0x3d0]
call fcn.1400032c0
xor eax, eax
mov dword [rsp + 0x40], 0x44
mov qword [rsp + 0x60], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x60]
mov qword [rsp + 0x70], rax
lea rdx, [rbp + 0x3d0]
mov qword [rsp + 0x78], rax
xor ecx, ecx
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], eax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x5c], 0x104
call qword [sym.imp.api_ms_win_security_lsalookup_l2_1_0.dll_LookupAccountNameW]
test eax, eax
je 0x14001de1e
cmp dword [rsp + 0x58], 1
jne 0x14001de1e
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_security_sddl_l1_1_0.dll_ConvertSidToStringSidW]
test eax, eax
je 0x14001de1e
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x14001de1e
mov edx, 0x104
mov rcx, r15
call fcn.140049578
mov rcx, qword [rsp + 0x50]
mov ebx, 1
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov eax, ebx
mov rcx, qword [rbp + 0x5e0]
xor rcx, rsp
call fcn.14001f4e0
mov rbx, qword [rsp + 0x738]
add rsp, 0x6f0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret