Function at 0x442910
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da48a
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x50e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x174], ebx
push 0x11c
lea eax, [ebp - 0x164]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x16c], ebx
call sub.MSVCR100.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [ebp - 0x164]
push ecx
mov dword [ebp - 0x164], 0x11c
call esi
cmp eax, ebx
jne 0x44299c
lea edx, [ebp - 0x164]
push edx
mov dword [ebp - 0x164], 0x114
call esi
test eax, eax
jne 0x44299c
xor edi, edi
jmp 0x4429a2
mov edi, dword [ebp - 0x160]
push 0x11c
lea eax, [ebp - 0x164]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x164]
push ecx
mov dword [ebp - 0x164], 0x11c
call esi
cmp eax, ebx
jne 0x4429e5
lea edx, [ebp - 0x164]
push edx
mov dword [ebp - 0x164], 0x114
call esi
test eax, eax
je 0x4429eb
mov eax, dword [ebp - 0x15c]
cmp edi, 6
jne 0x4429f5
cmp eax, 2
jmp 0x4429f8
cmp edi, 0xa
jge 0x442d51
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x442a0a
lea eax, [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
cmp eax, 0x1d
jle 0x442d51
lea eax, [ebp - 0x170]
push eax
push 1
push ebx
push str.SOFTWAREMacromediaFlashPlayerActiveX
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x442d51
push 0xff
lea ecx, [ebp - 0x147]
push ebx
push ecx
mov dword [ebp - 0x17c], 1
mov byte [ebp - 0x148], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x178]
push edx
mov edx, dword [ebp - 0x170]
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x17c]
push ecx
push ebx
push str.PlayerPath
push edx
mov dword [ebp - 0x178], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x442d44
mov edi, 0xf
lea eax, [ebp - 0x148]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x442ab5
sub eax, edx
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405360
lea ecx, [ebp - 0x2c]
push ecx
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0042e950
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 0x10
jb 0x442af8
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 1
push ebx
push 0x4eb5f4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0040a570
mov esi, eax
mov al, byte [0x5130bf]
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 0x165], al
mov dword [ebp - 0x234], 0x4eca38
mov dword [ebp - 0x224], 0x4e4548
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push ebx
lea ecx, [ebp - 0x21c]
push ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x174], 1
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x234]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x21c]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov edi, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x1e0], ebx
mov dword [ebp - 0x1dc], ebx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x234]
mov ecx, dword [ecx + 4]
push ebx
push ebx
lea ecx, [ebp + ecx - 0x234]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov dl, byte [ebp - 0x165]
mov byte [ebp - 0x18b], dl
mov dword [ebp - 0x184], 3
mov byte [ebp - 0x18c], bl
mov dword [ebp - 0x188], ebx
lea eax, [ebp - 0x224]
push str._if_flash
push eax
mov byte [ebp - 4], 8
call fcn.00405c70
mov eax, dword [ebp - 0x48]
add esp, 8
cmp dword [ebp - 0x34], 0x10
jae 0x442c00
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.00405c70
add esp, 8
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 3
call fcn.00458570
cmp dword [ebp - 0x38], ebx
je 0x442c32
xor edx, edx
cmp esi, 0xffffffff
sete dl
mov dword [ebp - 0x16c], edx
mov al, byte [0x5130be]
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 0x165], al
mov dword [ebp - 0x234], 0x4eca38
mov dword [ebp - 0x224], 0x4e4548
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push ebx
lea ecx, [ebp - 0x21c]
push ecx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x174], 3
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov dword [ebp - 4], 0xa
mov edx, dword [ebp - 0x234]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x21c]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x1e0], ebx
mov dword [ebp - 0x1dc], ebx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x234]
mov ecx, dword [ecx + 4]
push ebx
push ebx
lea ecx, [ebp + ecx - 0x234]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov dl, byte [ebp - 0x165]
mov byte [ebp - 0x18b], dl
mov dword [ebp - 0x184], 7
mov byte [ebp - 0x18c], 1
mov dword [ebp - 0x188], ebx
lea eax, [ebp - 0x224]
push str.flash
push eax
mov byte [ebp - 4], 0xd
call fcn.00405c70
mov ecx, dword [ebp - 0x16c]
add esp, 8
push ecx
lea ecx, [ebp - 0x224]
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 3
call fcn.00458570
cmp dword [ebp - 0x34], 0x10
jb 0x442d44
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x170]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x1c], 0x10
jb 0x442d64
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a665a
mov esp, ebp
pop ebp
ret