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

Disassembly:
mov eax, 0x4cd038
call fcn.004ca860
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push esi
push edi
mov ecx, ebx
mov dword [ebp - 0x10], esp
call dword [eax + 4]
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x28], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, edi
je 0x450ade
push esi
call fcn.00491d0c
cmp eax, edi
pop ecx
mov dword [ebp - 0x1c], eax
je 0x450ade
push eax
push esi
mov dword [ebp - 4], edi
push dword [ebp - 0x28]
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x45045f
mov dword [ebp - 0x2c], edi
push 0x4f6cc4
lea eax, [ebp - 0x2c]
push eax
call fcn.004ae5cd
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4e1d18
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x450495
cmp dword [ebp - 0x18], 0x34
jne 0x450495
push 0x34
push dword [ebp - 0x14]
add ebx, 4
push ebx
call fcn.004a5880
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4e9140
push dword [ebp - 0x1c]
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 0x14], edi
je 0x450abf
cmp dword [ebp - 0x18], edi
je 0x450abf
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push edi
mov dword [ebp - 0x24], edi
call esi
mov ecx, dword [ebp - 0x18]
lea ebx, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004503a0
cmp eax, edi
jne 0x45051c
push 1
call esi
mov ecx, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004503a0
cmp eax, edi
jne 0x45051c
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push 1
push edi
call fcn.004503a0
cmp eax, edi
jne 0x45051c
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push 1
push 9
call fcn.004503a0
cmp eax, edi
jne 0x45051c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [0x50bacc]
mov esi, 0x50bacc
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
mov eax, dword [0x50bacc]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
shr eax, 0x10
push eax
movzx eax, word [ebp - 0x24]
push eax
push str.StringFileInfo_04X_04X_
lea eax, [ebp - 0x20]
call fcn.004034a0
add esp, 0xc
lea eax, [ebp - 0x24]
push 0x4e91a8
push eax
lea ecx, [ebp - 0x20]
call fcn.0041d9a9
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.00403197
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.004027f4
mov esi, edi
call fcn.0040d48d
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x1c]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
mov ebx, dword [ebp + 8]
jne 0x4505bf
push dword [ebp - 0x14]
lea eax, [ebx + 0x38]
push eax
call fcn.00403504
xor eax, eax
cmp dword [ebp + 0xc], eax
je 0x4505cf
push dword [ebp + 0xc]
call fcn.004a56c9
pop ecx
lea edx, [ebp + 0xc]
call fcn.0040294d
lea eax, [ebp + 8]
push 0x4e91c0
push eax
lea ecx, [ebp - 0x20]
call fcn.0041d9a9
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.00403197
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f4
mov esi, edi
call fcn.0040d48d
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x1c]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x45062e
push dword [ebp - 0x14]
lea eax, [ebx + 0x3c]
push eax
call fcn.00403504
xor eax, eax
cmp dword [ebp + 0xc], eax
je 0x45063e
push dword [ebp + 0xc]
call fcn.004a56c9
pop ecx
lea edx, [ebp + 0xc]
call fcn.0040294d
lea eax, [ebp + 8]
push 0x4e91e0
push eax
lea ecx, [ebp - 0x20]
call fcn.0041d9a9
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.00403197
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f4
mov esi, edi
call fcn.0040d48d
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x1c]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x45069d
push dword [ebp - 0x14]
lea eax, [ebx + 0x40]
push eax
call fcn.00403504
xor eax, eax
cmp dword [ebp + 0xc], eax
je 0x4506ad
push dword [ebp + 0xc]
call fcn.004a56c9
pop ecx
lea edx, [ebp + 0xc]
call fcn.0040294d
lea eax, [ebp + 8]
push 0x4e91f8
push eax
lea ecx, [ebp - 0x20]
call fcn.0041d9a9
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 6
call fcn.00403197
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f4
mov esi, edi
call fcn.0040d48d
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x1c]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x45070c
push dword [ebp - 0x14]
lea eax, [ebx + 0x44]
push eax
call fcn.00403504
xor eax, eax
cmp dword [ebp + 0xc], eax
je 0x45071c
push dword [ebp + 0xc]
call fcn.004a56c9
pop ecx
lea edx, [ebp + 0xc]
call fcn.0040294d
lea eax, [ebp + 8]
push 0x4e9214
push eax
lea ecx, [ebp - 0x20]
call fcn.0041d9a9
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 7
call fcn.00403197
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f4
mov esi, edi
call fcn.0040d48d
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x1c]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x45077b
push dword [ebp - 0x14]
lea eax, [ebx + 0x48]
push eax
call fcn.00403504
xor eax, eax
cmp dword [ebp + 0xc], eax
je 0x45078b
push dword [ebp + 0xc]
call fcn.004a56c9
pop ecx
lea edx, [ebp + 0xc]
call fcn.0040294d
lea eax, [ebp + 8]
push str.OriginalFileName
push eax
lea ecx, [ebp - 0x20]
call fcn.0041d9a9
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 8
call fcn.00403197
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f4
mov esi, edi
call fcn.0040d48d
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x1c]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x4507ea
push dword [ebp - 0x14]
lea eax, [ebx + 0x4c]
push eax
call fcn.00403504
xor eax, eax
cmp dword [ebp + 0xc], eax
je 0x4507fa
push dword [ebp + 0xc]
call fcn.004a56c9
pop ecx
lea edx, [ebp + 0xc]
call fcn.0040294d
lea eax, [ebp + 8]
push 0x4e9258
push eax
lea ecx, [ebp - 0x20]
call fcn.0041d9a9
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 9
call fcn.00403197
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f4
mov esi, edi
call fcn.0040d48d
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x1c]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x450859
push dword [ebp - 0x14]
lea eax, [ebx + 0x50]
push eax
call fcn.00403504
xor eax, eax
cmp dword [ebp + 0xc], eax
je 0x450869
push dword [ebp + 0xc]
call fcn.004a56c9
pop ecx
lea edx, [ebp + 0xc]
call fcn.0040294d
lea eax, [ebp + 8]
push 0x4e9270
push eax
lea ecx, [ebp - 0x20]
call fcn.0041d9a9
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 0xa
call fcn.00403197
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f4
mov esi, edi
call fcn.0040d48d
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x1c]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x4508c8
push dword [ebp - 0x14]
lea eax, [ebx + 0x54]
push eax
call fcn.00403504
xor eax, eax
cmp dword [ebp + 0xc], eax
je 0x4508d8
push dword [ebp + 0xc]
call fcn.004a56c9
pop ecx
lea edx, [ebp + 0xc]
call fcn.0040294d
lea eax, [ebp + 8]
push str.Comments
push eax
lea ecx, [ebp - 0x20]
call fcn.0041d9a9
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 0xb
call fcn.00403197
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f4
mov esi, edi
call fcn.0040d48d
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x1c]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x450937
push dword [ebp - 0x14]
lea eax, [ebx + 0x58]
push eax
call fcn.00403504
xor eax, eax
cmp dword [ebp + 0xc], eax
je 0x450947
push dword [ebp + 0xc]
call fcn.004a56c9
pop ecx
lea edx, [ebp + 0xc]
call fcn.0040294d
lea eax, [ebp + 8]
push str.LegalTrademarks
push eax
lea ecx, [ebp - 0x20]
call fcn.0041d9a9
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 0xc
call fcn.00403197
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f4
mov esi, edi
call fcn.0040d48d
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x1c]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x4509a6
push dword [ebp - 0x14]
lea eax, [ebx + 0x5c]
push eax
call fcn.00403504
xor eax, eax
cmp dword [ebp + 0xc], eax
je 0x4509b6
push dword [ebp + 0xc]
call fcn.004a56c9
pop ecx
lea edx, [ebp + 0xc]
call fcn.0040294d
lea eax, [ebp + 8]
push str.PrivateBuild
push eax
lea ecx, [ebp - 0x20]
call fcn.0041d9a9
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 0xd
call fcn.00403197
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f4
mov esi, edi
call fcn.0040d48d
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x1c]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x450a15
push dword [ebp - 0x14]
lea eax, [ebx + 0x60]
push eax
call fcn.00403504
xor eax, eax
cmp dword [ebp + 0xc], eax
je 0x450a25
push dword [ebp + 0xc]
call fcn.004a56c9
pop ecx
lea edx, [ebp + 0xc]
call fcn.0040294d
lea eax, [ebp + 8]
push str.SpecialBuild
push eax
lea ecx, [ebp - 0x20]
call fcn.0041d9a9
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 0xe
call fcn.00403197
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f4
mov esi, edi
call fcn.0040d48d
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x1c]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x450a84
push dword [ebp - 0x14]
lea eax, [ebx + 0x64]
push eax
call fcn.00403504
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x450a8f
xor eax, eax
jmp 0x450a96
push esi
call fcn.004a56c9
pop ecx
lea edx, [ebp + 0xc]
call fcn.0040294d
push dword [ebp - 0x1c]
call fcn.004a5be5
pop ecx
lea eax, [esi - 0x10]
call fcn.004027f4
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.004027f4
xor eax, eax
inc eax
jmp 0x450ae0
mov dword [ebp - 0x30], edi
push 0x4f6cc4
lea eax, [ebp - 0x30]
jmp 0x450459
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8