Function at 0x6a2900
Capabilities:
Delete file
Get file size
Move file
Set file attributes
Timestomp file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x888398
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
xor edi, edi
mov dword [0x9de700], edi
call ebp
mov esi, dword [esp + 0x74]
mov dword [0x9de708], eax
cmp esi, edi
je 0x6a2d81
cmp word [esi], di
je 0x6a2d81
mov ebx, dword [esp + 0x78]
cmp ebx, edi
je 0x6a2d81
cmp word [ebx], di
je 0x6a2d81
push esi
call fcn.006a31f0
add esp, 4
mov dword [esp + 0x24], eax
test al, 0x10
je 0x6a2985
mov dword [0x9de700], 0x1d
mov dword [0x9de704], 0x97
jmp 0x6a2d95
push ebx
call fcn.006a31f0
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x6a29b3
test bl, 0x10
je 0x6a29b3
mov dword [0x9de700], 0x1e
mov dword [0x9de704], 0xa1
jmp 0x6a2d95
mov ecx, dword [0x8ab26c]
mov eax, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x6c], edi
cmp ecx, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
je 0x6a29f0
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x74], eax
cmp ecx, edi
jne 0x6a29f4
mov dword [esp + 0x74], edi
cmp ebx, 0xffffffff
jne 0x6a29fd
mov dword [esp + 0x74], edi
mov ecx, dword [esp + 0x94]
mov eax, 5
cmp ecx, edi
je 0x6a2a12
mov eax, 7
push edi
push 0x80
push 3
push edi
push eax
push SysReAllocString
push esi
call fcn.006a4030
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x6a2c99
xor edx, edx
cmp ebx, 0xffffffff
setne dl
mov esi, edx
cmp esi, edi
je 0x6a2b05
mov dword [esp + 0x40], edi
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x78]
lea eax, [esp + 0x40]
push eax
push 0
push edi
call fcn.006a3220
add esp, 0xc
test eax, eax
je 0x6a2aef
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x6a2a80
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x6a2aef
mov ecx, dword [0x9de70c]
lea edx, [esp + 0x10]
push ecx
push edx
push 0x992874
push edi
call fcn.006a3d00
add esp, 0x10
test eax, eax
je 0x6a2ad0
mov eax, dword [esp + 0x10]
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x6a2aba
mov dword [esp + 0x14], 1
jmp 0x6a2aef
mov dword [0x9de700], 0x28
mov dword [0x9de704], 0xe5
jmp 0x6a2ae4
mov dword [0x9de700], 0x24
mov dword [0x9de704], 0xec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9de708], eax
test bl, 1
je 0x6a2b03
mov ecx, dword [esp + 0x78]
and ebx, 0xfffffffe
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor edi, edi
mov edx, dword [esp + 0x78]
push edi
push 0x80
push 4
push edi
push edi
push 0xc0000000
push edx
call fcn.006a4030
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x6a2cba
xor eax, eax
cmp esi, eax
je 0x6a2bad
cmp dword [esp + 0x14], eax
je 0x6a2bad
push eax
push 0x80
push 4
push eax
mov eax, dword [esp + 0x20]
push 7
push SysReAllocString
push eax
call fcn.006a4030
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x6a2bab
mov eax, dword [esp + 0x74]
xor ebx, ebx
cmp eax, ebx
je 0x6a2ba4
lea ecx, [esp + 0x94]
mov dword [esp + 0x94], ebx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, ebx
jne 0x6a2b89
cmp dword [esp + 0x94], ebx
je 0x6a2ba0
cmp dword [esp + 0x88], 1
jne 0x6a2ba4
push esi
call fcn.0067bd20
add esp, 4
test eax, eax
je 0x6a2ba4
mov dword [esp + 0x74], ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov bl, byte [esp + 0x90]
test bl, 1
je 0x6a2bfd
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea edx, [esp + 0x28]
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test bl, 4
je 0x6a2c15
lea edx, [esp + 0x20]
lea eax, [esp + 0x18]
push edx
push eax
push ebp
call fcn.006a3820
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
mov eax, dword [esp + 0x98]
test eax, eax
je 0x6a2c30
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
mov dword [esp + 0x20], 0
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6a2c56
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
push ecx
push eax
push edx
call fcn.006a3aa0
add esp, 0xc
test bl, 2
je 0x6a2c6b
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x78]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6a2d24
mov eax, dword [esp + 0x74]
test eax, eax
je 0x6a2d63
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x8c]
push 0x103
push edx
jmp 0x6a2d1b
mov dword [0x9de700], 3
mov dword [0x9de704], 0xce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9de708], eax
jmp 0x6a2d26
mov dword [0x9de700], 4
mov dword [0x9de704], 0x102
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
mov dword [0x9de708], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6a2d24
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x10]
push 3
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x6a2d24
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c], 0xffffffff
test eax, eax
je 0x6a2d24
mov edx, dword [esp + 0x10]
push 0x103
push edx
push eax
call fcn.005fc3ce
add esp, 0xc
xor edi, edi
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x6a2d3b
push eax
call fcn.008325dd
add esp, 4
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00617ec0
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x6a2d24
mov edx, dword [esp + 0x10]
push edx
call fcn.006a3b20
add esp, 4
jmp 0x6a2d24
mov dword [0x9de700], 1
mov dword [0x9de704], 0x8f
call ebp
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword [0x9de708], eax
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret