Function at 0x42cf30
Capabilities:
Get file version info

Disassembly:
push 0x2d4
mov eax, 0x44dbd0
call fcn.00447ac5
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x2c8], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x45785c
call fcn.0040acef
push dword [ebp + 0x14]
mov edx, esi
lea ecx, [ebp - 0x2c4]
call fcn.0042d143
test al, al
je 0x42d139
cmp dword [ebp - 0x2c4], ebx
je 0x42d139
push dword [ebp - 0x2c4]
lea ecx, [ebp - 0x21c]
push edi
call fcn.0042d32c
test al, al
je 0x42d12c
cmp word [ebp - 0x21c], bx
je 0x42d12c
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x42d12c
push dword [ebp + 0xc]
lea ecx, [ebp - 0x21c]
call fcn.0042053d
test eax, eax
js 0x42d12c
push ebx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x42d12c
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 0x42d12c
push esi
push edi
push ebx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42d124
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x2c0]
push eax
push 0x458cf8
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42d124
push 0x98
lea eax, [ebp - 0x2bc]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
pop ecx
pop ecx
lea ecx, [ebp - 0x2bc]
call fcn.0041e2c9
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, 0x458e6c
lea ecx, [ebp - 0x2bc]
mov edx, edi
call fcn.0041f170
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.0041f170
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.0041f170
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.0041ef40
mov ecx, dword [ebp - 0x2c8]
lea eax, [ebp - 0x2e0]
push eax
call fcn.0040a898
lea ecx, [ebp - 0x2e0]
call fcn.0040521a
lea ecx, [ebp - 0x26c]
mov bl, 1
call fcn.0041e297
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.00447a6f
ret 0x10