Function at 0x10010ea0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066f3c
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x170
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 0x30], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xc8], 0x94
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xc4], 6
jae 0x10010ef7
jmp 0x100115ff
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x28]
call fcn.100016b0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push ecx
push 0x1007c400
push 5
push 0
push 0x1007c5e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jge 0x10010f71
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100016d0
jmp 0x100115ff
push 0x1007223c
lea ecx, [ebp - 0xe0]
call fcn.10028030
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x104], edx
mov byte [ebp - 4], 2
lea eax, [ebp - 0xd8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x104]
call fcn.1000a660
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
mov dword [ebp - 0x108], eax
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0xdc], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe0]
call fcn.1000a640
cmp dword [ebp - 0xdc], 0
jge 0x10011010
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100016d0
jmp 0x100115ff
push str.Select__from_SoftwareLicensingProduct_Where_Not_ProductKeyID_Is_NULL
lea ecx, [ebp - 0xe4]
call fcn.1000a5a0
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], ecx
mov byte [ebp - 4], 3
push 0x100722a0
lea ecx, [ebp - 0xe8]
call fcn.1000a5a0
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], edx
mov byte [ebp - 4], 4
lea eax, [ebp - 0xcc]
push eax
push 0
push 0x10
mov ecx, dword [ebp - 0x110]
call fcn.1000a660
push eax
mov ecx, dword [ebp - 0x118]
call fcn.1000a660
push eax
mov ecx, dword [ebp - 0xd8]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x50]
call ecx
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0xdc], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe8]
call fcn.1000a640
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe4]
call fcn.1000a640
cmp dword [ebp - 0xdc], 0
jge 0x10011102
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100016d0
jmp 0x100115ff
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xd4]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jne 0x1001159a
cmp dword [ebp - 0x24], 0
jne 0x1001114d
jmp 0x1001159a
push 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x100722a4
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x124], eax
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0xd0], edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xec]
push ecx
call fcn.10011620
add esp, 8
mov dword [ebp - 0x128], eax
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x12c], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax]
push ecx
push 0x100722bc
lea edx, [ebp - 0x28]
push edx
call fcn.100030c0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xec]
call fcn.100016d0
push 0
lea ecx, [ebp - 0x28]
call fcn.10001730
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10041df0
add esp, 8
push 0
push 0
lea edx, [ebp - 0x20]
push edx
push 0
push 0x100722c0
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0xd0], ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0xf0]
push eax
call fcn.10011620
add esp, 8
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x13c], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x13c]
mov eax, dword [edx]
push eax
push 0x100722cc
lea ecx, [ebp - 0x28]
push ecx
call fcn.100030c0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.100016d0
push 0
lea ecx, [ebp - 0x28]
call fcn.10001730
mov dword [ebp - 0x140], eax
mov edx, dword [ebp - 0x140]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10041df0
add esp, 8
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0x100722d0
mov edx, dword [ebp - 0xd4]
push edx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0x100722ec
lea edx, [ebp - 0x28]
push edx
call fcn.100030c0
add esp, 0xc
push 0
lea ecx, [ebp - 0x28]
call fcn.10001730
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10041df0
add esp, 8
push 0
push 0
lea edx, [ebp - 0x20]
push edx
push 0
push 0x100722f0
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0xd0], ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0xf4]
push eax
call fcn.10011620
add esp, 8
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x154], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x154]
mov eax, dword [edx]
push eax
push 0x1007230c
lea ecx, [ebp - 0x28]
push ecx
call fcn.100030c0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf4]
call fcn.100016d0
push 0
lea ecx, [ebp - 0x28]
call fcn.10001730
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x158]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.10041df0
add esp, 8
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0x10072310
mov edx, dword [ebp - 0xd4]
push edx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0xf8]
push edx
call fcn.10011620
add esp, 8
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x164]
mov edx, dword [ecx]
push edx
push 0x10072334
lea eax, [ebp - 0x28]
push eax
call fcn.100030c0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf8]
call fcn.100016d0
push 0
lea ecx, [ebp - 0x28]
call fcn.10001730
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call fcn.10041df0
add esp, 8
push 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x10072338
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0xd0], edx
movzx eax, word [ebp - 0x20]
cmp eax, 1
je 0x100114b7
mov ecx, dword [ebp - 0x18]
push ecx
push 0x10072364
lea edx, [ebp - 0x28]
push edx
call fcn.100030c0
add esp, 0xc
jmp 0x100114c8
push 0x10072368
lea eax, [ebp - 0x28]
push eax
call fcn.100030c0
add esp, 8
push 0
lea ecx, [ebp - 0x28]
call fcn.10001730
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
call fcn.10041df0
add esp, 8
push 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x10072370
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x174], eax
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0xd0], edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xfc]
push ecx
call fcn.10011620
add esp, 8
mov dword [ebp - 0x178], eax
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax]
push ecx
push 0x100723c4
lea edx, [ebp - 0x28]
push edx
call fcn.100030c0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xfc]
call fcn.100016d0
push 0
lea ecx, [ebp - 0x28]
call fcn.10001730
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.10041df0
add esp, 8
jmp 0x1001110c
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
jmp 0x100115e9
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100016d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret