Function at 0x40d02c
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xd0
push ebx
push esi
mov esi, dword [ebp + 0x78]
push edi
push esi
push 0x45cd68
call fcn.0040d2a1
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov bl, al
pop ecx
pop ecx
call edi
test bl, bl
jne 0x40d295
xor ebx, ebx
cmp eax, 5
jne 0x40d286
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40d071
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 5
mov dword [ebp + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp + 0x6c]
cmp eax, 0xffffffff
jne 0x40d092
xor al, al
jmp 0x40d299
test al, 1
je 0x40d286
and eax, 0xfffffffe
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x40d0a7
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x40d18f
push ebx
call fcn.0041205e
mov ecx, eax
call fcn.0041233c
test al, al
je 0x40d175
push esi
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
call fcn.00404453
push 1
lea ecx, [ebp - 0x60]
call fcn.00403308
lea eax, [ebp - 0x60]
push str.Discarded_R_O_attribute_from__
push eax
call fcn.00402636
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004025f0
mov eax, dword [ebp + 0x64]
add esp, 0x10
cmp eax, 0x10
jb 0x40d13d
mov ecx, dword [ebp + 0x50]
inc eax
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x6c], ecx
cmp eax, 0x1000
jb 0x40d134
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x6c]
push eax
call fcn.00404387
mov eax, dword [ebp + 0x68]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x6c]
push eax
push ecx
call fcn.0042a1d1
pop ecx
pop ecx
lea eax, [ebp - 0x60]
push str.__file
push eax
call fcn.00402636
pop ecx
pop ecx
lea eax, [ebp - 0x60]
push eax
push str.FileUtils::deleteFile
push 0x290
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_FileUtils.cpp
push ebx
call fcn.0041205e
mov ecx, eax
call fcn.0040712f
lea ecx, [ebp - 0x60]
call fcn.00404073
push esi
push 0x45cd68
call fcn.0040d2a1
pop ecx
pop ecx
test al, al
jne 0x40d295
jmp 0x40d286
push 2
call fcn.0041205e
mov ecx, eax
call fcn.0041233c
test al, al
je 0x40d27e
push str.System_error
call edi
push eax
push dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x38], ebx
push esi
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], ebx
call fcn.00404453
push 1
lea ecx, [ebp - 0x60]
call fcn.00403308
lea eax, [ebp - 0x60]
push str.Failed_to_discard_R_O_attribute_from__
push eax
call fcn.00402636
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004025f0
mov eax, dword [ebp + 0x4c]
add esp, 0x10
cmp eax, 0x10
jb 0x40d224
mov ecx, dword [ebp + 0x38]
inc eax
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x68], ecx
cmp eax, 0x1000
jb 0x40d21b
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.00404387
mov eax, dword [ebp + 0x6c]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x68]
push eax
push ecx
call fcn.0042a1d1
pop ecx
pop ecx
lea eax, [ebp - 0x60]
push str.__file._File_will_not_be_deleted
push eax
call fcn.00402636
pop ecx
pop ecx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp + 0x5c]
call fcn.0041863a
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
push eax
push str.FileUtils::deleteFile
push 0x296
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_FileUtils.cpp
push 2
call fcn.0041205e
mov ecx, eax
call fcn.00405fbe
lea eax, [ebp + 0x60]
mov dword [ebp + 0x5c], vtable.std::exception.0
push eax
call fcn.0042d20d
pop ecx
lea ecx, [ebp - 0x60]
call fcn.00404073
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
push eax
call fcn.0040d646
add esp, 4
test al, al
je 0x40d297
mov bl, 1
mov al, bl
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret