Function at 0x1400f4b80
Capabilities:
Get user security identifier

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r15, r8
mov r14, rdx
mov rdi, rcx
mov qword [rbp + 0xf], rcx
xor r12d, r12d
mov dword [rbp - 0x25], r12d
mov dword [rbp - 0x21], r12d
cmp qword [rdx + 0x18], 7
jbe 0x1400f4bc7
mov rdx, qword [rdx]
lea rax, [rbp + 0xf]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x21]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x25]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov eax, dword [rbp - 0x25]
test eax, eax
jne 0x1400f4c4f
test r15, r15
je 0x1400f4c43
mov rax, qword [r15]
mov rbx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Unable_to_calculate_size._Error__u
mov qword [rsp + 0x30], rax
lea rax, str.SidUtilities
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x73
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonSid.cpp
lea rdx, str.mb::common::system::Sid::CreateFromName
mov rcx, r15
call rbx
mov qword [rdi], r12
mov qword [rdi + 8], r12
jmp 0x1400f4df0
xorps xmm0, xmm0
mov esi, dword [rbp - 0x21]
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r12
test rsi, rsi
je 0x1400f4ccd
add rsi, rsi
cmp rsi, 0x1000
jb 0x1400f4c9b
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x1400f4e55
call fcn.14014f518
mov rcx, rax
test rax, rax
je 0x1400f4e5b
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400f4cad
test rsi, rsi
je 0x1400f4caa
mov rcx, rsi
call fcn.14014f518
jmp 0x1400f4cad
mov rax, r12
mov qword [rbp - 0x19], rax
lea rbx, [rsi + rax]
mov qword [rbp - 9], rbx
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.1403ec370
mov qword [rbp - 0x11], rbx
mov eax, dword [rbp - 0x25]
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
mov edx, eax
lea rcx, [rbp - 1]
call fcn.1400f5010
nop
cmp qword [r14 + 0x18], 7
jbe 0x1400f4cea
mov r14, qword [r14]
lea rax, [rbp + 0xf]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x21]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x19]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x25]
mov rbx, qword [rbp - 1]
mov r8, rbx
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x1400f4e11
test r15, r15
je 0x1400f4d72
mov rax, qword [r15]
mov rbx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Unable_to_query_account_name._Error__u
mov qword [rsp + 0x30], rax
lea rax, str.SidUtilities
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x7c
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonSid.cpp
lea rdx, str.mb::common::system::Sid::CreateFromName
mov rcx, r15
call rbx
mov qword [rdi], r12
mov qword [rdi + 8], r12
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x1400f4db4
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400f4db4
mov rbx, qword [rbp + 7]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400f4db4
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400f4df0
mov rdx, qword [rbp - 9]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f4deb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f4e5b
call fcn.14014f510
mov rax, rdi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14014f4f0
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov qword [rdi], rbx
mov rax, qword [rbp + 7]
mov qword [rdi + 8], rax
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400f4df0
mov rdx, qword [rbp - 9]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f4deb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f4e5b
jmp 0x1400f4deb
call fcn.14001cd90
int3
call fcn.14015fa1c
int3