Function at 0x1000cf00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002a30b
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x1003b06c]
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 + 0x1c]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x844], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x848], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x850], eax
xor eax, eax
mov dword [ebp - 0x854], 0
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
cmp word [edx], ax
jne 0x1000cf8e
xor ecx, ecx
jmp 0x1000cfa2
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000cf93
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x828]
call fcn.10002ba0
mov dword [ebp - 4], 0
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x83c], 0
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 0
call fcn.10011a50
test al, al
je 0x1000d001
push ebx
push ebp
pop ebp
pop ebp
push esi
pop edi
pop esi
pop edx
pop edx
push ebp
push ebp
pop esp
push ebp
push ebp
push esi
push edx
push esp
pop ebp
pop ebx
push edi
pop esp
pop edx
push ecx
pop edi
pop eax
pop edi
call fcn.10011c10
test al, al
je 0x1000d023
push esi
pop esp
push esp
pop ebx
push edi
pop ecx
push ebx
push esi
pop ebx
pop esi
push ecx
push eax
pop edi
pop eax
pop esi
push esi
pop esi
pop ecx
push ebx
pop edi
pop ebp
push edi
pop eax
pop ebx
pop eax
call fcn.10011ac0
test al, al
je 0x1000d048
pop eax
push esi
pop ebp
pop edx
push edi
pop eax
push ecx
push edx
pop esp
pop edi
pop ebx
push esi
push ebx
pop eax
push ebx
pop eax
push esi
pop ebp
pop ebp
push edx
push edi
pop ebx
pop edi
pop esi
push ebp
pop ebp
pop ebp
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x82c]
push eax
push 0x20119
push 0
push dword [ebp - 0x844]
push 0x80000003
call ebx
test eax, eax
je 0x1000d0b9
mov ebx, dword [ebp - 0x830]
xor eax, eax
mov ecx, ebx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
lea eax, [ebp - 0x828]
push eax
call fcn.100026c0
mov ecx, dword [ebp - 0x814]
cmp ecx, 8
jb 0x1000d0b2
inc ecx
push ecx
push dword [ebp - 0x828]
lea ecx, [ebp - 0x828]
call fcn.10002ca0
mov eax, ebx
jmp 0x1000d372
lea eax, [ebp - 0x83c]
push eax
push 0x20119
push 0
push str.SoftWare
push dword [ebp - 0x82c]
call ebx
test eax, eax
je 0x1000d130
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x830]
xor eax, eax
mov ecx, ebx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
lea eax, [ebp - 0x828]
push eax
call fcn.100026c0
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x1000d0b2
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.10002ca0
mov eax, ebx
jmp 0x1000d372
lea eax, [ebp - 0x838]
push eax
push 0x20119
push 0
push dword [ebp - 0x840]
push dword [ebp - 0x83c]
call ebx
mov dword [ebp - 0x840], eax
call fcn.10011d60
test al, al
je 0x1000d17f
pop ebx
push esi
push esp
pop eax
pop ebp
pop eax
push ebx
push ebx
push ebp
pop esi
pop esi
push ecx
pop ecx
push edi
pop esp
push edx
push edi
pop edx
pop edx
pop esp
push edx
push edx
pop ebp
pop edx
push esp
pop edx
pop edi
pop esp
push edi
pop esp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x840], 0
je 0x1000d1d7
push dword [ebp - 0x83c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
mov ebx, dword [ebp - 0x830]
xor eax, eax
mov ecx, ebx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
lea eax, [ebp - 0x828]
push eax
call fcn.100026c0
lea ecx, [ebp - 0x828]
call fcn.100025c0
mov eax, ebx
jmp 0x1000d372
lea eax, [ebp - 0x834]
push eax
push 0x20119
push 0
push dword [ebp - 0x848]
push dword [ebp - 0x838]
call ebx
test eax, eax
je 0x1000d20d
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x838]
jmp 0x1000d194
call fcn.10011b30
test al, al
je 0x1000d22f
pop esi
push edi
pop ecx
push ebx
pop edx
pop edi
push edi
push ebx
pop ecx
pop ebx
push esp
push ebp
push edx
pop edi
push esp
pop edi
pop esi
push edx
push eax
pop ebx
pop esi
pop edx
pop esp
push ebp
push eax
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.10015870
add esp, 0xc
mov dword [ebp - 0x84c], 0x400
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push dword [ebp - 0x850]
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x838]
call esi
call fcn.10011900
test al, al
je 0x1000d2a9
pop ebx
pop eax
pop ecx
pop ebp
push edi
push eax
push edx
pop esp
push ebx
push edi
push esp
pop edi
pop ecx
push esp
pop esp
push eax
push ebx
pop ebp
push ebx
pop edx
pop eax
push ecx
push esp
push dword [ebp - 0x83c]
call esi
push dword [ebp - 0x82c]
call esi
call fcn.100116d0
test al, al
je 0x1000d2e0
pop ebx
pop ecx
pop ebx
push esi
pop esp
push edx
push edx
push ebp
pop ecx
push edi
pop edx
push ebp
push ebx
pop esi
pop edi
push esp
pop ebx
pop esp
pop ecx
push edx
push ecx
push eax
pop ecx
push edi
push edx
pop ecx
push ecx
push edi
push esp
pop ecx
call fcn.10011740
test al, al
je 0x1000d2fd
push edx
push esi
pop ebx
push ebx
pop esi
push edi
pop ecx
pop esi
pop esp
pop eax
pop ecx
push ebx
pop eax
push ebp
pop esi
push esi
pop ebp
push eax
push ebx
push ebp
call fcn.10011c80
test al, al
je 0x1000d31f
pop esi
pop edi
pop edi
push ebx
pop esp
pop ecx
pop edx
push ecx
push edx
push esi
push esi
push ecx
push eax
push ebp
pop esi
pop ebx
push esi
pop ebp
push edx
push ebx
pop esp
push edi
push edi
push ebp
push edi
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000d330
sub ecx, edx
sar ecx, 1
mov ecx, dword [ebp - 0x830]
jne 0x1000d355
lea eax, [ebp - 0x828]
push eax
call fcn.1000ced0
jmp 0x1000d361
lea eax, [ebp - 0x810]
push eax
call fcn.10002df0
lea ecx, [ebp - 0x828]
call fcn.100025c0
mov eax, dword [ebp - 0x830]
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.10012ad9
mov esp, ebp
pop ebp
ret