Function at 0x472b30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x5603e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
test byte [0x56145c], 1
mov byte [ebp - 4], 1
mov esi, 0x80004005
jne 0x472bb3
or dword [0x56145c], 1
push 0x110
push ebx
push 0x56134c
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x561348
mov dword [0x561348], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [0x56134c], 6
jb 0x472ce1
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x472d6a
push str.AssocCreateForClasses
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x472c16
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], ebx
jb 0x472bfd
mov ecx, dword [edi]
mov dword [ebp - 0x1c], ecx
jmp 0x472c00
mov dword [ebp - 0x1c], edi
lea edx, [ebp - 0x10]
push edx
push 0x52eeac
lea ecx, [ebp - 0x24]
push 1
push ecx
call eax
add esp, 0x10
mov esi, eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x34]
cmp esi, ebx
jl 0x472d70
cmp eax, ebx
je 0x472d72
lea edx, [ebp - 0x14]
push edx
push ebx
push ebx
push 2
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push 0x1a0
push eax
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x472d6d
lea ecx, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.0046e8f0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x28]
push ecx
push ebx
push 2
push 0x1a0
push eax
mov byte [ebp - 4], 2
call edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp eax, ebx
jl 0x472d63
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
setne byte [ebp - 0x15]
call fcn.00472b00
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x472cc1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, ebx
je 0x472ccc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x52eebc]
mov edx, dword [0x52eec0]
lea eax, [ebp - 0x10]
push eax
push 0x52eeac
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x52eec4]
mov dword [eax + 4], edx
mov edx, dword [0x52eec8]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call dword [sym.imp.SHLWAPI.dll_AssocCreate]
mov esi, eax
cmp esi, ebx
jl 0x472d6a
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x472c23
cmp dword [edi + 0x14], 8
jb 0x472d33
mov eax, dword [edi]
jmp 0x472d35
mov eax, edi
push 0x20019
push eax
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
call fcn.00412570
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push ebx
push edi
push ebx
push ebx
push eax
call edx
mov esi, eax
mov eax, dword [ebp - 0x10]
jmp 0x472c26
call fcn.00472b00
jmp 0x472d6d
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x472d7f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, ebx
je 0x472d8a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret