Function at 0x14000c040
Capabilities:
Get session user name

Disassembly:
push rbp
sub rsp, 0x1b0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x128], 0xfffffffffffffffe
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x20], rcx
mov dword [rbp + 0x2c], 0
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x120], 0
xor eax, eax
mov ecx, eax
lea rdx, [rbp + 0x2c]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp eax, 0
sete al
mov cl, al
and cl, 1
mov byte [rbp + 0xee], cl
test al, 1
jne 0x14000c0bb
lea rcx, [0x14003b8ce]
lea r8, [0x14003b948]
mov edx, 0x16
call fcn.140039330
call fcn.140009040
mov qword [rbp + 0x38], rax
lea rcx, [rbp + 0x38]
call fcn.140008fa0
mov dword [rbp + 0x10], edx
mov dword [rbp + 0x14], eax
jmp 0x14000c0d5
mov eax, dword [rbp + 0x10]
mov ecx, dword [rbp + 0x14]
mov dword [rbp + 0x30], ecx
mov dword [rbp + 0x34], eax
lea rdx, [0x14003b960]
lea rcx, [rbp + 0x30]
call fcn.140009600
mov byte [rbp + 0xf], al
jmp 0x14000c0f6
mov al, byte [rbp + 0xf]
test al, 1
jne 0x14000c13e
jmp 0x14000c0ff
lea rcx, [rbp + 0x38]
call fcn.1400098c0
mov ecx, dword [rbp + 0x2c]
call fcn.14000a0b0
mov rcx, rax
mov r8, 0xffffffffffffffff
call fcn.14000b900
mov rdx, rax
lea rcx, [rbp + 0x40]
mov qword [rbp - 8], rcx
call fcn.14000bb50
mov rcx, qword [rbp - 8]
call fcn.14000bcb0
mov qword [rbp], rax
jmp 0x14000c169
lea rcx, [rbp + 0x38]
call fcn.1400098c0
call fcn.140009040
mov rcx, rax
mov rax, qword [rbp + 0x18]
mov qword [rax + 8], rcx
movabs rcx, 0x8000000000000000
mov qword [rax], rcx
jmp 0x14000c36e
mov rcx, qword [rbp]
call fcn.14000a0d0
mov dword [rbp - 0x10], edx
mov dword [rbp - 0xc], eax
jmp 0x14000c17a
mov edx, dword [rbp - 0x10]
mov ecx, dword [rbp - 0xc]
mov r8d, 0xffffffff
call fcn.14000b950
mov dword [rbp - 0x14], eax
jmp 0x14000c190
mov eax, dword [rbp - 0x14]
mov dword [rbp + 0x2c], eax
mov eax, dword [rbp + 0x2c]
mov dword [rbp + 0x58], eax
lea rcx, [rbp + 0x40]
call fcn.14000bba0
mov qword [rbp - 0x20], rax
jmp 0x14000c1ab
mov rcx, qword [rbp - 0x20]
mov qword [rbp + 0x110], rcx
lea rdx, [rbp + 0x2c]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp eax, 0
sete al
mov cl, al
and cl, 1
mov byte [rbp + 0xef], cl
test al, 1
jne 0x14000c1f5
lea rax, [rbp + 0x58]
mov qword [rbp + 0xf0], rax
lea rax, [rbp + 0x2c]
mov qword [rbp + 0xf8], rax
mov eax, dword [rbp + 0x58]
cmp eax, dword [rbp + 0x2c]
je 0x14000c233
jmp 0x14000c203
call fcn.140009040
mov qword [rbp - 0x28], rax
jmp 0x14000c37b
mov byte [rbp + 0x5f], 0
mov qword [rbp + 0x60], 0
mov cl, byte [rbp + 0x5f]
lea rdx, [0x14003b968]
mov rax, rsp
mov qword [rax + 0x20], rdx
lea rdx, [rbp + 0x58]
lea r8, [rbp + 0x2c]
lea r9, [rbp + 0x60]
call fcn.14000b9f0
jmp 0x14000c245
mov ecx, dword [rbp + 0x2c]
call fcn.14000a0b0
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x30], rax
jmp 0x14000c247
ud2
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
mov r8, 0xffffffffffffffff
call fcn.14000b900
mov qword [rbp - 0x40], rax
jmp 0x14000c261
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp + 0x40]
call fcn.14000bc90
jmp 0x14000c270
lea rcx, [rbp + 0x40]
call fcn.14000bbc0
mov word [rbp - 0x44], dx
mov word [rbp - 0x42], ax
jmp 0x14000c283
mov ax, word [rbp - 0x44]
mov cx, word [rbp - 0x42]
mov word [rbp + 0x92], cx
mov word [rbp + 0x94], ax
lea rcx, [rbp + 0x92]
mov qword [rbp + 0x100], rcx
lea rdx, [0x14003b980]
mov qword [rbp + 0x108], rdx
call fcn.14000ae60
mov byte [rbp - 0x45], al
jmp 0x14000c2bf
mov al, byte [rbp - 0x45]
test al, 1
jne 0x14000c30d
jmp 0x14000c2c8
mov byte [rbp + 0x97], 0
mov qword [rbp + 0x98], 0
mov cl, byte [rbp + 0x97]
lea rdx, [0x14003b988]
mov rax, rsp
mov qword [rax + 0x20], rdx
lea r8, [0x14003b980]
lea rdx, [rbp + 0x92]
lea r9, [rbp + 0x98]
call fcn.14000b9a0
jmp 0x14000c245
lea rcx, [rbp + 0x40]
call fcn.14000bf00
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x50], rax
jmp 0x14000c320
mov r8, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp + 0xc8]
call fcn.140015c80
jmp 0x14000c336
mov rax, qword [rbp + 0x18]
mov rcx, qword [rbp + 0xc8]
mov qword [rax], rcx
mov rcx, qword [rbp + 0xd0]
mov qword [rax + 8], rcx
mov rcx, qword [rbp + 0xd8]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbp + 0xe0]
mov qword [rax + 0x18], rcx
lea rcx, [rbp + 0x40]
call fcn.140009960
mov rax, qword [rbp + 0x20]
add rsp, 0x1b0
pop rbp
ret
mov rax, qword [rbp + 0x18]
mov rcx, qword [rbp - 0x28]
mov qword [rax + 8], rcx
movabs rcx, 0x8000000000000000
mov qword [rax], rcx
lea rcx, [rbp + 0x40]
call fcn.140009960
jmp 0x14000c36e