Function at 0x44c350
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ac63
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4ae44c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x482e5c
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x22c], ebx
call dword [0x4824d0]
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x218]
push eax
call fcn.0040b6c0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x218]
call dword [sym.imp.mfc100u.dll_]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jbe 0x44c5c1
push esi
call sub.mfc100u.dll_new__
add esp, 4
mov edi, eax
push edi
push esi
push ebx
lea ecx, [ebp - 0x218]
call dword [sym.imp.mfc100u.dll_]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, ebx
je 0x44c5b8
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x228]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
cmp eax, ebx
je 0x44c5b8
mov eax, dword [ebp - 0x228]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push ecx
push edx
lea eax, [ebp - 0x210]
push str.StringFileInfo_04x_04xFileVersion
push eax
call esi
mov eax, dword [ebp - 0x228]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [ebp - 0x110]
push str.StringFileInfo_04x_04xInternalName
push eax
call esi
add esp, 0x20
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x110]
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44c49d
mov eax, dword [ebp - 0x22c]
cmp eax, ebx
je 0x44c49d
push eax
mov ecx, 0x4ae59c
call dword [0x4824f0]
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x210]
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
cmp eax, ebx
je 0x44c5b8
mov eax, dword [ebp - 0x224]
cmp eax, ebx
je 0x44c5b8
push eax
lea ecx, [ebp - 0x214]
call dword [0x4824d0]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x260]
call fcn.00464570
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
push ebx
push 1
push 1
push 1
lea edx, [ebp - 0x220]
push edx
lea ecx, [ebp - 0x260]
call fcn.00464260
mov bl, 5
mov byte [ebp - 4], bl
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x260]
call fcn.0044be90
mov byte [ebp - 4], 6
mov ecx, eax
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::TrimLeft]
push eax
lea ecx, [ebp - 0x21c]
call dword [0x4824cc]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x220]
call dword [sym.imp.mfc100u.dll_]
push eax
mov ecx, 0x4ae5a4
call dword [0x4824f0]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc100u.dll_]
push eax
mov ecx, 0x4ae5a8
call dword [0x4824f0]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x220]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.00463b60
push edi
call sub.mfc100u.dll_delete__
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x218]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046b17c
mov esp, ebp
pop ebp
ret