Function at 0x140025e60
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.140038310
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x200
xor r12d, r12d
call fcn.140038310
lea r8, [0x14009292c]
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400261e0
mov rsi, rax
test rax, rax
je 0x1400261c0
mov qword [rsp + 0x680], rdi
test rbx, rbx
je 0x140025ef4
mov r8, rbx
lea rcx, [rsp + 0x50]
mov rdx, rax
call fcn.140025bd0
xor edx, edx
lea rcx, [rbp + 0x350]
mov r8d, 0x200
call fcn.140038310
lea rcx, [rbp + 0x350]
dec rcx
cmp byte [rcx + 1], r12b
lea rcx, [rcx + 1]
jne 0x140025f12
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 0x140025f30
lea rdx, [0x14009292c]
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.140030190
mov rdi, 0xffffffffffffffff
mov rbx, rdi
inc rbx
cmp byte [r14 + rbx], r12b
jne 0x140025f73
cmp rbx, 0x200
jae 0x1400261b5
lea r8, [rbx + 1]
mov rdx, r14
lea rcx, [rbp + 0x150]
call fcn.1400390f0
mov eax, dword [0x1400b5104]
cmp eax, 2
jne 0x140025fc1
mov dword [rsp + 0x30], 0x7a7363
mov dword [rsp + 0x20], 0x7a7369
mov dword [rsp + 0x40], 0x7a7373
jmp 0x140026017
cmp eax, 3
jne 0x140025fe0
mov dword [rsp + 0x30], 0x7a6563
mov dword [rsp + 0x20], 0x7a6569
mov dword [rsp + 0x40], 0x7a6573
jmp 0x140026017
cmp eax, 4
jne 0x140025fff
mov dword [rsp + 0x30], 0x7a6263
mov dword [rsp + 0x20], 0x7a6269
mov dword [rsp + 0x40], 0x7a6273
jmp 0x140026017
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 0x140026020
lea rcx, [rsp + 0x50]
mov r8, rdi
add rcx, rsi
mov rdx, r15
call fcn.1400390f0
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 [0x140092930]
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 0x140026094
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 0x1400261b5
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 [0x140092934]
mov word [rsp + rsi + 0x51], ax
movzx eax, byte [0x140092936]
mov byte [rsp + rsi + 0x53], al
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140026101
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 0x1400261b5
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 [0x140092938]
mov word [rsp + rsi + 0x51], ax
movzx eax, byte [0x14009293a]
mov byte [rsp + rsi + 0x53], al
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002616e
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 0x1400261b5
movzx ecx, word [0x140092930]
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.1400390f0
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