Function at 0x100ac47
Capabilities:
Get file version info

Disassembly:
mov eax, 0x100f793
call fcn.0100e880
sub esp, 0xdc
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_2
and dword [ebp - 4], 0
push 0x5c
push 0x1013710
lea eax, [ebp - 0x1c]
push eax
call fcn.0100aa3b
mov byte [ebp - 4], 1
lea esi, [edi + 4]
push esi
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MFC42u.DLL_operator_1
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::operator_3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::CString
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
inc eax
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::GetBuffer
test eax, eax
je 0x100aeec
lea ecx, [ebp - 0x24]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov ebx, eax
call sub.MFC42u.DLL_CString::ReleaseBuffer
test ebx, ebx
jne 0x100ad5a
push 0x5c
push 0x101370c
lea eax, [ebp - 0x20]
push eax
call fcn.0100aa3b
mov byte [ebp - 4], 3
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42u.DLL_operator_1
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::operator_3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::CString
and byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
inc eax
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::GetBuffer
test eax, eax
je 0x100aeec
lea ecx, [ebp - 0x24]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov ebx, eax
call sub.MFC42u.DLL_CString::ReleaseBuffer
test ebx, ebx
je 0x100aeec
push ebx
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
test esi, esi
pop ecx
mov dword [ebp - 0x1c], esi
je 0x100aeec
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
inc eax
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::GetBuffer
test eax, eax
push esi
je 0x100aee5
push ebx
push dword [ebp - 0x24]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov ebx, eax
call sub.MFC42u.DLL_CString::ReleaseBuffer
cmp ebx, 1
jne 0x100aee4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x1002d6c
push esi
call sub.VERSION.dll_VerQueryValueW
cmp eax, ebx
jne 0x100aee4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100aee4
movzx ecx, word [eax + 2]
mov esi, dword [sym.imp.msvcrt.dll_swprintf]
movzx edx, cl
push edx
movzx ecx, ch
push ecx
movzx ecx, byte [eax]
movzx eax, byte [eax + 1]
push ecx
push eax
lea eax, [ebp - 0x68]
push 0x1002d48
push eax
call esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xe8]
push 0x1002d08
push eax
call esi
mov ebx, dword [ebp - 0x1c]
add esp, 0x24
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xe8]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x100ae38
cmp dword [ebp - 0x14], 0
je 0x100ae38
push dword [ebp - 0x18]
lea ecx, [edi + 0x20]
call fcn.0100eefe
jmp 0x100ae42
push 0x75
lea ecx, [edi + 0x20]
call sub.MFC42u.DLL_CString::LoadStringW
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xe8]
push 0x1002cc8
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xe8]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x100ae84
cmp dword [ebp - 0x14], 0
je 0x100ae84
push dword [ebp - 0x18]
lea ecx, [edi + 0x1c]
call fcn.0100eefe
jmp 0x100ae8e
push 0x75
lea ecx, [edi + 0x1c]
call sub.MFC42u.DLL_CString::LoadStringW
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xe8]
push 0x1002c80
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xe8]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x100aed0
cmp dword [ebp - 0x14], 0
je 0x100aed0
push dword [ebp - 0x18]
lea ecx, [edi + 0x24]
call fcn.0100eefe
jmp 0x100aeda
push 0x75
lea ecx, [edi + 0x24]
call sub.MFC42u.DLL_CString::LoadStringW
push ebx
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x100af0a
push esi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push 0x75
lea ecx, [edi + 0x1c]
call sub.MFC42u.DLL_CString::LoadStringW
push 0x75
lea ecx, [edi + 0x20]
call sub.MFC42u.DLL_CString::LoadStringW
push 0x75
lea ecx, [edi + 0x24]
call sub.MFC42u.DLL_CString::LoadStringW
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov dword fs:[0], ecx
leave
ret