Function at 0x100b5640
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x1011dab7
mov eax, dword fs:[0]
push eax
sub esp, 0x3ec
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x3e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x400]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [esp + 0x414]
lea eax, [esp + 0xe0]
push 0x110
push 0
push eax
mov dword [esp + 0xe8], 0x114
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100b59e3
cmp dword [esp + 0xe0], 6
jb 0x100b59e3
push dword [esp + 0x18]
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.100b7bd0
mov eax, dword [edi]
add esp, 8
mov dword [edi + 4], eax
mov eax, dword [ebx]
test eax, eax
je 0x100b59e3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call esi
push str.RegEnumKeyExW
push dword [ebx]
mov dword [esp + 0x24], eax
call esi
push str.RegCloseKey
push dword [ebx]
mov ebp, eax
call esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
test esi, esi
je 0x100b59e3
test ebp, ebp
je 0x100b59e3
test eax, eax
je 0x100b59e3
xorps xmm0, xmm0
lea ecx, [esp + 0x50]
movq qword [esp + 0x50], xmm0
call fcn.100b61e0
mov dword [esp + 0x408], 0
xor eax, eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
mov byte [esp + 0x408], 1
lea eax, [esp + 0x58]
push str.34745C63_B2F0_4784_8B67_5E12C8701A31
push 0x804
push 0x10135dd8
push str._s0x_08x_s
push eax
call fcn.10021880
add esp, 0x14
mov dword [esp + 0x70], 0
mov byte [esp + 0x408], 2
lea ecx, [esp + 0x70]
push 0x20019
call fcn.1005f0f0
cmp dword [esp + 0x6c], 8
lea edx, [esp + 0x44]
push edx
push 0x20019
lea ecx, [esp + 0x60]
mov dword [esp + 0x20], eax
cmovae ecx, dword [esp + 0x60]
push 0
push ecx
push eax
mov dword [esp + 0x58], 0
call esi
test eax, eax
jne 0x100b598b
push 0x206
xor esi, esi
mov word [esp + 0x1f8], ax
lea eax, [esp + 0x1fa]
push esi
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x4c], 0x104
lea eax, [esp + 0x4c]
push esi
push esi
push esi
push esi
push eax
lea eax, [esp + 0x208]
push eax
push esi
push dword [esp + 0x60]
call ebp
test eax, eax
jne 0x100b5889
xor edx, edx
lea ecx, [esp + 0x1f4]
call fcn.10020c60
mov dword [esp + 0x48], eax
movzx eax, byte [0x10161fdd]
push eax
lea eax, [esp + 0x4c]
push eax
push ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x60]
call fcn.100b7680
push 0
push 0
push 0
push 0
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], 0x104
push eax
lea eax, [esp + 0x208]
inc esi
push eax
push esi
push dword [esp + 0x60]
call ebp
test eax, eax
je 0x100b5832
push dword [esp + 0x44]
mov ebp, dword [esp + 0x24]
call ebp
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx]
mov dword [esp + 0x48], eax
cmp eax, ecx
je 0x100b598b
mov esi, dword [esp + 0x1c]
lea esp, [esp]
push dword [eax + 0x10]
lea eax, [esp + 0x5c]
push str.34745C63_B2F0_4784_8B67_5E12C8701A31
push 0x804
push 0x10135dd8
push str._s0x_08x_s_08d
push eax
call fcn.10021880
add esp, 0x18
lea ecx, [esp + 0x44]
cmp dword [esp + 0x6c], 8
lea eax, [esp + 0x58]
cmovae eax, dword [esp + 0x58]
push ecx
push 0x20019
push 0
push eax
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x100b5974
lea ecx, [esp + 0x74]
call fcn.100b3500
mov byte [esp + 0x408], 3
lea ecx, [esp + 0x2c]
push str.CLSID
mov dword [esp + 0xac], 0x804
call fcn.100035f0
mov byte [esp + 0x408], 4
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
push dword [esp + 0x4c]
call fcn.100b5aa0
mov byte [esp + 0x408], 3
lea ecx, [esp + 0x2c]
call fcn.10003650
lea eax, [esp + 0x74]
mov ecx, edi
push eax
call fcn.100b5fa0
push dword [esp + 0x44]
call ebp
mov byte [esp + 0x408], 2
lea ecx, [esp + 0x74]
call fcn.100b3590
lea ecx, [esp + 0x48]
call fcn.100b67a0
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x50]
jne 0x100b58b0
mov byte [esp + 0x408], 1
lea ecx, [esp + 0x70]
call fcn.1005f330
mov byte [esp + 0x408], 0
cmp dword [esp + 0x6c], 8
jb 0x100b59b8
push dword [esp + 0x58]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
mov dword [esp + 0x408], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.100b5a10
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.10103694
add esp, 0x3f8
ret 8