Function at 0x1400132a0
Capabilities:
Get user security identifier
Query or enumerate registry value

Disassembly:
jmp 0x1400132a0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x11b0]
mov eax, 0x12b0
call fcn.140001055
sub rsp, rax
mov rax, qword [0x1400c1008]
xor rax, rsp
mov qword [rbp + 0x11a0], rax
lea rdx, str..DEFAULT
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor ebx, ebx
lea rcx, [rbp + 0x790]
xor edx, edx
mov qword [rsp + 0x48], rbx
mov r8d, 0x208
call fcn.140002da1
xor edx, edx
lea rcx, [rbp + 0x580]
mov r8d, 0x208
call fcn.140002da1
xor edx, edx
lea rcx, [rbp + 0x370]
mov r8d, 0x208
call fcn.140002da1
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
mov dword [rsp + 0x50], ebx
lea rcx, [rbp + 0x370]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x370]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140013514
lea rdx, str.AltDefaultDomainName
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rbp + 0x790]
mov dword [rsp + 0x40], 0x104
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x160]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140013514
lea rdx, str.AltDefaultUserName
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rbp + 0x580]
mov dword [rsp + 0x40], 0x104
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x160]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140013514
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [rbx + 1]
mov dword [rsp + 0x5c], 0x400
mov ecx, 0x400
call fcn.140003cce
mov rbx, rax
test rax, rax
je 0x140013514
lea rax, [rsp + 0x54]
mov dword [rsp + 0x54], 1
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x5c]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x40], 0xc
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x580]
lea rax, [rbp + 0x9a0]
mov dword [rsp + 0x58], 0x400
mov r8, rbx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x14001350c
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], 0xff
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140001ab9
test eax, eax
je 0x14001350c
mov rcx, rbx
call fcn.1400037ab
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400134ef
lea rcx, [rsp + 0x60]
call fcn.140003602
test eax, eax
je 0x140013514
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov al, 1
jmp 0x140013516
mov rcx, rbx
call fcn.1400037ab
xor al, al
mov rcx, qword [rbp + 0x11a0]
xor rcx, rsp
call fcn.140001e15
lea r11, [rsp + 0x12b0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret