Function at 0x3ab1d8ed
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push 0x3d4
mov eax, 0x3ab40baa
call fcn.3ab359d8
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp + 0x14]
and dword [eax], 0
mov esi, 0x11c
push esi
mov dword [ebp - 0x3dc], eax
lea eax, [ebp - 0x3c4]
push 0
push eax
mov dword [ebp - 0x3cc], edi
mov dword [ebp - 0x3c8], 0xe
call fcn.3ab033f0
add esp, 0xc
lea eax, [ebp - 0x3c4]
mov dword [ebp - 0x3c4], esi
mov esi, dword [sym.imp.kernel32.dll_GetVersionExW]
push eax
call esi
xor ecx, ecx
mov dword [ebp - 0x3d0], eax
cmp eax, ecx
jne 0x3ab1d97c
lea eax, [ebp - 0x3c4]
push eax
mov dword [ebp - 0x3c4], 0x114
call esi
test eax, eax
je 0x3ab1dd35
xor ecx, ecx
mov eax, dword [ebp - 0x3b4]
sub eax, ecx
je 0x3ab1dd1a
dec eax
je 0x3ab1dc32
dec eax
jne 0x3ab1dd35
push 0x3aa55a08
push dword [ebp + 0x18]
push ebx
call fcn.3ab3c1f6
mov eax, dword [ebp - 0x3c0]
add esp, 0xc
push 4
pop esi
cmp eax, esi
jae 0x3ab1d9c5
mov dword [ebp - 0x3c8], 1
jmp 0x3ab1db2b
jne 0x3ab1da71
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x3c8], esi
call fcn.3ab033f0
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, 0x3aa665ac
push esi
push 0xffffffffffffffff
push ebx
push edi
call fcn.3ab3c1f6
mov eax, edi
add esp, 0x20
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x3ab1da07
sub eax, ecx
sar eax, 1
mov ecx, ebx
sub ecx, eax
push ecx
push 0x3aa64b94
push ebx
push edi
call fcn.3ab3c1f6
push dword [ebp - 0x3bc]
lea eax, [ebp - 0x218]
push esi
push 0xffffffffffffffff
push 0x104
push eax
call fcn.3ab3c1f6
mov eax, edi
add esp, 0x24
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x3ab1da48
sub eax, ecx
sar eax, 1
mov ecx, ebx
sub ecx, eax
push ecx
lea eax, [ebp - 0x218]
push eax
push ebx
push edi
call fcn.3ab3c1f6
add esp, 0x10
jmp 0x3ab1db2b
push 5
pop ecx
cmp eax, ecx
jne 0x3ab1dad7
cmp dword [ebp - 0x3bc], 0
jne 0x3ab1da91
mov dword [ebp - 0x3c8], ecx
push 0x3aa55a18
jmp 0x3ab1db1f
cmp dword [ebp - 0x3bc], 1
jne 0x3ab1dab4
cmp byte [ebp - 0x2aa], 3
jne 0x3ab1dac6
mov dword [ebp - 0x3c8], 0xa
push 0x3aa55a38
jmp 0x3ab1db1f
cmp dword [ebp - 0x3bc], 2
jne 0x3ab1db10
cmp byte [ebp - 0x2aa], 1
jne 0x3ab1daa3
mov dword [ebp - 0x3c8], 9
push 0x3aa55a28
jmp 0x3ab1db1f
cmp eax, 6
jne 0x3ab1db10
cmp dword [ebp - 0x3bc], 0
jne 0x3ab1db10
cmp byte [ebp - 0x2aa], 1
jne 0x3ab1daff
mov dword [ebp - 0x3c8], 0xb
push 0x3aa55a90
jmp 0x3ab1db1f
mov dword [ebp - 0x3c8], 0xc
push 0x3aa55aa4
jmp 0x3ab1db1f
mov dword [ebp - 0x3c8], 8
push 0x3aa55a4c
push dword [ebp + 0x18]
push ebx
call fcn.3ab3c1f6
add esp, 0xc
xor edi, edi
cmp dword [ebp - 0x3d0], edi
je 0x3ab1db5b
cmp byte [ebp - 0x2aa], 2
je 0x3ab1db4b
cmp byte [ebp - 0x2aa], 3
je 0x3ab1db4b
xor eax, eax
jmp 0x3ab1db4e
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x3dc]
mov dword [ecx], eax
jmp 0x3ab1dd35
lea eax, [ebp - 0x3cc]
push eax
push 0x3aa55b88
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
test eax, eax
jne 0x3ab1dd35
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.3ab033f0
add esp, 0xc
lea eax, [ebp - 0x3d0]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x3d4]
push eax
push edi
push 0x3aa64bdc
push dword [ebp - 0x3cc]
xor esi, esi
inc esi
mov dword [ebp - 0x3d0], 0x208
mov dword [ebp - 0x3d4], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x3ab1dc21
lea eax, [ebp - 0x218]
push 0x3aa64bf4
push eax
call fcn.3ab3c1f6
pop ecx
pop ecx
test eax, eax
je 0x3ab1dc19
lea eax, [ebp - 0x218]
push 0x3aa64c08
push eax
call fcn.3ab3c1f6
pop ecx
pop ecx
test eax, eax
je 0x3ab1dc19
lea eax, [ebp - 0x218]
push 0x3aa64c1c
push eax
call fcn.3ab3c1f6
pop ecx
pop ecx
test eax, eax
jne 0x3ab1dc21
mov eax, dword [ebp - 0x3dc]
mov dword [eax], esi
push dword [ebp - 0x3cc]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x3ab1dd35
cmp dword [ebp - 0x3bc], ecx
jne 0x3ab1dc57
push 0x3aa559e8
push dword [ebp + 0x18]
push ebx
call fcn.3ab3c1f6
add esp, 0xc
and dword [ebp - 0x3c8], 0
jmp 0x3ab1dce9
mov dword [ebp - 0x3d8], ecx
mov dword [ebp - 0x3d4], ecx
mov dword [ebp - 4], ecx
push 0x23
pop ecx
mov esi, 0x3aa55af8
lea edi, [ebp - 0x2a8]
rep movsd dword es:[edi], dword [esi]
push 0x3aa559f8
push dword [ebp + 0x18]
movsw word es:[edi], word [esi]
push ebx
call fcn.3ab3c1f6
add esp, 0xc
push 0x2001f
lea eax, [ebp - 0x2a8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x3d8]
call fcn.3ab3c1f6
test eax, eax
jne 0x3ab1dcba
mov dword [ebp - 0x3c8], 3
push 0x3aa55acc
jmp 0x3ab1dcc9
mov dword [ebp - 0x3c8], 2
push 0x3aa55aec
push dword [ebp + 0x1c]
push dword [ebp - 0x3cc]
call fcn.3ab3c1f6
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3d8]
call fcn.3aa9472b
mov eax, dword [ebp - 0x3b8]
shr eax, 0x10
mov ecx, eax
shr ecx, 8
cmp cl, 4
jne 0x3ab1dd35
cmp al, 0x5a
jne 0x3ab1dd35
push 0x3aa55a74
push dword [ebp + 0x18]
push ebx
call fcn.3ab3c1f6
mov dword [ebp - 0x3c8], 6
jmp 0x3ab1dd32
push 0x3aa55a64
push dword [ebp + 0x18]
push ebx
call fcn.3ab3c1f6
mov dword [ebp - 0x3c8], 0xd
add esp, 0xc
lea eax, [ebp - 0x3b0]
push eax
push dword [ebp + 0x20]
push dword [ebp - 0x3e0]
call fcn.3ab3c1f6
mov eax, dword [ebp - 0x3c8]
add esp, 0xc
call fcn.3ab35a6a
ret 0x1c