Function at 0x180014e40
Capabilities:
Get session user name

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xe10]
sub rsp, 0xf10
mov rax, qword [0x18005c010]
xor rax, rsp
mov qword [rbp + 0xe00], rax
mov rdi, r8
mov rsi, rdx
mov r15, rcx
xor r12d, r12d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x9e0]
call fcn.180019360
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x7d0]
call fcn.180019360
test rsi, rsi
je 0x180015295
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.180019360
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xbf0]
call fcn.180019360
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x5c0]
call fcn.180019360
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3b0]
call fcn.180019360
lea rdx, str.Machine8EBCAB28_94D0_4A6E_99DE_0B5A4F68741B
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rdx + rax], r12b
jne 0x180014f06
test rax, rax
je 0x180015295
mov r8d, 0x104
lea rcx, [rbp - 0x70]
call fcn.180026b70
lea rdx, [rbp - 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.8EBCAB28_94D0_4A6E_99DE_0B5A4F68741B
mov rax, rbx
nop
inc rax
cmp byte [rdx + rax], r12b
jne 0x180014f40
lea rcx, [rbp + 0x5c0]
test rax, rax
je 0x180014f62
mov r8d, 0x104
call fcn.180026b70
jmp 0x180014f6c
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.Microsoft_Update_Center
mov rax, rbx
inc rax
cmp byte [rdx + rax], r12b
jne 0x180014f76
lea rcx, [rbp + 0x3b0]
test rax, rax
je 0x180014f98
mov r8d, 0x104
call fcn.180026b70
jmp 0x180014fa2
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, r12d
mov qword [rsp + 0x50], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x50]
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x180014ff2
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x60]
lea edx, [r9 + 0x10]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne edi, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180015002
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
setne r14b
mov dword [rsp + 0x60], 0x104
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x18001503a
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x9e0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x1a0]
call fcn.180019360
call fcn.180017afc
mov rcx, rax
movabs rax, 0xd6bf94d5e57a42bd
imul rcx
add rdx, rcx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x68]
call fcn.1800273d4
mov r9, rax
lea r8, str._Y__m__dT_H:_M:_S
mov edx, 0x104
lea rcx, [rbp + 0x1a0]
call fcn.1800270b8
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp + 0x1a0]
inc rbx
cmp byte [rax + rbx], r12b
jne 0x1800150b5
mov r8, rbx
lea rdx, [rbp + 0x1a0]
lea rcx, [rsp + 0x70]
call fcn.180009950
nop
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8d, 0x104
lea rcx, [rbp + 0xbf0]
call fcn.180026b70
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x50], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x58]
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1800151d6
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ebx, dword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x60]
mov r8, rbx
mov edx, 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1800151b2
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
test eax, eax
je 0x1800151b2
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp + 0x7d0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbx, rbx
je 0x1800151cb
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x9e0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x18001525d
lea rcx, [rbp + 0x7d0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x18001525d
lea r9, [rbp + 0x5c0]
lea r8, [rbp + 0xbf0]
lea rdx, [rbp - 0x70]
mov rcx, r15
test edi, edi
je 0x180015229
mov qword [rsp + 0x28], rsi
lea rax, [rbp + 0x3b0]
mov qword [rsp + 0x20], rax
call fcn.180013100
jmp 0x18001525d
mov byte [rsp + 0x40], r14b
lea rax, [rbp + 0x7d0]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x9e0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
lea rax, [rbp + 0x3b0]
mov qword [rsp + 0x20], rax
call fcn.180013ef0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x180015295
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015290
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800152b8
call fcn.180015eb8
xor eax, eax
mov rcx, qword [rbp + 0xe00]
xor rcx, rsp
call fcn.180015840
add rsp, 0xf10
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18001de6c
int3