Function at 0x42af20
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x43fdaf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
xor ebx, ebx
push ebp
push esi
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 1
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [esp + 0x40]
push ebx
push eax
mov byte [esp + 0x3c], 2
mov dword [esp + 0x28], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
lea ecx, [esp + 0x18]
mov esi, eax
mov dword [esp + 0xc], ebx
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 3
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 4
call sub.MFC42u.DLL_CString::CString_4
cmp esi, ebx
mov byte [esp + 0x34], 5
jbe 0x42b0ea
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x42b0ea
mov ecx, esi
push edi
mov edx, ecx
xor eax, eax
mov edi, ebp
push ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x50]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
pop edi
je 0x42b0e0
lea ecx, [esp + 0x20]
lea edx, [esp + 0xc]
push ecx
push edx
push str.VarFileInfoTranslation
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42b0e0
mov ecx, dword [esp + 0xc]
xor eax, eax
lea edx, [esp + 0x10]
mov ax, word [ecx]
push eax
push str.000_x
push edx
call sub.MFC42u.DLL_CString::Format_1
add esp, 0xc
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push 4
push eax
call sub.MFC42u.DLL_CString::Right
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 6
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 5
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0xc]
xor ecx, ecx
lea eax, [esp + 0x10]
mov cx, word [edx + 2]
push ecx
push str.000_x
push eax
call sub.MFC42u.DLL_CString::Format_1
add esp, 0xc
lea ecx, [esp + 0x24]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::Right
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 7
call fcn.004398ce
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 5
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push str.StringFileInfo_sOriginalFileName
push eax
call sub.MFC42u.DLL_CString::Format_1
add esp, 0xc
lea ecx, [esp + 0x20]
lea edx, [esp + 0xc]
push ecx
push edx
push 0x100
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::GetBufferSetLength
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42b0e0
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x1c]
push eax
call fcn.00439862
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_3
mov dword [esp + 0x28], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], bl
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret