Function at 0x1401df934
Capabilities:
Compare security identifiers

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, r8
mov r14, rdx
xor r15d, r15d
mov qword [rbp - 0x31], r15
mov word [rbp - 0x29], r15w
lea rcx, [rbp - 0x31]
call fcn.14024de80
mov qword [rbp - 0x31], rax
mov rdx, rax
mov rcx, rsi
call fcn.1400543c8
mov rcx, qword [rsi]
lea rax, [rcx + 1]
test rax, 0xfffffffffffffffe
jne 0x1401dfa06
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x1401dfa92
lea rax, str.HelloProvisionStatusAction___Failed_to_get_logged_on_UserToken.
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], 0x80
mov dword [rbp - 0x39], ebx
lea rax, [rbp - 0x39]
mov qword [rbp + 0x17], rax
lea edi, [r15 + 4]
mov qword [rbp + 0x1f], rdi
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140480179]
call fcn.140001208
jmp 0x1401dfa92
mov r9d, 8
mov dword [rbp - 0x35], r9d
lea rax, [rbp - 0x35]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edi, [r9 - 4]
mov edx, edi
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetTokenInformation]
nop dword [rax + rax]
test eax, eax
jne 0x1401dfaa5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x1401dfa8f
lea rax, str.HelloProvisionStatusAction___Failed_to_get_logged_on_user_sid_from_token.
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], SysAllocStringByteLen
mov dword [rbp - 0x39], ebx
lea rax, [rbp - 0x39]
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rdi
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140480179]
call fcn.140001208
mov qword [rsi], r15
movzx edi, bx
or edi, 0x80070000
test ebx, ebx
cmovle edi, ebx
jmp 0x1401dfb33
mov rbx, qword [r15]
mov rcx, rbx
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_IsValidSid]
nop dword [rax + rax]
test eax, eax
jne 0x1401dfae1
xor edx, edx
mov rcx, rsi
call fcn.1400543c8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x1401dfb06
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
jne 0x1401dfb1c
xor edx, edx
mov rcx, rsi
call fcn.1400543c8
mov edi, 0x80070558
test rbx, rbx
je 0x1401dfb33
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
jmp 0x1401dfb33
test rbx, rbx
je 0x1401dfb30
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov edi, r15d
lea rcx, [rbp - 0x31]
call fcn.14024d7c8
mov eax, edi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140356560
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret