Function at 0x4313e4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46b61c
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x4946a0]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
mov eax, dword [0x4946a0]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
xor esi, esi
mov ebx, edx
mov dword [esp + 0x2c], esi
cmp dword [ebx + 0x14], 0x10
mov edi, ecx
mov dword [esp + 0x24], esi
jb 0x43143c
mov eax, dword [ebx]
jmp 0x43143e
mov eax, ebx
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
cmp eax, esi
jne 0x43150f
push str.System_error
mov dword [esp + 0x18], str.d:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u73_6086_install_src_windows_common_FileUtils.cpp
mov dword [esp + 0x1c], str.FileUtils::getFileVersion
mov dword [esp + 0x20], 0x31b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x44], esp
push ebx
call fcn.00402538
and dword [esp + 0x144], 0
lea eax, [esp + 0x70]
push eax
call fcn.004027db
lea eax, [esp + 0x70]
push str.GetFileVersionInfoSize_
push eax
mov byte [esp + 0x14c], 1
call fcn.004055e5
pop ecx
pop ecx
lea esi, [esp + 0x70]
mov byte [esp + 0x144], 2
call fcn.0040420f
mov esi, eax
push 0x47dc1c
push esi
call fcn.004055e5
pop ecx
pop ecx
mov ecx, dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
push esi
lea edi, [esp + 0x4c]
call fcn.00434676
lea ecx, [esp + 0xe8]
push ecx
lea esi, [esp + 0x18]
mov ecx, eax
mov byte [esp + 0x124], 3
call fcn.0041be8a
mov dword [esp], 0x485424
lea eax, [esp + 0xec]
push eax
call fcn.00450b59
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov esi, eax
lea eax, [esp + 0x30]
call fcn.0041213a
mov dword [esp + 0x120], 4
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
cmp dword [ebx + 0x14], 0x10
jb 0x431543
mov ecx, dword [ebx]
jmp 0x431545
mov ecx, ebx
push dword [esp + 0x30]
push eax
push dword [esp + 0x2c]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
jne 0x431619
push str.System_error
mov dword [esp + 0x18], str.d:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u73_6086_install_src_windows_common_FileUtils.cpp
mov dword [esp + 0x1c], str.FileUtils::getFileVersion
mov dword [esp + 0x20], 0x324
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x44], esp
push ebx
call fcn.00402538
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x148], 5
call fcn.004027db
lea eax, [esp + 0x70]
push str.GetFileVersionInfo_
push eax
mov byte [esp + 0x14c], 6
call fcn.004055e5
pop ecx
pop ecx
lea esi, [esp + 0x70]
mov byte [esp + 0x144], 7
call fcn.0040420f
mov esi, eax
push 0x47dc1c
push esi
call fcn.004055e5
pop ecx
pop ecx
mov ecx, dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
push esi
lea edi, [esp + 0x4c]
call fcn.00434676
lea ecx, [esp + 0xe8]
push ecx
lea esi, [esp + 0x18]
mov ecx, eax
mov byte [esp + 0x124], 8
call fcn.0041be8a
mov dword [esp], 0x485424
lea eax, [esp + 0xec]
jmp 0x431509
and dword [esp + 0x28], 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
push 0x47deac
push dword [esp + 0x3c]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x4316fb
push str.System_error
mov dword [esp + 0x18], str.d:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u73_6086_install_src_windows_common_FileUtils.cpp
mov dword [esp + 0x1c], str.FileUtils::getFileVersion
mov dword [esp + 0x20], 0x32f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x44], esp
push ebx
call fcn.00402538
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x148], 9
call fcn.004027db
lea eax, [esp + 0x70]
push str.VerQueryValueW_
push eax
mov byte [esp + 0x14c], 0xa
call fcn.004055e5
pop ecx
pop ecx
lea esi, [esp + 0x70]
mov byte [esp + 0x144], 0xb
call fcn.0040420f
mov esi, eax
push 0x47dc1c
push esi
call fcn.004055e5
pop ecx
pop ecx
mov ecx, dword [sym.imp.VERSION.dll_VerQueryValueW]
push esi
lea edi, [esp + 0x4c]
call fcn.00434676
lea ecx, [esp + 0xe8]
push ecx
lea esi, [esp + 0x18]
mov ecx, eax
mov byte [esp + 0x124], 0xc
call fcn.0041be8a
mov dword [esp], 0x485424
lea eax, [esp + 0xec]
jmp 0x431509
cmp dword [esp + 0x28], 0x34
jae 0x431798
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x3c], esp
push ebx
mov dword [esp + 0x34], str.d:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u73_6086_install_src_windows_common_FileUtils.cpp
mov dword [esp + 0x38], str.FileUtils::getFileVersion
mov dword [esp + 0x3c], 0x334
lea edi, [esp + 0x34]
call fcn.00402538
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x140], 0xd
call fcn.004027db
lea eax, [esp + 0x68]
push str.VerQueryValueW_
push eax
mov byte [esp + 0x144], 0xe
call fcn.004055e5
pop ecx
pop ecx
lea esi, [esp + 0x68]
mov byte [esp + 0x13c], 0xf
call fcn.0040420f
mov esi, eax
push str.__returned_unexpected_buffer_size.
push esi
call fcn.004055e5
mov ecx, edi
push esi
lea edi, [esp + 0xf4]
call fcn.00401768
add esp, 0xc
push 0x485294
mov eax, edi
jmp 0x431509
mov esi, dword [esp + 0x2c]
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.0044afd0
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 [esp + 0x30], ebx
je 0x4317e2
push dword [esp + 0x30]
call fcn.00448f1c
pop ecx
mov eax, edi
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.00448f27
mov esp, ebp
pop ebp
ret