Function at 0x4baff6
Capabilities:
Get disk size
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55aaf7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push ebx
push esi
push edi
mov dword [ebp - 0x270], ecx
cmp dword [ebp + 8], 0
jne 0x4bb037
push 0x207
push str.doccore.cpp
call fcn.004f5580
test eax, eax
je 0x4bb037
int3
xor eax, eax
test eax, eax
jne 0x4bb01d
mov ecx, dword [ebp - 0x270]
add ecx, 0x10
call fcn.0049da85
lea ecx, [ebp - 0x228]
call fcn.004ac3e0
mov ecx, dword [ebp + 0xc]
and ecx, 0x1000
test ecx, ecx
je 0x4bb168
lea edx, [ebp - 0x228]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004abfdc
test eax, eax
je 0x4bb168
lea ecx, [ebp - 0x23c]
call fcn.004f1a67
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004a7c78
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x23c]
call fcn.004f1ba4
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x4bb0f7
mov ecx, dword [ebp - 0x240]
imul ecx, dword [ebp - 0x234]
imul ecx, dword [ebp - 0x230]
mov dword [ebp - 0x22c], ecx
mov edx, dword [ebp - 0x21c]
shl edx, 1
cmp dword [ebp - 0x22c], edx
jbe 0x4bb156
push 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x264]
push ecx
call fcn.004baf20
add esp, 0xc
mov dword [ebp - 0x274], eax
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x278], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x278]
push eax
mov ecx, dword [ebp - 0x270]
add ecx, 0x10
call fcn.0049de20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.0049dc20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.0049dc20
mov ecx, dword [ebp - 0x270]
add ecx, 0x10
call fcn.004f1b86
test eax, eax
jne 0x4bb2d8
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x270]
add ecx, 0x10
call fcn.004f1ba4
push eax
mov ecx, dword [ebp - 0x270]
call fcn.004a6c53
test eax, eax
je 0x4bb2d8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x270]
add ecx, 0xc
call fcn.0049ded7
lea ecx, [ebp - 0x260]
push ecx
lea edx, [ebp - 0x254]
push edx
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x270]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x4bb21e
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x228]
push ecx
call fcn.004ac13a
add esp, 8
lea edx, [ebp - 0x260]
push edx
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x270]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x258], 0
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x24c]
push edx
push 0
push 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityW]
test eax, eax
je 0x4bb2d1
mov ecx, dword [ebp - 0x24c]
push ecx
call fcn.0049bed0
add esp, 4
mov dword [ebp - 0x268], eax
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x258], edx
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x258]
push edx
push 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityW]
test eax, eax
je 0x4bb2b6
mov ecx, dword [ebp - 0x258]
push ecx
push 4
mov ecx, dword [ebp - 0x270]
add ecx, 0x10
call fcn.004f1ba4
push eax
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x26c]
push eax
call fcn.0049bf19
add esp, 4
mov eax, 1
jmp 0x4bb2fd
mov ecx, dword [ebp - 0x270]
add ecx, 0x10
call fcn.0049da85
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x270]
call fcn.004a6c53
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc