Function at 0x10196bd0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10354e76
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x1d0]
lea ecx, [esp + 0x74]
push 0x3c
xor eax, eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], 0
mov word [esp + 0x7c], ax
call fcn.100cdd90
mov dword [esp + 0x1c8], 0
lea ecx, [esp + 0x74]
push 0xffffffffffffffff
push 0
push esi
call fcn.100cdc20
push 0x110
lea eax, [esp + 0xac]
mov dword [esp + 0xa8], 0x114
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test eax, eax
je 0x10196e9c
cmp dword [esp + 0xa8], 6
setae al
test al, al
je 0x10196e9c
xor eax, eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], ax
mov byte [esp + 0x1c8], 1
lea ecx, [esp + 0x8c]
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.100cd9d0
push 0x10
push str.OpenWithProgids
lea ecx, [esp + 0x94]
call fcn.100cdcd0
mov eax, dword [ebx]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov ebp, dword [eax + 4]
lea eax, [esp + 0x24]
push eax
or ebp, 0x20019
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x10196db1
cmp dword [esp + 0xa0], 8
lea ecx, [esp + 0x28]
push ecx
push ebp
lea eax, [esp + 0x94]
cmovae eax, dword [esp + 0x94]
push 0
push eax
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push dword [esp + 0x24]
test eax, eax
je 0x10196d8d
call esi
jmp 0x10196db1
call esi
push dword [esp + 0x28]
call esi
mov ecx, dword [ebx]
lea eax, [esp + 0x8c]
push eax
push 0x80000001
mov dword [esp + 0x30], 0
call fcn.1019bd10
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x98]
call fcn.100cd9d0
push 0xd
push str.OpenWithList
lea ecx, [esp + 0x94]
call fcn.100cdcd0
mov eax, dword [ebx]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov ebp, dword [eax + 4]
lea eax, [esp + 0x24]
push eax
or ebp, 0x20019
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x10196e5e
cmp dword [esp + 0xa0], 8
lea ecx, [esp + 0x28]
push ecx
push ebp
lea eax, [esp + 0x94]
cmovae eax, dword [esp + 0x94]
push 0
push eax
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push dword [esp + 0x24]
test eax, eax
je 0x10196e3a
call esi
jmp 0x10196e5e
call esi
push dword [esp + 0x28]
call esi
mov ecx, dword [ebx]
lea eax, [esp + 0x8c]
push eax
push 0x80000001
mov dword [esp + 0x30], 0
call fcn.1019bd10
mov byte [esp + 0x1c8], 0
cmp dword [esp + 0xa0], 8
jb 0x10196e7c
push dword [esp + 0x8c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], ax
cmp byte [esp + 0x1d4], 0
je 0x10197177
xor eax, eax
mov dword [esp + 0x6c], 0
push 0xffffffffffffffff
push eax
mov word [esp + 0x64], ax
lea ecx, [esp + 0x64]
lea eax, [esp + 0x7c]
mov dword [esp + 0x78], 0
push eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
call fcn.100cd9d0
mov byte [esp + 0x1c8], 2
call fcn.1018fb50
test al, al
je 0x10196f03
push 0xb
push 0x10560440
lea ecx, [esp + 0x64]
call fcn.100cdcd0
mov eax, dword [ebx]
mov dword [esp + 0x28], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 0x24], 0
mov ebp, dword [eax + 4]
lea eax, [esp + 0x24]
push eax
or ebp, 0x20019
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x10196f5e
cmp dword [esp + 0x70], 8
lea ecx, [esp + 0x28]
push ecx
push ebp
lea eax, [esp + 0x64]
cmovae eax, dword [esp + 0x64]
push 0
push eax
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push dword [esp + 0x24]
test eax, eax
je 0x10196f92
call esi
mov byte [esp + 0x1c8], 0
cmp dword [esp + 0x70], 8
jb 0x10196f76
push dword [esp + 0x5c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
jmp 0x1019777e
call esi
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov byte [esp + 0x1c8], 3
lea ecx, [esp + 0x44]
push str.Progid
call fcn.100cd5c0
mov byte [esp + 0x1c8], 4
lea eax, [esp + 0x2c]
cmp dword [esp + 0x40], 8
mov ecx, dword [esp + 0x28]
cmovae eax, dword [esp + 0x2c]
xor edx, edx
mov dword [esp + 0x3c], 0
mov word [eax], dx
test ecx, ecx
je 0x1019700b
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.1019bde0
mov byte [esp + 0x1c8], 3
cmp dword [esp + 0x58], 8
jb 0x10197023
push dword [esp + 0x44]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
cmp dword [esp + 0x3c], eax
je 0x10197073
lea ecx, [esp + 0x2c]
call fcn.1014d810
push 0
push str.2345pic
lea ecx, [esp + 0x34]
call fcn.1010cc90
cmp eax, 0xffffffff
je 0x10197068
mov byte [esp + 0x1c], 1
jmp 0x10197102
cmp dword [esp + 0x3c], 0
jne 0x10197102
push str.Application
lea ecx, [esp + 0x48]
call fcn.100cd5c0
mov byte [esp + 0x1c8], 5
lea eax, [esp + 0x2c]
cmp dword [esp + 0x40], 8
mov ecx, dword [esp + 0x28]
cmovae eax, dword [esp + 0x2c]
xor edx, edx
mov dword [esp + 0x3c], 0
mov word [eax], dx
test ecx, ecx
je 0x101970bb
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.1019bde0
mov byte [esp + 0x1c8], 3
lea ecx, [esp + 0x44]
call fcn.100cd690
cmp dword [esp + 0x3c], 0
je 0x10197102
lea ecx, [esp + 0x2c]
call fcn.1014d810
push 0
push str.2345pic
lea ecx, [esp + 0x34]
call fcn.1010cc90
mov ecx, dword [esp + 0x1c]
cmp eax, 0xffffffff
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
mov dword [esp + 0x1c], ecx
push dword [esp + 0x28]
call esi
mov dword [esp + 0x28], 0
mov byte [esp + 0x1c8], 2
cmp dword [esp + 0x40], 8
jb 0x10197128
push dword [esp + 0x2c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp byte [esp + 0x1c], al
je 0x10196f5e
mov byte [esp + 0x1c8], al
cmp dword [esp + 0x70], 8
jb 0x10197160
push dword [esp + 0x5c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
mov ebp, dword [ebx]
mov dword [esp + 0x20], 0
cmp byte [ebp], 0
mov ebp, dword [ebp + 4]
jne 0x10197192
or ebp, 0x2001f
jmp 0x10197198
or ebp, 0x20019
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x101971e2
cmp dword [esp + 0x88], 8
lea ecx, [esp + 0x20]
push ecx
push ebp
lea eax, [esp + 0x7c]
cmovae eax, dword [esp + 0x7c]
push 0
push eax
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push dword [esp + 0x1c]
test eax, eax
je 0x101972ab
call esi
mov ecx, dword [ebx]
lea eax, [esp + 0x74]
push eax
push 0x80000001
call fcn.1019bd10
call fcn.1018fb50
test al, al
je 0x1019777e
xor eax, eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov byte [esp + 0x1c8], 0xa
lea ecx, [esp + 0x5c]
push 0xffffffffffffffff
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
push eax
mov dword [esp + 0x74], eax
mov word [esp + 0x64], ax
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x7c], 7
call fcn.100cd9d0
mov byte [esp + 0x1c8], 0xb
lea ecx, [esp + 0x5c]
push 0xb
push 0x10560440
call fcn.100cdcd0
cmp dword [esp + 0x70], 8
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x2c]
cmovae eax, dword [esp + 0x5c]
push eax
call fcn.100cd5c0
mov byte [esp + 0x1c8], 0xc
mov ebp, dword [ebx]
cmp byte [ebp], 0
mov ebp, dword [ebp + 4]
jne 0x10197414
or ebp, 0x2001f
jmp 0x1019741a
call esi
push str.Application
lea ecx, [esp + 0x48]
call fcn.100cd5c0
mov byte [esp + 0x1c8], 6
lea eax, [esp + 0x44]
mov ecx, dword [ebx]
push eax
push dword [esp + 0x24]
call fcn.1019b8f0
mov byte [esp + 0x1c8], 0
cmp dword [esp + 0x58], 8
jb 0x101972eb
push dword [esp + 0x44]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
push str.Progid
lea ecx, [esp + 0x48]
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
call fcn.100cd5c0
mov byte [esp + 0x1c8], 7
lea eax, [esp + 0x44]
mov ecx, dword [ebx]
push eax
push dword [esp + 0x24]
call fcn.1019b8f0
mov byte [esp + 0x1c8], 0
cmp dword [esp + 0x58], 8
jb 0x10197340
push dword [esp + 0x44]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
push str.Hash
lea ecx, [esp + 0x48]
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
call fcn.100cd5c0
mov byte [esp + 0x1c8], 8
lea eax, [esp + 0x44]
mov ecx, dword [ebx]
push eax
push dword [esp + 0x24]
call fcn.1019b8f0
mov byte [esp + 0x1c8], 0
cmp dword [esp + 0x58], 8
jb 0x10197395
push dword [esp + 0x44]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
push 0x10368484
lea ecx, [esp + 0x48]
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
call fcn.100cd5c0
mov byte [esp + 0x1c8], 9
lea eax, [esp + 0x44]
mov ecx, dword [ebx]
push eax
push dword [esp + 0x24]
call fcn.1019b8f0
mov byte [esp + 0x1c8], 0
cmp dword [esp + 0x58], 8
jb 0x101973ea
push dword [esp + 0x44]
call edi
add esp, 4
push dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
call esi
mov dword [esp + 0x20], 0
jmp 0x101971f3
or ebp, 0x20019
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x10197439
mov byte [esp + 0x1b], 0
jmp 0x10197472
cmp dword [esp + 0x40], 8
lea ecx, [esp + 0x20]
push ecx
push ebp
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
push 0
push eax
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push dword [esp + 0x1c]
test eax, eax
je 0x1019746b
call esi
mov byte [esp + 0x1b], 0
jmp 0x10197472
call esi
mov byte [esp + 0x1b], 1
mov byte [esp + 0x1c8], 0xb
cmp dword [esp + 0x40], 8
jb 0x1019748a
push dword [esp + 0x2c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp byte [esp + 0x1b], al
je 0x101976be
push str.Progid
lea ecx, [esp + 0x30]
call fcn.100cd5c0
mov byte [esp + 0x1c8], 0xd
lea eax, [esp + 0x2c]
mov ecx, dword [ebx]
push eax
push dword [esp + 0x24]
call fcn.1019b8f0
mov byte [esp + 0x1c8], 0xb
cmp dword [esp + 0x40], 8
jb 0x101974e9
push dword [esp + 0x2c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
push str.Hash
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
call fcn.100cd5c0
mov byte [esp + 0x1c8], 0xe
lea eax, [esp + 0x2c]
mov ecx, dword [ebx]
push eax
push dword [esp + 0x24]
call fcn.1019b8f0
mov byte [esp + 0x1c8], 0xb
cmp dword [esp + 0x40], 8
jb 0x1019753e
push dword [esp + 0x2c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
push 0x10368484
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
call fcn.100cd5c0
mov byte [esp + 0x1c8], 0xf
lea eax, [esp + 0x2c]
mov ecx, dword [ebx]
push eax
push dword [esp + 0x24]
call fcn.1019b8f0
mov byte [esp + 0x1c8], 0xb
cmp dword [esp + 0x40], 8
jb 0x10197593
push dword [esp + 0x2c]
call edi
add esp, 4
push dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
call esi
cmp dword [esp + 0x88], 8
lea eax, [esp + 0x74]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 0
cmovae eax, dword [esp + 0x74]
push eax
call fcn.100cd5c0
mov byte [esp + 0x1c8], 0x10
mov ebp, dword [ebx]
cmp byte [ebp], 0
mov ebp, dword [ebp + 4]
jne 0x101975ee
or ebp, 0x2001f
jmp 0x101975f4
or ebp, 0x20019
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x10197613
mov byte [esp + 0x1b], 0
jmp 0x1019764c
cmp dword [esp + 0x40], 8
lea ecx, [esp + 0x20]
push ecx
push ebp
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
push 0
push eax
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push dword [esp + 0x1c]
test eax, eax
je 0x10197645
call esi
mov byte [esp + 0x1b], 0
jmp 0x1019764c
call esi
mov byte [esp + 0x1b], 1
mov byte [esp + 0x1c8], 0xb
cmp dword [esp + 0x40], 8
jb 0x10197664
push dword [esp + 0x2c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp byte [esp + 0x1b], al
je 0x101976be
push str.UserChoice
lea ecx, [esp + 0x30]
call fcn.100cd5c0
mov byte [esp + 0x1c8], 0x11
lea eax, [esp + 0x2c]
mov ecx, dword [ebx]
push eax
push dword [esp + 0x24]
call fcn.1019ba60
mov byte [esp + 0x1c8], 0xb
lea ecx, [esp + 0x2c]
call fcn.100cd690
push dword [esp + 0x20]
call esi
mov eax, dword [ebx]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov ebp, dword [eax + 4]
lea eax, [esp + 0x1c]
push eax
or ebp, 0x20019
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x10197737
cmp dword [esp + 0x70], 8
lea ecx, [esp + 0x20]
push ecx
push ebp
lea eax, [esp + 0x64]
cmovae eax, dword [esp + 0x64]
push 0
push eax
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push dword [esp + 0x1c]
test eax, eax
je 0x10197716
call esi
jmp 0x10197737
call esi
push dword [esp + 0x20]
call esi
mov ecx, dword [ebx]
lea eax, [esp + 0x5c]
push eax
push 0x80000001
mov dword [esp + 0x28], 0
call fcn.1019bd10
mov byte [esp + 0x1c8], 0xa
cmp dword [esp + 0x70], 8
jb 0x1019774f
push dword [esp + 0x5c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
mov byte [esp + 0x1c8], al
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], eax
mov word [esp + 0x44], ax
mov dword [esp + 0x1c8], 0xffffffff
cmp dword [esp + 0x88], 8
jb 0x1019779c
push dword [esp + 0x74]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.1033d458
add esp, 0x1b8
ret 8