Function at 0x69d160
Capabilities:
Delete file
Move file
Set file attributes
Timestomp file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x888228
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
mov dword [0x9de1c0], ebp
call edi
mov esi, dword [esp + 0x74]
mov dword [0x9de1c8], eax
cmp esi, ebp
je 0x69d75f
cmp word [esi], bp
je 0x69d75f
mov ebx, dword [esp + 0x78]
cmp ebx, ebp
je 0x69d75f
cmp word [ebx], bp
je 0x69d75f
cmp dword [0x9de1cc], ebp
jne 0x69d1dc
mov dword [0x9de1c0], 2
mov dword [0x9de1c4], 0x51d
jmp 0x69d773
push esi
or edi, 0xffffffff
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebp
call fcn.006a31f0
add esp, 4
mov dword [esp + 0x24], eax
test al, 0x10
je 0x69d217
mov dword [0x9de1c0], 0x1d
mov dword [0x9de1c4], 0x52b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x69d775
push ebx
call fcn.006a31f0
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x69d24b
test bl, 0x10
je 0x69d24b
mov dword [0x9de1c0], 0x1e
mov dword [0x9de1c4], 0x535
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x69d775
mov ecx, dword [0x8ab26c]
mov eax, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x6c], ebp
cmp ecx, ebp
mov dword [esp + 0x74], ebp
je 0x69d287
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x80], eax
cmp ecx, ebp
jne 0x69d28e
mov dword [esp + 0x80], ebp
cmp ebx, 0xffffffff
jne 0x69d29a
mov dword [esp + 0x80], ebp
push esi
call fcn.0067c540
add esp, 4
cmp eax, ebp
jne 0x69d4b2
mov ecx, dword [esp + 0x8c]
mov eax, 5
cmp ecx, ebp
je 0x69d2c0
mov eax, 7
push ebp
push 0x80
push 3
push ebp
push eax
push SysReAllocString
push esi
call fcn.006a4030
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x69d5da
push esi
call fcn.0067bd20
add esp, 4
test eax, eax
jne 0x69d682
xor edx, edx
cmp ebx, 0xffffffff
setne dl
mov ebp, edx
test ebp, ebp
je 0x69d3be
mov ecx, 8
lea edi, [esp + 0x44]
mov dword [esp + 0x40], eax
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 0x69d3ac
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x69d33d
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x69d3ac
mov ecx, dword [0x9de6fc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0x992874
push edi
call fcn.006a3d00
add esp, 0x10
test eax, eax
je 0x69d38d
mov eax, dword [esp + 0x10]
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x69d377
mov dword [esp + 0x74], 1
jmp 0x69d3ac
mov dword [0x9de1c0], 0x28
mov dword [0x9de1c4], 0x5b5
jmp 0x69d3a1
mov dword [0x9de1c0], 0x24
mov dword [0x9de1c4], 0x5bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9de1c8], eax
test bl, 1
je 0x69d3c2
and ebx, 0xfffffffe
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x69d3c2
mov edi, dword [esp + 0x78]
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
push edi
call fcn.006a4030
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x69d6a3
test ebp, ebp
je 0x69d3fc
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], 0
test eax, eax
je 0x69d404
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x14]
push ecx
push edi
push esi
push 0
call fcn.006a13f0
add esp, 0x10
test eax, eax
je 0x69d6c2
test byte [esp + 0x88], 1
je 0x69d46f
lea edx, [esp + 0x28]
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x3c]
push eax
xor ebx, ebx
push ecx
push esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
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]
jmp 0x69d471
xor ebx, ebx
test byte [esp + 0x88], 4
je 0x69d48e
lea edx, [esp + 0x20]
lea eax, [esp + 0x18]
push edx
push eax
push esi
call fcn.006a3820
add esp, 0xc
cmp dword [esp + 0x90], ebx
je 0x69d49e
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov dword [esp + 0x1c], ebx
xor ebp, ebp
jmp 0x69d6cd
xor eax, eax
cmp ebx, 0xffffffff
setne al
cmp eax, ebp
mov ebx, 0x24
je 0x69d572
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x44]
mov dword [esp + 0x40], ebp
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x78]
lea ecx, [esp + 0x40]
push ecx
push ebp
push edi
call fcn.006a3220
add esp, 0xc
test eax, eax
je 0x69d566
cmp dword [esp + 0x60], ebp
jne 0x69d4fb
cmp dword [esp + 0x5c], ebp
je 0x69d566
mov edx, dword [0x9de6fc]
lea eax, [esp + 0x10]
push edx
push eax
push 0x992874
push edi
call fcn.006a3d00
add esp, 0x10
test eax, eax
je 0x69d54b
mov ecx, dword [esp + 0x10]
push 2
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x69d535
mov dword [esp + 0x74], 1
jmp 0x69d566
mov dword [0x9de1c0], 0x28
mov dword [0x9de1c4], 0x562
jmp 0x69d55b
mov dword [0x9de1c0], ebx
mov dword [0x9de1c4], 0x569
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9de1c8], eax
cmp dword [esp + 0x74], ebp
jne 0x69d576
mov dword [esp + 0x14], ebp
jmp 0x69d57e
mov edi, dword [esp + 0x78]
mov dword [esp + 0x14], 1
test byte [esp + 0x88], 4
je 0x69d59b
lea edx, [esp + 0x20]
lea eax, [esp + 0x18]
push edx
push eax
push esi
call fcn.006a39f0
add esp, 0xc
mov ecx, dword [esp + 0x90]
push ecx
push 0xffffffffffffffff
push ebp
push edi
push esi
call fcn.00679970
add esp, 0x14
test eax, eax
je 0x69d5bd
mov dword [esp + 0x1c], ebp
jmp 0x69d6e3
mov dword [0x9de1c0], ebx
mov dword [0x9de1c4], 0x57d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9de1c8], eax
jmp 0x69d5fd
mov dword [0x9de1c0], 3
mov dword [0x9de1c4], 0x596
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9de1c8], eax
mov edi, dword [esp + 0x78]
cmp dword [esp + 0x14], ebp
je 0x69d60a
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x74], ebp
je 0x69d645
mov edx, dword [esp + 0x10]
push 3
push edi
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x69d645
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], 0xffffffff
cmp eax, ebp
je 0x69d645
mov ecx, dword [esp + 0x10]
push 0x103
push ecx
push eax
call fcn.005fc3ce
add esp, 0xc
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x69d65a
push eax
call fcn.008325dd
add esp, 4
mov dword [esp + 0x18], ebp
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 dword [0x9de1c0], 0x2a
mov dword [0x9de1c4], 0x59e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9de1c8], eax
jmp 0x69d6c4
mov dword [0x9de1c0], 4
mov dword [0x9de1c4], 0x5d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9de1c8], eax
xor ebp, ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
cmp edi, 0xffffffff
je 0x69d6d5
push edi
call esi
cmp dword [esp + 0x1c], ebp
jne 0x69d5f9
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x69d6fa
mov edx, dword [esp + 0x20]
push edx
push eax
push edi
call fcn.006a3aa0
add esp, 0xc
test byte [esp + 0x88], 2
je 0x69d710
mov eax, dword [esp + 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x74], ebp
je 0x69d645
cmp dword [esp + 0x80], ebp
je 0x69d73a
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x84]
push 0x103
push ecx
push edx
jmp 0x69d63d
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x69d645
mov ecx, dword [esp + 0x10]
push ecx
call fcn.006a3b20
add esp, 4
jmp 0x69d645
mov dword [0x9de1c0], 1
mov dword [0x9de1c4], 0x517
call edi
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword [0x9de1c8], eax
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret