Function at 0x100ef050
Capabilities:
Check os version

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011e8bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x210
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc8], 0
xor eax, eax
mov dword [ebp - 0xdc], edi
mov esi, edx
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], 7
mov word [ebp - 0xfc], ax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
push esi
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.1001cdf0
xor eax, eax
mov byte [ebp - 4], 2
cmp dword [esi + 0x10], eax
jne 0x100ef166
mov edx, dword [ebp - 0x94]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
cmp edx, 8
jb 0x100ef139
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ef12f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ef8cb
push edx
push ecx
call fcn.100703b3
add esp, 8
xor eax, eax
mov dword [ebp - 0x98], 0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.100e2a60
jmp 0x100ef8b6
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [0x10155910]
test eax, eax
jne 0x100ef1dd
push 0x118
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.100747a0
add esp, 0xc
mov dword [ebp - 0x220], 0x11c
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100ef5e0
mov eax, dword [ebp - 0x21c]
mov dword [0x10155910], eax
cmp eax, 6
jb 0x100ef5e0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 5
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100ef208
mov eax, dword [esi]
cmp word [eax], 0x2e
lea ecx, [ebp - 0x70]
push esi
jne 0x100ef2fc
call fcn.1001cdf0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.100d4540
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0xc0]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_sUserChoice
push eax
call fcn.100d4590
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x100ef27b
mov ecx, eax
call fcn.1001a0c0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x100ef2bb
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ef2b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ef8d0
push edx
push ecx
call fcn.100703b3
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x100ef3ae
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ef3a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ef8d5
jmp 0x100ef3a4
call fcn.1001cdf0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
call fcn.100d4540
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0xc0]
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_sUserChoice
push eax
call fcn.100d4590
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x100ef361
mov ecx, eax
call fcn.1001a0c0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x100ef2bb
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ef2b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ef8da
jmp 0x100ef2b1
push edx
push ecx
call fcn.100703b3
add esp, 8
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x90]
push 0x20119
push eax
push SysReAllocString
call fcn.100e2850
test al, al
jne 0x100ef47a
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x100ef413
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ef409
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ef8df
push edx
push ecx
call fcn.100703b3
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x100ef461
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ef457
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ef8e4
push edx
push ecx
call fcn.100703b3
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x100ef87c
lea eax, [ebp - 0x28]
push eax
push str.ProgId
lea ecx, [ebp - 0x90]
call fcn.100e2680
test al, al
je 0x100ef3d9
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push str._s_shellopencommand
push eax
call fcn.100d4590
add esp, 0xc
mov byte [ebp - 4], 8
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x90]
push 0
cmovae eax, dword [ebp - 0x40]
push 0x20019
push eax
push SysReAllocString
call fcn.100e2850
test al, al
je 0x100ef4f6
lea eax, [ebp - 0x28]
push eax
push 0x10132fa4
lea ecx, [ebp - 0x90]
call fcn.100e2680
test al, al
jne 0x100ef549
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x100ef530
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ef526
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ef8df
push edx
push ecx
call fcn.100703b3
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
jmp 0x100ef3d9
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x100ef587
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ef57d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ef8df
push edx
push ecx
call fcn.100703b3
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x100ef7fb
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ef7f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ef7f1
jmp 0x100ef8df
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 9
lea eax, [ebp - 0xa8]
cmp dword [ebp - 0x94], 8
lea ecx, [ebp - 0x90]
push 0
cmovae eax, dword [ebp - 0xa8]
push 0x20019
push eax
push SysReAllocString
call fcn.100e2850
test al, al
je 0x100ef7bd
lea eax, [ebp - 0x40]
push eax
push 0x10132fa4
lea ecx, [ebp - 0x90]
call fcn.100e2680
test al, al
je 0x100ef7bd
cmp dword [ebp - 0x30], 0
je 0x100ef6e1
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x40]
call fcn.10031b60
test al, al
je 0x100ef6e1
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x90]
push 0x20019
push eax
push SysReAllocString
call fcn.100e2850
test al, al
je 0x100ef6e1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xa8]
call fcn.1001cf90
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x100ef5e0
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ef6d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ef8cb
push edx
push ecx
call fcn.100703b3
add esp, 8
jmp 0x100ef5e0
push str._shellopencommand
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x70]
call fcn.1002f240
add esp, 4
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x90]
push 0
cmovae eax, dword [ebp - 0x70]
push 0x20019
push eax
push SysReAllocString
call fcn.100e2850
test al, al
je 0x100ef76b
lea eax, [ebp - 0x40]
push eax
push 0x10132fa4
lea ecx, [ebp - 0x90]
call fcn.100e2680
lea ecx, [ebp - 0x70]
test al, al
je 0x100ef755
cmp dword [ebp - 0x30], 0
je 0x100ef755
call fcn.1001a0c0
lea ecx, [ebp - 0x40]
call fcn.1001a0c0
jmp 0x100ef5e0
call fcn.1001a0c0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.1001a0c0
jmp 0x100ef7fb
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x100ef7a9
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ef79f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ef8df
push edx
push ecx
call fcn.100703b3
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x100ef7fb
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ef7f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ef8df
push edx
push ecx
call fcn.100703b3
add esp, 8
cmp dword [ebp - 0x18], 0
je 0x100ef874
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax], 0x22
jne 0x100ef83a
push 1
push 0x22
call fcn.1001db50
cmp eax, 0xffffffff
jne 0x100ef834
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd8]
call fcn.1001cf90
jmp 0x100ef874
dec eax
push eax
push 1
jmp 0x100ef84e
push 0
push 0x10137284
call fcn.1001dbb0
cmp eax, 0xffffffff
je 0x100ef823
push eax
push 0
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x28]
call fcn.1001d9d0
push eax
lea ecx, [ebp - 0xd8]
call fcn.1001df20
lea ecx, [ebp - 0xc0]
call fcn.1001a0c0
lea ecx, [ebp - 0x28]
call fcn.1001a0c0
lea ecx, [ebp - 0x90]
call fcn.100e2a60
lea eax, [ebp - 0xd8]
mov ecx, edi
push eax
call fcn.1001a480
lea ecx, [ebp - 0xa8]
call fcn.1001a0c0
lea ecx, [ebp - 0xfc]
call fcn.100e2a60
lea ecx, [ebp - 0xd8]
call fcn.1001a0c0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
int3