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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x783ac12c
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x783c8018]
xor eax, esp
mov dword [esp + 0x478], eax
push ebx
push esi
push edi
mov eax, dword [0x783c8018]
xor eax, esp
push eax
lea eax, [esp + 0x490]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
lea ebx, [edi + 0x10]
mov ecx, ebx
mov dword [esp + 0x20], eax
call sym.MFC80U.DLL_Ordinal_2121
xor esi, esi
test word [ebp + 0xc], 0x1000
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
je 0x7833c349
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x1c]
call sym.MFC80U.DLL_Ordinal_3383
test eax, eax
je 0x7833c349
push 0x783c8d10
lea ecx, [esp + 0x20]
call sym.MFC80U.DLL_Ordinal_269
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x4a0], esi
call sym.MFC80U.DLL_Ordinal_1084
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x2c]
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x7833c2c1
mov eax, dword [esp + 0x38]
imul eax, dword [esp + 0x28]
imul eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
push esi
push 2
push dword [esp + 0x70]
push dword [esp + 0x70]
call fcn.783a78c0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
mov ecx, edx
cdq
cmp edx, ecx
jb 0x7833c335
ja 0x7833c2e8
cmp eax, dword [esp + 0x2c]
jbe 0x7833c335
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x280]
push eax
push 0x104
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov eax, dword [esp + 0x14]
push 0x105
mov ecx, ebx
mov word [eax], si
call sym.MFC80U.DLL_Ordinal_5190
push eax
push esi
push 0x782f02bc
lea eax, [esp + 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xffffffffffffffff
mov ecx, ebx
call sym.MFC80U.DLL_Ordinal_5398
or dword [esp + 0x498], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.78303c47
mov eax, dword [ebx]
cmp dword [eax - 0xc], esi
je 0x7833c413
push dword [esp + 0x20]
mov ecx, edi
push dword [ebp + 0xc]
push eax
call sym.MFC80U.DLL_Ordinal_5083
test eax, eax
je 0x7833c413
push dword [esp + 0x18]
lea ecx, [edi + 0xc]
call sym.MFC80U.DLL_Ordinal_6014
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x28]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x7833c3bc
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call sym.MFC80U.DLL_Ordinal_1185
pop ecx
pop ecx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x28]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea eax, [esp + 0x14]
push eax
push esi
push esi
push 4
push dword [esp + 0x28]
mov dword [esp + 0x28], esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetFileSecurityW]
call esi
test eax, eax
je 0x7833c40e
push dword [esp + 0x14]
call sym.MFC80U.DLL_Ordinal_762
pop ecx
mov edi, eax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push edi
push 4
push dword [esp + 0x28]
call esi
test eax, eax
je 0x7833c406
push edi
push 4
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
push edi
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
xor eax, eax
inc eax
jmp 0x7833c42c
mov ecx, ebx
call sym.MFC80U.DLL_Ordinal_2121
push dword [esp + 0x20]
mov ecx, edi
push dword [ebp + 0xc]
push dword [esp + 0x20]
call sym.MFC80U.DLL_Ordinal_5083
mov ecx, dword [esp + 0x490]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.783a505e
mov esp, ebp
pop ebp
ret 0xc