Function at 0x1009c1a4
Capabilities:
Get disk size
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10144cf7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
push ebx
push esi
push edi
mov dword [ebp - 0x16c], ecx
cmp dword [ebp + 8], 0
jne 0x1009c1e5
push 0x207
push str.doccore.cpp
call fcn.100db7d0
test eax, eax
je 0x1009c1e5
int3
xor eax, eax
test eax, eax
jne 0x1009c1cb
mov ecx, dword [ebp - 0x16c]
add ecx, 0x10
call fcn.1008be22
lea ecx, [ebp - 0x124]
call fcn.1009d470
mov ecx, dword [ebp + 0xc]
and ecx, 0x1000
test ecx, ecx
je 0x1009c316
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1008e4ec
test eax, eax
je 0x1009c316
lea ecx, [ebp - 0x138]
call fcn.100d7da7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1007ee04
mov dword [ebp - 0x128], 0
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x138]
call fcn.100d7e4a
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x1009c2a5
mov ecx, dword [ebp - 0x13c]
imul ecx, dword [ebp - 0x130]
imul ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x118]
shl edx, 1
cmp dword [ebp - 0x128], edx
jbe 0x1009c304
push 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x160]
push ecx
call fcn.1009c0d0
add esp, 0xc
mov dword [ebp - 0x170], eax
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x174], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x174]
push eax
mov ecx, dword [ebp - 0x16c]
add ecx, 0x10
call fcn.1008c1b6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.1008bfbc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.1008bfbc
mov ecx, dword [ebp - 0x16c]
add ecx, 0x10
call fcn.100d7e2c
test eax, eax
jne 0x1009c486
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x16c]
add ecx, 0x10
call fcn.100d7e4a
push eax
mov ecx, dword [ebp - 0x16c]
call fcn.1007dd73
test eax, eax
je 0x1009c486
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x16c]
add ecx, 0xc
call fcn.1008c26d
lea ecx, [ebp - 0x15c]
push ecx
lea edx, [ebp - 0x150]
push edx
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x16c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x1009c3cc
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x124]
push ecx
call fcn.1008e648
add esp, 8
lea edx, [ebp - 0x15c]
push edx
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x144]
push ecx
mov edx, dword [ebp - 0x16c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x154], 0
lea ecx, [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x148]
push edx
push 0
push 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityA]
test eax, eax
je 0x1009c47f
mov ecx, dword [ebp - 0x148]
push ecx
call fcn.1007d930
add esp, 4
mov dword [ebp - 0x164], eax
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x154], edx
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x154]
push edx
push 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityA]
test eax, eax
je 0x1009c464
mov ecx, dword [ebp - 0x154]
push ecx
push 4
mov ecx, dword [ebp - 0x16c]
add ecx, 0x10
call fcn.100d7e4a
push eax
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x168], edx
mov eax, dword [ebp - 0x168]
push eax
call fcn.1007d979
add esp, 4
mov eax, 1
jmp 0x1009c4ab
mov ecx, dword [ebp - 0x16c]
add ecx, 0x10
call fcn.1008be22
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 - 0x16c]
call fcn.1007dd73
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc