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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5e10
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x29c]
push ecx
push eax
mov dword [ebp - 0x2a4], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
jne 0x457d67
xor eax, eax
jmp 0x4582ba
push esi
call fcn.004b7342
mov edi, eax
add esp, 4
mov dword [ebp - 0x2ac], edi
test edi, edi
je 0x457d60
push edi
push esi
mov dword [ebp - 4], 0
push dword [ebp - 0x29c]
push dword [ebp - 0x2a4]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x457db2
mov dword [ebp - 0x2a8], eax
lea eax, [ebp - 0x2a8]
push 0x52a450
push eax
call fcn.004c82ab
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x2a0]
push eax
push 0x51d1f0
push edi
call esi
test eax, eax
je 0x457e29
cmp dword [ebp - 0x298], 0x34
jne 0x457e29
push 0x34
push dword [ebp - 0x2a0]
lea eax, [ebx + 4]
push eax
call fcn.004c86f0
movzx eax, word [ebx + 0x10]
movzx ecx, word [ebx + 0x12]
movzx edx, word [ebx + 0xc]
movzx esi, word [ebx + 0xe]
push eax
push ecx
push edx
push esi
lea eax, [ebp - 0x114]
push str._d._d._d._d
push eax
call fcn.004583f0
add esp, 0x24
lea eax, [ebp - 0x114]
lea ecx, [ebx + 0x38]
push eax
call fcn.0040de10
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp byte [ebp + 0xc], 0
je 0x4582ac
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x2a0]
push eax
push str.VarFileInfoTranslation
push edi
call esi
mov dword [ebp - 0x2a4], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, dword [ebp - 0x2a0]
movzx edx, ax
mov eax, dword [ebp - 0x298]
add eax, ecx
cmp ecx, eax
jae 0x457e7c
nop
cmp word [ecx], dx
je 0x457eee
add ecx, 4
cmp ecx, eax
jb 0x457e70
push 1
lea eax, [ebp - 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
push eax
push dword [ebp - 0x298]
push dword [ebp - 0x2a0]
call fcn.00457c90
test eax, eax
jne 0x457ef2
push 1
lea eax, [ebp - 0x2a4]
push eax
push 0
push dword [ebp - 0x298]
push dword [ebp - 0x2a0]
call fcn.00457c90
test eax, eax
jne 0x457ef2
push 1
lea eax, [ebp - 0x2a4]
push eax
push 9
push dword [ebp - 0x298]
push dword [ebp - 0x2a0]
call fcn.00457c90
test eax, eax
jne 0x457ef2
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [eax]
jmp 0x457ef8
mov ecx, dword [ecx]
jmp 0x457ef8
mov ecx, dword [ebp - 0x2a4]
mov eax, ecx
shr eax, 0x10
push eax
movzx eax, cx
push eax
lea eax, [ebp - 0x94]
push str.StringFileInfo_04X_04X_
push eax
call fcn.004583f0
push 0x51d2ac
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x194]
push str._s_s
push eax
call fcn.00458420
add esp, 0x20
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x194]
push eax
push edi
call esi
test eax, eax
je 0x457f5d
push dword [ebp - 0x2a0]
lea ecx, [ebx + 0x68]
call fcn.0040de10
push 0x51d2c4
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x194]
push str._s_s
push eax
call fcn.00458420
add esp, 0x10
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x194]
push eax
push edi
call esi
test eax, eax
je 0x457faa
push dword [ebp - 0x2a0]
lea ecx, [ebx + 0x80]
call fcn.0040de10
push 0x51d2e4
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x194]
push str._s_s
push eax
call fcn.00458420
add esp, 0x10
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x194]
push eax
push edi
call esi
test eax, eax
je 0x457ff7
push dword [ebp - 0x2a0]
lea ecx, [ebx + 0x98]
call fcn.0040de10
push 0x51d2fc
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x194]
push str._s_s
push eax
call fcn.00458420
add esp, 0x10
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x194]
push eax
push edi
call esi
test eax, eax
je 0x458044
push dword [ebp - 0x2a0]
lea ecx, [ebx + 0xb0]
call fcn.0040de10
push 0x51d318
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x194]
push str._s_s
push eax
call fcn.00458420
add esp, 0x10
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x194]
push eax
push edi
call esi
test eax, eax
je 0x458091
push dword [ebp - 0x2a0]
lea ecx, [ebx + 0xc8]
call fcn.0040de10
push str.OriginalFileName
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x194]
push str._s_s
push eax
call fcn.00458420
add esp, 0x10
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x194]
push eax
push edi
call esi
test eax, eax
je 0x4580de
push dword [ebp - 0x2a0]
lea ecx, [ebx + 0xe0]
call fcn.0040de10
push 0x51d35c
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x194]
push str._s_s
push eax
call fcn.00458420
add esp, 0x10
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x194]
push eax
push edi
call esi
test eax, eax
je 0x45812b
push dword [ebp - 0x2a0]
lea ecx, [ebx + 0xf8]
call fcn.0040de10
push 0x51d374
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x194]
push str._s_s
push eax
call fcn.00458420
add esp, 0x10
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x194]
push eax
push edi
call esi
test eax, eax
je 0x458178
push dword [ebp - 0x2a0]
lea ecx, [ebx + 0x110]
call fcn.0040de10
push str.Comments
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x194]
push str._s_s
push eax
call fcn.00458420
add esp, 0x10
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x194]
push eax
push edi
call esi
test eax, eax
je 0x4581c5
push dword [ebp - 0x2a0]
lea ecx, [ebx + 0x128]
call fcn.0040de10
push str.LegalTrademarks
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x194]
push str._s_s
push eax
call fcn.00458420
add esp, 0x10
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x194]
push eax
push edi
call esi
test eax, eax
je 0x458212
push dword [ebp - 0x2a0]
lea ecx, [ebx + 0x140]
call fcn.0040de10
push str.PrivateBuild
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x194]
push str._s_s
push eax
call fcn.00458420
add esp, 0x10
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x194]
push eax
push edi
call esi
test eax, eax
je 0x45825f
push dword [ebp - 0x2a0]
lea ecx, [ebx + 0x158]
call fcn.0040de10
push str.SpecialBuild
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x294]
push str._s_s
push eax
call fcn.00458420
add esp, 0x10
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x294]
push eax
push edi
call esi
test eax, eax
je 0x4582ac
push dword [ebp - 0x2a0]
lea ecx, [ebx + 0x170]
call fcn.0040de10
push edi
call fcn.004b733d
add esp, 4
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 - 0x14]
xor ecx, ebp
call fcn.004b7060
mov esp, ebp
pop ebp
ret 8