Function at 0x448c90
Capabilities:
Check if file exists
Clear file content
Delete file
Get file attributes
Move file
Set file attributes
Timestomp file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548e30
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x358
mov eax, dword [0x5b0008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x721], 0
je 0x44912c
mov eax, dword [0x5bdff0]
mov ecx, dword [esi + 0x3a0]
mov byte [esi + 0x721], 0
imul eax, dword [eax + 0x758], 0x3e8
push eax
call fcn.00483e80
push dword [esi + 0x708]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push dword [esi + 0x708]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea edi, [esi + 0x6ec]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x448d25
sub ecx, edx
je 0x448dd6
xor eax, eax
push edi
mov word [ebp - 0x334], ax
call fcn.00526a89
add esp, 4
mov word [ebp - 0x336], ax
lea eax, [esi + 0x6ef]
push eax
call fcn.00526a89
add esp, 4
mov word [ebp - 0x332], ax
lea eax, [esi + 0x6f2]
push eax
call fcn.00526a89
add esp, 4
mov word [ebp - 0x338], ax
lea eax, [esi + 0x6f7]
push eax
call fcn.00526a89
add esp, 4
mov word [ebp - 0x330], ax
lea eax, [esi + 0x6fa]
push eax
call fcn.00526a89
mov word [ebp - 0x32e], ax
add esp, 4
xor eax, eax
mov dword [ebp - 0x32c], eax
lea eax, [ebp - 0x368]
push eax
lea eax, [ebp - 0x338]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x368]
push eax
push eax
push eax
push dword [esi + 0x708]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov eax, dword [esi + 0x708]
cmp eax, 0xffffffff
je 0x448df2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x708], 0xffffffff
cmp byte [esi + 0x720], 0
lea edi, [esi + 0x5a8]
jne 0x448ecd
push 0x5c
push edi
call fcn.0052c5db
push 9
inc eax
push str._UVNCDIR_
push eax
call fcn.005267e0
add esp, 0x14
test eax, eax
jne 0x448ecd
push edi
lea eax, [ebp - 0x328]
push 0x208
push eax
call fcn.0051e70e
add esp, 0xc
lea eax, [ebp - 0x328]
push 0x5c
push eax
call fcn.0052c5db
inc eax
push 0x2d
push eax
mov dword [ebp - 0x364], eax
call fcn.0052c689
inc eax
push eax
lea eax, [ebp - 0x120]
push 0x104
push eax
call fcn.0051e70e
add esp, 0x1c
lea eax, [ebp - 0x120]
push 0x2e
push eax
call fcn.0052c5db
add esp, 8
mov byte [eax], 0
mov eax, dword [ebp - 0x364]
test eax, eax
je 0x448e8f
mov byte [eax], 0
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x328]
push 0x208
push eax
call fcn.0051e768
mov ecx, dword [esi + 0x5a4]
lea eax, [ebp - 0x328]
add esp, 0xc
push edi
push eax
call fcn.00487420
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 0x359], 1
jmp 0x448ed4
mov byte [ebp - 0x359], 0
cmp byte [esi + 0x720], 0
je 0x448f04
cmp byte [esi + 0x723], 0
je 0x448f04
push 0x2c
push edi
call fcn.0052c5db
add esp, 8
test eax, eax
je 0x448ef8
mov byte [eax], 0
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4490d5
mov ecx, edi
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x32c], 0xf
mov byte [ebp - 0x340], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x448f30
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x340]
call fcn.0041c370
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x340]
call fcn.00425c80
mov ecx, eax
mov dword [ebp - 0x360], ecx
cmp ecx, 0xffffffff
je 0x448fc1
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x364], eax
cmp eax, ecx
jb 0x44914a
sub eax, ecx
mov edx, 9
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x32c], 0x10
lea eax, [ebp - 0x340]
cmovae eax, dword [ebp - 0x340]
add ecx, eax
mov eax, dword [ebp - 0x364]
sub eax, edx
mov dword [ebp - 0x330], eax
sub eax, dword [ebp - 0x360]
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.0051a8e0
add esp, 0xc
cmp byte [esi + 0x720], 0
movups xmm0, xmmword [ebp - 0x340]
movups xmmword [ebp - 0x358], xmm0
movq xmm0, qword [ebp - 0x330]
movq qword [ebp - 0x348], xmm0
jne 0x44909b
cmp byte [ebp - 0x359], 0
jne 0x44909b
cmp dword [ebp - 0x32c], 0x10
lea eax, [ebp - 0x358]
cmovae eax, dword [ebp - 0x340]
push eax
mov dword [ebp - 0x360], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x364], eax
cmp eax, 0xffffffff
je 0x44905b
test al, 1
je 0x44905b
mov ecx, eax
and ecx, 0xfffffffe
push ecx
push dword [ebp - 0x360]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
push dword [ebp - 0x360]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [ebp - 0x364]
test eax, eax
setne byte [ebp - 0x359]
jmp 0x449080
push 1
push dword [ebp - 0x360]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [ebp - 0x364]
test eax, eax
setne al
mov byte [ebp - 0x359], al
cmp ecx, 0xffffffff
je 0x449093
push ecx
push dword [ebp - 0x360]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov al, byte [ebp - 0x359]
xor al, 1
mov byte [esi + 0x720], al
mov edx, dword [ebp - 0x344]
cmp edx, 0x10
jb 0x4490d5
mov ecx, dword [ebp - 0x358]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4490cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44914f
push edx
push ecx
call fcn.005187dc
add esp, 8
mov eax, dword [esi + 0x704]
test eax, eax
je 0x4490f2
push eax
call fcn.005187a7
add esp, 4
mov dword [esi + 0x704], 0
mov eax, dword [esi + 0x700]
test eax, eax
je 0x44910f
push eax
call fcn.005187a7
add esp, 4
mov dword [esi + 0x700], 0
mov eax, dword [esi + 0x73c]
test eax, eax
je 0x44912c
push eax
call fcn.005187a7
add esp, 4
mov dword [esi + 0x73c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0044b1a0
call fcn.0051ca88
int3