Function at 0x420e59
Capabilities:
Get file version info

Disassembly:
push 0xfc
mov eax, 0x45447a
call fcn.0043df18
xor esi, esi
mov ebx, edx
mov dword [ebp - 0x50], esi
cmp dword [ebx + 0x14], 0x10
mov edi, ecx
mov dword [ebp - 0x4c], esi
jb 0x420e7e
mov eax, dword [ebx]
jmp 0x420e80
mov eax, ebx
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
cmp eax, esi
jne 0x420f38
push str.System_error
mov dword [ebp - 0x44], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u102_6817.nc_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x40], str.FileUtils::getFileVersion
mov dword [ebp - 0x3c], 0x325
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x48], esp
push ebx
call fcn.00406f46
and dword [ebp - 4], 0
lea eax, [ebp - 0x108]
push eax
call fcn.00409bf4
lea eax, [ebp - 0x108]
push str.GetFileVersionInfoSize_
push eax
mov byte [ebp - 4], 1
call fcn.0040bad1
pop ecx
pop ecx
lea esi, [ebp - 0x108]
mov byte [ebp - 4], 2
call fcn.0040b7cc
mov esi, eax
push 0x4625a8
push esi
call fcn.0040bad1
pop ecx
pop ecx
mov ecx, dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
push esi
lea edi, [ebp - 0x70]
call fcn.00425e12
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
push ecx
lea esi, [ebp - 0x44]
mov ecx, eax
call fcn.00419a1a
mov dword [esp], 0x467ffc
lea eax, [ebp - 0x38]
push eax
call fcn.0043da7f
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
mov esi, eax
lea eax, [ebp - 0x64]
call fcn.0040d4fa
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x64]
cmp dword [ebx + 0x14], 0x10
jb 0x420f62
mov ecx, dword [ebx]
jmp 0x420f64
mov ecx, ebx
push dword [ebp - 0x64]
push eax
push dword [ebp - 0x4c]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
jne 0x421006
push str.System_error
mov dword [ebp - 0x44], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u102_6817.nc_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x40], str.FileUtils::getFileVersion
mov dword [ebp - 0x3c], 0x32e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x48], esp
push ebx
call fcn.00406f46
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 4], 5
call fcn.00409bf4
lea eax, [ebp - 0x108]
push str.GetFileVersionInfo_
push eax
mov byte [ebp - 4], 6
call fcn.0040bad1
pop ecx
pop ecx
lea esi, [ebp - 0x108]
mov byte [ebp - 4], 7
call fcn.0040b7cc
mov esi, eax
push 0x4625a8
push esi
call fcn.0040bad1
pop ecx
pop ecx
mov ecx, dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
push esi
lea edi, [ebp - 0x70]
call fcn.00425e12
mov byte [ebp - 4], 8
jmp 0x420f1a
and dword [ebp - 0x54], 0
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x462618
push dword [ebp - 0x64]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x4210b4
push str.System_error
mov dword [ebp - 0x44], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u102_6817.nc_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x40], str.FileUtils::getFileVersion
mov dword [ebp - 0x3c], 0x339
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x48], esp
push ebx
call fcn.00406f46
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 4], 9
call fcn.00409bf4
lea eax, [ebp - 0x108]
push str.VerQueryValueW_
push eax
mov byte [ebp - 4], 0xa
call fcn.0040bad1
pop ecx
pop ecx
lea esi, [ebp - 0x108]
mov byte [ebp - 4], 0xb
call fcn.0040b7cc
mov esi, eax
push 0x4625a8
push esi
call fcn.0040bad1
pop ecx
pop ecx
mov ecx, dword [sym.imp.VERSION.dll_VerQueryValueW]
push esi
lea edi, [ebp - 0x70]
call fcn.00425e12
mov byte [ebp - 4], 0xc
jmp 0x420f1a
cmp dword [ebp - 0x54], 0x34
jae 0x42113f
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x48], esp
push ebx
mov dword [ebp - 0x44], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u102_6817.nc_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x40], str.FileUtils::getFileVersion
mov dword [ebp - 0x3c], 0x33e
lea edi, [ebp - 0x44]
call fcn.00406f46
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 4], 0xd
call fcn.00409bf4
lea eax, [ebp - 0x108]
push str.VerQueryValueW_
push eax
mov byte [ebp - 4], 0xe
call fcn.0040bad1
pop ecx
pop ecx
lea esi, [ebp - 0x108]
mov byte [ebp - 4], 0xf
call fcn.0040b7cc
mov esi, eax
push str.__returned_unexpected_buffer_size.
push esi
call fcn.0040bad1
mov ecx, edi
push esi
lea edi, [ebp - 0x38]
call fcn.0040c5da
add esp, 0xc
push 0x467ed0
jmp 0x420f2f
mov esi, dword [ebp - 0x50]
xor ebx, ebx
push 0x10
push ebx
mov dword [edi + 0x24], 0xf
mov dword [edi + 0x20], ebx
push edi
mov byte [edi + 0x10], bl
call fcn.00437840
movzx eax, word [esi + 0xa]
mov dword [edi], eax
movzx eax, word [esi + 8]
mov dword [edi + 4], eax
movzx eax, word [esi + 0xe]
mov dword [edi + 8], eax
movzx eax, word [esi + 0xc]
add esp, 0xc
mov dword [edi + 0xc], eax
cmp dword [ebp - 0x64], ebx
je 0x421186
push dword [ebp - 0x64]
call fcn.004363e2
pop ecx
mov eax, edi
call fcn.0043df9b
ret