Function at 0x4281a4
Capabilities:
Clear file content

Disassembly:
push 0xec
mov eax, 0x46d7c8
call fcn.004525cd
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x48], eax
jb 0x4281c1
mov eax, dword [eax]
mov edi, dword [sym.imp.kernel32.dll_CreateFileA]
xor esi, esi
push esi
push 0x80
push 3
push esi
push esi
push 0xc0000000
push eax
call edi
mov ebx, eax
mov dword [ebp - 0x60], ebx
mov byte [ebp - 0x5c], 1
mov dword [ebp - 4], esi
cmp ebx, 0xffffffff
jne 0x428282
push str.System_error
mov dword [ebp - 0x44], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x40], str._anonymous_namespace::setFileSize
mov dword [ebp - 0x3c], 0x166
lea ebx, [ebp - 0x44]
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x4c], esp
push dword [ebp - 0x48]
call fcn.0040244c
lea eax, [ebp - 0xf8]
push eax
mov byte [ebp - 4], 1
call fcn.00402794
mov byte [ebp - 4], 2
lea esi, [ebp - 0xf8]
mov byte [ebp - 4], 3
call fcn.004042cb
mov esi, eax
push str.:_cannot_open
push esi
call fcn.00405526
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x58]
call fcn.004374b8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
push ecx
mov esi, ebx
mov ecx, eax
call fcn.0041b5e6
lea eax, [ebp - 0x38]
mov dword [esp], 0x4878f8
push eax
call fcn.0042ef2e
mov edi, dword [sym.imp.kernel32.dll_SetFilePointerEx]
push esi
push esi
push esi
push dword [ebp + 0xc]
push ebx
call edi
test eax, eax
jne 0x42830f
push str.System_error
mov dword [ebp - 0x44], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x40], str._anonymous_namespace::setFileSize
mov dword [ebp - 0x3c], 0x16c
lea ebx, [ebp - 0x44]
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x4c], esp
push dword [ebp - 0x48]
call fcn.0040244c
lea eax, [ebp - 0xf8]
push eax
mov byte [ebp - 4], 5
call fcn.00402794
mov byte [ebp - 4], 6
lea esi, [ebp - 0xf8]
mov byte [ebp - 4], 7
call fcn.004042cb
mov esi, eax
push str.:_seek_failed
push esi
call fcn.00405526
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x58]
call fcn.004374b8
mov byte [ebp - 4], 8
jmp 0x428265
mov edi, dword [sym.imp.kernel32.dll_SetEndOfFile]
push ebx
call edi
test eax, eax
jne 0x428396
push str.System_error
mov dword [ebp - 0x44], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x40], str._anonymous_namespace::setFileSize
mov dword [ebp - 0x3c], 0x170
lea ebx, [ebp - 0x44]
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x4c], esp
push dword [ebp - 0x48]
call fcn.0040244c
lea eax, [ebp - 0xf8]
push eax
mov byte [ebp - 4], 9
call fcn.00402794
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0xf8]
mov byte [ebp - 4], 0xb
call fcn.004042cb
mov esi, eax
push str.:_cannot_set_EOF
push esi
call fcn.00405526
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x58]
call fcn.004374b8
mov byte [ebp - 4], 0xc
jmp 0x428265
or dword [ebp - 4], 0xffffffff
push ebx
call fcn.0042ef2e
pop ecx
call fcn.00452650
ret