Function at 0x2e00f92d
Capabilities:
Clear file content
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
mov esi, ecx
call fcn.2e007c8a
mov eax, dword [0x2e021eb8]
mov ecx, dword [eax]
xor edi, edi
push edi
push dword [esi + 0x1c]
push dword [esi + 0x18]
push eax
call dword [ecx + 0x30]
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x2e00fba2
mov dword [ebp - 4], edi
mov dword [ebp - 8], 0x8000080
cmp dword [esi + 0x14], edi
jne 0x2e00f971
mov dword [ebp - 8], 0x28000080
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push dword [ebp - 8]
lea eax, [esi + 0x28]
push 4
push edi
push edi
push 0x40000000
push eax
call ebx
mov dword [esi + 0x250], eax
cmp eax, 0xffffffff
jne 0x2e00fa15
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x2e00f9fb
lea eax, [esi + 0x28]
push eax
call fcn.2e010ef5
movzx ecx, word [eax]
mov dword [ebp - 0xc], ecx
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov word [eax], cx
push edi
lea eax, [esi + 0x28]
push eax
call fcn.2e010ff5
cmp eax, edi
mov cx, word [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov word [edx], cx
jl 0x2e00fba1
push edi
push dword [ebp - 8]
lea eax, [esi + 0x28]
push 4
push edi
push edi
push 0x40000000
push eax
call ebx
mov dword [esi + 0x250], eax
cmp eax, 0xffffffff
jne 0x2e00fa0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x2e00fa09
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp dword [ebp - 4], edi
jl 0x2e00fba1
lea eax, [esi + 0x28]
push eax
push 0x2e00219c
push 3
call fcn.2e013110
add esp, 0xc
cmp dword [ebp + 8], edi
je 0x2e00fb19
mov eax, dword [esi + 0x240]
mov ecx, dword [esi + 0x244]
cmp dword [esi + 0x14], edi
jne 0x2e00fa60
mov edx, dword [0x2e021e94]
xor ebx, ebx
add eax, edx
adc ecx, ebx
sub eax, 1
sbb ecx, edi
sub edx, 1
sbb ebx, edi
not edx
not ebx
and eax, edx
and ecx, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push edi
push edi
push ecx
push eax
push dword [esi + 0x250]
call ebx
test eax, eax
jne 0x2e00fa99
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
mov dword [ebp - 4], eax
jle 0x2e00fa90
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp dword [ebp - 4], edi
jl 0x2e00fba1
push dword [esi + 0x250]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x2e00facc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
mov dword [ebp - 4], eax
jle 0x2e00fac3
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp dword [ebp - 4], edi
jl 0x2e00fba1
mov ecx, dword [esi + 0x23c]
cmp ecx, edi
mov eax, dword [esi + 0x238]
jl 0x2e00fae2
jg 0x2e00fae6
cmp eax, edi
ja 0x2e00fae6
xor eax, eax
xor ecx, ecx
push edi
push edi
push ecx
push eax
push dword [esi + 0x250]
call ebx
test eax, eax
jne 0x2e00fb19
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
mov dword [ebp - 4], eax
jle 0x2e00fb10
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp dword [ebp - 4], edi
jl 0x2e00fba1
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileTime]
cmp dword [ebp + 0xc], edi
je 0x2e00fb58
lea eax, [esi + 0x248]
push eax
push eax
push eax
push dword [esi + 0x250]
call ebx
test eax, eax
jne 0x2e00fb58
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
mov dword [ebp - 4], eax
jle 0x2e00fb53
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp dword [ebp - 4], edi
jl 0x2e00fba1
cmp dword [ebp + 0x10], edi
je 0x2e00fba1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x14]
push eax
push edi
push edi
push dword [esi + 0x250]
call ebx
test eax, eax
jne 0x2e00fba1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
mov dword [ebp - 4], eax
jle 0x2e00fba1
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 0xc