Function at 0x140025c60
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x518
mov rax, qword [0x140075028]
xor rax, rsp
mov qword [rsp + 0x500], rax
call fcn.140015300
movzx eax, al
test eax, eax
je 0x140025caf
mov rcx, qword [rsp + 0x530]
call fcn.140023d70
movzx eax, al
test eax, eax
jne 0x140025cb9
mov eax, 0xffffffff
jmp 0x1400268b6
lea rax, [rsp + 0x2f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x202
rep stosb byte [rdi], al
cmp qword [rsp + 0x548], 0
jne 0x140025d17
mov dword [rsp + 0x2e0], 0x101
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x140025d07
mov eax, 0xffffffff
jmp 0x1400268b6
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x548], rax
mov qword [rsp + 0x270], 0
lea rax, [rsp + 0x270]
mov qword [rsp + 0x20], rax
lea r9, [0x140060158]
mov r8d, 1
xor edx, edx
lea rcx, [0x140060168]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jge 0x140025d6e
mov rcx, qword [rsp + 0x530]
call fcn.140023d90
mov eax, 0xffffffff
jmp 0x1400268b6
lea rcx, [rsp + 0xc8]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x160]
mov rdi, rax
mov rsi, qword [rsp + 0xc0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x178]
mov rdi, rax
mov rsi, qword [rsp + 0xb8]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0xf8]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rax, [rsp + 0xf8]
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x190]
mov rdi, rax
mov rsi, qword [rsp + 0xb0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x110]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rax, [rsp + 0x110]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x1a8]
mov rdi, rax
mov rsi, qword [rsp + 0x80]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x140]
lea rcx, [rsp + 0x160]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1c0]
lea rcx, [rsp + 0x178]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1e0]
lea rcx, [rsp + 0x190]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x200]
lea rcx, [rsp + 0x1a8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x270]
mov rax, qword [rax]
lea rcx, [rsp + 0x140]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x1c0]
lea r8, [rsp + 0x1e0]
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x270]
call qword [rax + 0x50]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x110]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0xf8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0xe0]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0xc8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [rsp + 0x34], 0
jge 0x140025f70
mov rax, qword [rsp + 0x270]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x270]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x530]
call fcn.140023d90
mov eax, 0xffffffff
jmp 0x1400268b6
mov qword [rsp + 0x2b0], 0
lea rdx, [0x140067c04]
lea rcx, [rsp + 0x60]
call fcn.140023a80
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
cmp qword [rax], 0
je 0x140025fbf
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
jmp 0x140025fc8
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x270]
mov rax, qword [rax]
lea r8, [rsp + 0x2b0]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x270]
call qword [rax + 0x38]
mov dword [rsp + 0x34], eax
cmp qword [rsp + 0x60], 0
je 0x14002600a
mov rcx, qword [rsp + 0x60]
call fcn.140023b90
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x270]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x270]
call qword [rax + 0x10]
cmp dword [rsp + 0x34], 0
jge 0x14002603e
mov rcx, qword [rsp + 0x530]
call fcn.140023d90
mov eax, 0xffffffff
jmp 0x1400268b6
mov qword [rsp + 0x268], 0
mov rax, qword [rsp + 0x2b0]
mov rax, qword [rax]
lea r8, [rsp + 0x268]
xor edx, edx
mov rcx, qword [rsp + 0x2b0]
call qword [rax + 0x70]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x2b0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x2b0]
call qword [rax + 0x10]
cmp dword [rsp + 0x34], 0
jge 0x1400260a2
mov rcx, qword [rsp + 0x530]
call fcn.140023d90
mov eax, 0xffffffff
jmp 0x1400268b6
mov dword [rsp + 0x2c0], 0
mov rax, qword [rsp + 0x268]
mov rax, qword [rax]
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + 0x268]
call qword [rax + 0x38]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x2c0], 0
jne 0x140026106
mov rax, qword [rsp + 0x268]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x268]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x530]
call fcn.140023d90
mov eax, 0xffffffff
jmp 0x1400268b6
mov dword [rsp + 0x3c], 0
jmp 0x14002611a
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x2c0]
cmp dword [rsp + 0x3c], eax
jge 0x140026891
mov byte [rsp + 0x44], 0
mov byte [rsp + 0x38], 0
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x39], 0
mov qword [rsp + 0x260], 0
mov eax, dword [rsp + 0x3c]
inc eax
mov r8w, 3
mov edx, eax
lea rcx, [rsp + 0x128]
call fcn.140023c80
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x220]
mov rdi, rax
mov rsi, qword [rsp + 0x98]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x240]
lea rcx, [rsp + 0x220]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x268]
mov rax, qword [rax]
lea r8, [rsp + 0x260]
lea rdx, [rsp + 0x240]
mov rcx, qword [rsp + 0x268]
call qword [rax + 0x40]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x128]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [rsp + 0x34], 0
jl 0x14002688c
mov qword [rsp + 0x2a0], 0
mov rax, qword [rsp + 0x260]
mov rax, qword [rax]
lea rdx, [rsp + 0x2a0]
mov rcx, qword [rsp + 0x260]
call qword [rax + 0x98]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x14002647b
mov qword [rsp + 0x278], 0
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax]
lea rdx, [rsp + 0x278]
mov rcx, qword [rsp + 0x2a0]
call qword [rax + 0x48]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x140026465
mov dword [rsp + 0x2d8], 0
mov rax, qword [rsp + 0x278]
mov rax, qword [rax]
lea rdx, [rsp + 0x2d8]
mov rcx, qword [rsp + 0x278]
call qword [rax + 0x38]
mov dword [rsp + 0x40], 1
jmp 0x1400262a9
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x2d8]
cmp dword [rsp + 0x40], eax
jg 0x14002644f
mov qword [rsp + 0x290], 0
mov rax, qword [rsp + 0x278]
mov rax, qword [rax]
lea r8, [rsp + 0x290]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x278]
call qword [rax + 0x40]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x14002644a
mov rax, qword [rsp + 0x290]
mov rax, qword [rax]
lea rdx, [rsp + 0x2dc]
mov rcx, qword [rsp + 0x290]
call qword [rax + 0x38]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x140026434
cmp dword [rsp + 0x2dc], 9
jne 0x140026434
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
lea rdx, [rsp + 0x2a8]
mov rcx, qword [rsp + 0x68]
call qword [rax + 0xb0]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x14002642f
cmp qword [rsp + 0x2a8], 0
je 0x1400263b0
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x50], 0xffffffffffffffff
inc qword [rsp + 0x50]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
cmp word [rax + rcx*2], 0
jne 0x14002638d
mov rax, qword [rsp + 0x50]
test rax, rax
jne 0x1400263b7
mov byte [rsp + 0x30], 1
jmp 0x14002642d
mov rdx, qword [rsp + 0x548]
mov rcx, qword [rsp + 0x2a8]
call fcn.140044b14
test eax, eax
jne 0x1400263d7
mov byte [rsp + 0x38], 1
jmp 0x14002641f
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
cmp word [rax + rcx*2], 0
jne 0x1400263f0
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x14002641a
mov byte [rsp + 0x30], 1
jmp 0x14002641f
mov byte [rsp + 0x39], 1
mov rcx, qword [rsp + 0x2a8]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x140026434
mov byte [rsp + 0x30], 1
mov rax, qword [rsp + 0x290]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x290]
call qword [rax + 0x10]
jmp 0x14002629f
mov rax, qword [rsp + 0x278]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x278]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x2a0]
call qword [rax + 0x10]
mov qword [rsp + 0x298], 0
mov rax, qword [rsp + 0x260]
mov rax, qword [rax]
lea rdx, [rsp + 0x298]
mov rcx, qword [rsp + 0x260]
call qword [rax + 0x38]
mov dword [rsp + 0x34], eax
cmp qword [rsp + 0x550], 0
je 0x1400264c9
mov rdx, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x550]
call fcn.140003bf0
cmp dword [rsp + 0x34], 0
jl 0x140026582
cmp qword [rsp + 0x538], 0
je 0x140026574
mov rdx, qword [rsp + 0x538]
mov rcx, qword [rsp + 0x298]
call fcn.140044b14
test eax, eax
jne 0x140026574
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rax, qword [rsp + 0x260]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x260]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x268]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x268]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x530]
call fcn.140023d90
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x140026555
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x140026561
mov eax, 1
jmp 0x1400268b6
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140026574
mov eax, 3
jmp 0x1400268b6
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp qword [rsp + 0x538], 0
jne 0x14002659c
cmp qword [rsp + 0x540], 0
je 0x140026876
mov qword [rsp + 0x280], 0
mov qword [rsp + 0x288], 0
mov rax, qword [rsp + 0x260]
mov rax, qword [rax]
lea rdx, [rsp + 0x280]
mov rcx, qword [rsp + 0x260]
call qword [rax + 0x40]
mov rax, qword [rsp + 0x260]
mov rax, qword [rax]
lea rdx, [rsp + 0x288]
mov rcx, qword [rsp + 0x260]
call qword [rax + 0x38]
cmp qword [rsp + 0x288], 0
jne 0x14002660a
cmp qword [rsp + 0x280], 0
je 0x140026876
mov edx, 8
lea rcx, [rsp + 0x2c8]
call fcn.140014d30
lea rcx, [rsp + 0x2c8]
call fcn.140004310
nop
cmp qword [rsp + 0x280], 0
je 0x14002664a
mov rdx, qword [rsp + 0x280]
lea rcx, [rsp + 0x2c8]
call fcn.140003bf0
mov edx, 8
lea rcx, [rsp + 0x2b8]
call fcn.140014d30
lea rcx, [rsp + 0x2b8]
call fcn.140004310
nop
cmp qword [rsp + 0x540], 0
je 0x14002668c
mov rdx, qword [rsp + 0x540]
lea rcx, [rsp + 0x2b8]
call fcn.140003bf0
jmp 0x140026699
lea rcx, [rsp + 0x2b8]
call fcn.140003a30
mov edx, 8
lea rcx, [rsp + 0x2d0]
call fcn.140014d30
lea rcx, [rsp + 0x2d0]
call fcn.140004310
nop
cmp qword [rsp + 0x288], 0
je 0x1400266d9
mov rdx, qword [rsp + 0x288]
lea rcx, [rsp + 0x2d0]
call fcn.140003bf0
lea rcx, [rsp + 0x2c8]
call fcn.1400079f0
lea rcx, [rsp + 0x2b8]
call fcn.1400079f0
cmp qword [rsp + 0x540], 0
je 0x140026723
lea rcx, [rsp + 0x2b8]
call fcn.140003ac0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x2c8]
call fcn.140007780
cmp eax, 0xffffffff
jne 0x140026753
cmp qword [rsp + 0x538], 0
je 0x140026830
xor r8d, r8d
mov rdx, qword [rsp + 0x538]
lea rcx, [rsp + 0x2d0]
call fcn.140007780
cmp eax, 0xffffffff
je 0x140026830
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rax, qword [rsp + 0x260]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x260]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x268]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x268]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x530]
call fcn.140023d90
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x1400267ed
mov dword [rsp + 0x58], 1
lea rcx, [rsp + 0x2d0]
call fcn.140003f10
nop
lea rcx, [rsp + 0x2b8]
call fcn.140003f10
nop
lea rcx, [rsp + 0x2c8]
call fcn.140003f10
mov eax, dword [rsp + 0x58]
jmp 0x1400268b6
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140026830
mov dword [rsp + 0x5c], 3
lea rcx, [rsp + 0x2d0]
call fcn.140003f10
nop
lea rcx, [rsp + 0x2b8]
call fcn.140003f10
nop
lea rcx, [rsp + 0x2c8]
call fcn.140003f10
mov eax, dword [rsp + 0x5c]
jmp 0x1400268b6
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
lea rcx, [rsp + 0x2d0]
call fcn.140003f10
nop
lea rcx, [rsp + 0x2b8]
call fcn.140003f10
nop
lea rcx, [rsp + 0x2c8]
call fcn.140003f10
mov rax, qword [rsp + 0x260]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x260]
call qword [rax + 0x10]
jmp 0x140026110
mov rax, qword [rsp + 0x268]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x268]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x530]
call fcn.140023d90
xor eax, eax
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.14003f5f0
add rsp, 0x518
pop rdi
pop rsi
ret