Function at 0x1400101a0
Capabilities:
Get common file path
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x2a0
mov rax, qword [0x140174200]
xor rax, rsp
mov qword [rsp + 0x290], rax
lea rcx, [0x140159c70]
call fcn.140007cd0
nop
call fcn.14000f450
xorps xmm0, xmm0
movups xmmword [rsp + 0xe0], xmm0
lea rcx, [rsp + 0xe0]
call fcn.1400089a0
nop
mov rcx, qword [rsp + 0xe0]
mov rbx, qword [rcx]
xor r12d, r12d
lea rdi, [r12 - 1]
movabs rsi, 0x7ffffffffffffffe
movabs r13, 0x7fffffffffffffff
cmp rbx, rcx
je 0x1400107fe
mov r8d, dword [rbx + 0x10]
mov edx, 1
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
jne 0x14001026e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenProcess_failed:__ld_n
call fcn.140007cd0
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0xe0]
jmp 0x140010225
mov qword [rsp + 0x88], r12
lea r8, [rsp + 0x88]
mov edx, 6
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1400102ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenProcessToken_failed:__ld_n
call fcn.140007cd0
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0xe0]
jmp 0x140010225
mov qword [rsp + 0x90], r12
lea r8, [rsp + 0x90]
mov edx, 2
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
jne 0x14001030b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.DuplicateToken_failed:__ld_n
call fcn.140007cd0
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0xe0]
jmp 0x140010225
mov rdx, qword [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x140010349
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.SetThreadToken_failed:__ld_n
call fcn.140007cd0
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0xe0]
jmp 0x140010225
mov qword [rsp + 0x80], r12
lea r9, [rsp + 0x80]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x14013c048]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x1400103a0
mov qword [rsp + 0x20], 0x104
mov r9, qword [rsp + 0x80]
mov r8d, 0x104
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0xf0]
call fcn.140118b20
jmp 0x1400103b9
mov ecx, 2
call fcn.140113a74
mov rcx, rax
lea rdx, str.error_getting_appdata_path_n
call fcn.140007c80
mov dword [rsp + 0xd8], 0x64
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x110]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov r15, qword [rsp + 0x80]
xorps xmm0, xmm0
movups xmmword [rsp + 0xb8], xmm0
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0xd0], r12
nop dword [rax]
inc rdi
cmp word [r15 + rdi*2], 0
jne 0x140010400
cmp rdi, rsi
ja 0x140010876
mov qword [rsp + 0xd0], 7
cmp rdi, 8
jae 0x140010452
mov qword [rsp + 0xc8], rdi
add rdi, rdi
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0xb8]
call fcn.140106380
mov word [rsp + rdi + 0xb8], r12w
jmp 0x1400104fd
mov r14, rdi
or r14, 7
cmp r14, rsi
jbe 0x14001046b
mov r14, rsi
lea rcx, [r13*2]
jmp 0x140010491
cmp r14, 0xa
mov eax, 0xa
cmovb r14, rax
lea rcx, [r14 + 1]
cmp rcx, r13
ja 0x14001087c
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400104bd
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140010881
mov rcx, rax
call fcn.1400374ac
test rax, rax
je 0x140010897
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400104cf
test rcx, rcx
je 0x1400104cc
call fcn.1400374ac
mov rsi, rax
jmp 0x1400104cf
mov rsi, r12
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xd0], r14
add rdi, rdi
mov r8, rdi
mov rdx, r15
mov rcx, rsi
call fcn.140106380
mov word [rdi + rsi], r12w
lea rdx, [rsp + 0xb8]
cmp qword [rsp + 0xd0], 8
setae r8b
cmovae rdx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xc8]
lea r15, [rdx + rax*2]
lea rsi, [rsp + 0xb8]
test r8b, r8b
cmovne rsi, qword [rsp + 0xb8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0xa8], r12
cmp rsi, r15
jne 0x14001056c
mov qword [rsp + 0xb0], 0xf
mov byte [rsp + 0x98], 0
jmp 0x140010681
mov rax, r15
sub rax, rsi
sar rax, 1
mov r14, r12
mov edi, 0xf
mov qword [rsp + 0xb0], rdi
cmp rax, r13
ja 0x140010887
cmp rax, 0x10
jb 0x140010620
mov rdi, rax
or rdi, 0xf
cmp rdi, r13
jbe 0x1400105a9
mov rdi, r13
jmp 0x1400105b6
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
mov rcx, rdi
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x140010600
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14001088c
mov rcx, rax
call fcn.1400374ac
mov rcx, rax
test rax, rax
je 0x140010891
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14001060f
test rcx, rcx
je 0x14001060c
call fcn.1400374ac
jmp 0x14001060f
mov rax, r12
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xb0], rdi
nop
lea rcx, [rsp + 0x98]
cmp rdi, 0x10
cmovae rcx, qword [rsp + 0x98]
movzx eax, byte [rsi]
mov byte [r14 + rcx], al
mov r14, qword [rsp + 0xa8]
inc r14
mov qword [rsp + 0xa8], r14
add rsi, 2
cmp rsi, r15
je 0x140010662
mov rdi, qword [rsp + 0xb0]
jmp 0x140010620
lea rax, [rsp + 0x98]
cmp qword [rsp + 0xb0], 0x10
cmovae rax, qword [rsp + 0x98]
mov byte [r14 + rax], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x110]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400106b0
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x30]
call fcn.140001bb0
nop
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x60]
call fcn.140005ff0
nop
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000d330
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x110]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140010714
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x30]
call fcn.140001bb0
nop
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x60]
call fcn.140005ff0
nop
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000e3c0
nop
mov rdx, qword [rsp + 0xb0]
cmp rdx, 0x10
jb 0x140010796
inc rdx
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010790
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010891
call fcn.140037738
nop
mov rdx, qword [rsp + 0xd0]
cmp rdx, 8
jb 0x1400107de
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400107d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010897
call fcn.140037738
movabs rsi, 0x7ffffffffffffffe
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0xe0]
jmp 0x140010225
mov rax, qword [rcx + 8]
mov qword [rax], r12
mov rcx, qword [rcx]
test rcx, rcx
je 0x140010825
nop dword [rax]
mov rbx, qword [rcx]
mov edx, 0x20
call fcn.140037738
mov rcx, rbx
test rbx, rbx
jne 0x140010810
mov edx, 0x20
mov rcx, qword [rsp + 0xe0]
call fcn.140037738
nop
lea rcx, str._n_n
call fcn.140007cd0
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400371f0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
call fcn.140001630
nop
call fcn.140001590
call fcn.140001590
nop
call fcn.140001630
call fcn.140001590
call fcn.1401135b4
nop
call fcn.1401135b4
int3