Function at 0x14008a058
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
xor r15d, r15d
mov dword [rsp + 0x54], 0xfa0
xor eax, eax
mov byte [rsp + 0x44], r15b
mov r14, rcx
mov qword [rsp + 0x45], rax
mov ecx, 2
mov dword [rsp + 0x4d], eax
mov rsi, r8
mov dword [rsp + 0x40], ecx
mov rbx, rdx
mov qword [rbp - 0x80], rcx
xor edx, edx
mov word [rsp + 0x51], ax
lea r8d, [rcx + 0x44]
mov byte [rsp + 0x53], al
lea rcx, [rbp - 0x72]
mov dword [rsp + 0x58], 0x8009
mov edi, r9d
mov dword [rsp + 0x5c], 0x6603
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], r15d
mov dword [rbp - 0x78], r15d
mov word [rbp - 0x74], r15w
call fcn.1400e8100
mov eax, dword [rbp + 0xd0]
xorps xmm0, xmm0
mov dword [rbp - 0x24], eax
lea rax, [rsp + 0x40]
mov qword [rbp], rax
mov qword [rbp - 0x2c], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r15
mov qword [rbp + 8], r15
movdqa xmmword [rbp + 0x10], xmm0
test rbx, rbx
je 0x14008a2e1
lea rcx, str.Key_GUID:
call fcn.14000b9e4
mov rcx, rbx
call fcn.140012280
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000b9e4
test rsi, rsi
je 0x14008a2d5
test edi, edi
je 0x14008a2d5
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlStringFromGUID]
test eax, eax
js 0x14008a2e1
lea edx, [r15 + 0x10]
lea rcx, [rsp + 0x44]
call qword [sym.imp.cryptdll.dll_CDGenerateRandomBits]
movzx r8d, word [rsp + 0x70]
lea rcx, [rbp - 0x74]
mov rdx, qword [rsp + 0x78]
sub r8, 4
add rdx, 2
call fcn.1400e84c0
mov r8, qword [rbp + 0xb0]
lea rbx, str.BigBad_:_kuhl_m_dPApi_create_data___ERROR
test r8, r8
je 0x14008a1cc
mov eax, dword [rbp + 0xc8]
lea rdx, [rsp + 0x40]
mov ecx, dword [rbp - 0x24]
mov r9, r14
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
call fcn.1400089a0
jmp 0x14008a204
mov rdx, qword [rbp + 0xb8]
test rdx, rdx
je 0x14008a210
mov r8d, dword [rbp + 0xc0]
test r8d, r8d
je 0x14008a210
mov eax, dword [rbp + 0xc8]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], edi
mov r9, r14
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
call fcn.140008a7c
test eax, eax
jne 0x14008a210
mov rcx, rbx
call fcn.14000b9e4
cmp qword [rsp + 0x60], r15
je 0x14008a2e1
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.1400075cc
mov rdi, rax
test rax, rax
je 0x14008a2c8
cmp dword [rbp + 0xd8], r15d
je 0x14008a246
lea rdx, [rbp - 0x80]
call fcn.1400073d8
movups xmm0, xmmword [rbp - 0x74]
lea rdx, [rbp + 0x20]
mov word [rbp + 0x68], r15w
movups xmm1, xmmword [rbp - 0x64]
lea rcx, str.File__s__hidden__system_:
movaps xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [rbp - 0x54]
movaps xmmword [rbp + 0x30], xmm1
movups xmm1, xmmword [rbp - 0x44]
movaps xmmword [rbp + 0x40], xmm0
movsd xmm0, qword [rbp - 0x34]
movsd qword [rbp + 0x60], xmm0
movaps xmmword [rbp + 0x50], xmm1
call fcn.14000b9e4
mov r8d, dword [rbp - 0x20]
lea rcx, [rbp + 0x20]
mov rdx, rdi
call fcn.140009714
test eax, eax
je 0x14008a2b7
mov edx, Ordinal_41
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
lea rcx, [0x140112bc8]
cmove rcx, rbx
jmp 0x14008a2ba
mov rcx, rbx
call fcn.14000b9e4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14008a2e1
lea rcx, str.BigBad_:_kuhl_m_dPApi_create_data___ERROR
call fcn.14000b9e4
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret