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

Disassembly:
push 0x1c
mov eax, 0x5ba037
call fcn.00598f5e
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 0x477471
push esi
call fcn.0058e040
mov ebx, eax
pop ecx
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x477471
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 0x476ec5
and dword [ebp - 0x24], eax
push 0x601684
lea eax, [ebp - 0x24]
push eax
call fcn.00598e52
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push 0x5e23d8
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x476ef3
cmp dword [ebp - 0x14], 0x34
jne 0x476ef3
push 0x34
push dword [ebp + 0xc]
lea eax, [edi + 4]
push eax
call fcn.005965b0
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.00476d8c
test eax, eax
jne 0x476f79
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.00476d8c
test eax, eax
jne 0x476f79
mov ecx, dword [ebp - 0x14]
push 1
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0xc]
xor edx, edx
call fcn.00476d8c
test eax, eax
jne 0x476f79
mov ecx, dword [ebp - 0x14]
push 1
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0xc]
push 9
pop edx
call fcn.00476d8c
test eax, eax
jne 0x476f79
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x63696c]
mov ecx, 0x63696c
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.00404f66
add esp, 0xc
lea eax, [ebp - 0x1c]
push str.CompanyName
push eax
lea ecx, [ebp - 0x18]
call fcn.0042e81c
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.00407b6b
test esi, esi
je 0x47700b
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407b16
add edi, 0x38
mov byte [ebp - 4], 2
call fcn.0040a3cc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407b6b
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.FileDescription
push eax
lea ecx, [ebp - 0x18]
call fcn.0042e81c
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.00407b6b
test esi, esi
je 0x47706a
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407b16
add edi, 0x3c
mov byte [ebp - 4], 3
call fcn.0040a3cc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407b6b
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.FileVersion
push eax
lea ecx, [ebp - 0x18]
call fcn.0042e81c
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.00407b6b
test esi, esi
je 0x4770c9
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407b16
add edi, 0x40
mov byte [ebp - 4], 4
call fcn.0040a3cc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407b6b
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.InternalName
push eax
lea ecx, [ebp - 0x18]
call fcn.0042e81c
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.00407b6b
test esi, esi
je 0x477128
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407b16
add edi, 0x44
mov byte [ebp - 4], 5
call fcn.0040a3cc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407b6b
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.LegalCopyright
push eax
lea ecx, [ebp - 0x18]
call fcn.0042e81c
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.00407b6b
test esi, esi
je 0x477187
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407b16
add edi, 0x48
mov byte [ebp - 4], 6
call fcn.0040a3cc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407b6b
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.OriginalFileName
push eax
lea ecx, [ebp - 0x18]
call fcn.0042e81c
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.00407b6b
test esi, esi
je 0x4771e6
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407b16
add edi, 0x4c
mov byte [ebp - 4], 7
call fcn.0040a3cc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407b6b
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.ProductName
push eax
lea ecx, [ebp - 0x18]
call fcn.0042e81c
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.00407b6b
test esi, esi
je 0x477245
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407b16
add edi, 0x50
mov byte [ebp - 4], 8
call fcn.0040a3cc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407b6b
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.ProductVersion
push eax
lea ecx, [ebp - 0x18]
call fcn.0042e81c
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.00407b6b
test esi, esi
je 0x4772a4
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407b16
add edi, 0x54
mov byte [ebp - 4], 9
call fcn.0040a3cc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407b6b
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.Comments
push eax
lea ecx, [ebp - 0x18]
call fcn.0042e81c
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.00407b6b
test esi, esi
je 0x477303
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407b16
add edi, 0x58
mov byte [ebp - 4], 0xa
call fcn.0040a3cc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407b6b
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.LegalTrademarks
push eax
lea ecx, [ebp - 0x18]
call fcn.0042e81c
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.00407b6b
test esi, esi
je 0x477362
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407b16
add edi, 0x5c
mov byte [ebp - 4], 0xb
call fcn.0040a3cc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407b6b
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.PrivateBuild
push eax
lea ecx, [ebp - 0x18]
call fcn.0042e81c
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.00407b6b
test esi, esi
je 0x4773c1
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407b16
add edi, 0x60
mov byte [ebp - 4], 0xc
call fcn.0040a3cc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407b6b
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.SpecialBuild
push eax
lea ecx, [ebp - 0x18]
call fcn.0042e81c
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.00407b6b
test esi, esi
je 0x477420
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407b16
add edi, 0x64
mov byte [ebp - 4], 0xd
call fcn.0040a3cc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407b6b
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 8]
add edi, 0x68
add eax, 0x40
call fcn.0040a3cc
push 0x5e23ec
push 0x5ed624
push edi
call fcn.0040a466
push 0
push 0x5ec2e4
push edi
call fcn.0040a466
push ebx
call fcn.0058f807
mov eax, dword [ebp - 0x18]
pop ecx
add eax, 0xfffffff0
call fcn.00407b6b
xor eax, eax
inc eax
jmp 0x477473
xor eax, eax
call fcn.00599003
ret 8