Function at 0x44f450
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 0x557460
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x358
mov eax, dword [0x5c3040]
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 0x44f8e0
mov eax, dword [0x5d1914]
mov ecx, dword [esi + 0x3a0]
mov byte [esi + 0x721], 0
imul eax, dword [eax + 0x758], 0x3e8
push eax
call fcn.0048eb00
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 0x44f4e5
sub ecx, edx
je 0x44f596
xor eax, eax
push edi
mov word [ebp - 0x334], ax
call fcn.005345b0
add esp, 4
mov word [ebp - 0x336], ax
lea eax, [esi + 0x6ef]
push eax
call fcn.005345b0
add esp, 4
mov word [ebp - 0x332], ax
lea eax, [esi + 0x6f2]
push eax
call fcn.005345b0
add esp, 4
mov word [ebp - 0x338], ax
lea eax, [esi + 0x6f7]
push eax
call fcn.005345b0
add esp, 4
mov word [ebp - 0x330], ax
lea eax, [esi + 0x6fa]
push eax
call fcn.005345b0
mov word [ebp - 0x32e], ax
add esp, 4
xor eax, eax
mov dword [ebp - 0x32c], eax
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x338]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x364]
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 0x44f5b2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x708], 0xffffffff
cmp byte [esi + 0x720], 0
lea edi, [esi + 0x5a8]
jne 0x44f68f
push 0x5c
push edi
call fcn.00535b2d
push 9
inc eax
push str._UVNCDIR_
push eax
call fcn.00534300
add esp, 0x14
test eax, eax
jne 0x44f68f
push edi
lea eax, [ebp - 0x328]
push 0x208
push eax
call fcn.0052c1a3
add esp, 0xc
lea eax, [ebp - 0x328]
push 0x5c
push eax
call fcn.00535b2d
inc eax
push 0x2d
push eax
mov dword [ebp - 0x360], eax
call fcn.00535d14
inc eax
push eax
lea eax, [ebp - 0x120]
push 0x104
push eax
call fcn.0052c1a3
add esp, 0x1c
lea eax, [ebp - 0x120]
push 0x2e
push eax
call fcn.00535b2d
add esp, 8
mov byte [eax], 0
mov eax, dword [ebp - 0x360]
test eax, eax
je 0x44f64f
mov byte [eax], 0
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x328]
push 0x208
push eax
call fcn.0052c1fd
mov ecx, dword [esi + 0x5a4]
lea eax, [ebp - 0x328]
add esp, 0xc
push edi
push eax
call fcn.00492f70
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call edi
mov byte [ebp - 0x359], 1
jmp 0x44f69c
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 0x359], 0
cmp byte [esi + 0x720], 0
je 0x44f6d4
cmp byte [esi + 0x723], 0
je 0x44f6d4
lea eax, [esi + 0x5a8]
push 0x2c
push eax
call fcn.00535b2d
add esp, 8
test eax, eax
je 0x44f6c6
mov byte [eax], 0
lea eax, [esi + 0x5a8]
push eax
call edi
jmp 0x44f889
lea edx, [esi + 0x5a8]
mov dword [ebp - 0x330], 0
mov ecx, edx
mov dword [ebp - 0x32c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x340], xmm0
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44f700
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x340]
call fcn.0041e2f0
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x340]
call fcn.00426c50
mov ecx, eax
mov dword [ebp - 0x360], ecx
cmp ecx, 0xffffffff
je 0x44f789
mov edi, dword [ebp - 0x330]
cmp edi, ecx
jb 0x44f8fe
mov eax, edi
mov edx, 9
sub eax, ecx
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x32c], 0xf
lea eax, [ebp - 0x340]
cmova eax, dword [ebp - 0x340]
sub edi, edx
add ecx, eax
mov eax, edi
sub eax, dword [ebp - 0x360]
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.00526b90
add esp, 0xc
mov dword [ebp - 0x330], edi
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 0x44f84f
cmp byte [ebp - 0x359], 0
jne 0x44f84f
cmp dword [ebp - 0x344], 0xf
lea edi, [ebp - 0x358]
cmova edi, dword [ebp - 0x358]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x368], eax
cmp eax, 0xffffffff
je 0x44f816
test al, 1
je 0x44f816
mov ecx, eax
and ecx, 0xfffffffe
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
push edi
lea eax, [esi + 0x5a8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov dword [ebp - 0x360], eax
mov eax, dword [ebp - 0x368]
jmp 0x44f837
push 1
push edi
lea eax, [esi + 0x5a8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov dword [ebp - 0x360], eax
mov eax, dword [ebp - 0x368]
cmp eax, 0xffffffff
je 0x44f83f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x360], 0
sete al
mov byte [esi + 0x720], al
mov ecx, dword [ebp - 0x344]
cmp ecx, 0xf
jbe 0x44f889
mov edx, dword [ebp - 0x358]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44f87f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f903
push ecx
push edx
call fcn.005247a6
add esp, 8
mov eax, dword [esi + 0x704]
test eax, eax
je 0x44f8a6
push eax
call fcn.00524771
add esp, 4
mov dword [esi + 0x704], 0
mov eax, dword [esi + 0x700]
test eax, eax
je 0x44f8c3
push eax
call fcn.00524771
add esp, 4
mov dword [esi + 0x700], 0
mov eax, dword [esi + 0x73c]
test eax, eax
je 0x44f8e0
push eax
call fcn.00524771
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.00524763
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004515d0
call fcn.0052a4da
int3