Function at 0x140025f00
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x550]
sub rsp, 0x650
mov rbx, r8
mov r13, rdx
mov r14, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x150]
mov r15, r9
call fcn.14003aa80
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x200
xor r12d, r12d
call fcn.14003aa80
lea r8, [0x1400959bc]
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.140026280
mov rsi, rax
test rax, rax
je 0x140026260
mov qword [rsp + 0x680], rdi
test rbx, rbx
je 0x140025f94
mov r8, rbx
lea rcx, [rsp + 0x50]
mov rdx, rax
call fcn.140025c70
xor edx, edx
lea rcx, [rbp + 0x350]
mov r8d, 0x200
call fcn.14003aa80
lea rcx, [rbp + 0x350]
dec rcx
cmp byte [rcx + 1], r12b
lea rcx, [rcx + 1]
jne 0x140025fb2
lea r9, [rsp + 0x50]
xor r8d, r8d
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r9 + r8]
mov byte [rcx + r8], al
lea r8, [r8 + 1]
test al, al
jne 0x140025fd0
lea rdx, [0x1400959bc]
lea rcx, [rbp + 0x350]
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
lea rcx, [rbp + 0x350]
mov byte [rax + 1], 0x75
mov byte [rax + 3], r12b
call fcn.1400328d0
mov rdi, 0xffffffffffffffff
mov rbx, rdi
inc rbx
cmp byte [r14 + rbx], r12b
jne 0x140026013
cmp rbx, 0x200
jae 0x140026255
lea r8, [rbx + 1]
mov rdx, r14
lea rcx, [rbp + 0x150]
call fcn.14003b860
mov eax, dword [0x1400b8134]
cmp eax, 2
jne 0x140026061
mov dword [rsp + 0x30], 0x7a7363
mov dword [rsp + 0x20], 0x7a7369
mov dword [rsp + 0x40], 0x7a7373
jmp 0x1400260b7
cmp eax, 3
jne 0x140026080
mov dword [rsp + 0x30], 0x7a6563
mov dword [rsp + 0x20], 0x7a6569
mov dword [rsp + 0x40], 0x7a6573
jmp 0x1400260b7
cmp eax, 4
jne 0x14002609f
mov dword [rsp + 0x30], 0x7a6263
mov dword [rsp + 0x20], 0x7a6269
mov dword [rsp + 0x40], 0x7a6273
jmp 0x1400260b7
mov dword [rsp + 0x30], 0x7a7463
mov dword [rsp + 0x20], 0x7a7469
mov dword [rsp + 0x40], 0x7a7473
mov byte [rsp + rsi + 0x50], 0x5c
inc rsi
nop
inc rdi
cmp byte [r15 + rdi], r12b
jne 0x1400260c0
lea rcx, [rsp + 0x50]
mov r8, rdi
add rcx, rsi
mov rdx, r15
call fcn.14003b860
movzx eax, word [rsp + 0x20]
lea rcx, [rsp + 0x50]
mov word [rbp + rbx + 0x14d], ax
add rsi, rdi
movzx eax, byte [rsp + 0x22]
mov byte [rbp + rbx + 0x14f], al
movzx eax, word [0x1400959c0]
mov byte [rsp + rsi + 0x50], 0x2e
mov word [rsp + rsi + 0x51], ax
movzx eax, byte [reloc.dwmapi.dll_Ordinal_102]
mov byte [rsp + rsi + 0x53], al
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140026134
and eax, 0xfffffffc
lea rcx, [rsp + 0x50]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x140026255
movzx eax, word [rsp + 0x30]
lea rcx, [rsp + 0x50]
mov word [rbp + rbx + 0x14d], ax
movzx eax, byte [rsp + 0x32]
mov byte [rbp + rbx + 0x14f], al
movzx eax, word [0x1400959c4]
mov word [rsp + rsi + 0x51], ax
movzx eax, byte [0x1400959c6]
mov byte [rsp + rsi + 0x53], al
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400261a1
and eax, 0xfffffffc
lea rcx, [rsp + 0x50]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x140026255
movzx eax, word [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov word [rbp + rbx + 0x14d], ax
movzx eax, byte [rsp + 0x42]
mov byte [rbp + rbx + 0x14f], al
movzx eax, word [0x1400959c8]
mov word [rsp + rsi + 0x51], ax
movzx eax, byte [0x1400959ca]
mov byte [rsp + rsi + 0x53], al
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002620e
and eax, 0xfffffffc
lea rcx, [rsp + 0x50]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x140026255
movzx ecx, word [0x1400959c0]
lea r8, [rsi + 4]
mov word [rsp + rsi + 0x51], cx
lea rdx, [rsp + 0x50]
movzx ecx, byte [reloc.dwmapi.dll_Ordinal_102]
mov r12d, 1
mov byte [rsp + rsi + 0x53], cl
mov rcx, r13
call fcn.14003b860
mov rdi, qword [rsp + 0x680]
mov eax, r12d
lea r11, [rsp + 0x650]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret