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

Disassembly:
mov eax, 0x60de45
call fcn.0060c3a8
sub esp, 0x28
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [ebx]
mov dword [ebp - 0x20], ebx
call dword [eax + 4]
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x419a30
push esi
call fcn.00499fd3
mov edi, eax
mov dword [ebp - 0x34], edi
pop ecx
test edi, edi
je 0x419a30
and dword [ebp - 4], 0
push edi
push esi
push dword [ebp - 0x24]
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x4193c9
and dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push 0x6b666c
push eax
call fcn.005e46c8
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
and dword [ebp - 0x18], 0
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x693b58
push edi
call esi
test eax, eax
je 0x419402
cmp dword [ebp - 0x18], 0x34
jne 0x419402
push 0x34
push dword [ebp - 0x14]
lea eax, [ebx + 4]
push eax
call fcn.005e0960
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x693b5c
push edi
call esi
cmp dword [ebp - 0x14], 0
je 0x419a10
cmp dword [ebp - 0x18], 0
je 0x419a10
and dword [ebp + 8], 0
lea eax, [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push 0
push eax
call esi
movzx eax, ax
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.004192ec
xor ebx, ebx
inc ebx
test eax, eax
jne 0x41949b
push ebx
lea eax, [ebp + 8]
push eax
call esi
movzx eax, ax
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.004192ec
test eax, eax
jne 0x41949b
push ebx
lea eax, [ebp + 8]
push eax
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.004192ec
test eax, eax
jne 0x41949b
push ebx
lea eax, [ebp + 8]
push eax
push 9
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.004192ec
test eax, eax
jne 0x41949b
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
jmp 0x41949e
mov esi, dword [ebp + 8]
call fcn.00404f47
push eax
lea ecx, [ebp - 0x1c]
call fcn.004065d8
mov byte [ebp - 4], bl
call fcn.00404f47
push eax
lea ecx, [ebp + 8]
call fcn.004065d8
mov eax, esi
mov byte [ebp - 4], 2
shr eax, 0x10
push eax
movzx eax, si
push eax
lea eax, [ebp - 0x1c]
push str.StringFileInfo_04X_04X_
push eax
call fcn.00406cc8
add esp, 0x10
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
push 0x693b90
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x41951f
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov esi, dword [ebp - 0x20]
cmp eax, ebx
jne 0x419541
push dword [ebp - 0x14]
lea ecx, [esi + 0x38]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push 0x693c78
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x41958e
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x4195ad
push dword [ebp - 0x14]
lea ecx, [esi + 0x3c]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push 0x693cd4
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x4195fa
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x419619
push dword [ebp - 0x14]
lea ecx, [esi + 0x40]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push 0x693bcc
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x419666
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x419685
push dword [ebp - 0x14]
lea ecx, [esi + 0x44]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push 0x693c38
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x4196d2
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x4196f1
push dword [ebp - 0x14]
lea ecx, [esi + 0x48]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push str.OriginalFileName
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x41973e
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x41975d
push dword [ebp - 0x14]
lea ecx, [esi + 0x4c]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push 0x693be8
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x4197aa
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x4197c9
push dword [ebp - 0x14]
lea ecx, [esi + 0x50]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push 0x693c58
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x419816
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x419835
push dword [ebp - 0x14]
lea ecx, [esi + 0x54]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push str.Comments
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x419882
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x4198a1
push dword [ebp - 0x14]
lea ecx, [esi + 0x58]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push str.LegalTrademarks
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xc
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x4198ee
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x41990d
push dword [ebp - 0x14]
lea ecx, [esi + 0x5c]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push str.PrivateBuild
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xd
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x41995a
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x419979
push dword [ebp - 0x14]
lea ecx, [esi + 0x60]
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push str.SpecialBuild
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov esi, dword [ebp + 8]
cmp dword [esi - 4], ebx
jle 0x4199c6
push dword [esi - 0xc]
lea ecx, [ebp + 8]
call fcn.00406af0
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, ebx
jne 0x4199e8
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x14]
add ecx, 0x64
call fcn.004060f8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00408f1c
push edi
call fcn.00499fce
pop ecx
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00404ea9
mov eax, ebx
jmp 0x419a32
and dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push 0x6b666c
jmp 0x4193c3
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4