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

Disassembly:
push 0x1c
mov eax, 0x4a9e3a
call fcn.00490b0e
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 0x41eae1
push esi
call fcn.00487d50
mov ebx, eax
pop ecx
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x41eae1
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 0x41e535
and dword [ebp - 0x24], eax
push 0x4d15fc
lea eax, [ebp - 0x24]
push eax
call fcn.00490a02
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push 0x4c4ea0
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41e563
cmp dword [ebp - 0x14], 0x34
jne 0x41e563
push 0x34
push dword [ebp + 0xc]
lea eax, [edi + 4]
push eax
call fcn.0048e160
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.0041e3fc
test eax, eax
jne 0x41e5e9
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.0041e3fc
test eax, eax
jne 0x41e5e9
mov ecx, dword [ebp - 0x14]
push 1
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0xc]
xor edx, edx
call fcn.0041e3fc
test eax, eax
jne 0x41e5e9
mov ecx, dword [ebp - 0x14]
push 1
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0xc]
push 9
pop edx
call fcn.0041e3fc
test eax, eax
jne 0x41e5e9
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x4f4a0c]
mov ecx, 0x4f4a0c
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.0040202d
add esp, 0xc
lea eax, [ebp - 0x1c]
push str.CompanyName
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e558
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.00404bfa
test esi, esi
je 0x41e67b
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00404b9b
add edi, 0x38
mov byte [ebp - 4], 2
call fcn.00405ab8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404bfa
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.FileDescription
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e558
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.00404bfa
test esi, esi
je 0x41e6da
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00404b9b
add edi, 0x3c
mov byte [ebp - 4], 3
call fcn.00405ab8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404bfa
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.FileVersion
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e558
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.00404bfa
test esi, esi
je 0x41e739
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00404b9b
add edi, 0x40
mov byte [ebp - 4], 4
call fcn.00405ab8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404bfa
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.InternalName
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e558
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.00404bfa
test esi, esi
je 0x41e798
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00404b9b
add edi, 0x44
mov byte [ebp - 4], 5
call fcn.00405ab8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404bfa
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.LegalCopyright
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e558
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.00404bfa
test esi, esi
je 0x41e7f7
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00404b9b
add edi, 0x48
mov byte [ebp - 4], 6
call fcn.00405ab8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404bfa
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.OriginalFileName
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e558
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.00404bfa
test esi, esi
je 0x41e856
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00404b9b
add edi, 0x4c
mov byte [ebp - 4], 7
call fcn.00405ab8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404bfa
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.ProductName
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e558
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.00404bfa
test esi, esi
je 0x41e8b5
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00404b9b
add edi, 0x50
mov byte [ebp - 4], 8
call fcn.00405ab8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404bfa
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.ProductVersion
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e558
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.00404bfa
test esi, esi
je 0x41e914
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00404b9b
add edi, 0x54
mov byte [ebp - 4], 9
call fcn.00405ab8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404bfa
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.Comments
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e558
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.00404bfa
test esi, esi
je 0x41e973
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00404b9b
add edi, 0x58
mov byte [ebp - 4], 0xa
call fcn.00405ab8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404bfa
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.LegalTrademarks
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e558
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.00404bfa
test esi, esi
je 0x41e9d2
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00404b9b
add edi, 0x5c
mov byte [ebp - 4], 0xb
call fcn.00405ab8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404bfa
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.PrivateBuild
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e558
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.00404bfa
test esi, esi
je 0x41ea31
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00404b9b
add edi, 0x60
mov byte [ebp - 4], 0xc
call fcn.00405ab8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404bfa
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.SpecialBuild
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e558
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.00404bfa
test esi, esi
je 0x41ea90
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00404b9b
add edi, 0x64
mov byte [ebp - 4], 0xd
call fcn.00405ab8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404bfa
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 8]
add edi, 0x68
add eax, 0x40
call fcn.00405ab8
push 0x4c4eb4
push 0x4c9208
push edi
call fcn.00405b52
push 0
push 0x4c8b24
push edi
call fcn.00405b52
push ebx
call fcn.00489298
mov eax, dword [ebp - 0x18]
pop ecx
add eax, 0xfffffff0
call fcn.00404bfa
xor eax, eax
inc eax
jmp 0x41eae3
xor eax, eax
call fcn.00490bb3
ret 8