Function at 0x140014c40
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rbp], rax
xorps xmm0, xmm0
xor eax, eax
xor edi, edi
mov qword [rbp - 0x10], rax
cmp qword [rcx + 0x18], 0xf
mov rbx, rcx
movups xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x60], 0x5c
mov dword [rbp - 0x5c], 0x40000000
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 8], eax
movups xmmword [rbp - 0x40], xmm0
mov qword [rsp + 0x40], rdi
movups xmmword [rbp - 0x30], xmm0
mov qword [rsp + 0x50], rdi
movups xmmword [rbp - 0x20], xmm0
jbe 0x140014cac
mov rcx, qword [rcx]
xor r9d, r9d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
lea edx, [r9 + 1]
mov qword [rsp + 0x20], rdi
lea r8d, [r9 + 4]
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoA]
test eax, eax
jne 0x140014fc9
xorps xmm0, xmm0
mov dword [rsp + 0x7c], edi
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x48], rdi
lea rcx, str.S_1_15_2_1
movdqu xmmword [rsp + 0x64], xmm0
call qword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidA]
test eax, eax
je 0x140014fc0
mov rax, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x58]
mov ecx, 1
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x58], 0x1f01ff
mov dword [rsp + 0x5c], 2
mov dword [rsp + 0x60], 3
mov dword [rsp + 0x74], edi
mov dword [rsp + 0x78], 5
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclA]
test eax, eax
jne 0x140014fb7
cmp qword [rbx + 0x18], 0xf
jbe 0x140014d68
mov rbx, qword [rbx]
mov rax, qword [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov rcx, rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea edx, [r9 + 1]
lea r8d, [r9 + 4]
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoA]
test eax, eax
jne 0x140014fae
mov rcx, qword [0x140041480]
lea r9, [rbp - 0x60]
mov edx, 0x444
mov qword [rsp + 0x128], rsi
lea r8d, [rax + 1]
mov dword [rbp - 0x4c], 0xff00
call qword [sym.imp.USER32.dll_SendMessageW]
cmp byte [0x14003560b], dil
movsd xmm0, qword [0x140035600]
mov eax, dword [0x140035608]
movsd qword [rbp - 0x78], xmm0
mov dword [rbp - 0x70], eax
je 0x140014f2d
cmp dword [0x140040098], 2
mov ecx, edi
jl 0x140014eeb
movdqa xmm2, xmmword [0x140036070]
mov ecx, 8
movdqa xmm4, xmmword [0x1400360d0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140036080]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140036090]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x140035600]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400360b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x78], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140036090]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x74]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400360b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
xorps xmm2, xmm0
movd dword [rbp - 0x74], xmm2
movsxd rax, ecx
lea r8, [rbp - 0x78]
add r8, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0xc
jl 0x140014f00
mov rsi, 0xffffffffffffffff
mov dword [rsp + 0x28], edi
mov r9d, esi
mov qword [rsp + 0x20], rdi
lea r8, [rbp - 0x78]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rsi
mov rcx, rax
call fcn.14002e0cc
mov r9d, esi
mov dword [rsp + 0x28], ebx
lea r8, [rbp - 0x78]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword [0x140041480]
mov r9, rdi
xor r8d, r8d
mov edx, 0xc2
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
call fcn.14002dd70
mov rsi, qword [rsp + 0x128]
mov al, 1
jmp 0x140014fd7
lea rcx, str._Permissions_Failed_n
jmp 0x140014fd0
lea rcx, str._SetEntriesInAclA_n
jmp 0x140014fd0
lea rcx, str._ConvertStringSidToSidA_failed_n
jmp 0x140014fd0
lea rcx, str._Check_Your_.dll_n
call fcn.140014670
xor al, al
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14002dd50
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret