Function at 0x14004c9e0
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 - 0xa0]
sub rsp, 0x1a0
lea rdx, str.Map.sys
lea rcx, [rsp + 0x60]
call fcn.14004ffe0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [reloc.OLEAUT32.dll_VariantInit]
movdqu xmmword [rsp + 0x50], xmm1
mov rax, qword [str.Map.sys]
mov dword [rsp + 0x40], eax
movzx eax, word [0x14009b5dc]
mov word [rsp + 0x44], ax
movzx eax, byte [0x14009b5de]
mov byte [rsp + 0x46], al
mov byte [rsp + 0x47], 0
mov r8d, 0x2c40
lea rdx, [0x1400cf320]
lea rcx, [rsp + 0x60]
call fcn.140050c80
lea rcx, [rsp + 0x68]
call fcn.140052b00
mov ebx, 6
mov edi, 2
test rax, rax
jne 0x14004caad
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov eax, ebx
cmp qword [rbp + rcx - 0x58], 0
cmovne eax, edi
or eax, dword [rsp + rcx + 0x70]
and eax, 0x17
mov dword [rsp + rcx + 0x70], eax
mov edx, dword [rsp + rcx + 0x74]
and edx, eax
jne 0x14004ce20
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], r14
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.14004ff30
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x5c], edx
lea rsi, vtable.std::ios_base.0
mov qword [rbp + 8], rsi
lea rcx, [rbp + 8]
call fcn.14005906c
nop
lea rdx, str.kd.exe
lea rcx, [rsp + 0x60]
call fcn.14004ffe0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [reloc.OLEAUT32.dll_SysStringLen]
movdqu xmmword [rsp + 0x50], xmm1
mov eax, dword [str.kd.exe]
mov dword [rsp + 0x40], eax
movzx eax, word [0x14009b5e4]
mov word [rsp + 0x44], ax
mov byte [rsp + 0x46], 0
mov r8d, 0x23600
lea rdx, [0x1400abd20]
lea rcx, [rsp + 0x60]
call fcn.140050c80
lea rcx, [rsp + 0x68]
call fcn.140052b00
test rax, rax
jne 0x14004cbab
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx - 0x58], 0
cmovne ebx, edi
or ebx, dword [rsp + rcx + 0x70]
and ebx, 0x17
mov dword [rsp + rcx + 0x70], ebx
mov eax, dword [rsp + rcx + 0x74]
and eax, ebx
jne 0x14004cdd0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r14
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.14004ff30
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x5c], edx
mov qword [rbp + 8], rsi
lea rcx, [rbp + 8]
call fcn.14005906c
nop
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
movabs r14, 0x1564a8d88becf5e7
mov qword [rsp + 0x40], r14
movabs r15, 0x83ebe38d11c69af0
mov qword [rsp + 0x48], r15
movabs rsi, 0x1564cda0eec2918c
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r15
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, 0x26
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movabs rdi, 0x1517d1aba59c94aa
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r15
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, 0x26
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movabs rax, 0x5844cda0eec2918c
mov qword [rsp + 0x40], rax
movabs rax, 0x83eb90f462e8ea91
mov qword [rsp + 0x48], rax
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.14006b048
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movabs rbx, 0x1564a8d88b9f9984
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r15
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.14006b048
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r15
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.14006a994
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r15
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.14006a994
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r15
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.14006b048
lea r11, [rsp + 0x1a0]
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
test al, 4
je 0x14004cddd
lea rbx, str.ios_base::badbit_set
jmp 0x14004cdf1
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140038be0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x70]
call fcn.140039470
lea rdx, [0x1400a9958]
lea rcx, [rbp + 0x70]
call fcn.14005b120
nop
test dl, 4
je 0x14004ce2e
lea rbx, str.ios_base::badbit_set
jmp 0x14004ce43
test dil, dl
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140038be0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x70]
call fcn.140039470
lea rdx, [0x1400a9958]
lea rcx, [rbp + 0x70]
call fcn.14005b120
int3