Function at 0x10137ea4
Capabilities:
Get file version info

Disassembly:
push 0x3d4
mov eax, 0x1032712d
call fcn.1027911b
mov dword [ebp - 0x3dc], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x3c4], ebx
mov dword [ebp - 0x3c0], ebx
mov dword [ebp - 0x3bc], ebx
cmp dword [esi + 0x14], 8
jb 0x10137eda
mov eax, dword [esi]
jmp 0x10137edc
mov eax, esi
lea ecx, [ebp - 0x3bc]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
jne 0x10137f18
push esi
push str.Resource_File_Manager_:_error_:_Failed_to_retrieve_version_information_size_for_file:___s_.
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x3b0]
call fcn.10136376
push 0x1060513c
lea eax, [ebp - 0x3b0]
push eax
call fcn.1027a8f4
mov dword [ebp - 0x3d4], ebx
mov dword [ebp - 0x3d0], ebx
mov dword [ebp - 0x3cc], ebx
push eax
lea ecx, [ebp - 0x3d4]
mov dword [ebp - 4], ebx
call fcn.100e1904
mov edi, dword [ebp - 0x3d0]
mov ebx, dword [ebp - 0x3d4]
sub edi, ebx
push 0
mov ecx, ebx
mov dword [ebp - 4], 1
pop eax
cmove ecx, eax
cmp dword [esi + 0x14], 8
jb 0x10137f60
mov eax, dword [esi]
jmp 0x10137f62
mov eax, esi
push ecx
push edi
push dword [ebp - 0x3bc]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x10137f93
push esi
push str.Resource_File_Manager_:_error_:_Failed_to_retrieve_version_information_for_file:___s_.
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x3b0]
call fcn.101362e5
jmp 0x10137f07
xor eax, eax
test edi, edi
cmove ebx, eax
lea eax, [ebp - 0x3c0]
push eax
lea eax, [ebp - 0x3c4]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x10137fd6
push esi
push str.Resource_File_Manager_:_error_:_Failed_to_retrieve_language_and_code_page_version_information_for_file___s_.
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x3b0]
call fcn.10136496
jmp 0x10137f07
mov edi, dword [ebp - 0x3c0]
shr edi, 2
test edi, edi
jne 0x10137ffb
push esi
push str.Resource_File_Manager_:_error_:_No_language_and_code_page_version_information_in_resource_file:___s_.
push 0x21
lea ecx, [ebp - 0x3b0]
call fcn.10136407
jmp 0x10137f07
and dword [ebp - 0x3b4], 0
lea ecx, [ebp - 0x28]
push 0x10371374
call fcn.10006939
mov byte [ebp - 4], 2
xor ebx, ebx
mov eax, dword [ebp - 0x3c4]
lea ecx, [ebp - 0x3b4]
push ecx
movzx eax, word [eax + ebx*4]
push eax
mov dword [ebp - 0x3b8], eax
call fcn.1014b2bd
mov dword [ebp - 0x3d8], eax
test eax, eax
jns 0x1013805c
lea eax, [ebp - 0x3d8]
push eax
push esi
lea eax, [ebp - 0x3b8]
push eax
push str.Resource_File_Manager_:_error_:_Failed_to_convert_LocaleId___d__to_HCULTURE_for_resource_file___s_._Error_code:_0x_08x._Language_information_from_the_TranslationBlock_in_this_resource_file_is_unrecognized.
push 2
call fcn.10137af6
jmp 0x1013813e
push dword [ebp - 0x3b8]
call fcn.1012d804
test al, al
jne 0x10138084
push esi
lea eax, [ebp - 0x3b8]
push eax
push str.Resource_File_Manager_:_error_:_Full_level_of_language_support_is_not_available_for_this_locale___d__for_resources_from_file:___s_.
push 2
call fcn.10137804
jmp 0x1013813e
push 0
push 0x56
lea ecx, [ebp - 0x28]
call fcn.1000f5d8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push dword [ebp - 0x14]
push eax
push dword [ebp - 0x3b4]
call fcn.1014b275
lea ecx, [ebp - 0x3c8]
push ecx
push eax
call fcn.100064e0
mov eax, dword [ebp - 0x3c8]
test eax, eax
jg 0x101380da
lea eax, [ebp - 0x3b4]
push eax
push str.Resource_File_Manager_:_error_:_Failed_to_convert_HCULTURE___d__to_CultureTag.
push 2
call fcn.1013731e
jmp 0x1013813e
push 0
dec eax
lea ecx, [ebp - 0x28]
push eax
call fcn.1000f5d8
push 0x54
call fcn.100dcabd
pop ecx
mov dword [ebp - 0x3e0], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x1013810a
lea ecx, [ebp - 0x28]
push ecx
push esi
mov ecx, eax
call fcn.10144301
jmp 0x1013810c
xor eax, eax
mov ecx, dword [ebp - 0x3dc]
push eax
lea eax, [ebp - 0x3b4]
mov byte [ebp - 4], 2
push eax
lea ecx, [ecx + 0xc]
call fcn.10137de4
mov ecx, eax
call fcn.10012ec6
push esi
lea eax, [ebp - 0x28]
push eax
push str.Resource_File_Manager_:_Found__CultureTag_s__resource_file_at___s_.
push 3
call fcn.100ee94d
inc ebx
cmp ebx, edi
jb 0x10138015
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10007cb3
lea ecx, [ebp - 0x3d4]
call fcn.100d58ce
call fcn.102790cd
ret 4