Function at 0x140060c60
Capabilities:
Set file attributes
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rsi
push rdi
push r13
sub rsp, reloc.MFC80U.DLL_Ordinal_2192
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + Ordinal_2183], rax
mov rax, qword [rcx]
mov qword [r11 + 0x10], rbp
xor r13d, r13d
mov qword [r11 + 0x18], r12
mov rbp, r13
mov rsi, r13
call qword [rax + 0x18]
test rax, rax
mov r12, rax
je 0x140060d8a
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
test rax, rax
je 0x140060d8a
nop
nop
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x78]
test rax, rax
mov rbx, rax
je 0x140060d77
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
test rax, rax
mov rdi, rax
je 0x140060d77
nop
nop
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0xc8]
mov rcx, rdi
test eax, eax
mov rax, qword [rdi]
cmovne rbp, rdi
call qword [rax + 0xd0]
mov rcx, rdi
test eax, eax
mov rax, qword [rdi]
cmovne rsi, rdi
call qword [rax + 0xd0]
test eax, eax
jne 0x140060d62
lea rcx, [rsp + 0x670]
xor edx, edx
mov r8d, 0x208
call sub.ntdll.dll_memset
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x50]
lea r9, str.AMTAG.BIN
lea rdx, [0x1402e2978]
lea rcx, [rsp + 0x670]
movzx r8d, ax
call qword [sym.imp.MSVCR80.dll__swprintf]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
test rax, rax
mov rdi, rax
jne 0x140060cf0
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x20]
test rax, rax
jne 0x140060cc0
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x400
call sub.ntdll.dll_memset
test rbp, rbp
mov r12, qword [rsp + 0x8c0]
je 0x140060e41
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x30]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x60]
test eax, eax
je 0x140060e04
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x30]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x60]
mov rcx, rbp
test eax, eax
setne byte [rsp + 0x50]
mov rax, qword [rbp]
call qword [rax + 0xb0]
lea rdx, [rsp + 0x51]
mov rcx, qword [rax + 0x78]
mov qword [rdx], rcx
mov rax, qword [rax + 0x80]
mov qword [rdx + 8], rax
jmp 0x140060e41
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x30]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x58]
test eax, eax
jne 0x140060e41
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x30]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x28]
mov rcx, rbp
mov dword [rsp + 0x51], eax
mov rax, qword [rbp]
call qword [rax + 0x38]
mov qword [rsp + 0x55], rax
test rsi, rsi
mov rbp, qword [rsp + 0x8b8]
je 0x140061196
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x60]
test eax, eax
je 0x140060eac
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x60]
mov rcx, rsi
test eax, eax
setne byte [rsp + 0x250]
mov rax, qword [rsi]
call qword [rax + 0xb0]
lea rdx, [rsp + 0x251]
mov rcx, qword [rax + 0x78]
mov qword [rdx], rcx
mov rax, qword [rax + 0x80]
mov qword [rdx + 8], rax
jmp 0x140060eec
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x58]
test eax, eax
jne 0x140060eec
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x28]
mov rcx, rsi
mov dword [rsp + 0x251], eax
mov rax, qword [rsi]
call qword [rax + 0x38]
mov qword [rsp + 0x255], rax
lea rcx, [rsp + 0x462]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x460], r13w
call sub.ntdll.dll_memset
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x50]
lea r9, str.AMTAG.BIN
lea rdx, [0x1402e2978]
lea rcx, [rsp + 0x460]
movzx r8d, ax
call qword [sym.imp.MSVCR80.dll__swprintf]
lea rcx, [rsp + 0x460]
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor r9d, r9d
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x460]
lea r8d, [r9 + 3]
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rdi, rax
jne 0x14006106d
call fcn.140049470
lea rbx, [0x140433bd0]
xor edx, edx
mov rcx, rbx
mov r8d, 0x80
mov rsi, rax
call sub.ntdll.dll_memset
lea edx, [rdi + 0x5d]
lea rcx, str...manager.cpp
call qword [sym.imp.ntdll.dll_strrchr]
test rax, rax
mov rdi, rax
je 0x140061053
xor eax, eax
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0x450]
mov r8d, reloc.MFC80U.DLL_Ordinal_277
mov byte [rsp + 0x450], r13b
mov qword [rsp + Ordinal_1112], rax
mov word [rsp + 0x459], ax
mov byte [rsp + 0x45b], al
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, rbx
sub rcx, rdx
nop
nop
nop
nop
movzx eax, byte [rdx]
add rdx, 1
test al, al
mov byte [rcx + rdx - 1], al
jne 0x140061010
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x450]
nop
nop
nop
movzx eax, byte [rdx + rcx]
add rcx, 1
test al, al
mov byte [rdi + rcx - 2], al
jne 0x140061040
mov r13, rbx
mov rax, qword [rsi]
lea rdx, str._s:_Crate_file_failed.
mov r8, r13
mov rcx, rsi
call qword [rax + 0x10]
xor eax, eax
jmp 0x14006119b
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r8d, 0x400
mov rcx, rax
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14006117a
call fcn.140049470
lea rbx, [0x140433bd0]
xor edx, edx
mov rcx, rbx
mov r8d, 0x80
mov rsi, rax
call sub.ntdll.dll_memset
lea rcx, str...manager.cpp
mov edx, 0x5c
call qword [sym.imp.ntdll.dll_strrchr]
test rax, rax
mov rdi, rax
je 0x140061163
xor eax, eax
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0x450]
mov r8d, Ordinal_285
mov byte [rsp + 0x450], r13b
mov qword [rsp + Ordinal_1112], rax
mov word [rsp + 0x459], ax
mov byte [rsp + 0x45b], al
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, rbx
sub rcx, rdx
nop
nop
movzx eax, byte [rdx]
add rdx, 1
test al, al
mov byte [rcx + rdx - 1], al
jne 0x140061120
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x450]
nop
nop
nop
movzx eax, byte [rdx + rcx]
add rcx, 1
test al, al
mov byte [rdi + rcx - 2], al
jne 0x140061150
mov r13, rbx
mov rax, qword [rsi]
lea rdx, str._s:_Write_file_failed.
mov r8, r13
mov rcx, rsi
call qword [rax + 0x10]
xor eax, eax
jmp 0x14006119b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x460]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, 1
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.140161080
mov rbx, qword [rsp + 0x8c8]
add rsp, reloc.MFC80U.DLL_Ordinal_2192
pop r13
pop rdi
pop rsi
ret