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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x739ff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 0x20], ecx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x404c3f
push esi
call fcn.00728cf3
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [ebp - 0x30], ebx
je 0x404c3f
mov ecx, dword [ebp - 0x24]
push ebx
push esi
push ecx
push edi
mov dword [ebp - 4], 0
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x4046a9
lea edx, [ebp - 0x28]
push 0x765430
push edx
mov dword [ebp - 0x28], eax
call fcn.00702d43
lea eax, [ebp - 0x14]
lea ecx, [ebp + 8]
push eax
push ecx
push 0x794870
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x404704
mov eax, dword [ebp - 0x14]
mov esi, 0x34
cmp eax, esi
je 0x4046f4
push 0x452
push 0x79454c
push str.unInfoLen__sizeof_m_FileInfo_
push str.ASSERT
push 0x793720
call fcn.00401080
mov eax, dword [ebp - 0x14]
add esp, 0x14
cmp eax, esi
jne 0x404704
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp + 8]
mov ecx, 0xd
lea edi, [edx + 0x70]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
lea ecx, [ebp + 8]
push eax
push ecx
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueA
mov esi, dword [sym.imp.kernel32.dll_GetUserDefaultLangID]
lea edx, [ebp - 0x1c]
push 0
push edx
mov dword [ebp - 0x1c], 0
call esi
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x14]
push eax
push ecx
call fcn.004045c0
add esp, 0x14
test eax, eax
jne 0x40479f
lea edx, [ebp - 0x1c]
push 1
push edx
call esi
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x14]
push eax
push ecx
call fcn.004045c0
add esp, 0x14
test eax, eax
jne 0x40479f
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x1c]
push 1
push edx
push eax
mov eax, dword [ebp - 0x14]
push eax
push ecx
call fcn.004045c0
add esp, 0x14
test eax, eax
jne 0x40479f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x1c]
push 1
push edx
push 9
push eax
push ecx
call fcn.004045c0
add esp, 0x14
test eax, eax
jne 0x40479f
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
jmp 0x4047a2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x7e0898]
mov dword [ebp - 0x18], ecx
mov edx, eax
and eax, 0xffff
shr edx, 0x10
push edx
push eax
lea eax, [ebp - 0x18]
push str.StringFileInfo_04X_04X_
push eax
mov byte [ebp - 4], 1
call fcn.00727d67
add esp, 0x10
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x2c]
push str.CompanyName
push ecx
push edx
call fcn.0072ad7d
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
lea edx, [ebp + 8]
push ecx
push edx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0072aae8
test esi, esi
je 0x40482a
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0072ab56
mov edi, dword [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
lea ecx, [edi + 0xa4]
call fcn.0072ac21
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0072aae8
jmp 0x40482d
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
push str.FileDescription
lea edx, [ebp - 0x2c]
push ecx
push edx
call fcn.0072ad7d
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
lea edx, [ebp + 8]
push ecx
push edx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0072aae8
test esi, esi
je 0x404886
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0072ab56
push eax
lea ecx, [edi + 0xa8]
mov byte [ebp - 4], 3
call fcn.0072ac21
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0072aae8
lea ecx, [ebp - 0x18]
push str.FileVersion
lea edx, [ebp - 0x2c]
push ecx
push edx
call fcn.0072ad7d
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
lea edx, [ebp + 8]
push ecx
push edx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0072aae8
test esi, esi
je 0x4048df
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0072ab56
push eax
lea ecx, [edi + 0xac]
mov byte [ebp - 4], 4
call fcn.0072ac21
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0072aae8
lea ecx, [ebp - 0x18]
push str.InternalName
lea edx, [ebp - 0x2c]
push ecx
push edx
call fcn.0072ad7d
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
lea edx, [ebp + 8]
push ecx
push edx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0072aae8
test esi, esi
je 0x404938
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0072ab56
push eax
lea ecx, [edi + 0xb0]
mov byte [ebp - 4], 5
call fcn.0072ac21
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0072aae8
lea ecx, [ebp - 0x18]
push str.LegalCopyright
lea edx, [ebp - 0x2c]
push ecx
push edx
call fcn.0072ad7d
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
lea edx, [ebp + 8]
push ecx
push edx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0072aae8
test esi, esi
je 0x404991
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0072ab56
push eax
lea ecx, [edi + 0xb4]
mov byte [ebp - 4], 6
call fcn.0072ac21
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0072aae8
lea ecx, [ebp - 0x18]
push str.OriginalFileName
lea edx, [ebp - 0x2c]
push ecx
push edx
call fcn.0072ad7d
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
lea edx, [ebp + 8]
push ecx
push edx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0072aae8
test esi, esi
je 0x4049ea
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0072ab56
push eax
lea ecx, [edi + 0xb8]
mov byte [ebp - 4], 7
call fcn.0072ac21
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0072aae8
lea ecx, [ebp - 0x18]
push str.ProductName
lea edx, [ebp - 0x2c]
push ecx
push edx
call fcn.0072ad7d
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
lea edx, [ebp + 8]
push ecx
push edx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0072aae8
test esi, esi
je 0x404a43
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0072ab56
push eax
lea ecx, [edi + 0xbc]
mov byte [ebp - 4], 8
call fcn.0072ac21
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0072aae8
lea ecx, [ebp - 0x18]
push str.ProductVersion
lea edx, [ebp - 0x2c]
push ecx
push edx
call fcn.0072ad7d
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
lea edx, [ebp + 8]
push ecx
push edx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0072aae8
test esi, esi
je 0x404a9c
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0072ab56
push eax
lea ecx, [edi + 0xc0]
mov byte [ebp - 4], 9
call fcn.0072ac21
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0072aae8
lea ecx, [ebp - 0x18]
push str.Comments
lea edx, [ebp - 0x2c]
push ecx
push edx
call fcn.0072ad7d
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
lea edx, [ebp + 8]
push ecx
push edx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0072aae8
test esi, esi
je 0x404af5
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0072ab56
push eax
lea ecx, [edi + 0xc4]
mov byte [ebp - 4], 0xa
call fcn.0072ac21
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0072aae8
lea ecx, [ebp - 0x18]
push str.LegalTrademarks
lea edx, [ebp - 0x2c]
push ecx
push edx
call fcn.0072ad7d
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
lea edx, [ebp + 8]
push ecx
push edx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0072aae8
test esi, esi
je 0x404b4e
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0072ab56
push eax
lea ecx, [edi + 0xc8]
mov byte [ebp - 4], 0xb
call fcn.0072ac21
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0072aae8
lea ecx, [ebp - 0x18]
push str.PrivateBuild
lea edx, [ebp - 0x2c]
push ecx
push edx
call fcn.0072ad7d
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
lea edx, [ebp + 8]
push ecx
push edx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0072aae8
test esi, esi
je 0x404ba7
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0072ab56
push eax
lea ecx, [edi + 0xcc]
mov byte [ebp - 4], 0xc
call fcn.0072ac21
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0072aae8
lea ecx, [ebp - 0x18]
push str.SpecialBuild
lea edx, [ebp - 0x2c]
push ecx
push edx
call fcn.0072ad7d
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
lea edx, [ebp + 8]
push ecx
push edx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0072aae8
test esi, esi
je 0x404c00
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0072ab56
push eax
lea ecx, [edi + 0xd0]
mov byte [ebp - 4], 0xd
call fcn.0072ac21
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0072aae8
push ebx
call fcn.00728d1c
add esp, 4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.0072aae8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4