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

Disassembly:
push 0x14
mov eax, 0x449d89
call fcn.004346a6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x408a54
xor eax, eax
jmp 0x409018
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 1
push edi
call fcn.00430d62
cmp eax, ebx
pop ecx
mov dword [ebp - 0x18], eax
jne 0x408a71
call fcn.00424d1d
push eax
push edi
push dword [ebp - 0x20]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x408a91
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
push eax
call fcn.004123ff
jmp 0x408a4d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x453fc8
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x408ac1
cmp dword [ebp - 0x14], 0x34
jne 0x408ac1
push 0x34
push dword [ebp - 0x10]
lea eax, [esi + 4]
push eax
call fcn.004310c0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x454528
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueW
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push ebx
mov dword [ebp + 8], ebx
call edi
mov ecx, dword [ebp - 0x14]
lea ebx, [ebp + 8]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00409133
test eax, eax
pop ecx
pop ecx
jne 0x408b3d
push 1
call edi
mov ecx, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00409133
test eax, eax
pop ecx
pop ecx
jne 0x408b3d
mov ecx, dword [ebp - 0x14]
push 1
push eax
mov eax, dword [ebp - 0x10]
call fcn.00409133
test eax, eax
pop ecx
pop ecx
jne 0x408b3d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push 1
push 9
call fcn.00409133
test eax, eax
pop ecx
pop ecx
jne 0x408b3d
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
jmp 0x408b40
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.00401b10
mov byte [ebp - 4], 2
mov eax, edi
shr eax, 0x10
push eax
movzx eax, di
push eax
lea eax, [ebp - 0x1c]
push str.StringFileInfo_04X_04X_
push eax
call fcn.004026c6
push 0x454590
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00409181
add esp, 0x1c
mov byte [ebp - 4], 3
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
test edi, edi
je 0x408bc6
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.00401553
mov byte [ebp - 4], 4
lea ecx, [esi + 0x38]
push eax
call fcn.00401ac3
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
push 0x4545a8
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00409181
add esp, 0xc
mov byte [ebp - 4], 5
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
test edi, edi
je 0x408c28
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.00401553
mov byte [ebp - 4], 6
lea ecx, [esi + 0x3c]
push eax
call fcn.00401ac3
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
push 0x4545c8
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00409181
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
test edi, edi
je 0x408c8a
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.00401553
mov byte [ebp - 4], 8
lea ecx, [esi + 0x40]
push eax
call fcn.00401ac3
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
push 0x4545e0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00409181
add esp, 0xc
mov byte [ebp - 4], 9
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
test edi, edi
je 0x408cec
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.00401553
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x44]
push eax
call fcn.00401ac3
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
push 0x4545fc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00409181
add esp, 0xc
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
test edi, edi
je 0x408d4e
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.00401553
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x48]
push eax
call fcn.00401ac3
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
push str.OriginalFileName
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00409181
add esp, 0xc
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
test edi, edi
je 0x408db0
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.00401553
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0x4c]
push eax
call fcn.00401ac3
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
push 0x454640
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00409181
add esp, 0xc
mov byte [ebp - 4], 0xf
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
test edi, edi
je 0x408e12
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.00401553
mov byte [ebp - 4], 0x10
lea ecx, [esi + 0x50]
push eax
call fcn.00401ac3
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
push 0x454658
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00409181
add esp, 0xc
mov byte [ebp - 4], 0x11
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
test edi, edi
je 0x408e74
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.00401553
mov byte [ebp - 4], 0x12
lea ecx, [esi + 0x54]
push eax
call fcn.00401ac3
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
push str.Comments
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00409181
add esp, 0xc
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
test edi, edi
je 0x408ed6
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.00401553
mov byte [ebp - 4], 0x14
lea ecx, [esi + 0x58]
push eax
call fcn.00401ac3
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
push str.LegalTrademarks
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00409181
add esp, 0xc
mov byte [ebp - 4], 0x15
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
test edi, edi
je 0x408f38
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.00401553
mov byte [ebp - 4], 0x16
lea ecx, [esi + 0x5c]
push eax
call fcn.00401ac3
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
push str.PrivateBuild
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00409181
add esp, 0xc
mov byte [ebp - 4], 0x17
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
test edi, edi
je 0x408f9a
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.00401553
mov byte [ebp - 4], 0x18
lea ecx, [esi + 0x60]
push eax
call fcn.00401ac3
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
push str.SpecialBuild
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00409181
add esp, 0xc
mov byte [ebp - 4], 0x19
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
test edi, edi
je 0x408ffc
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.00401553
mov byte [ebp - 4], 0x1a
lea ecx, [esi + 0x64]
push eax
call fcn.00401ac3
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00409dbd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00409dbd
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
push eax
call fcn.004123ff
xor eax, eax
inc eax
call fcn.00434745
ret 4