Function at 0x1000f6d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002f1fb
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.10017680
mov eax, dword [0x1004234c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x102c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x103c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1040], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1048], eax
xor eax, eax
mov dword [ebp - 0x104c], 0
mov dword [ebp - 0x1014], 7
mov dword [ebp - 0x1018], 0
mov word [ebp - 0x1028], ax
cmp word [edx], ax
jne 0x1000f759
xor ecx, ecx
jmp 0x1000f76f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f760
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1028]
call fcn.10007770
mov dword [ebp - 4], 0
mov dword [ebp - 0x1038], 0
mov dword [ebp - 0x1034], 0
mov dword [ebp - 0x1030], 0
call fcn.100166f0
test al, al
je 0x1000f7ca
push edi
push ebx
pop edx
pop esi
push ebx
push eax
push eax
push edi
push esi
pop ecx
push ebx
pop ebx
pop esi
pop edx
push ecx
pop ecx
push esp
pop edi
push esp
pop edx
push ebp
push ebp
push eax
push ebx
pop esi
push edx
pop eax
push edx
pop ecx
push ecx
push esi
pop ebp
call fcn.100167d0
test al, al
je 0x1000f7e5
pop esi
push ebx
pop eax
pop ebp
pop eax
push esp
push ecx
push edx
pop ebp
push eax
push esp
push ebx
push ebx
push esi
push ebp
pop ecx
pop ecx
push esp
call fcn.100160d0
test al, al
je 0x1000f800
push esi
pop ebp
pop edx
push ebx
push esp
pop ebx
pop ecx
pop edi
pop edx
pop eax
push ebx
push ebx
push edx
push edx
push edi
push edx
pop ebp
push ecx
lea eax, [ebp - 0x1038]
push eax
push 0xf013f
push 0
push str.SoftWare
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000f86e
mov ebx, dword [ebp - 0x102c]
xor eax, eax
mov ecx, ebx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
lea eax, [ebp - 0x1028]
push eax
call fcn.10007160
mov ecx, dword [ebp - 0x1014]
cmp ecx, 8
jb 0x1000f867
inc ecx
push ecx
push dword [ebp - 0x1028]
lea ecx, [ebp - 0x1028]
call fcn.10007870
mov eax, ebx
jmp 0x1000fae0
call fcn.100167d0
test al, al
je 0x1000f891
pop edx
push edx
pop ebx
pop edi
pop eax
push ebp
push edi
push edx
push eax
push eax
pop ebx
pop ebx
push esi
pop ebx
pop ecx
push ebp
pop ebx
push edi
push eax
pop ecx
push edx
push eax
push ecx
pop esi
push eax
push esp
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x1034]
push 0
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push dword [ebp - 0x103c]
push dword [ebp - 0x1038]
call esi
test eax, eax
je 0x1000f91b
push dword [ebp - 0x1038]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x102c]
xor eax, eax
mov ecx, ebx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
lea eax, [ebp - 0x1028]
push eax
call fcn.10007160
mov eax, dword [ebp - 0x1014]
cmp eax, 8
jb 0x1000f867
inc eax
lea ecx, [ebp - 0x1028]
push eax
push dword [ebp - 0x1028]
call fcn.10007870
mov eax, ebx
jmp 0x1000fae0
push 0
lea eax, [ebp - 0x1030]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push dword [ebp - 0x1040]
push dword [ebp - 0x1034]
call esi
test eax, eax
je 0x1000f992
push dword [ebp - 0x1034]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x1030]
call esi
mov ebx, dword [ebp - 0x102c]
xor eax, eax
mov ecx, ebx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
lea eax, [ebp - 0x1028]
push eax
call fcn.10007160
lea ecx, [ebp - 0x1028]
call fcn.10004310
mov eax, ebx
jmp 0x1000fae0
call fcn.10015ff0
test al, al
je 0x1000f9b1
pop ebp
push esp
pop eax
push esi
push esi
pop ebp
push ebx
pop eax
push esp
push ebp
pop ebp
push edi
push edi
push eax
pop esi
pop esp
pop ebp
pop esi
push eax
pop ebx
push ebx
pop edi
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.1001a520
add esp, 0xc
mov dword [ebp - 0x1044], 0x800
lea eax, [ebp - 0x1044]
push eax
lea eax, [ebp - 0x1010]
push eax
push 0
push 0
push dword [ebp - 0x1048]
push dword [ebp - 0x1030]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x1030]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x1034]
call esi
push dword [ebp - 0x1038]
call esi
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000fa20
sub ecx, edx
sar ecx, 1
je 0x1000f959
call fcn.10016680
test al, al
je 0x1000fa57
pop ebx
pop ecx
pop edi
pop ebx
pop esp
pop edi
push eax
push eax
pop edi
push edx
pop eax
pop edx
pop esi
push esp
push ebx
pop ebx
pop ebp
push edx
pop esi
push ebp
pop ecx
pop ebp
push ecx
push esi
push ebx
call fcn.10015ff0
test al, al
je 0x1000fa77
push ebx
push esp
pop ebp
pop eax
pop ecx
pop eax
pop ebx
pop ebx
push edi
pop esi
push eax
pop ebp
push edx
pop esp
push ecx
push esi
pop ebp
pop esi
push esp
push edi
pop ecx
push ebp
pop ecx
call fcn.10016920
test al, al
je 0x1000fa95
push ecx
pop edi
push esi
pop ecx
pop ebx
pop eax
pop ecx
push ecx
pop esp
pop eax
pop ecx
push ebp
push ebp
push ebx
push esi
pop esp
push esi
push edx
push esp
push esi
push edx
call fcn.10016140
test al, al
je 0x1000fabd
pop edi
pop ecx
push esp
pop eax
push ecx
push esp
push ecx
push esp
push ebx
push esi
pop edi
pop esp
push esp
push edx
push ecx
push ecx
pop edi
push edx
push ebp
pop edi
pop eax
push ebp
push eax
pop ebx
pop edx
push ecx
push ebp
pop eax
pop esp
push esp
push esp
mov ecx, dword [ebp - 0x102c]
lea eax, [ebp - 0x1010]
push eax
call fcn.10004080
lea ecx, [ebp - 0x1028]
call fcn.10004310
mov eax, dword [ebp - 0x102c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10017646
mov esp, ebp
pop ebp
ret