Function at 0x11f2cf50
Capabilities:
Check if file exists
Delete file
Get file attributes
Get file size
Move file
Set file attributes
Timestomp file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11fc6098
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
push edi
mov dword [0x12136284], ebp
call esi
mov edi, dword [esp + 0x74]
mov dword [0x1213628c], eax
cmp edi, ebp
je 0x11f2d3de
cmp word [edi], bp
je 0x11f2d3de
mov ebx, dword [esp + 0x78]
cmp ebx, ebp
je 0x11f2d3de
cmp word [ebx], bp
je 0x11f2d3de
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
call esi
test al, 0x10
mov dword [esp + 0x24], eax
je 0x11f2cfdb
mov dword [0x12136284], 0x1d
mov dword [0x12136288], 0x97
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x11f2d3f4
push ebx
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x11f2d009
test bl, 0x10
je 0x11f2d009
mov dword [0x12136284], 0x1e
mov dword [0x12136288], 0xa1
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x11f2d3f4
mov ecx, dword [0x11fd6250]
mov eax, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x6c], ebp
cmp ecx, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebp
je 0x11f2d046
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x74], eax
cmp ecx, ebp
jne 0x11f2d04a
mov dword [esp + 0x74], ebp
cmp ebx, 0xffffffff
jne 0x11f2d053
mov dword [esp + 0x74], ebp
mov ecx, dword [esp + 0x94]
mov eax, 5
cmp ecx, ebp
je 0x11f2d068
mov eax, 7
push ebp
push 0x80
push 3
push ebp
push eax
push bind
push edi
call fcn.11f30b10
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x11f2d2f4
xor edx, edx
cmp ebx, 0xffffffff
setne dl
mov esi, edx
test esi, esi
je 0x11f2d159
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x44]
mov dword [esp + 0x40], 0
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x78]
lea eax, [esp + 0x40]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x11f2d147
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x11f2d0d8
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x11f2d147
mov ecx, dword [0x12136290]
lea edx, [esp + 0x10]
push ecx
push edx
push 0x1204f154
push edi
call fcn.11f307e0
add esp, 0x10
test eax, eax
je 0x11f2d128
mov eax, dword [esp + 0x10]
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x11f2d112
mov dword [esp + 0x14], 1
jmp 0x11f2d147
mov dword [0x12136284], 0x28
mov dword [0x12136288], 0xe5
jmp 0x11f2d13c
mov dword [0x12136284], 0x24
mov dword [0x12136288], 0xec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x1213628c], eax
test bl, 1
je 0x11f2d15d
and ebx, 0xfffffffe
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x11f2d15d
mov edi, dword [esp + 0x78]
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
push edi
call fcn.11f30b10
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x11f2d315
xor eax, eax
cmp esi, eax
je 0x11f2d204
cmp dword [esp + 0x14], eax
je 0x11f2d204
mov ecx, dword [esp + 0x10]
push eax
push 0x80
push 4
push eax
push 7
push bind
push ecx
call fcn.11f30b10
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x11f2d202
mov eax, dword [esp + 0x74]
xor ebx, ebx
cmp eax, ebx
je 0x11f2d1fb
lea edx, [esp + 0x94]
mov dword [esp + 0x94], ebx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, ebx
jne 0x11f2d1e0
cmp dword [esp + 0x94], ebx
je 0x11f2d1f7
cmp dword [esp + 0x88], 1
jne 0x11f2d1fb
push esi
call fcn.11ee6250
add esp, 4
test eax, eax
je 0x11f2d1fb
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 0x11f2d254
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 eax, [esp + 0x28]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test bl, 4
je 0x11f2d26c
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push ecx
push ebp
call fcn.11f30300
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
mov eax, dword [esp + 0x98]
test eax, eax
je 0x11f2d287
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 0x11f2d2b0
mov edx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x80]
push eax
call fcn.11f30580
add esp, 0xc
test bl, 2
je 0x11f2d2c5
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x78]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x11f2d37f
mov eax, dword [esp + 0x74]
test eax, eax
je 0x11f2d3c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x8c]
push 0x103
push eax
push ecx
jmp 0x11f2d377
mov dword [0x12136284], 3
mov dword [0x12136288], 0xce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x1213628c], eax
jmp 0x11f2d37f
mov dword [0x12136284], 4
mov dword [0x12136288], 0x102
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
mov dword [0x1213628c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x11f2d37f
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x10]
push 3
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x11f2d37f
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c], 0xffffffff
test eax, eax
je 0x11f2d37f
mov ecx, dword [esp + 0x10]
push 0x103
push ecx
push eax
call fcn.11e674bf
add esp, 0xc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x11f2d398
push eax
call fcn.11e679b1
add esp, 4
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], 0xffffffff
call fcn.11e7f280
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 edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x11f2d37f
mov eax, dword [esp + 0x10]
push eax
call fcn.11f30600
add esp, 4
jmp 0x11f2d37f
mov dword [0x12136284], 1
mov dword [0x12136288], 0x8f
call esi
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword [0x1213628c], eax
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret