Function at 0x474c10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd652
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x5603e8]
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
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov edi, ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x288], ecx
mov dword [ebp - 0x274], edx
cmp eax, ebx
jne 0x474c6b
mov eax, 0x80070057
jmp 0x475088
test byte [0x56145c], 1
jne 0x474ca3
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 0x474d75
mov dword [ebp - 0x270], ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x270]
push eax
push str._n_vSN
push 3
push ebx
push 0x52ef30
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
mov dword [ebp - 0x274], ebx
cmp esi, ebx
jl 0x474d55
mov eax, dword [ebp - 0x270]
cmp eax, ebx
je 0x474d5b
cmp dword [edi + 0x14], 8
jb 0x474cfa
mov ecx, dword [edi]
jmp 0x474cfc
mov ecx, edi
mov edx, dword [eax]
lea esi, [ebp - 0x274]
push esi
push 1
push ebx
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov esi, eax
cmp esi, ebx
jl 0x474d55
mov ecx, dword [ebp - 0x274]
cmp ecx, ebx
je 0x474d55
cmp dword [edi + 0x30], 8
lea eax, [edi + 0x1c]
jb 0x474d2a
mov eax, dword [eax]
push eax
push ecx
call dword [sym.imp.MSVCR100.dll__wcsicmp]
mov edx, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x278]
add esp, 8
neg eax
sbb eax, eax
inc eax
push edx
mov dword [ecx], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x274], ebx
mov eax, dword [ebp - 0x270]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x474d6e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
jmp 0x475088
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x218], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x270], 0x104
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x27c], ebx
push 0x3b
xor edx, edx
mov esi, 7
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerFileExts
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], dx
call fcn.00405660
push 0x4c7780
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x250]
push ecx
mov byte [ebp - 4], 2
call fcn.0040ca00
push edi
push eax
lea edx, [ebp - 0x26c]
push edx
mov byte [ebp - 4], 3
call fcn.0044c550
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x474e1b
mov eax, dword [eax]
push 0x2001f
push eax
mov eax, dword [ebp - 0x288]
push eax
lea ecx, [ebp - 0x284]
call fcn.00412570
cmp dword [ebp - 0x258], 8
jb 0x474e4b
mov ecx, dword [ebp - 0x26c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edx, edx
cmp dword [ebp - 0x23c], 8
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], dx
jb 0x474e78
mov eax, dword [ebp - 0x250]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x220], 8
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], cx
mov byte [ebp - 4], 1
jb 0x474ea9
mov edx, dword [ebp - 0x234]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x218]
push ecx
push str.Progid
lea ecx, [ebp - 0x284]
call fcn.00434210
xor edx, edx
lea eax, [ebp - 0x218]
mov word [ebp - 0x234], dx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x474ee5
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.00405660
mov ecx, dword [ebp - 0x274]
push ecx
lea edx, [ebp - 0x234]
push edx
mov byte [ebp - 4], 4
call fcn.00472b30
mov esi, 8
add esp, 8
mov bl, al
mov byte [ebp - 4], 1
cmp dword [ebp - 0x220], esi
jb 0x474f43
mov eax, dword [ebp - 0x234]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
test bl, bl
je 0x474f74
cmp dword [edi + 0x30], esi
lea eax, [edi + 0x1c]
jb 0x474f51
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.MSVCR100.dll__wcsicmp]
mov edx, dword [ebp - 0x278]
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [edx], eax
jmp 0x475075
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
push ecx
lea edx, [ebp - 0x218]
push edx
push str.Application
lea ecx, [ebp - 0x284]
call fcn.00434210
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474fb1
sub eax, edx
sar eax, 1
je 0x474fd3
mov eax, dword [ebp - 0x278]
mov dword [eax], 0
jmp 0x475075
cmp dword [edi + 0x14], esi
jb 0x474fdc
mov eax, dword [edi]
jmp 0x474fde
mov eax, edi
mov ebx, dword [ebp - 0x274]
push 0x20019
push eax
push ebx
lea ecx, [ebp - 0x284]
call fcn.00412570
lea ecx, [ebp - 0x270]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0x4c79ac
lea ecx, [ebp - 0x284]
call fcn.00434210
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x250]
call fcn.00405cd0
lea ecx, [ebp - 0x250]
push ebx
push ecx
mov byte [ebp - 4], 5
call fcn.00472b30
add esp, 8
test al, al
je 0x475060
cmp dword [edi + 0x30], esi
lea eax, [edi + 0x1c]
jb 0x475048
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
neg eax
sbb eax, eax
inc eax
jmp 0x475062
xor eax, eax
mov ecx, dword [ebp - 0x278]
mov dword [ecx], eax
lea ecx, [ebp - 0x250]
call fcn.004a9f30
mov eax, dword [ebp - 0x284]
test eax, eax
je 0x475086
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
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.004b12f6
mov esp, ebp
pop ebp
ret 0xc