Function at 0x4c7306
Capabilities:
Get disk size
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561f27
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 0x4c7347
push 0x207
push str.doccore.cpp
call fcn.004fed10
test eax, eax
je 0x4c7347
int3
xor eax, eax
test eax, eax
jne 0x4c732d
mov ecx, dword [ebp - 0x270]
add ecx, 0x10
call fcn.004ae785
lea ecx, [ebp - 0x228]
call fcn.004b4ae0
mov ecx, dword [ebp + 0xc]
and ecx, 0x1000
test ecx, ecx
je 0x4c7478
lea edx, [ebp - 0x228]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004b46dc
test eax, eax
je 0x4c7478
lea ecx, [ebp - 0x23c]
call fcn.004fb217
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004adee8
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.004fb354
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x4c7407
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 0x4c7466
push 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x264]
push ecx
call fcn.004c7230
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.004aeb20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.004ae920
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.004ae920
mov ecx, dword [ebp - 0x270]
add ecx, 0x10
call fcn.004fb336
test eax, eax
jne 0x4c75e8
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x270]
add ecx, 0x10
call fcn.004fb354
push eax
mov ecx, dword [ebp - 0x270]
call fcn.004acec3
test eax, eax
je 0x4c75e8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x270]
add ecx, 0xc
call fcn.004aebd7
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 0x4c752e
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x228]
push ecx
call fcn.004b483a
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 0x4c75e1
mov ecx, dword [ebp - 0x24c]
push ecx
call fcn.004aca70
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 0x4c75c6
mov ecx, dword [ebp - 0x258]
push ecx
push 4
mov ecx, dword [ebp - 0x270]
add ecx, 0x10
call fcn.004fb354
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.004acab9
add esp, 4
mov eax, 1
jmp 0x4c760d
mov ecx, dword [ebp - 0x270]
add ecx, 0x10
call fcn.004ae785
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.004acec3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc