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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
jmp 0x7ef5d1cf
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax*4 + 0x7efa2364], 0
je 0x7ef5d2c2
cmp dword [ebp - 0x10], 0
jne 0x7ef5d2c2
push dword [ebp + 8]
mov eax, dword [ebp - 0xc]
push dword [eax*4 + 0x7efa2364]
call fcn.7ef86204
pop ecx
pop ecx
test eax, eax
jne 0x7ef5d2bd
call fcn.7ef5c876
movzx eax, al
test eax, eax
je 0x7ef5d2b6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x7efa23bc]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0x17
jne 0x7ef5d274
mov dword [ebp - 0x1b4], 0x94
lea eax, [ebp - 0x1b4]
push eax
call dword [0x7ef960a4]
cmp dword [ebp - 0x1b0], 4
jne 0x7ef5d258
cmp dword [ebp - 0x1ac], 0
je 0x7ef5d26a
cmp dword [ebp - 0x1b0], 4
jne 0x7ef5d274
cmp dword [ebp - 0x1ac], 0xa
jne 0x7ef5d274
mov dword [ebp - 0x120], 2
lea eax, [ebp - 0x114]
push eax
push 0
push 0
push dword [ebp - 0x120]
push 0
call dword [0x7efa5b74]
test eax, eax
jne 0x7ef5d2b6
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.7ef86086
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1c0]
jmp 0x7ef5d469
mov dword [ebp - 0x10], 1
jmp 0x7ef5d1c8
cmp dword [ebp + 0x14], 0
je 0x7ef5d322
mov dword [ebp - str.Local_AppData], 0x7efa244c
cmp dword [ebp - 0x1b8], 0
je 0x7ef5d322
mov eax, dword [ebp - 0x1b8]
cmp dword [eax], 0
je 0x7ef5d322
push dword [ebp + 8]
mov eax, dword [ebp - 0x1b8]
push dword [eax]
call fcn.7ef86204
pop ecx
pop ecx
test eax, eax
jne 0x7ef5d311
mov eax, dword [ebp - 0x1b8]
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
and dword [ebp - 0x1b8], 0
jmp 0x7ef5d320
mov eax, dword [ebp - 0x1b8]
add eax, 8
mov dword [ebp - 0x1b8], eax
jmp 0x7ef5d2d2
lea eax, [ebp - 0x11c]
push eax
push 0x20019
push 0
push dword [0x7efa2360]
push 0x80000001
call dword [0x7ef9600c]
test eax, eax
je 0x7ef5d350
push str.get_shell_folders
call fcn.7ef88342
pop ecx
mov dword [ebp - 0x118], 0x104
mov dword [ebp - 4], 1
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 0x11c]
call dword [0x7ef96010]
mov dword [ebp - 8], eax
push dword [ebp - 0x11c]
call dword [section..rdata]
cmp dword [ebp - 8], 0
je 0x7ef5d449
push 0x104
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 8]
push 0x80000002
call fcn.7ef5c8e3
add esp, 0x10
test eax, eax
je 0x7ef5d449
push 0x104
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 8]
push 0x80000001
call fcn.7ef5c8e3
add esp, 0x10
test eax, eax
je 0x7ef5d449
and byte [ebp - 0x114], 0
mov dword [ebp - str.Local_AppData], 0x7efa2410
jmp 0x7ef5d403
mov eax, dword [ebp - 0x1bc]
add eax, 8
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
cmp dword [eax], 0
je 0x7ef5d449
push dword [ebp + 8]
mov eax, dword [ebp - 0x1bc]
push dword [eax]
call fcn.7ef86204
pop ecx
pop ecx
test eax, eax
jne 0x7ef5d447
mov eax, dword [ebp - 0x1bc]
push dword [eax + 4]
mov ecx, dword [ebp + 0xc]
call fcn.7ef86086
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.7ef5c94f
add esp, 0xc
jmp 0x7ef5d469
jmp 0x7ef5d3f4
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.7ef86086
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
leave
ret