Function at 0x437c63
Capabilities:
Get file version info
Identify system language via api

Disassembly:
push 0x1c
mov eax, 0x4f7ec0
call fcn.004de83e
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x438275
push esi
call fcn.004d4f20
mov ebx, eax
pop ecx
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x438275
and dword [ebp - 4], 0
push ebx
push esi
push dword [ebp - 0x20]
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x437cc9
and dword [ebp - 0x24], eax
push 0x51fad4
lea eax, [ebp - 0x24]
push eax
call fcn.004de732
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push 0x5078f4
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x437cf7
cmp dword [ebp - 0x14], 0x34
jne 0x437cf7
push 0x34
push dword [ebp + 0xc]
lea eax, [edi + 4]
push eax
call fcn.004dbd40
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
mov ecx, dword [ebp - 0x14]
mov edx, eax
mov eax, dword [ebp + 0xc]
call fcn.00437b90
test eax, eax
jne 0x437d7d
push 1
lea eax, [ebp - 0x1c]
push eax
call esi
mov ecx, dword [ebp - 0x14]
mov edx, eax
mov eax, dword [ebp + 0xc]
call fcn.00437b90
test eax, eax
jne 0x437d7d
mov ecx, dword [ebp - 0x14]
push 1
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0xc]
xor edx, edx
call fcn.00437b90
test eax, eax
jne 0x437d7d
mov ecx, dword [ebp - 0x14]
push 1
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0xc]
push 9
pop edx
call fcn.00437b90
test eax, eax
jne 0x437d7d
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x545cc4]
mov ecx, 0x545cc4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
push eax
movzx eax, word [ebp - 0x1c]
push eax
push str.StringFileInfo_04X_04X_
lea eax, [ebp - 0x18]
call fcn.00405e6e
add esp, 0xc
lea eax, [ebp - 0x1c]
push str.CompanyName
push eax
lea ecx, [ebp - 0x18]
call fcn.00411c34
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
test esi, esi
je 0x437e0f
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407c9b
add edi, 0x38
mov byte [ebp - 4], 2
call fcn.004099a7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.FileDescription
push eax
lea ecx, [ebp - 0x18]
call fcn.00411c34
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
test esi, esi
je 0x437e6e
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407c9b
add edi, 0x3c
mov byte [ebp - 4], 3
call fcn.004099a7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.FileVersion
push eax
lea ecx, [ebp - 0x18]
call fcn.00411c34
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
test esi, esi
je 0x437ecd
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407c9b
add edi, 0x40
mov byte [ebp - 4], 4
call fcn.004099a7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.InternalName
push eax
lea ecx, [ebp - 0x18]
call fcn.00411c34
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
test esi, esi
je 0x437f2c
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407c9b
add edi, 0x44
mov byte [ebp - 4], 5
call fcn.004099a7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.LegalCopyright
push eax
lea ecx, [ebp - 0x18]
call fcn.00411c34
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
test esi, esi
je 0x437f8b
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407c9b
add edi, 0x48
mov byte [ebp - 4], 6
call fcn.004099a7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.OriginalFileName
push eax
lea ecx, [ebp - 0x18]
call fcn.00411c34
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
test esi, esi
je 0x437fea
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407c9b
add edi, 0x4c
mov byte [ebp - 4], 7
call fcn.004099a7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.ProductName
push eax
lea ecx, [ebp - 0x18]
call fcn.00411c34
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
test esi, esi
je 0x438049
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407c9b
add edi, 0x50
mov byte [ebp - 4], 8
call fcn.004099a7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.ProductVersion
push eax
lea ecx, [ebp - 0x18]
call fcn.00411c34
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
test esi, esi
je 0x4380a8
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407c9b
add edi, 0x54
mov byte [ebp - 4], 9
call fcn.004099a7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.Comments
push eax
lea ecx, [ebp - 0x18]
call fcn.00411c34
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
test esi, esi
je 0x438107
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407c9b
add edi, 0x58
mov byte [ebp - 4], 0xa
call fcn.004099a7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.LegalTrademarks
push eax
lea ecx, [ebp - 0x18]
call fcn.00411c34
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
test esi, esi
je 0x438166
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407c9b
add edi, 0x5c
mov byte [ebp - 4], 0xb
call fcn.004099a7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.PrivateBuild
push eax
lea ecx, [ebp - 0x18]
call fcn.00411c34
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
test esi, esi
je 0x4381c5
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407c9b
add edi, 0x60
mov byte [ebp - 4], 0xc
call fcn.004099a7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.SpecialBuild
push eax
lea ecx, [ebp - 0x18]
call fcn.00411c34
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
test esi, esi
je 0x438224
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407c9b
add edi, 0x64
mov byte [ebp - 4], 0xd
call fcn.004099a7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 8]
add edi, 0x68
add eax, 0x40
call fcn.004099a7
push 0x514004
push 0x516f44
push edi
call fcn.00407a7f
push 0
push 0x514000
push edi
call fcn.00407a7f
push ebx
call fcn.004d5e58
mov eax, dword [ebp - 0x18]
pop ecx
add eax, 0xfffffff0
call fcn.00406ace
xor eax, eax
inc eax
jmp 0x438277
xor eax, eax
call fcn.004de8e3
ret 8