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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x671b58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], esp
call fcn.0044c940
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x44c902
push esi
call sub.MFC42u.DLL_operatornew
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [ebp - 0x30], ebx
je 0x44c902
mov ecx, dword [ebp - 0x24]
push ebx
push esi
push ecx
push edi
mov dword [ebp - 4], 0
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x44c4ae
lea edx, [ebp - 0x28]
push 0x6da328
push edx
mov dword [ebp - 0x28], eax
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x14]
lea ecx, [ebp + 8]
push eax
push ecx
push 0x718fc4
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44c4db
cmp dword [ebp - 0x14], 0x34
jne 0x44c4db
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp + 8]
mov ecx, 0xd
lea edi, [edx + 4]
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_VerQueryValueW
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]
mov edi, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
push eax
push ecx
mov ecx, edi
call fcn.0044c3c0
test eax, eax
jne 0x44c573
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
mov ecx, edi
call fcn.0044c3c0
test eax, eax
jne 0x44c573
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x1c]
push 1
push edx
push eax
mov eax, dword [ebp - 0x14]
push eax
push ecx
mov ecx, edi
call fcn.0044c3c0
test eax, eax
jne 0x44c573
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x1c]
push 1
push edx
push 9
push eax
push ecx
mov ecx, edi
call fcn.0044c3c0
test eax, eax
jne 0x44c573
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString_5
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
push ecx
push eax
push str.StringFileInfo_04X_04X_
push edx
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::Format_1
add esp, 0x10
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x20]
push 0x71d678
push eax
push ecx
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
lea edx, [ebp - 0x14]
lea ecx, [ebp + 8]
push edx
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
lea ecx, [ebp - 0x20]
mov esi, eax
call sub.MFC42u.DLL_CString::CString
test esi, esi
je 0x44c5dc
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x38]
push edx
call sub.MFC42u.DLL_CString::operator_3
lea eax, [ebp - 0x18]
push 0x71d658
lea ecx, [ebp - 0x20]
push eax
push ecx
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
lea edx, [ebp - 0x14]
lea ecx, [ebp + 8]
push edx
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
lea ecx, [ebp - 0x20]
mov esi, eax
call sub.MFC42u.DLL_CString::CString
test esi, esi
je 0x44c619
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x3c]
push edx
call sub.MFC42u.DLL_CString::operator_3
lea eax, [ebp - 0x18]
push 0x71d640
lea ecx, [ebp - 0x20]
push eax
push ecx
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
lea edx, [ebp - 0x14]
lea ecx, [ebp + 8]
push edx
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
lea ecx, [ebp - 0x20]
mov esi, eax
call sub.MFC42u.DLL_CString::CString
test esi, esi
je 0x44c67a
mov edx, dword [ebp + 8]
lea esi, [edi + 0x40]
push edx
mov ecx, esi
call sub.MFC42u.DLL_CString::operator_3
push 0x738574
push 0x71c6d4
mov ecx, esi
call sub.MFC42u.DLL_CString::Replace
push 0x71a2a8
push 0x71bccc
mov ecx, esi
call sub.MFC42u.DLL_CString::Replace
lea eax, [ebp - 0x18]
push 0x71d624
lea ecx, [ebp - 0x20]
push eax
push ecx
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
lea edx, [ebp - 0x14]
lea ecx, [ebp + 8]
push edx
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
lea ecx, [ebp - 0x20]
mov esi, eax
call sub.MFC42u.DLL_CString::CString
test esi, esi
je 0x44c6b7
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x44]
push edx
call sub.MFC42u.DLL_CString::operator_3
lea eax, [ebp - 0x18]
push 0x71d604
lea ecx, [ebp - 0x20]
push eax
push ecx
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
lea edx, [ebp - 0x14]
lea ecx, [ebp + 8]
push edx
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
lea ecx, [ebp - 0x20]
mov esi, eax
call sub.MFC42u.DLL_CString::CString
test esi, esi
je 0x44c6f4
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x48]
push edx
call sub.MFC42u.DLL_CString::operator_3
lea eax, [ebp - 0x18]
push str.OriginalFileName
lea ecx, [ebp - 0x20]
push eax
push ecx
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
lea edx, [ebp - 0x14]
lea ecx, [ebp + 8]
push edx
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
lea ecx, [ebp - 0x20]
mov esi, eax
call sub.MFC42u.DLL_CString::CString
test esi, esi
je 0x44c731
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x4c]
push edx
call sub.MFC42u.DLL_CString::operator_3
lea eax, [ebp - 0x18]
push 0x71d5c8
lea ecx, [ebp - 0x20]
push eax
push ecx
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
lea edx, [ebp - 0x14]
lea ecx, [ebp + 8]
push edx
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
lea ecx, [ebp - 0x20]
mov esi, eax
call sub.MFC42u.DLL_CString::CString
test esi, esi
je 0x44c76e
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x50]
push edx
call sub.MFC42u.DLL_CString::operator_3
lea eax, [ebp - 0x18]
push 0x71d5a8
lea ecx, [ebp - 0x20]
push eax
push ecx
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
lea edx, [ebp - 0x14]
lea ecx, [ebp + 8]
push edx
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
lea ecx, [ebp - 0x20]
mov esi, eax
call sub.MFC42u.DLL_CString::CString
test esi, esi
je 0x44c7cf
mov edx, dword [ebp + 8]
lea esi, [edi + 0x54]
push edx
mov ecx, esi
call sub.MFC42u.DLL_CString::operator_3
push 0x738574
push 0x71c6d4
mov ecx, esi
call sub.MFC42u.DLL_CString::Replace
push 0x71a2a8
push 0x71bccc
mov ecx, esi
call sub.MFC42u.DLL_CString::Replace
lea eax, [ebp - 0x18]
push 0x71d594
lea ecx, [ebp - 0x20]
push eax
push ecx
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
lea edx, [ebp - 0x14]
lea ecx, [ebp + 8]
push edx
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
lea ecx, [ebp - 0x20]
mov esi, eax
call sub.MFC42u.DLL_CString::CString
test esi, esi
je 0x44c80c
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x58]
push edx
call sub.MFC42u.DLL_CString::operator_3
lea eax, [ebp - 0x18]
push 0x71d574
lea ecx, [ebp - 0x20]
push eax
push ecx
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
lea edx, [ebp - 0x14]
lea ecx, [ebp + 8]
push edx
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
lea ecx, [ebp - 0x20]
mov esi, eax
call sub.MFC42u.DLL_CString::CString
test esi, esi
je 0x44c849
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x5c]
push edx
call sub.MFC42u.DLL_CString::operator_3
lea eax, [ebp - 0x18]
push 0x71d558
lea ecx, [ebp - 0x20]
push eax
push ecx
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
lea edx, [ebp - 0x14]
lea ecx, [ebp + 8]
push edx
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
lea ecx, [ebp - 0x20]
mov esi, eax
call sub.MFC42u.DLL_CString::CString
test esi, esi
je 0x44c886
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x60]
push edx
call sub.MFC42u.DLL_CString::operator_3
lea eax, [ebp - 0x18]
push 0x71d53c
lea ecx, [ebp - 0x2c]
push eax
push ecx
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
lea edx, [ebp - 0x14]
lea ecx, [ebp + 8]
push edx
push ecx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
lea ecx, [ebp - 0x2c]
mov esi, eax
call sub.MFC42u.DLL_CString::CString
test esi, esi
je 0x44c8c3
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x64]
push edx
call sub.MFC42u.DLL_CString::operator_3
push ebx
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call sub.MFC42u.DLL_CString::CString
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