Function at 0x140060628
Capabilities:
Impersonate user

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1400ab2e8]
xor rax, rsp
mov qword [rbp + 0x98], rax
mov r14, rdx
mov rsi, rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
mov qword [rbp + 0x20], r15
movdqa xmm0, xmmword [0x140092240]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], r15w
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], r15
lea edi, [r15 + 7]
mov qword [rbp - 8], rdi
mov word [rbp - 0x20], r15w
lea r8, [rbp - 0x20]
lea rdx, [rbp + 0x20]
call fcn.14005fe00
mov rbx, rax
shr rax, 0x27
not eax
lea r12d, [r15 + 1]
test r12b, al
jne 0x140060b32
mov rcx, qword [rbp - 0x10]
test rcx, rcx
jne 0x1400606d2
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x40]
call fcn.1400150e4
nop
mov ebx, r12d
jmp 0x14006074f
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, r12
jb 0x140060b74
lea r9, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae r9, qword [rbp - 0x20]
mov qword [rsp + 0x30], r12
lea rax, [0x140084d5c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x60]
call fcn.14001c404
nop
mov dword [rsp + 0x40], 0xa
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x60]
call fcn.14003ab38
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], rdi
mov word [rax], r15w
lea rax, [rbp - 0x80]
mov ebx, 0x1e
mov qword [rbp], r15
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], rdi
mov word [rax], r15w
test bl, 4
je 0x140060788
and ebx, 0xfffffffb
lea rcx, [rbp - 0x80]
call fcn.140003cf8
nop
test bl, 2
je 0x14006079a
and ebx, 0xfffffffd
lea rcx, [rbp - 0x60]
call fcn.140003cf8
nop
test r12b, bl
je 0x1400607a8
lea rcx, [rbp + 0x40]
call fcn.140003cf8
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], rdi
mov word [rbp - 0x40], r15w
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.1400600bc
mov rbx, rax
shr rax, 0x27
not eax
test r12b, al
je 0x1400608d8
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rax, qword [rbp - 0x40]
mov qword [rbp - 0x30], r15
mov word [rax], r15w
cmp ebx, 0x6ba
je 0x1400608d8
cmp ebx, 0x534
je 0x1400608d8
mov r8d, 0x193
lea rdx, str.SWUserInfo::LoadUserProfileExtended
lea rcx, [rbp + 0x40]
call fcn.14003a94c
mov rdi, rax
call fcn.14000aaa8
mov qword [rbp - 0x80], r15
movdqa xmm0, xmmword [0x140092240]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r15w
lea rdx, str.::GetRoamingProfileDir___failed_with_error_code__1_.
lea rcx, [rbp - 0x80]
call fcn.140003d68
nop
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x68]
call fcn.14003a914
nop
mov dword [rsp + 0x40], ebx
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14000d73c
mov rbx, rax
mov qword [rbp - 0x60], r15
movdqa xmm0, xmmword [0x140092240]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r15w
lea rdx, str.VirtualizationManager
lea rcx, [rbp - 0x60]
call fcn.140003d68
nop
mov r9, rbx
lea r8, [rbp - 0x60]
mov edx, r12d
mov rcx, rdi
call fcn.14003aabc
nop
lea rcx, [rbp - 0x60]
call fcn.140003cf8
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x78]
call fcn.140003cf8
nop
lea rcx, [rbp - 0x80]
call fcn.140003cf8
nop
lea rcx, [rbp + 0x40]
call fcn.14000b438
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x48], 0x38
lea rax, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rax, qword [rbp]
mov qword [rsp + 0x50], rax
cmp qword [rbp - 0x30], r15
je 0x140060925
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rax, qword [rbp - 0x40]
mov qword [rsp + 0x58], rax
mov r8d, 0x1a2
lea rdx, str.SWUserInfo::LoadUserProfileExtended
lea rcx, [rbp + 0x40]
call fcn.14003a94c
mov rbx, rax
mov qword [rbp - 0x60], r15
movdqa xmm0, xmmword [0x140092240]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r15w
lea rdx, str.Calling_::LoadUserProfile___from_SWUserInfo::LoadUserProfileExtended__.
lea rcx, [rbp - 0x60]
call fcn.140003d68
nop
mov qword [rbp - 0x80], r15
movdqa xmm0, xmmword [0x140092240]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r15w
lea rdx, str.VirtualizationManager
lea rcx, [rbp - 0x80]
call fcn.140003d68
nop
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x80]
mov edx, 4
mov rcx, rbx
call fcn.14003a9c8
nop
lea rcx, [rbp - 0x80]
call fcn.140003cf8
nop
lea rcx, [rbp - 0x60]
call fcn.140003cf8
nop
lea rcx, [rbp + 0x40]
call fcn.14000b438
lea rdx, [rsp + 0x48]
mov rcx, rsi
call qword [sym.imp.USERENV.dll_LoadUserProfileW]
nop dword [rax + rax]
test eax, eax
jne 0x140060b0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsp + 0x40], eax
mov r8d, 0x1a6
lea rdx, str.SWUserInfo::LoadUserProfileExtended
lea rcx, [rbp + 0x40]
call fcn.14003a94c
mov rdi, rax
call fcn.14000aaa8
mov qword [rbp - 0x60], r15
movdqa xmm0, xmmword [0x140092240]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r15w
lea rdx, str.::LoadUserProfile___failed_with_error_code__1_.
lea rcx, [rbp - 0x60]
call fcn.140003d68
nop
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x68]
call fcn.14003a914
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14000d73c
mov rbx, rax
mov qword [rbp - 0x80], r15
movdqa xmm0, xmmword [0x140092240]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r15w
lea rdx, str.VirtualizationManager
lea rcx, [rbp - 0x80]
call fcn.140003d68
nop
mov r9, rbx
lea r8, [rbp - 0x80]
mov edx, r12d
mov rcx, rdi
call fcn.14003aabc
nop
lea rcx, [rbp - 0x80]
call fcn.140003cf8
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x78]
call fcn.140003cf8
nop
lea rcx, [rbp - 0x60]
call fcn.140003cf8
nop
lea rcx, [rbp + 0x40]
call fcn.14000b438
mov edx, 0x5c
lea rcx, str.admin_appman_appv_shareduseruserinfo.cpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x140060adc
add rax, r12
jmp 0x140060ae3
lea rax, str.admin_appman_appv_shareduseruserinfo.cpp
mov rdx, rax
lea rcx, [0x1400ac690]
call fcn.140013434
shl rax, 0x34
mov ebx, dword [rsp + 0x40]
or rbx, rax
movabs rax, 0x343000000000
or rbx, rax
jmp 0x140060b1e
mov rax, qword [rsp + 0x78]
mov qword [r14], rax
movabs rbx, 0x8000000000
lea rcx, [rbp - 0x40]
call fcn.140003cf8
nop
lea rcx, [rbp]
call fcn.140003cf8
nop
lea rcx, [rbp - 0x20]
call fcn.140003cf8
nop
lea rcx, [rbp + 0x20]
call fcn.140003cf8
mov rax, rbx
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.140061ac0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140003cd8
nop
int3