Function at 0x5ceef0
Capabilities:
Get common file path
Get disk size
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a00f9
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x7933bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x494], ecx
cmp dword [ebp + 8], 0
jne 0x5cef3d
push 0x1f1
push 0x725dcc
call fcn.004e0811
test eax, eax
je 0x5cef3d
int3
mov ecx, dword [ebp - 0x494]
add ecx, 0x10
call fcn.004e10b8
lea ecx, [ebp - 0x244]
call fcn.004e4ee8
mov ecx, dword [ebp + 0xc]
and ecx, 0x1000
je 0x5cf0bf
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004e5b5e
test eax, eax
je 0x5cf0bf
lea ecx, [ebp - 0x248]
call fcn.004e147d
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004dc626
mov dword [ebp - 0x24c], 0
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x254]
push ecx
lea edx, [ebp - 0x258]
push edx
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x248]
call fcn.004db56e
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x5ceff5
mov ecx, dword [ebp - 0x254]
imul ecx, dword [ebp - 0x25c]
imul ecx, dword [ebp - 0x258]
mov dword [ebp - 0x24c], ecx
mov eax, dword [ebp - 0x24c]
cdq
mov esi, eax
mov edi, edx
push 0
push 2
mov edx, dword [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x22c]
push eax
call fcn.004e0645
mov dword [ebp - 0x49c], esi
mov dword [ebp - 0x498], edi
mov dword [ebp - 0x4a4], eax
mov dword [ebp - 0x4a0], edx
mov ecx, dword [ebp - 0x498]
cmp ecx, dword [ebp - 0x4a0]
jb 0x5cf0ad
ja 0x5cf04d
mov edx, dword [ebp - 0x49c]
cmp edx, dword [ebp - 0x4a4]
jbe 0x5cf0ad
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x464]
push ecx
push 0x104
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov eax, dword [ebp - 0x468]
mov word [eax], 0
push 0x105
mov ecx, dword [ebp - 0x494]
add ecx, 0x10
call fcn.004e58d4
push eax
push 0
push 0x725e04
lea ecx, [ebp - 0x464]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x494]
add ecx, 0x10
call fcn.004debe2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.004dfd17
mov ecx, dword [ebp - 0x494]
add ecx, 0x10
call fcn.004dd37d
movzx edx, al
test edx, edx
jne 0x5cf232
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x494]
add ecx, 0x10
call fcn.004db56e
push eax
mov ecx, dword [ebp - 0x494]
call fcn.004e0889
test eax, eax
je 0x5cf232
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x494]
add ecx, 0xc
call fcn.004df501
lea eax, [ebp - 0x488]
push eax
lea ecx, [ebp - 0x47c]
push ecx
lea edx, [ebp - 0x474]
push edx
mov eax, dword [ebp - 0x494]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x5cf178
lea edx, [ebp - 0x474]
push edx
lea eax, [ebp - 0x244]
push eax
call fcn.004e594c
add esp, 8
lea ecx, [ebp - 0x488]
push ecx
lea edx, [ebp - 0x47c]
push edx
lea eax, [ebp - 0x474]
push eax
mov ecx, dword [ebp - 0x494]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x46c], 0
lea eax, [ebp - 0x480]
push eax
mov ecx, dword [ebp - 0x480]
push ecx
push 0
push 4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityW]
test eax, eax
je 0x5cf22b
mov eax, dword [ebp - 0x480]
push eax
call fcn.004e3903
add esp, 4
mov dword [ebp - 0x48c], eax
mov ecx, dword [ebp - 0x48c]
mov dword [ebp - 0x46c], ecx
lea edx, [ebp - 0x480]
push edx
mov eax, dword [ebp - 0x480]
push eax
mov ecx, dword [ebp - 0x46c]
push ecx
push 4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityW]
test eax, eax
je 0x5cf210
mov eax, dword [ebp - 0x46c]
push eax
push 4
mov ecx, dword [ebp - 0x494]
add ecx, 0x10
call fcn.004db56e
push eax
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
mov ecx, dword [ebp - 0x46c]
mov dword [ebp - 0x490], ecx
mov edx, dword [ebp - 0x490]
push edx
call fcn.004dd11b
add esp, 4
mov eax, 1
jmp 0x5cf257
mov ecx, dword [ebp - 0x494]
add ecx, 0x10
call fcn.004e10b8
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x494]
call fcn.004e0889
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e2bca
mov esp, ebp
pop ebp
ret 0xc