Function at 0x100d7a9
Capabilities:
Get file version info

Disassembly:
push 0xdc
mov eax, 0x1013dbc
call fcn.010121a5
mov edi, ecx
lea ecx, [ebp - 0xd4]
call sub.MFC42u.dll_CString::CString_2
and dword [ebp - 4], 0
push 0x10177a8
lea ecx, [ebp - 0xd4]
call sub.MFC42u.dll_CString::operator_3
push 0x5c
lea ecx, [ebp - 0xd4]
call fcn.0100cf23
lea esi, [edi + 4]
push esi
lea ecx, [ebp - 0xd4]
call sub.MFC42u.dll_CString::operator
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax - 8]
inc eax
push eax
lea ecx, [ebp - 0xd4]
call sub.MFC42u.dll_CString::GetBuffer
test eax, eax
je 0x100da7b
lea ecx, [ebp - 0xe0]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
push 0xffffffffffffffff
lea ecx, [ebp - 0xd4]
mov ebx, eax
call sub.MFC42u.dll_CString::ReleaseBuffer
test ebx, ebx
jne 0x100d89e
push 0x10179b8
lea ecx, [ebp - 0xd4]
call sub.MFC42u.dll_CString::operator_3
push 0x5c
lea ecx, [ebp - 0xd4]
call fcn.0100cf23
push esi
lea ecx, [ebp - 0xd4]
call sub.MFC42u.dll_CString::operator
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax - 8]
inc eax
push eax
lea ecx, [ebp - 0xd4]
call sub.MFC42u.dll_CString::GetBuffer
test eax, eax
je 0x100da7b
lea ecx, [ebp - 0xe0]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
push 0xffffffffffffffff
lea ecx, [ebp - 0xd4]
mov ebx, eax
call sub.MFC42u.dll_CString::ReleaseBuffer
test ebx, ebx
je 0x100da7b
push ebx
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
pop ecx
mov dword [ebp - 0xe8], esi
test esi, esi
je 0x100da7b
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax - 8]
inc eax
push eax
lea ecx, [ebp - 0xd4]
call sub.MFC42u.dll_CString::GetBuffer
push esi
test eax, eax
je 0x100da74
push ebx
push dword [ebp - 0xe0]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
push 0xffffffffffffffff
lea ecx, [ebp - 0xd4]
mov ebx, eax
call sub.MFC42u.dll_CString::ReleaseBuffer
cmp ebx, 1
jne 0x100da73
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xe4]
push eax
push 0x1002d5c
push esi
call sub.VERSION.dll_VerQueryValueW
cmp eax, ebx
jne 0x100da73
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x100da73
movzx ecx, byte [eax + 2]
push ecx
movzx ecx, byte [eax + 3]
push ecx
movzx ecx, byte [eax]
movzx eax, byte [eax + 1]
push ecx
push eax
push 0x1002d38
lea eax, [ebp - 0x50]
push 0x40
push eax
call fcn.0100d723
lea eax, [ebp - 0x50]
push eax
push 0x1002cf8
lea esi, [ebx + 0x7f]
lea eax, [ebp - 0xd0]
push esi
push eax
call fcn.0100d723
mov ebx, dword [ebp - 0xe8]
add esp, 0x2c
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xd0]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x100d9a7
cmp dword [ebp - 0xd8], 0
je 0x100d9a7
push dword [ebp - 0xdc]
lea ecx, [edi + 0x20]
call sub.MFC42u.dll_CString::operator_3
jmp 0x100d9b1
push 0x75
lea ecx, [edi + 0x20]
call sub.MFC42u.dll_CString::LoadStringW
lea eax, [ebp - 0x50]
push eax
push 0x1002cb8
lea eax, [ebp - 0xd0]
push esi
push eax
call fcn.0100d723
add esp, 0x10
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xd0]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x100da03
cmp dword [ebp - 0xd8], 0
je 0x100da03
push dword [ebp - 0xdc]
lea ecx, [edi + 0x1c]
call sub.MFC42u.dll_CString::operator_3
jmp 0x100da0d
push 0x75
lea ecx, [edi + 0x1c]
call sub.MFC42u.dll_CString::LoadStringW
lea eax, [ebp - 0x50]
push eax
push 0x1002c70
lea eax, [ebp - 0xd0]
push esi
push eax
call fcn.0100d723
add esp, 0x10
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xd0]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x100da5f
cmp dword [ebp - 0xd8], 0
je 0x100da5f
push dword [ebp - 0xdc]
lea ecx, [edi + 0x24]
call sub.MFC42u.dll_CString::operator_3
jmp 0x100da69
push 0x75
lea ecx, [edi + 0x24]
call sub.MFC42u.dll_CString::LoadStringW
push ebx
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x100da99
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 - 0xd4]
call sub.MFC42u.dll_CString::CString
xor eax, eax
inc eax
call fcn.010121f9
ret