Function at 0x14000c2b8
Capabilities:
Delete file
Get common file path
Move file
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
mov eax, 0x1170
call fcn.1401cc910
sub rsp, rax
lea rbp, [rsp + 0x40]
mov rax, qword [0x14183f828]
xor rax, rbp
mov qword [rbp + 0x1120], rax
mov qword [rbp + 8], 0xffffffffffffffff
mov qword [rbp + 0x10], 0xffffffffffffffff
mov dword [rbp + 0x2c], 0
lea rax, [rbp + 0xd00]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xf10]
lea r8, [rbp + 0xaf0]
lea rdx, [rbp + 0x8e0]
mov rcx, qword [rbp + 0x1148]
call fcn.1401d54c0
lea rdx, [rbp + 0x8e0]
lea rcx, [rbp + 0x6d0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rbp + 0xaf0]
lea rcx, [rbp + 0x6d0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rdx, qword [rbp + 0x1148]
lea rcx, [rbp + 0x4c0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str..bak
lea rcx, [rbp + 0x4c0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r9, [rbp + 0x2b0]
xor r8d, r8d
lea rdx, [0x140201308]
lea rcx, [rbp + 0x6d0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x14000c3ab
jmp 0x14000c694
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x14000c3ec
jmp 0x14000c694
cmp dword [rbp + 0x1150], 0xffffffff
jne 0x14000c405
mov rax, qword [rbp + 0x1140]
mov eax, dword [rax + 0x4c]
mov dword [rbp + 0x1150], eax
movsxd rax, dword [rbp + 0x1150]
lea rcx, section..data
mov rax, qword [rcx + rax*8]
mov qword [rbp + 0x50], rax
mov rcx, qword [rbp + 0x50]
call fcn.1401d2100
mov dword [rbp + 0x28], eax
mov rax, qword [rbp + 0x1140]
add rax, 0x58
mov rcx, rax
call fcn.14000a204
mov dword [rbp + 0x24], eax
call fcn.1400031a4
mov dword [rbp + 0x30], eax
mov dword [rbp], 0
jmp 0x14000c456
mov eax, dword [rbp]
inc eax
mov dword [rbp], eax
mov eax, dword [rbp + 0x24]
cmp dword [rbp], eax
jge 0x14000c5b4
movsxd rax, dword [rbp]
mov rcx, qword [rbp + 0x1140]
add rcx, 0x58
mov rdx, rax
call fcn.140008d98
mov eax, dword [rax + 8]
mov dword [rbp + 0x1c], eax
cmp dword [rbp + 0x1c], 0
jle 0x14000c570
movsxd rax, dword [rbp]
mov rcx, qword [rbp + 0x1140]
add rcx, 0x58
mov rdx, rax
call fcn.140008d98
mov rax, qword [rax]
mov qword [rbp + 0x38], rax
cmp qword [rbp + 0x38], 0
jne 0x14000c4bb
mov qword [rbp + 0x48], 0
jmp 0x14000c53b
mov rcx, qword [rbp + 0x38]
call fcn.1401d1ce8
inc eax
mov dword [rbp + 0x18], eax
cmp dword [rbp + 0x18], 0x3fffffff
jle 0x14000c4dc
mov qword [rbp + 0x40], 0
jmp 0x14000c533
movsxd rax, dword [rbp + 0x18]
shl rax, 1
mov qword [rbp + 0x58], rax
movsxd rcx, dword [rbp + 0x18]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x14000c504
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.1401cc910
sub rsp, rax
lea rax, [rsp + 0x40]
mov r9d, dword [rbp + 0x30]
mov rcx, qword [rbp + 0x58]
mov r8d, ecx
mov rdx, qword [rbp + 0x38]
mov rcx, rax
call fcn.140009478
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x20]
mov r8d, dword [rbp + 0x1c]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000c563
jmp 0x14000c694
mov eax, dword [rbp + 0x20]
cmp dword [rbp + 0x1c], eax
je 0x14000c570
jmp 0x14000c694
mov eax, dword [rbp + 0x24]
dec eax
cmp dword [rbp], eax
jge 0x14000c5af
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x20]
mov r8d, dword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000c5a2
jmp 0x14000c694
mov eax, dword [rbp + 0x20]
cmp dword [rbp + 0x28], eax
je 0x14000c5af
jmp 0x14000c694
jmp 0x14000c44e
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 8], 0xffffffffffffffff
mov rax, qword [rbp + 0x1140]
cmp dword [rax + 0x50], 0
je 0x14000c62a
lea rdx, [rbp + 0x60]
mov rcx, qword [rbp + 0x1148]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0xffffffffffffffff
je 0x14000c628
lea rcx, [rbp + 0x4c0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp + 0x4c0]
mov rcx, qword [rbp + 0x1148]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14000c616
jmp 0x14000c694
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rbp + 0x10], 0xffffffffffffffff
jmp 0x14000c637
mov rcx, qword [rbp + 0x1148]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rbp + 0x1148]
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14000c651
jmp 0x14000c694
cmp dword [rbp + 0x1158], 0
je 0x14000c68d
mov rax, qword [rbp + 0x1140]
mov rax, qword [rax]
xor edx, edx
mov rcx, qword [rbp + 0x1140]
call qword [rax + 0xa8]
mov rax, qword [rbp + 0x1140]
mov rcx, qword [rbp + 0x1140]
mov ecx, dword [rcx + 0xa8]
mov dword [rax + 0xac], ecx
mov dword [rbp + 0x2c], 1
cmp qword [rbp + 0x10], 0xffffffffffffffff
je 0x14000c6a5
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp qword [rbp + 8], 0xffffffffffffffff
je 0x14000c6b6
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [rbp + 0x2c]
mov rcx, qword [rbp + 0x1120]
xor rcx, rbp
call fcn.1401cc970
lea rsp, [rbp + 0x1130]
pop rbp
ret