Function at 0x140042d60
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.140045e70
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x48], 0xf
mov rax, qword [str.Map.sys]
mov dword [rsp + 0x30], eax
movzx eax, word [0x1400b32fc]
mov word [rsp + 0x34], ax
movzx eax, byte [0x1400b32fe]
mov byte [rsp + 0x36], al
mov byte [rsp + 0x37], 0
mov r8d, 0x2e40
lea rdx, [0x1400c0d00]
lea rcx, [rsp + 0x60]
call fcn.1400467b0
lea rcx, [rsp + 0x68]
call fcn.140048890
mov ebx, 6
lea edi, [rbx - 4]
test rax, rax
jne 0x140042e2f
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 0x1400431a9
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.140045dc0
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.14004edfc
nop
lea rdx, str.kd.exe
lea rcx, [rsp + 0x60]
call fcn.140045e70
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0xf
mov eax, dword [str.kd.exe]
mov dword [rsp + 0x30], eax
movzx eax, word [0x1400b3304]
mov word [rsp + 0x34], ax
mov byte [rsp + 0x36], 0
mov r8d, 0x23800
lea rdx, [0x1400c3b40]
lea rcx, [rsp + 0x60]
call fcn.1400467b0
lea rcx, [rsp + 0x68]
call fcn.140048890
test rax, rax
jne 0x140042f2d
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 0x140043159
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.140045dc0
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.14004edfc
nop
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
movabs r14, 0xd06deb4e512259f3
mov qword [rsp + 0x50], r14
movabs r15, 0xc22fa8fba0044820
mov qword [rsp + 0x58], r15
movabs rsi, 0xd06d8e36340c3d98
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r15
movdqa xmm0, xmmword [rsp + 0x50]
pxor 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 + 0x50], r14
mov qword [rsp + 0x58], r15
movabs rdi, 0xd01e923d7f5238be
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r15
movdqa xmm0, xmmword [rsp + 0x50]
pxor 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 + 0x50], r14
mov qword [rsp + 0x58], r15
movabs rax, 0x9d4d8e36340c3d98
mov qword [rsp + 0x30], rax
movabs rax, 0xc22fdb82d32a3841
mov qword [rsp + 0x38], rax
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.1400621e8
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r15
movabs rbx, 0xd06deb4e51513590
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r15
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.1400621e8
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r15
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.140061b38
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r15
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.140061b38
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r15
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.1400621e8
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 0x140043166
lea rbx, str.ios_base::badbit_set
jmp 0x14004317a
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 + 0x50]
call fcn.140038bc0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x70]
call fcn.140039450
lea rdx, [0x1400be4c0]
lea rcx, [rbp + 0x70]
call fcn.140051bb8
nop
test dl, 4
je 0x1400431b7
lea rbx, str.ios_base::badbit_set
jmp 0x1400431cc
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 + 0x50]
call fcn.140038bc0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x70]
call fcn.140039450
lea rdx, [0x1400be4c0]
lea rcx, [rbp + 0x70]
call fcn.140051bb8
int3