Function at 0x100f21d0
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 0x101222bd
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 0x100f22e6
mov edx, dword [ebp - 0x94]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
cmp edx, 8
jb 0x100f22b9
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f22af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f2a4b
push edx
push ecx
call fcn.1007306e
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.100e56f0
jmp 0x100f2a36
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 [0x101599f0]
test eax, eax
jne 0x100f235d
push 0x118
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.10077450
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 0x100f2760
mov eax, dword [ebp - 0x21c]
mov dword [0x101599f0], eax
cmp eax, 6
jb 0x100f2760
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 0x100f2388
mov eax, dword [esi]
cmp word [eax], 0x2e
lea ecx, [ebp - 0x70]
push esi
jne 0x100f247c
call fcn.1001cdf0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.100d7200
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.100d7250
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x100f23fb
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 0x100f243b
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f2431
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f2a50
push edx
push ecx
call fcn.1007306e
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x100f252e
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f2524
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f2a55
jmp 0x100f2524
call fcn.1001cdf0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
call fcn.100d7200
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.100d7250
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x100f24e1
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 0x100f243b
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f2431
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f2a5a
jmp 0x100f2431
push edx
push ecx
call fcn.1007306e
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 SysReAllocStringLen
call fcn.100e54e0
test al, al
jne 0x100f25fa
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x100f2593
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f2589
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f2a5f
push edx
push ecx
call fcn.1007306e
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 0x100f25e1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f25d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f2a64
push edx
push ecx
call fcn.1007306e
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x100f29fc
lea eax, [ebp - 0x28]
push eax
push str.ProgId
lea ecx, [ebp - 0x90]
call fcn.100e5310
test al, al
je 0x100f2559
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.100d7250
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 SysReAllocStringLen
call fcn.100e54e0
test al, al
je 0x100f2676
lea eax, [ebp - 0x28]
push eax
push 0x10136fb4
lea ecx, [ebp - 0x90]
call fcn.100e5310
test al, al
jne 0x100f26c9
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x100f26b0
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f26a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f2a5f
push edx
push ecx
call fcn.1007306e
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
jmp 0x100f2559
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x100f2707
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f26fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f2a5f
push edx
push ecx
call fcn.1007306e
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 0x100f297b
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f2971
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100f2971
jmp 0x100f2a5f
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 SysReAllocStringLen
call fcn.100e54e0
test al, al
je 0x100f293d
lea eax, [ebp - 0x40]
push eax
push 0x10136fb4
lea ecx, [ebp - 0x90]
call fcn.100e5310
test al, al
je 0x100f293d
cmp dword [ebp - 0x30], 0
je 0x100f2861
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x40]
call fcn.10031e90
test al, al
je 0x100f2861
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 SysReAllocStringLen
call fcn.100e54e0
test al, al
je 0x100f2861
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 0x100f2760
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f2852
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f2a4b
push edx
push ecx
call fcn.1007306e
add esp, 8
jmp 0x100f2760
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 SysReAllocStringLen
call fcn.100e54e0
test al, al
je 0x100f28eb
lea eax, [ebp - 0x40]
push eax
push 0x10136fb4
lea ecx, [ebp - 0x90]
call fcn.100e5310
lea ecx, [ebp - 0x70]
test al, al
je 0x100f28d5
cmp dword [ebp - 0x30], 0
je 0x100f28d5
call fcn.1001a0c0
lea ecx, [ebp - 0x40]
call fcn.1001a0c0
jmp 0x100f2760
call fcn.1001a0c0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.1001a0c0
jmp 0x100f297b
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x100f2929
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f291f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f2a5f
push edx
push ecx
call fcn.1007306e
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 0x100f297b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f2971
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f2a5f
push edx
push ecx
call fcn.1007306e
add esp, 8
cmp dword [ebp - 0x18], 0
je 0x100f29f4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax], 0x22
jne 0x100f29ba
push 1
push 0x22
call fcn.1001db50
cmp eax, 0xffffffff
jne 0x100f29b4
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd8]
call fcn.1001cf90
jmp 0x100f29f4
dec eax
push eax
push 1
jmp 0x100f29ce
push 0
push 0x1013b294
call fcn.1001dbb0
cmp eax, 0xffffffff
je 0x100f29a3
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.100e56f0
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.100e56f0
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.10080da8
call fcn.10080da8
call fcn.10080da8
call fcn.10080da8
call fcn.10080da8
call fcn.10080da8
int3