Function at 0x1001dd84
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x3004]
mov eax, 0x3004
call fcn.1003c230
push 0xffffffffffffffff
push 0x1006f805
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x3000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x300c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x3010]
mov dword [ebp - 0x34], eax
xor eax, eax
mov edi, 0xffe
push edi
mov word [ebp], ax
xor ebx, ebx
lea eax, [ebp + 2]
push ebx
push eax
call fcn.1003c260
xor eax, eax
push edi
mov word [ebp + 0x2000], ax
lea eax, [ebp + 0x2002]
push ebx
push eax
call fcn.1003c260
xor eax, eax
push edi
mov word [ebp + 0x1000], ax
lea eax, [ebp + 0x1002]
push ebx
mov esi, 0x800
push eax
mov dword [ebp - 0x10], esi
call fcn.1003c260
add esp, 0x24
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push 0x20019
push 0x10078e20
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.1005e425
test eax, eax
je 0x1001de7c
inc ebx
lea ecx, [ebp - 0x20]
call fcn.100159e6
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3000]
xor ecx, ebp
call fcn.1003c09c
add ebp, 0x3004
leave
ret
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x2000]
push eax
push ebx
push dword [ebp - 0x20]
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
jne 0x1001dfe2
jmp 0x1001deaa
mov esi, 0x800
lea eax, [ebp]
push eax
call fcn.1005e425
lea eax, [ebp + 0x2000]
push eax
push 0x10078e80
lea eax, [ebp]
push esi
push eax
call fcn.1005e425
add esp, 0x14
push 0x20019
lea eax, [ebp]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x20]
call fcn.1005e425
test eax, eax
jne 0x1001de4f
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp]
push eax
push 0x10078db4
lea ecx, [ebp - 0x20]
call fcn.1005e425
cmp eax, ebx
jne 0x1001de4f
push 0x10078e64
lea eax, [ebp]
push eax
push 0x10078e74
lea eax, [ebp + 0x1000]
push esi
push eax
call fcn.1005e425
push 0x10078ed4
lea eax, [ebp + 0x1000]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1001c5ca
add esp, 0x20
mov eax, dword [eax]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x1001df48
mov eax, dword [eax]
jmp 0x1001df4a
xor eax, eax
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x34]
push 1
push esi
mov ecx, eax
call fcn.1001d363
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], bl
cmp ecx, ebx
je 0x1001df6e
call fcn.10001238
mov dword [ebp - 0x24], ebx
push 0x10078ef8
lea eax, [ebp + 0x1000]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1001c5ca
add esp, 0xc
mov eax, dword [eax]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x1001df94
mov eax, dword [eax]
jmp 0x1001df96
xor eax, eax
push eax
push 1
call fcn.1001d310
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], bl
cmp ecx, ebx
je 0x1001dfb2
call fcn.10001238
mov dword [ebp - 0x2c], ebx
inc dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x2000]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], 0x800
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
je 0x1001dea5
cmp eax, 0x103
jne 0x1001dfec
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x20]
call fcn.100159e6
jmp 0x1001de4f