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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x545c18
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 esi, esi
mov dword [0x5997e0], esi
call edi
mov ebp, dword [esp + 0x74]
mov dword [0x5997e8], eax
cmp ebp, esi
je 0x4b3b6b
cmp word [ebp], si
je 0x4b3b6b
mov ebx, dword [esp + 0x78]
cmp ebx, esi
je 0x4b3b6b
cmp word [ebx], si
je 0x4b3b6b
cmp dword [0x5997ec], esi
jne 0x4b35dd
mov dword [0x5997e0], 2
mov dword [0x5997e4], 0x532
jmp 0x4b3b7f
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebp
or edi, 0xffffffff
call esi
test al, 0x10
mov dword [esp + 0x24], eax
je 0x4b3618
mov dword [0x5997e0], 0x1d
mov dword [0x5997e4], 0x540
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4b3b81
push ebx
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4b3646
test bl, 0x10
je 0x4b3646
mov dword [0x5997e0], 0x1e
mov dword [0x5997e4], 0x54a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4b3b81
mov ecx, dword [0x550434]
mov eax, 1
xor esi, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x6c], esi
cmp ecx, esi
mov dword [esp + 0x74], esi
je 0x4b3684
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x80], eax
cmp ecx, esi
jne 0x4b368b
mov dword [esp + 0x80], esi
cmp ebx, 0xffffffff
jne 0x4b3697
mov dword [esp + 0x80], esi
push ebp
call fcn.00478a20
add esp, 4
cmp eax, esi
jne 0x4b38a8
mov ecx, dword [esp + 0x8c]
mov eax, 5
cmp ecx, esi
je 0x4b36bd
mov eax, 7
push esi
push 0x80
push 3
push esi
push eax
push SysReAllocStringLen
push ebp
call fcn.004c0f00
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x4b39db
push esi
call fcn.00478200
add esp, 4
test eax, eax
jne 0x4b3a89
cmp ebx, 0xffffffff
setne al
xor ebp, ebp
mov dword [esp + 0x8c], eax
cmp eax, ebp
je 0x4b37c2
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 edx, [esp + 0x40]
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x4b37ac
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x4b373e
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4b37ac
mov eax, dword [0x599d20]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x57b304
push edi
call fcn.004c0bd0
add esp, 0x10
test eax, eax
je 0x4b378d
mov edx, dword [esp + 0x10]
push 2
push edx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4b3777
mov dword [esp + 0x74], 1
jmp 0x4b37ac
mov dword [0x5997e0], 0x28
mov dword [0x5997e4], 0x5ca
jmp 0x4b37a1
mov dword [0x5997e0], 0x24
mov dword [0x5997e4], 0x5d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5997e8], eax
test bl, 1
je 0x4b37c0
mov eax, dword [esp + 0x78]
and ebx, 0xfffffffe
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor ebp, ebp
mov ecx, dword [esp + 0x78]
push ebp
push 0x80
push 4
push ebp
push ebp
push 0xc0000000
push ecx
call fcn.004c0f00
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x4b3aac
cmp dword [esp + 0x8c], ebp
je 0x4b37fe
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], ebp
cmp eax, ebp
je 0x4b3806
mov dword [esp + 0x14], 1
lea edx, [esp + 0x14]
push edx
push edi
push esi
push ebp
call fcn.004b79d0
add esp, 0x10
cmp eax, ebp
je 0x4b3acb
mov bl, byte [esp + 0x88]
test bl, 1
je 0x4b386e
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
push esi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], 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 0x4b3886
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push ecx
push esi
call fcn.004c06f0
add esp, 0xc
cmp dword [esp + 0x90], ebp
je 0x4b3896
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], ebp
jmp 0x4b3ad4
xor eax, eax
cmp ebx, 0xffffffff
setne al
cmp eax, esi
mov ebx, 0x24
je 0x4b3973
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x44]
mov dword [esp + 0x40], esi
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x40]
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x4b395d
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x4b38f3
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4b395d
mov eax, dword [0x599d20]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x57b304
push edi
call fcn.004c0bd0
add esp, 0x10
test eax, eax
je 0x4b3942
mov edx, dword [esp + 0x10]
push 2
push edx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4b392c
mov dword [esp + 0x74], 1
jmp 0x4b395d
mov dword [0x5997e0], 0x28
mov dword [0x5997e4], 0x577
jmp 0x4b3952
mov dword [0x5997e0], ebx
mov dword [0x5997e4], 0x57e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5997e8], eax
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x4b3971
mov dword [esp + 0x14], 0
xor esi, esi
jmp 0x4b397b
xor esi, esi
mov dword [esp + 0x14], 1
test byte [esp + 0x88], 4
je 0x4b3998
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push ecx
push ebp
call fcn.004c08c0
add esp, 0xc
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x78]
push edx
push 0xffffffffffffffff
push esi
push eax
push ebp
call fcn.00475d90
add esp, 0x14
test eax, eax
je 0x4b39be
mov dword [esp + 0x1c], esi
jmp 0x4b3ae8
mov dword [0x5997e0], ebx
mov dword [0x5997e4], 0x592
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5997e8], eax
jmp 0x4b39fc
mov dword [0x5997e0], 3
mov dword [0x5997e4], 0x5ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5997e8], eax
xor esi, esi
cmp dword [esp + 0x14], esi
je 0x4b3a0d
mov eax, dword [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x74], esi
je 0x4b3a4c
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 0x4b3a4c
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], 0xffffffff
cmp eax, esi
je 0x4b3a4c
mov ecx, dword [esp + 0x10]
push 0x103
push ecx
push eax
call fcn.00422f84
add esp, 0xc
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x4b3a61
push eax
call fcn.00526473
add esp, 4
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0043bf80
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 [0x5997e0], 0x2a
mov dword [0x5997e4], 0x5b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5997e8], eax
xor ebp, ebp
jmp 0x4b3acb
mov dword [0x5997e0], 4
mov dword [0x5997e4], 0x5e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5997e8], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
cmp edi, 0xffffffff
je 0x4b3adc
push edi
call esi
cmp dword [esp + 0x1c], ebp
jne 0x4b39fa
xor esi, esi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x4b3b03
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
push ecx
push eax
push edx
call fcn.004c0970
add esp, 0xc
test byte [esp + 0x88], 2
je 0x4b3b1d
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x78]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x74], esi
je 0x4b3a4c
cmp dword [esp + 0x80], esi
je 0x4b3b46
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x84]
push 0x103
push edx
jmp 0x4b3a43
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4b3a4c
mov edx, dword [esp + 0x10]
push edx
call fcn.004c09f0
add esp, 4
jmp 0x4b3a4c
mov dword [0x5997e0], 1
mov dword [0x5997e4], 0x52c
call edi
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword [0x5997e8], eax
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret