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

Disassembly:
mov eax, 0x60e6eb
call fcn.0060cc48
sub esp, 0x28
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [ebx]
mov dword [ebp - 0x20], ebx
call dword [eax + 4]
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x419a90
push esi
call fcn.0049a823
mov edi, eax
mov dword [ebp - 0x34], edi
pop ecx
test edi, edi
je 0x419a90
and dword [ebp - 4], 0
push edi
push esi
push dword [ebp - 0x24]
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x419429
and dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push 0x6b7e64
push eax
call fcn.005e4f58
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
and dword [ebp - 0x18], 0
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x694b58
push edi
call esi
test eax, eax
je 0x419462
cmp dword [ebp - 0x18], 0x34
jne 0x419462
push 0x34
push dword [ebp - 0x14]
lea eax, [ebx + 4]
push eax
call fcn.005e11d0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x694b5c
push edi
call esi
cmp dword [ebp - 0x14], 0
je 0x419a70
cmp dword [ebp - 0x18], 0
je 0x419a70
and dword [ebp + 8], 0
lea eax, [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push 0
push eax
call esi
movzx eax, ax
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.0041934c
xor ebx, ebx
inc ebx
test eax, eax
jne 0x4194fb
push ebx
lea eax, [ebp + 8]
push eax
call esi
movzx eax, ax
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.0041934c
test eax, eax
jne 0x4194fb
push ebx
lea eax, [ebp + 8]
push eax
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.0041934c
test eax, eax
jne 0x4194fb
push ebx
lea eax, [ebp + 8]
push eax
push 9
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.0041934c
test eax, eax
jne 0x4194fb
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
jmp 0x4194fe
mov esi, dword [ebp + 8]
call fcn.00404f47
push eax
lea ecx, [ebp - 0x1c]
call fcn.004065d8
mov byte [ebp - 4], bl
call fcn.00404f47
push eax
lea ecx, [ebp + 8]
call fcn.004065d8
mov eax, esi
mov byte [ebp - 4], 2
shr eax, 0x10
push eax
movzx eax, si
push eax
lea eax, [ebp - 0x1c]
push str.StringFileInfo_04X_04X_
push eax
call fcn.00406cc8
add esp, 0x10
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
push str.CompanyName
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x41957f
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov esi, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4195a1
push dword [ebp - 0x14]
lea ecx, [esi + 0x38]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push str.FileDescription
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x4195ee
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x41960d
push dword [ebp - 0x14]
lea ecx, [esi + 0x3c]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push str.FileVersion
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x41965a
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x419679
push dword [ebp - 0x14]
lea ecx, [esi + 0x40]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push str.InternalName
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x4196c6
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x4196e5
push dword [ebp - 0x14]
lea ecx, [esi + 0x44]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push str.LegalCopyright
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x419732
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x419751
push dword [ebp - 0x14]
lea ecx, [esi + 0x48]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push str.OriginalFileName
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x41979e
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x4197bd
push dword [ebp - 0x14]
lea ecx, [esi + 0x4c]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push str.ProductName
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x41980a
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x419829
push dword [ebp - 0x14]
lea ecx, [esi + 0x50]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push str.ProductVersion
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x419876
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x419895
push dword [ebp - 0x14]
lea ecx, [esi + 0x54]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push str.Comments
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x4198e2
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x419901
push dword [ebp - 0x14]
lea ecx, [esi + 0x58]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push str.LegalTrademarks
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xc
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x41994e
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x41996d
push dword [ebp - 0x14]
lea ecx, [esi + 0x5c]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push str.PrivateBuild
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xd
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x4199ba
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x4199d9
push dword [ebp - 0x14]
lea ecx, [esi + 0x60]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push str.SpecialBuild
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov esi, dword [ebp + 8]
cmp dword [esi - 4], ebx
jle 0x419a26
push dword [esi - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x419a48
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x14]
add ecx, 0x64
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push edi
call fcn.0049a81e
pop ecx
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00404ea9
mov eax, ebx
jmp 0x419a92
and dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push 0x6b7e64
jmp 0x419423
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4