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

Disassembly:
jmp 0x14001de10
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x11b0]
mov eax, 0x12b0
call fcn.140001046
sub rsp, rax
mov rax, qword [0x1400d3008]
xor rax, rsp
mov qword [rbp + 0x11a0], rax
xor ebx, ebx
lea rdx, str..DEFAULT
mov dword [rsp + 0x40], ebx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor edx, edx
mov qword [rsp + 0x48], rbx
mov r8d, 0x208
lea rcx, [rbp + 0x790]
call fcn.140002eeb
xor edx, edx
lea rcx, [rbp + 0x580]
mov r8d, 0x208
call fcn.140002eeb
xor edx, edx
lea rcx, [rbp + 0x370]
mov r8d, 0x208
call fcn.140002eeb
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 0x14001e00f
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 0x14001e00f
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 0x14001e00f
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.140003f58
mov rdi, rax
test rax, rax
je 0x14001e00f
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], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x580]
lea rax, [rbp + 0x9a0]
mov dword [rsp + 0x58], 0x400
mov r8, rdi
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov rcx, rdi
test eax, eax
jne 0x14001e039
call fcn.1400039d1
xor al, al
mov rcx, qword [rbp + 0x11a0]
xor rcx, rsp
call fcn.140001ec4
lea r11, [rsp + 0x12b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], 0xff
lea rdx, [rsp + 0x60]
call fcn.140001b36
mov rcx, rdi
mov ebx, eax
call fcn.1400039d1
test ebx, ebx
je 0x14001e00f
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 0x14001e099
lea rcx, [rsp + 0x60]
call fcn.1400037e2
test eax, eax
je 0x14001e00f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov al, 1
jmp 0x14001e011