Function at 0x1400a5b90
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x498
mov rax, qword [0x1401b51c0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov dword [rsp + 0x20], 0
call fcn.1400904f0
mov dword [rsp + 0x3c8], 0x64
lea rdx, [rsp + 0x3c8]
lea rcx, [rsp + 0x410]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rdx, [rsp + 0x410]
lea rcx, [rsp + 0x3f0]
call fcn.1400636a0
nop
xor eax, eax
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 0
lea rdx, [0x14010b9b8]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x50], al
mov eax, 1
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 1
lea rdx, [0x14010b9b8]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x51], al
mov eax, 2
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 2
lea rdx, [0x14010b9b8]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x52], al
mov eax, 3
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 3
lea rdx, [0x14010b9b8]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x53], al
mov eax, 4
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 4
lea rdx, [0x14010b9b8]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x54], al
mov eax, 5
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 5
lea rdx, [0x14010b9b8]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x55], al
mov eax, 6
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 6
lea rdx, [0x14010b9b8]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x56], al
mov eax, 7
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 7
lea rdx, [0x14010b9b8]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x57], al
mov eax, 8
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 8
lea rdx, [0x14010b9b8]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x58], al
mov byte [rsp + 0x59], 0
mov byte [rsp + 0x5a], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x148], rax
xor eax, eax
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 0
lea rdx, [0x14010b9c4]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x28], al
mov eax, 1
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 1
lea rdx, [0x14010b9c4]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x29], al
mov eax, 2
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 2
lea rdx, [0x14010b9c4]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x2a], al
mov eax, 3
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 3
lea rdx, [0x14010b9c4]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x2b], al
mov eax, 4
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 4
lea rdx, [0x14010b9c4]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x2c], al
mov eax, 5
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 5
lea rdx, [0x14010b9c4]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x2d], al
mov byte [rsp + 0x2e], 0
mov byte [rsp + 0x2f], 1
lea rax, [rsp + 0x28]
mov qword [rsp + 0x110], rax
xor eax, eax
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 0
lea rdx, [0x14010b9d0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x70], al
mov eax, 1
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 1
lea rdx, [0x14010b9d0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x71], al
mov eax, 2
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 2
lea rdx, [0x14010b9d0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x72], al
mov eax, 3
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 3
lea rdx, [0x14010b9d0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x73], al
mov eax, 4
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 4
lea rdx, [0x14010b9d0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x74], al
mov eax, 5
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 5
lea rdx, [0x14010b9d0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x75], al
mov eax, 6
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 6
lea rdx, [0x14010b9d0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x76], al
mov eax, 7
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 7
lea rdx, [0x14010b9d0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x77], al
mov eax, 8
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 8
lea rdx, [0x14010b9d0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x78], al
mov eax, 9
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 9
lea rdx, [0x14010b9d0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x79], al
mov eax, 0xa
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 0xa
lea rdx, [0x14010b9d0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x7a], al
mov byte [rsp + 0x7b], 0
mov byte [rsp + 0x7c], 1
lea rax, [rsp + 0x70]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x4a8]
mov qword [rsp + 0xb8], rax
xor eax, eax
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 0
lea rdx, [0x14010b9e0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x60], al
mov eax, 1
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 1
lea rdx, [0x14010b9e0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x61], al
mov eax, 2
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 2
lea rdx, [0x14010b9e0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x62], al
mov eax, 3
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 3
lea rdx, [0x14010b9e0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x63], al
mov eax, 4
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 4
lea rdx, [0x14010b9e0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x64], al
mov eax, 5
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 5
lea rdx, [0x14010b9e0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x65], al
mov eax, 6
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 6
lea rdx, [0x14010b9e0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x66], al
mov eax, 7
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 7
lea rdx, [0x14010b9e0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x67], al
mov eax, 8
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 8
lea rdx, [0x14010b9e0]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x68], al
mov byte [rsp + 0x69], 0
mov byte [rsp + 0x6a], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x90], rax
xor eax, eax
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 0
lea rdx, str.pcuser
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x30], al
mov eax, 1
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 1
lea rdx, str.pcuser
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x31], al
mov eax, 2
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 2
lea rdx, str.pcuser
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x32], al
mov eax, 3
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 3
lea rdx, str.pcuser
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x33], al
mov eax, 4
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 4
lea rdx, str.pcuser
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x34], al
mov eax, 5
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 5
lea rdx, str.pcuser
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x35], al
mov eax, 6
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 6
lea rdx, str.pcuser
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x36], al
mov eax, 7
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 7
lea rdx, str.pcuser
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x37], al
mov byte [rsp + 0x38], 0
mov byte [rsp + 0x39], 1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x1a8], rax
xor eax, eax
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 0
lea rdx, str.typelog
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x40], al
mov eax, 1
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 1
lea rdx, str.typelog
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x41], al
mov eax, 2
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 2
lea rdx, str.typelog
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x42], al
mov eax, 3
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 3
lea rdx, str.typelog
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x43], al
mov eax, 4
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 4
lea rdx, str.typelog
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x44], al
mov eax, 5
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 5
lea rdx, str.typelog
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x45], al
mov eax, 6
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 6
lea rdx, str.typelog
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x46], al
mov eax, 7
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 7
lea rdx, str.typelog
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x47], al
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x49], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x1b0], rax
mov r8, qword [rsp + 0x1a8]
mov rdx, qword [rsp + 0x1b0]
lea rcx, [rsp + 0x348]
call fcn.140076970
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1c0], rax
lea r8, [rsp + 0x3f0]
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0x328]
call fcn.140066d00
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x248]
mov rcx, qword [rsp + 0x90]
call fcn.1400b21c0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x228]
call fcn.140076790
mov eax, dword [rsp + 0x20]
or eax, 8
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x248]
call fcn.140063580
lea rax, [rsp + 0x228]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xc0], rax
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x308]
call fcn.140066d00
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xf0], rax
lea rdx, [rsp + 0x268]
mov rcx, qword [rsp + 0xd8]
call fcn.1400b2280
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x208]
call fcn.140076790
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x268]
call fcn.140063580
lea rax, [rsp + 0x208]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x4a0]
add rax, 0x238
mov r8, rax
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x2e8]
call fcn.140066d00
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x128], rax
lea rdx, [rsp + 0x288]
mov rcx, qword [rsp + 0x110]
call fcn.1400b20a0
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x120], rax
mov r8, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x1e8]
call fcn.140076790
mov eax, dword [rsp + 0x20]
bts eax, 9
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x288]
call fcn.140063580
lea rax, [rsp + 0x1e8]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x4a0]
mov r8, rax
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0x2c8]
call fcn.140066d00
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x160], rax
lea rdx, [rsp + 0x2a8]
mov rcx, qword [rsp + 0x148]
call fcn.1400b21c0
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x158], rax
mov r8, qword [rsp + 0x158]
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x1c8]
call fcn.140076790
mov eax, dword [rsp + 0x20]
bts eax, 0xc
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x2a8]
call fcn.140063580
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x4a0]
add rax, 0x20
mov r8, rax
mov rdx, qword [rsp + 0x168]
lea rcx, [rsp + 0x3d0]
call fcn.140066d00
nop
lea rcx, [rsp + 0x1c8]
call fcn.140063580
nop
lea rcx, [rsp + 0x2c8]
call fcn.140063580
nop
lea rcx, [rsp + 0x1e8]
call fcn.140063580
nop
lea rcx, [rsp + 0x2e8]
call fcn.140063580
nop
lea rcx, [rsp + 0x208]
call fcn.140063580
nop
lea rcx, [rsp + 0x308]
call fcn.140063580
nop
lea rcx, [rsp + 0x228]
call fcn.140063580
nop
lea rcx, [rsp + 0x328]
call fcn.140063580
nop
lea rcx, [rsp + 0x348]
call fcn.140063580
lea rax, [rsp + 0x388]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x4a0]
add rax, 0x80
mov rdx, rax
mov rcx, qword [rsp + 0x170]
call fcn.1400636e0
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x198], rax
lea rax, [rsp + 0x3a8]
mov qword [rsp + 0x188], rax
lea rdx, [rsp + 0x3d0]
mov rcx, qword [rsp + 0x188]
call fcn.1400636e0
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x1a0], rax
mov r8, qword [rsp + 0x198]
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x368]
call fcn.1400aeaa0
lea rcx, [rsp + 0x368]
call fcn.140063580
nop
lea rcx, [rsp + 0x3d0]
call fcn.140063580
nop
lea rcx, [rsp + 0x3f0]
call fcn.140063580
nop
mov rcx, qword [rsp + 0x4a8]
call fcn.140063580
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1401027d0
add rsp, 0x498
ret