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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438ef2
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x16c
mov eax, dword [0x44e040]
xor eax, ebp
mov dword [ebp - 0x28], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x17c], ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x437035
xor eax, eax
jmp 0x437575
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0042106c
add esp, 4
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x43705d
xor eax, eax
jmp 0x437575
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x437098
mov dword [ebp - 0x138], 0
push 0x4454dc
lea edx, [ebp - 0x138]
push edx
call fcn.0042431b
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0x43ec34
mov edx, dword [ebp - 0x18]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x437147
cmp dword [ebp - 0x20], 0x34
jne 0x437147
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x17c]
add edx, 4
push edx
call fcn.00424c00
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x17c]
call fcn.00436b20
movzx eax, ax
push eax
push 1
mov ecx, dword [ebp - 0x17c]
call fcn.00436b20
movzx ecx, ax
push ecx
push 2
mov ecx, dword [ebp - 0x17c]
call fcn.00436b20
movzx edx, ax
push edx
push 3
mov ecx, dword [ebp - 0x17c]
call fcn.00436b20
movzx eax, ax
push eax
push 0x43ecbc
lea ecx, [ebp - 0xa8]
push ecx
call fcn.0041f780
add esp, 0x18
mov edx, dword [ebp - 0x17c]
add edx, 0x38
push edx
lea eax, [ebp - 0xa8]
call fcn.0040b2d0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x437510
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
push str.VarFileInfoTranslation
mov eax, dword [ebp - 0x18]
push eax
call sub.VERSION.dll_VerQueryValueW
mov dword [ebp - 0xac], 0
push 0
lea ecx, [ebp - 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx edx, ax
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x17c]
call fcn.00436c50
test eax, eax
jne 0x437216
push 1
lea edx, [ebp - 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x17c]
call fcn.00436c50
test eax, eax
jne 0x437216
push 1
lea eax, [ebp - 0xac]
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x17c]
call fcn.00436c50
test eax, eax
jne 0x437216
push 1
lea eax, [ebp - 0xac]
push eax
push 9
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x17c]
call fcn.00436c50
test eax, eax
jne 0x437216
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
and edx, 0xffff0000
shr edx, 0x10
push edx
mov eax, dword [ebp - 0xac]
and eax, 0xffff
push eax
push str.StringFileInfo_04X_04X_
lea ecx, [ebp - 0x130]
push ecx
call fcn.0041f780
add esp, 0x10
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x24]
push eax
push 0x43ed3c
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x17c]
call fcn.00436bf0
test eax, eax
je 0x43727f
mov eax, dword [ebp - 0x17c]
add eax, 0x70
push eax
mov eax, dword [ebp - 0x24]
call fcn.0040b2d0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0x43ed54
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x17c]
call fcn.00436bf0
test eax, eax
je 0x4372bb
mov edx, dword [ebp - 0x17c]
add edx, 0x8c
push edx
mov eax, dword [ebp - 0x24]
call fcn.0040b2d0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0x43ed74
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x17c]
call fcn.00436bf0
test eax, eax
je 0x4372f7
mov ecx, dword [ebp - 0x17c]
add ecx, 0xa8
push ecx
mov eax, dword [ebp - 0x24]
call fcn.0040b2d0
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x24]
push eax
push 0x43ed8c
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x17c]
call fcn.00436bf0
test eax, eax
je 0x437332
mov eax, dword [ebp - 0x17c]
add eax, 0xc4
push eax
mov eax, dword [ebp - 0x24]
call fcn.0040b2d0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0x43eda8
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x17c]
call fcn.00436bf0
test eax, eax
je 0x43736e
mov edx, dword [ebp - 0x17c]
add edx, 0xe0
push edx
mov eax, dword [ebp - 0x24]
call fcn.0040b2d0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
push str.OriginalFileName
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x17c]
call fcn.00436bf0
test eax, eax
je 0x4373aa
mov ecx, dword [ebp - 0x17c]
add ecx, 0xfc
push ecx
mov eax, dword [ebp - 0x24]
call fcn.0040b2d0
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x24]
push eax
push 0x43edec
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x17c]
call fcn.00436bf0
test eax, eax
je 0x4373e5
mov eax, dword [ebp - 0x17c]
add eax, 0x118
push eax
mov eax, dword [ebp - 0x24]
call fcn.0040b2d0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0x43ee04
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x17c]
call fcn.00436bf0
test eax, eax
je 0x437421
mov edx, dword [ebp - 0x17c]
add edx, 0x134
push edx
mov eax, dword [ebp - 0x24]
call fcn.0040b2d0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
push str.Comments
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x17c]
call fcn.00436bf0
test eax, eax
je 0x43745d
mov ecx, dword [ebp - 0x17c]
add ecx, 0x150
push ecx
mov eax, dword [ebp - 0x24]
call fcn.0040b2d0
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x24]
push eax
push str.LegalTrademarks
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x17c]
call fcn.00436bf0
test eax, eax
je 0x437498
mov eax, dword [ebp - 0x17c]
add eax, 0x16c
push eax
mov eax, dword [ebp - 0x24]
call fcn.0040b2d0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
push str.PrivateBuild
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x17c]
call fcn.00436bf0
test eax, eax
je 0x4374d4
mov edx, dword [ebp - 0x17c]
add edx, 0x188
push edx
mov eax, dword [ebp - 0x24]
call fcn.0040b2d0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
push str.SpecialBuild
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x17c]
call fcn.00436bf0
test eax, eax
je 0x437510
mov ecx, dword [ebp - 0x17c]
add ecx, 0x1a4
push ecx
mov eax, dword [ebp - 0x24]
call fcn.0040b2d0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x13c]
push eax
call fcn.00421a5c
add esp, 4
jmp 0x43755f
mov dword [ebp - 4], 0xffffffff
jmp 0x437570
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.004216dc
mov esp, ebp
pop ebp
ret 8