Function at 0x42829e
Capabilities:
Clear file content

Disassembly:
push 0xec
mov eax, 0x46d75f
call fcn.004525fd
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x48], eax
jb 0x4282bb
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 0x42837c
push str.System_error
mov dword [ebp - 0x44], str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_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.0040242f
lea eax, [ebp - 0xf8]
push eax
mov byte [ebp - 4], 1
call fcn.00402774
mov byte [ebp - 4], 2
lea esi, [ebp - 0xf8]
mov byte [ebp - 4], 3
call fcn.004042ae
mov esi, eax
push str.:_cannot_open
push esi
call fcn.0040560b
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x58]
call fcn.00437531
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
push ecx
mov esi, ebx
mov ecx, eax
call fcn.0041b855
lea eax, [ebp - 0x38]
mov dword [esp], 0x487838
push eax
call fcn.00452164
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 0x428409
push str.System_error
mov dword [ebp - 0x44], str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_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.0040242f
lea eax, [ebp - 0xf8]
push eax
mov byte [ebp - 4], 5
call fcn.00402774
mov byte [ebp - 4], 6
lea esi, [ebp - 0xf8]
mov byte [ebp - 4], 7
call fcn.004042ae
mov esi, eax
push str.:_seek_failed
push esi
call fcn.0040560b
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x58]
call fcn.00437531
mov byte [ebp - 4], 8
jmp 0x42835f
mov edi, dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
call edi
test eax, eax
jne 0x428490
push str.System_error
mov dword [ebp - 0x44], str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_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.0040242f
lea eax, [ebp - 0xf8]
push eax
mov byte [ebp - 4], 9
call fcn.00402774
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0xf8]
mov byte [ebp - 4], 0xb
call fcn.004042ae
mov esi, eax
push str.:_cannot_set_EOF
push esi
call fcn.0040560b
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x58]
call fcn.00437531
mov byte [ebp - 4], 0xc
jmp 0x42835f
or dword [ebp - 4], 0xffffffff
push ebx
call fcn.0043af52
pop ecx
call fcn.00452680
ret