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

Disassembly:
push 0x24
mov eax, 0x447902
call fcn.00446604
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, ebx
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 0x401859
push esi
call fcn.0042caf2
cmp eax, edi
pop ecx
mov dword [ebp - 0x24], eax
je 0x401859
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 0x40122f
mov dword [ebp - 0x2c], edi
push 0x453028
lea eax, [ebp - 0x2c]
push eax
call fcn.00434f1a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x44fd68
push dword [ebp - 0x24]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x401265
cmp dword [ebp - 0x18], 0x34
jne 0x401265
push 0x34
push dword [ebp - 0x14]
add ebx, 4
push ebx
call fcn.0042cb00
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x44fd6c
push dword [ebp - 0x24]
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 0x14], edi
je 0x40183a
cmp dword [ebp - 0x18], edi
je 0x40183a
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push edi
mov dword [ebp - 0x20], edi
call esi
mov ecx, dword [ebp - 0x18]
lea ebx, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00401175
cmp eax, edi
jne 0x4012ec
push 1
call esi
mov ecx, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00401175
cmp eax, edi
jne 0x4012ec
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push 1
push edi
call fcn.00401175
cmp eax, edi
jne 0x4012ec
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push 1
push 9
call fcn.00401175
cmp eax, edi
jne 0x4012ec
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x4596a4]
mov esi, 0x4596a4
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
mov eax, dword [0x4596a4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
shr eax, 0x10
push eax
movzx eax, word [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push str.StringFileInfo_04X_04X_
push eax
call fcn.00401e56
add esp, 0x10
lea eax, [ebp - 0x20]
push str.CompanyName
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401ca1
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.00401bdb
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00402012
mov esi, edi
call fcn.00401cf9
mov ebx, dword [ebp - 0x24]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x401391
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0x38
push eax
call fcn.00401c1c
mov ecx, dword [ebp + 0xc]
call fcn.00402090
lea edx, [ebp + 0xc]
call fcn.00401ff1
lea eax, [ebp - 0x20]
push str.FileDescription
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401ca1
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.00401bdb
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00402012
mov esi, edi
call fcn.00401cf9
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x4013f9
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0x3c
push eax
call fcn.00401c1c
mov ecx, dword [ebp + 0xc]
call fcn.00402090
lea edx, [ebp + 0xc]
call fcn.00401ff1
lea eax, [ebp - 0x20]
push str.FileVersion
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401ca1
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.00401bdb
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00402012
mov esi, edi
call fcn.00401cf9
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x401461
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0x40
push eax
call fcn.00401c1c
mov ecx, dword [ebp + 0xc]
call fcn.00402090
lea edx, [ebp + 0xc]
call fcn.00401ff1
lea eax, [ebp - 0x20]
push str.InternalName
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401ca1
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 6
call fcn.00401bdb
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00402012
mov esi, edi
call fcn.00401cf9
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x4014c9
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0x44
push eax
call fcn.00401c1c
mov ecx, dword [ebp + 0xc]
call fcn.00402090
lea edx, [ebp + 0xc]
call fcn.00401ff1
lea eax, [ebp - 0x20]
push str.LegalCopyright
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401ca1
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 7
call fcn.00401bdb
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00402012
mov esi, edi
call fcn.00401cf9
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x401531
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0x48
push eax
call fcn.00401c1c
mov ecx, dword [ebp + 0xc]
call fcn.00402090
lea edx, [ebp + 0xc]
call fcn.00401ff1
lea eax, [ebp - 0x20]
push str.OriginalFileName
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401ca1
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 8
call fcn.00401bdb
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00402012
mov esi, edi
call fcn.00401cf9
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x401599
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0x4c
push eax
call fcn.00401c1c
mov ecx, dword [ebp + 0xc]
call fcn.00402090
lea edx, [ebp + 0xc]
call fcn.00401ff1
lea eax, [ebp - 0x20]
push str.ProductName
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401ca1
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 9
call fcn.00401bdb
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00402012
mov esi, edi
call fcn.00401cf9
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x401601
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0x50
push eax
call fcn.00401c1c
mov ecx, dword [ebp + 0xc]
call fcn.00402090
lea edx, [ebp + 0xc]
call fcn.00401ff1
lea eax, [ebp - 0x20]
push str.ProductVersion
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401ca1
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 0xa
call fcn.00401bdb
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00402012
mov esi, edi
call fcn.00401cf9
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x401669
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0x54
push eax
call fcn.00401c1c
mov ecx, dword [ebp + 0xc]
call fcn.00402090
lea edx, [ebp + 0xc]
call fcn.00401ff1
lea eax, [ebp - 0x20]
push str.Comments
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401ca1
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 0xb
call fcn.00401bdb
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00402012
mov esi, edi
call fcn.00401cf9
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x4016d1
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0x58
push eax
call fcn.00401c1c
mov ecx, dword [ebp + 0xc]
call fcn.00402090
lea edx, [ebp + 0xc]
call fcn.00401ff1
lea eax, [ebp - 0x20]
push str.LegalTrademarks
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401ca1
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 0xc
call fcn.00401bdb
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00402012
mov esi, edi
call fcn.00401cf9
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x401739
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0x5c
push eax
call fcn.00401c1c
mov ecx, dword [ebp + 0xc]
call fcn.00402090
lea edx, [ebp + 0xc]
call fcn.00401ff1
lea eax, [ebp - 0x20]
push str.PrivateBuild
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401ca1
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 0xd
call fcn.00401bdb
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00402012
mov esi, edi
call fcn.00401cf9
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x4017a1
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0x60
push eax
call fcn.00401c1c
mov ecx, dword [ebp + 0xc]
call fcn.00402090
lea edx, [ebp + 0xc]
call fcn.00401ff1
lea eax, [ebp - 0x20]
push str.SpecialBuild
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401ca1
pop ecx
pop ecx
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 0xe
call fcn.00401bdb
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00402012
mov esi, edi
call fcn.00401cf9
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x401809
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0x64
push eax
call fcn.00401c1c
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.00402090
lea edx, [ebp + 0xc]
call fcn.00401ff1
push ebx
call fcn.0042ce65
pop ecx
lea eax, [esi - 0x10]
call fcn.00402012
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00402012
xor eax, eax
inc eax
jmp 0x40185b
mov dword [ebp - 0x30], edi
push 0x453028
lea eax, [ebp - 0x30]
jmp 0x401229
xor eax, eax
call fcn.004466a9
ret 8