Function at 0x1001c858
Capabilities:
Get file version info

Disassembly:
push 0x2d4
mov eax, 0x1002671b
call fcn.1002312c
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x2c8], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x100298ec
call fcn.1000c63b
push dword [ebp + 0x14]
mov edx, esi
lea ecx, [ebp - 0x2c4]
call fcn.1001ca6a
test al, al
je 0x1001ca60
cmp dword [ebp - 0x2c4], ebx
je 0x1001ca60
push dword [ebp - 0x2c4]
lea ecx, [ebp - 0x21c]
push edi
call fcn.1001cc52
test al, al
je 0x1001ca53
cmp word [ebp - 0x21c], bx
je 0x1001ca53
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x1001ca53
push dword [ebp + 0xc]
lea ecx, [ebp - 0x21c]
call fcn.10016851
test eax, eax
js 0x1001ca53
push ebx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x1001ca53
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x1001ca53
push esi
push edi
push ebx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1001ca4b
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x2c0]
push eax
push 0x1002d614
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1001ca4b
push 0x98
lea eax, [ebp - 0x2bc]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
pop ecx
lea ecx, [ebp - 0x2bc]
call fcn.10015df6
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2bc]
mov eax, dword [ebp - 0x2c0]
movzx eax, word [eax + 0xa]
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int_]
mov edi, 0x1002cff0
lea ecx, [ebp - 0x2bc]
mov edx, edi
call fcn.100160c0
mov eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x2bc]
movzx eax, word [eax + 8]
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int_]
mov edx, edi
lea ecx, [ebp - 0x2bc]
call fcn.100160c0
mov eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x2bc]
movzx eax, word [eax + 0xe]
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int_]
mov edx, edi
lea ecx, [ebp - 0x2bc]
call fcn.100160c0
mov eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x2bc]
movzx eax, word [eax + 0xc]
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int_]
lea eax, [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.10005aea
mov ecx, dword [ebp - 0x2c8]
lea eax, [ebp - 0x2e0]
push eax
call fcn.10016818
lea ecx, [ebp - 0x2e0]
call fcn.1000c3c6
lea ecx, [ebp - 0x26c]
mov bl, 1
call fcn.10015dc4
lea ecx, [ebp - 0x26c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
push dword [ebp - 0x2c4]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov al, bl
call fcn.100230d6
ret 0x10