Function at 0x1400e9e10
Capabilities:
Set file attributes

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x180
mov dword [rsp + 0x48], 2
mov byte [rsp + 0x4c], 0
lea rax, [rsp + 0x4d]
mov rdi, rax
xor eax, eax
mov ecx, 0xf
rep stosb byte [rdi], al
mov dword [rsp + 0x5c], 0xfa0
mov dword [rsp + 0x60], 0x8009
mov dword [rsp + 0x64], 0x6603
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x90], 2
mov dword [rsp + 0x94], 0
mov dword [rsp + 0x98], 0
xor eax, eax
mov word [rsp + 0x9c], ax
lea rax, [rsp + 0x9e]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_73
rep stosb byte [rdi], al
mov dword [rsp + 0xe4], 0
mov dword [rsp + 0xe8], 0
mov eax, dword [rsp + 0x1d0]
mov dword [rsp + 0xec], eax
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x128], 0
cmp qword [rsp + 0x198], 0
je 0x1400ea1d7
lea rcx, str.Key_GUID:
call fcn.140013fd0
mov rcx, qword [rsp + 0x198]
call fcn.1400206f0
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.140013fd0
cmp qword [rsp + 0x1a0], 0
je 0x1400ea1cb
cmp dword [rsp + 0x1a8], 0
je 0x1400ea1cb
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.ntdll.dll_RtlStringFromGUID]
test eax, eax
jl 0x1400ea1c9
mov edx, 0x10
lea rcx, [rsp + 0x4c]
call qword [sym.imp.cryptdll.dll_CDGenerateRandomBits]
movzx eax, word [rsp + 0x78]
sub eax, 4
cdqe
mov rcx, qword [rsp + 0x80]
add rcx, 2
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x9c]
call fcn.140161160
cmp qword [rsp + 0x1b0], 0
je 0x1400ea046
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x1a8]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x1c8]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x190]
mov r8, qword [rsp + 0x1b0]
lea rdx, [rsp + 0x48]
mov ecx, dword [rsp + 0xec]
call fcn.14000e710
test eax, eax
jne 0x1400ea044
lea rcx, str.ERROR_kuhl_m_dpapi_create_data___kull_m_dpapi_protect_masterkey_with_password_n
call fcn.140013fd0
jmp 0x1400ea0b9
cmp qword [rsp + 0x1b8], 0
je 0x1400ea0b9
cmp dword [rsp + 0x1c0], 0
je 0x1400ea0b9
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x1a8]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x1c8]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x190]
mov r8d, dword [rsp + 0x1c0]
mov rdx, qword [rsp + 0x1b8]
lea rcx, [rsp + 0x48]
call fcn.14000e840
test eax, eax
jne 0x1400ea0b9
lea rcx, str.ERROR_kuhl_m_dpapi_create_data___kull_m_dpapi_protect_masterkey_with_userHash_n
call fcn.140013fd0
cmp qword [rsp + 0x68], 0
je 0x1400ea1c9
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x90]
call fcn.14000c950
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x1400ea1be
cmp dword [rsp + 0x1d8], 0
je 0x1400ea104
lea rdx, [rsp + 0x90]
xor ecx, ecx
call fcn.14000c6b0
mov r8d, Ordinal_73
lea rdx, [rsp + 0x9c]
lea rcx, [rsp + reloc.WLDAP32.dll_Ordinal_304]
call fcn.140161160
mov eax, 2
imul rax, rax, 0x24
xor ecx, ecx
mov word [rsp + rax + reloc.WLDAP32.dll_Ordinal_304], cx
lea rdx, [rsp + reloc.WLDAP32.dll_Ordinal_304]
lea rcx, str.File__s__hidden__system_:
call fcn.140013fd0
mov r8d, dword [rsp + 0xf0]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + reloc.WLDAP32.dll_Ordinal_304]
call fcn.14000fe50
test eax, eax
je 0x1400ea19f
mov edx, Ordinal_41
lea rcx, [rsp + reloc.WLDAP32.dll_Ordinal_304]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1400ea189
lea rcx, [0x140195ba8]
call fcn.140013fd0
jmp 0x1400ea19d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_dpapi_create_data___SetFileAttributes__0x_08x__n
call fcn.140013fd0
jmp 0x1400ea1b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_dpapi_create_data___kull_m_file_writeData__0x_08x__n
call fcn.140013fd0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400ea1d7
lea rcx, str.ERROR_kuhl_m_dpapi_create_data___No_key_n
call fcn.140013fd0
add rsp, 0x180
pop rdi
ret