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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554738
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5c1d10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [edi]
mov edx, dword [eax + 4]
call edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x46094d
push ebx
call fcn.004b14ff
add esp, 4
mov esi, eax
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x46094d
mov dword [ebp - 4], 0
push esi
push ebx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x46037c
mov dword [ebp - 0x24], eax
push 0x5ab4bc
lea ecx, [ebp - 0x24]
push ecx
call fcn.004f52c1
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp + 8]
push eax
push 0x585db8
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4603ab
cmp dword [ebp - 0x14], 0x34
jne 0x4603ab
push 0x34
mov ecx, dword [ebp + 8]
push ecx
lea edx, [edi + 4]
push edx
call fcn.004f40b0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
push ecx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x1c], 0
push 0
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, edi
call fcn.004034ae
mov ebx, 1
test eax, eax
jne 0x460444
push ebx
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, edi
call fcn.004034ae
test eax, eax
jne 0x460444
push ebx
lea edx, [ebp - 0x1c]
push edx
push eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, edi
call fcn.004034ae
test eax, eax
jne 0x460444
push ebx
lea edx, [ebp - 0x1c]
push edx
push 9
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, edi
call fcn.004034ae
test eax, eax
jne 0x460444
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x18]
call fcn.00404bc4
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shr ecx, 0x10
push ecx
movzx edx, ax
push edx
push str.StringFileInfo_04X_04X_
lea eax, [ebp - 0x18]
push eax
call fcn.004012df
push str.CompanyName
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.00404502
add esp, 0x1c
mov byte [ebp - 4], 2
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 8]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.00402798
cmp dword [ebp - 0x28], 0
je 0x4604cc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404133
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x38]
call fcn.00401654
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
push str.FileDescription
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00404502
add esp, 0xc
mov byte [ebp - 4], 4
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 8]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
cmp dword [ebp - 0x1c], 0
je 0x46052e
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404133
mov byte [ebp - 4], 5
push eax
lea ecx, [edi + 0x3c]
call fcn.00401654
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
push str.FileVersion
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00404502
add esp, 0xc
mov byte [ebp - 4], 6
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 8]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
cmp dword [ebp - 0x1c], 0
je 0x460590
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404133
mov byte [ebp - 4], 7
push eax
lea ecx, [edi + 0x40]
call fcn.00401654
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
push str.InternalName
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00404502
add esp, 0xc
mov byte [ebp - 4], 8
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 8]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
cmp dword [ebp - 0x1c], 0
je 0x4605f2
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404133
mov byte [ebp - 4], 9
push eax
lea ecx, [edi + 0x44]
call fcn.00401654
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
push str.LegalCopyright
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00404502
add esp, 0xc
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 8]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
cmp dword [ebp - 0x1c], 0
je 0x460654
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404133
mov byte [ebp - 4], 0xb
push eax
lea ecx, [edi + 0x48]
call fcn.00401654
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
push str.OriginalFileName
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00404502
add esp, 0xc
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 8]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
cmp dword [ebp - 0x1c], 0
je 0x4606b6
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404133
mov byte [ebp - 4], 0xd
push eax
lea ecx, [edi + 0x4c]
call fcn.00401654
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
push str.ProductName
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00404502
add esp, 0xc
mov byte [ebp - 4], 0xe
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 8]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
cmp dword [ebp - 0x1c], 0
je 0x460718
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404133
mov byte [ebp - 4], 0xf
push eax
lea ecx, [edi + 0x50]
call fcn.00401654
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
push str.ProductVersion
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00404502
add esp, 0xc
mov byte [ebp - 4], 0x10
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 8]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
cmp dword [ebp - 0x1c], 0
je 0x46077a
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404133
mov byte [ebp - 4], 0x11
push eax
lea ecx, [edi + 0x54]
call fcn.00401654
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
push str.Comments
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00404502
add esp, 0xc
mov byte [ebp - 4], 0x12
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 8]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
cmp dword [ebp - 0x1c], 0
je 0x4607dc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404133
mov byte [ebp - 4], 0x13
push eax
lea ecx, [edi + 0x58]
call fcn.00401654
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
push str.LegalTrademarks
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00404502
add esp, 0xc
mov byte [ebp - 4], 0x14
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 8]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
cmp dword [ebp - 0x1c], 0
je 0x46083e
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404133
mov byte [ebp - 4], 0x15
push eax
lea ecx, [edi + 0x5c]
call fcn.00401654
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
push str.PrivateBuild
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00404502
add esp, 0xc
mov byte [ebp - 4], 0x16
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 8]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
cmp dword [ebp - 0x1c], 0
je 0x4608a0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404133
mov byte [ebp - 4], 0x17
push eax
lea ecx, [edi + 0x60]
call fcn.00401654
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
push str.SpecialBuild
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00404502
add esp, 0xc
mov byte [ebp - 4], 0x18
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 8]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
cmp dword [ebp - 0x1c], 0
je 0x460902
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404133
mov byte [ebp - 4], 0x19
push eax
lea ecx, [edi + 0x64]
call fcn.00401654
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402798
push esi
call fcn.004f5492
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402798
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4