Function at 0x5dea10
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x906648]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x10]
push 0
push esi
mov dword [ebp - 0xe8], eax
mov dword [eax], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x5deaa6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004f1a60
add esp, 4
mov edi, eax
test byte [0x9538a8], 8
je 0x5deb62
push edi
push esi
push str.GetFileVersionInfoSize_failed_for_file__s__err__d
push 0x35e
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_inv_inv_cfci.c
push str.inv_get_resource_data_winapi_alloc
push dword [0x905350]
push 8
call fcn.004f21c0
add esp, 0x20
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063c972
mov esp, ebp
pop ebp
ret
push 0x644e4951
push ebx
xor edi, edi
call fcn.004f3590
add esp, 8
mov dword [ebp - 0xd4], eax
test eax, eax
jne 0x5deb03
test byte [0x9538a8], 1
je 0x5deaed
push str.Memory_allocation_failure.
push 0x367
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_inv_inv_cfci.c
push str.inv_get_resource_data_winapi_alloc
push dword [0x905350]
push 1
call fcn.004f21c0
add esp, 0x18
pop edi
pop esi
mov eax, 0xc
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063c972
mov esp, ebp
pop ebp
ret
push eax
push ebx
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x5deb73
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004f1a60
add esp, 4
mov edi, eax
test byte [0x9538a8], 1
je 0x5deb51
push edi
push esi
push str.GetFileVersionInfo_failed_for_file__s__err__d
push 0x370
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_inv_inv_cfci.c
push str.inv_get_resource_data_winapi_alloc
push dword [0x905350]
push 1
call fcn.004f21c0
add esp, 0x20
mov ebx, dword [ebp - 0xd4]
push ebx
call fcn.004f3570
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0063c972
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0xd4]
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xe0]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x5debe2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004f1a60
add esp, 4
mov edi, eax
test byte [0x9538a8], 8
je 0x5debd6
push edi
push esi
push str.VerQueryValue_1__failed_for_file__s__err__d
push 0x37c
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_inv_inv_cfci.c
push str.inv_get_resource_data_winapi_alloc
push dword [0x905350]
push 8
call fcn.004f21c0
add esp, 0x20
mov ecx, 0x409
mov eax, 0x4e4
jmp 0x5dec27
test byte [0x9538a8], 8
je 0x5dec1a
mov eax, dword [ebp - 0xdc]
push esi
shr eax, 2
push eax
push str.There_is_info_available_in__d_languages_and_code_pages_for_file__s.
push 0x38a
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_inv_inv_cfci.c
push str.inv_get_resource_data_winapi_alloc
push dword [0x905350]
push 8
call fcn.004f21c0
add esp, 0x20
mov eax, dword [ebp - 0xe0]
movzx ecx, word [eax]
movzx eax, word [eax + 2]
push dword [ebp - 0xd0]
push eax
push ecx
push str.StringFileInfo_04x_04x_s
lea eax, [ebp - 0xcc]
push 0xc8
push eax
call fcn.004f3b60
add esp, 0x18
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xcc]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x5ded49
cmp dword [ebp - 0xe4], 0
je 0x5ded0c
test byte [0x9538a8], 8
je 0x5decb2
push dword [ebp - 0xd8]
push esi
push dword [ebp - 0xd0]
push str.Version_info__s_for_file__s_is__s
push 0x3a1
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_inv_inv_cfci.c
push str.inv_get_resource_data_winapi_alloc
push dword [0x905350]
push 8
call fcn.004f21c0
add esp, 0x24
push 0x654e4951
push dword [ebp - 0xd8]
call fcn.004f3d00
mov ecx, dword [ebp - 0xe8]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0x5deb57
test byte [0x9538a8], 1
je 0x5ded02
push str.Memory_allocation_failure.
push 0x3a7
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_inv_inv_cfci.c
push str.inv_get_resource_data_winapi_alloc
push dword [0x905350]
push 1
call fcn.004f21c0
add esp, 0x18
mov edi, 0xc
jmp 0x5deb57
test byte [0x9538a8], 4
je 0x5deb57
push esi
push dword [ebp - 0xd0]
push str._s_len_for_file__s_is_zero.
push 0x3af
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_inv_inv_cfci.c
push str.inv_get_resource_data_winapi_alloc
push dword [0x905350]
push 4
call fcn.004f21c0
add esp, 0x20
jmp 0x5deb57
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004f1a60
add esp, 4
mov edi, eax
test byte [0x9538a8], 1
je 0x5deb57
push edi
push esi
push dword [ebp - 0xd0]
push str.VerQueryValue_for__s_failed_for_file__s__err__d
push 0x3b6
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_inv_inv_cfci.c
push str.inv_get_resource_data_winapi_alloc
push dword [0x905350]
push 1
call fcn.004f21c0
add esp, 0x24
jmp 0x5deb57