Function at 0x481e90
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4cb77f
mov eax, dword fs:[0]
push eax
sub esp, 0x3ec
mov eax, dword [0x4f55dc]
xor eax, esp
mov dword [esp + 0x3e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f55dc]
xor eax, esp
push eax
lea eax, [esp + 0x400]
mov dword fs:[0], eax
mov ebp, ecx
mov edi, dword [esp + 0x414]
lea eax, [esp + 0xe0]
push 0x110
push 0
push eax
mov dword [esp + 0xe8], 0x114
call fcn.004a1910
add esp, 0xc
lea eax, [esp + 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x482275
cmp dword [esp + 0xe0], 6
jb 0x482275
push dword [esp + 0x18]
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.00482db0
mov eax, dword [edi]
add esp, 8
mov dword [edi + 4], eax
mov eax, dword [ebp]
test eax, eax
je 0x482275
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4db1a0
push eax
call esi
push str.RegEnumKeyExW
push dword [ebp]
mov dword [esp + 0x24], eax
call esi
push 0x4db25c
push dword [ebp]
mov ebx, eax
call esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
test esi, esi
je 0x482275
test ebx, ebx
je 0x482275
test eax, eax
je 0x482275
xorps xmm0, xmm0
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.00482b50
mov dword [esp + 0x48], eax
mov dword [esp + 0x408], 4
xor eax, eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
mov byte [esp + 0x408], 5
lea eax, [esp + 0x5c]
push str.34745C63_B2F0_4784_8B67_5E12C8701A31
push 0x804
push str.SoftwareMicrosoftCTFSortOrderAssemblyItem
push str._s0x_08x_s
push eax
call fcn.004073e0
add esp, 0x14
mov dword [esp + 0x58], 0
mov byte [esp + 0x408], 6
lea ecx, [esp + 0x58]
push 0x20019
call fcn.0048edf0
cmp dword [esp + 0x70], 8
lea edx, [esp + 0x44]
push edx
push 0x20019
lea ecx, [esp + 0x64]
mov dword [esp + 0x20], eax
cmovae ecx, dword [esp + 0x64]
push 0
push ecx
push eax
mov dword [esp + 0x58], 0
call esi
test eax, eax
jne 0x4821fb
push 0x206
xor esi, esi
mov word [esp + 0x1f8], ax
lea eax, [esp + 0x1fa]
push esi
push eax
call fcn.004a1910
add esp, 0xc
mov dword [esp + 0x54], 0x104
lea eax, [esp + 0x54]
push esi
push esi
push esi
push esi
push eax
lea eax, [esp + 0x208]
push eax
push esi
push dword [esp + 0x60]
call ebx
test eax, eax
jne 0x4820f5
jmp 0x4820a0
lea ecx, [esp + 0x1f4]
call fcn.00406c70
mov dword [esp + 0x50], eax
movzx eax, byte [0x4f84e8]
push eax
lea eax, [esp + 0x54]
push eax
push ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x58]
call fcn.00482c00
push 0
push 0
push 0
push 0
lea eax, [esp + 0x64]
mov dword [esp + 0x64], 0x104
push eax
lea eax, [esp + 0x208]
inc esi
push eax
push esi
push dword [esp + 0x60]
call ebx
test eax, eax
je 0x4820a0
push dword [esp + 0x44]
mov ebx, dword [esp + 0x24]
call ebx
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov dword [esp + 0x50], eax
cmp eax, ecx
je 0x4821fb
mov esi, dword [esp + 0x1c]
jmp 0x482120
push dword [eax + 0x10]
lea eax, [esp + 0x60]
push str.34745C63_B2F0_4784_8B67_5E12C8701A31
push 0x804
push str.SoftwareMicrosoftCTFSortOrderAssemblyItem
push str._s0x_08x_s_08d
push eax
call fcn.004073e0
add esp, 0x18
lea ecx, [esp + 0x44]
cmp dword [esp + 0x70], 8
lea eax, [esp + 0x5c]
cmovae eax, dword [esp + 0x5c]
push ecx
push 0x20019
push 0
push eax
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x4821e4
lea ecx, [esp + 0x74]
call fcn.0047fd20
mov byte [esp + 0x408], 0xb
lea ecx, [esp + 0x2c]
push str.CLSID
mov dword [esp + 0xac], 0x804
call fcn.00401dd0
mov byte [esp + 0x408], 0xc
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
push dword [esp + 0x4c]
call fcn.004822a0
mov byte [esp + 0x408], 0xb
lea ecx, [esp + 0x2c]
call fcn.00401e30
lea eax, [esp + 0x74]
mov ecx, edi
push eax
call fcn.004826b0
push dword [esp + 0x44]
call ebx
mov byte [esp + 0x408], 6
lea ecx, [esp + 0x74]
call fcn.0047fdb0
lea ecx, [esp + 0x50]
call fcn.004059c0
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x48]
jne 0x482120
mov byte [esp + 0x408], 5
lea ecx, [esp + 0x58]
call fcn.0048f030
mov byte [esp + 0x408], 4
cmp dword [esp + 0x70], 8
jb 0x482227
push dword [esp + 0x5c]
call fcn.0049c766
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
mov dword [esp + 0x408], 0xe
lea ecx, [esp + 0x48]
mov eax, dword [esp + 0x48]
push eax
push dword [eax]
lea eax, [esp + 0x20]
push eax
call fcn.00405870
mov dword [esp + 0x408], 0xffffffff
push dword [esp + 0x48]
call fcn.0049c766
add esp, 4
mov ecx, dword [esp + 0x400]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3e8]
xor ecx, esp
call fcn.0049bfa3
add esp, 0x3f8
ret 8