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

Disassembly:
push 0xffffffffffffffff
push 0x448cbb
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x4581b0]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4581b0]
xor eax, esp
push eax
lea eax, [esp + 0x19c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x24], edi
xor ebx, ebx
mov esi, edi
mov dword [esp + 0x1a4], ebx
call fcn.0040ea00
mov eax, dword [esp + 0x1b0]
mov ebp, 8
cmp dword [esp + 0x1c4], ebp
mov dword [esp + 0x28], ebx
jae 0x40e141
lea eax, [esp + 0x1b0]
lea ecx, [esp + 0x28]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jne 0x40e172
cmp dword [esp + 0x1c4], ebp
jb 0x40e16b
mov edx, dword [esp + 0x1b0]
push edx
call fcn.00433114
add esp, 4
xor eax, eax
jmp 0x40e99d
push esi
call fcn.00432bb2
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x40e1a2
cmp dword [esp + 0x1c4], 8
jb 0x40e16b
mov eax, dword [esp + 0x1b0]
push eax
call fcn.00433114
add esp, 4
xor eax, eax
jmp 0x40e99d
cmp dword [esp + 0x1c4], 8
mov eax, dword [esp + 0x1b0]
jae 0x40e1ba
lea eax, [esp + 0x1b0]
mov ecx, dword [esp + 0x28]
push ebp
push esi
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x40e1e1
push ebp
call fcn.00433119
add esp, 4
cmp dword [esp + 0x1c4], 8
jmp 0x40e159
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x44d388
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40e21c
cmp dword [esp + 0x1c], 0x34
jne 0x40e21c
mov edx, dword [esp + 0x18]
push 0x34
push edx
add edi, 4
push edi
call fcn.00435020
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push str.VarFileInfoTranslation
push ebp
call sub.VERSION.dll_VerQueryValueW
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov dword [esp + 0x20], ebx
call esi
mov ecx, dword [esp + 0x1c]
movzx edx, ax
mov eax, dword [esp + 0x18]
add ecx, eax
cmp eax, ecx
jae 0x40e25c
mov edi, edi
cmp word [eax], dx
je 0x40e2a8
add eax, 4
cmp eax, ecx
jb 0x40e250
push 1
call esi
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea edi, [esp + 0x24]
call fcn.0040e070
test eax, eax
jne 0x40e2ac
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
call fcn.0040e070
test eax, eax
jne 0x40e2ac
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
mov eax, 9
call fcn.0040e070
test eax, eax
jne 0x40e2ac
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
jmp 0x40e2b0
mov eax, dword [eax]
jmp 0x40e2b0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
mov ecx, eax
shr ecx, 0x10
push ecx
movzx edx, ax
push edx
push str.StringFileInfo_04X_04X_
lea ecx, [esp + 0x38]
mov byte [esp + 0x1b0], 1
call fcn.0042fa83
lea eax, [esp + 0x38]
add esp, 0xc
push eax
mov ebx, str.CompanyName
lea esi, [esp + 0x180]
call fcn.0040a6d0
add esp, 4
mov byte [esp + 0x1a4], 2
cmp dword [esp + 0x194], 8
mov eax, dword [esp + 0x180]
jae 0x40e31d
lea eax, [esp + 0x180]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
mov edi, dword [esp + 0x24]
je 0x40e343
mov edx, dword [esp + 0x18]
lea eax, [edi + 0x38]
push eax
call fcn.00401980
lea ecx, [esp + 0x2c]
push ecx
mov ebx, str.FileDescription
lea esi, [esp + 0x148]
call fcn.0040a6d0
add esp, 4
mov byte [esp + 0x1a4], 3
cmp dword [esp + 0x15c], 8
mov eax, dword [esp + 0x148]
jae 0x40e37c
lea eax, [esp + 0x148]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40e39e
lea edx, [edi + 0x54]
push edx
mov edx, dword [esp + 0x1c]
call fcn.00401980
lea eax, [esp + 0x2c]
push eax
mov ebx, str.FileVersion
lea esi, [esp + 0x110]
call fcn.0040a6d0
add esp, 4
mov byte [esp + 0x1a4], 4
cmp dword [esp + 0x124], 8
mov eax, dword [esp + 0x110]
jae 0x40e3d7
lea eax, [esp + 0x110]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40e3f9
mov edx, dword [esp + 0x18]
lea eax, [edi + 0x70]
push eax
call fcn.00401980
lea ecx, [esp + 0x2c]
push ecx
mov ebx, str.InternalName
lea esi, [esp + 0xd8]
call fcn.0040a6d0
add esp, 4
mov byte [esp + 0x1a4], 5
cmp dword [esp + 0xec], 8
mov eax, dword [esp + 0xd8]
jae 0x40e432
lea eax, [esp + 0xd8]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40e457
lea edx, [edi + 0x8c]
push edx
mov edx, dword [esp + 0x1c]
call fcn.00401980
lea eax, [esp + 0x2c]
push eax
mov ebx, str.LegalCopyright
lea esi, [esp + 0xa0]
call fcn.0040a6d0
add esp, 4
mov byte [esp + 0x1a4], 6
cmp dword [esp + 0xb4], 8
mov eax, dword [esp + 0xa0]
jae 0x40e490
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40e4b5
mov edx, dword [esp + 0x18]
lea eax, [edi + 0xa8]
push eax
call fcn.00401980
lea ecx, [esp + 0x2c]
push ecx
mov ebx, str.OriginalFileName
lea esi, [esp + 0x68]
call fcn.0040a6d0
add esp, 4
mov byte [esp + 0x1a4], 7
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x40e4e2
lea eax, [esp + 0x68]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40e507
lea edx, [edi + 0xc4]
push edx
mov edx, dword [esp + 0x1c]
call fcn.00401980
lea eax, [esp + 0x2c]
push eax
mov ebx, str.ProductName
lea esi, [esp + 0xf4]
call fcn.0040a6d0
add esp, 4
mov eax, 8
mov byte [esp + 0x1a4], al
cmp dword [esp + 0x108], eax
mov eax, dword [esp + 0xf4]
jae 0x40e543
lea eax, [esp + 0xf4]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40e568
mov edx, dword [esp + 0x18]
lea eax, [edi + 0xe0]
push eax
call fcn.00401980
lea ecx, [esp + 0x2c]
push ecx
mov ebx, str.ProductVersion
lea esi, [esp + 0x12c]
call fcn.0040a6d0
add esp, 4
mov byte [esp + 0x1a4], 9
cmp dword [esp + 0x140], 8
mov eax, dword [esp + 0x12c]
jae 0x40e5a1
lea eax, [esp + 0x12c]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40e5c6
lea edx, [edi + 0xfc]
push edx
mov edx, dword [esp + 0x1c]
call fcn.00401980
lea eax, [esp + 0x2c]
push eax
mov ebx, str.Comments
lea esi, [esp + 0xbc]
call fcn.0040a6d0
add esp, 4
mov byte [esp + 0x1a4], 0xa
cmp dword [esp + 0xd0], 8
mov eax, dword [esp + 0xbc]
jae 0x40e5ff
lea eax, [esp + 0xbc]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40e624
mov edx, dword [esp + 0x18]
lea eax, [edi + 0x118]
push eax
call fcn.00401980
lea ecx, [esp + 0x2c]
push ecx
mov ebx, str.LegalTrademarks
lea esi, [esp + 0x4c]
call fcn.0040a6d0
add esp, 4
mov byte [esp + 0x1a4], 0xb
cmp dword [esp + 0x60], 8
mov eax, dword [esp + 0x4c]
jae 0x40e651
lea eax, [esp + 0x4c]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40e676
lea edx, [edi + 0x134]
push edx
mov edx, dword [esp + 0x1c]
call fcn.00401980
lea eax, [esp + 0x2c]
push eax
mov ebx, str.PrivateBuild
lea esi, [esp + 0x84]
call fcn.0040a6d0
add esp, 4
mov byte [esp + 0x1a4], 0xc
cmp dword [esp + 0x98], 8
mov eax, dword [esp + 0x84]
jae 0x40e6af
lea eax, [esp + 0x84]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40e6d4
mov edx, dword [esp + 0x18]
add edi, 0x150
push edi
call fcn.00401980
lea eax, [esp + 0x2c]
push eax
mov ebx, str.SpecialBuild
lea esi, [esp + 0x164]
call fcn.0040a6d0
add esp, 4
mov byte [esp + 0x1a4], 0xd
mov eax, dword [esp + 0x164]
mov edi, 8
cmp dword [esp + 0x178], edi
jae 0x40e711
lea eax, [esp + 0x164]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40e739
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
add eax, 0x16c
push eax
call fcn.00401980
push ebp
call fcn.00433119
add esp, 4
cmp dword [esp + 0x178], edi
jb 0x40e75b
mov ecx, dword [esp + 0x164]
push ecx
call fcn.00433114
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x98], edi
mov esi, 7
mov dword [esp + 0x178], esi
mov dword [esp + 0x174], ebx
mov word [esp + 0x164], bx
jb 0x40e791
mov edx, dword [esp + 0x84]
push edx
call fcn.00433114
add esp, 4
cmp dword [esp + 0x60], edi
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
jb 0x40e7ba
mov eax, dword [esp + 0x4c]
push eax
call fcn.00433114
add esp, 4
cmp dword [esp + 0xd0], edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
jb 0x40e7e0
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.00433114
add esp, 4
cmp dword [esp + 0x140], edi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
jb 0x40e80f
mov edx, dword [esp + 0x12c]
push edx
call fcn.00433114
add esp, 4
cmp dword [esp + 0x108], edi
mov dword [esp + 0x140], esi
mov dword [esp + 0x13c], ebx
mov word [esp + 0x12c], bx
jb 0x40e83e
mov eax, dword [esp + 0xf4]
push eax
call fcn.00433114
add esp, 4
cmp dword [esp + 0x7c], edi
mov dword [esp + 0x108], esi
mov dword [esp + 0x104], ebx
mov word [esp + 0xf4], bx
jb 0x40e867
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00433114
add esp, 4
cmp dword [esp + 0xb4], edi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
jb 0x40e88d
mov edx, dword [esp + 0xa0]
push edx
call fcn.00433114
add esp, 4
cmp dword [esp + 0xec], edi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
jb 0x40e8bc
mov eax, dword [esp + 0xd8]
push eax
call fcn.00433114
add esp, 4
cmp dword [esp + 0x124], edi
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], bx
jb 0x40e8eb
mov ecx, dword [esp + 0x110]
push ecx
call fcn.00433114
add esp, 4
cmp dword [esp + 0x15c], edi
mov dword [esp + 0x124], esi
mov dword [esp + 0x120], ebx
mov word [esp + 0x110], bx
jb 0x40e91a
mov edx, dword [esp + 0x148]
push edx
call fcn.00433114
add esp, 4
cmp dword [esp + 0x194], edi
mov dword [esp + 0x15c], esi
mov dword [esp + 0x158], ebx
mov word [esp + 0x148], bx
jb 0x40e949
mov eax, dword [esp + 0x180]
push eax
call fcn.00433114
add esp, 4
cmp dword [esp + 0x44], edi
mov dword [esp + 0x194], esi
mov dword [esp + 0x190], ebx
mov word [esp + 0x180], bx
jb 0x40e972
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00433114
add esp, 4
cmp dword [esp + 0x1c4], edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
jb 0x40e998
mov edx, dword [esp + 0x1b0]
push edx
call fcn.00433114
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x19c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.004337a7
add esp, 0x194
ret 0x1c