Function at 0x1001dc32
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x3004]
mov eax, 0x3004
call fcn.10039d10
push 0xffffffffffffffff
push 0x100579a8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10080f6c]
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.10039d40
xor eax, eax
push edi
mov word [ebp + 0x2000], ax
lea eax, [ebp + 0x2002]
push ebx
push eax
call fcn.10039d40
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.10039d40
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 0x10063110
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.1003b4c0
test eax, eax
je 0x1001dd2a
inc ebx
lea ecx, [ebp - 0x20]
call fcn.10016b3c
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.10039bc2
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 0x1001de90
jmp 0x1001dd58
mov esi, 0x800
lea eax, [ebp]
push eax
call fcn.1003b4c0
lea eax, [ebp + 0x2000]
push eax
push 0x10063170
lea eax, [ebp]
push esi
push eax
call fcn.1003b4c0
add esp, 0x14
push 0x20019
lea eax, [ebp]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x20]
call fcn.1003b4c0
test eax, eax
jne 0x1001dcfd
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp]
push eax
push 0x100630a4
lea ecx, [ebp - 0x20]
call fcn.1003b4c0
cmp eax, ebx
jne 0x1001dcfd
push 0x10063154
lea eax, [ebp]
push eax
push 0x10063164
lea eax, [ebp + 0x1000]
push esi
push eax
call fcn.1003b4c0
push 0x100631c4
lea eax, [ebp + 0x1000]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10028e40
add esp, 0x20
mov eax, dword [eax]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x1001ddf6
mov eax, dword [eax]
jmp 0x1001ddf8
xor eax, eax
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x34]
push 1
push esi
mov ecx, eax
call fcn.1001d222
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], bl
cmp ecx, ebx
je 0x1001de1c
call fcn.10001441
mov dword [ebp - 0x24], ebx
push 0x100631e8
lea eax, [ebp + 0x1000]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10028e40
add esp, 0xc
mov eax, dword [eax]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x1001de42
mov eax, dword [eax]
jmp 0x1001de44
xor eax, eax
push eax
push 1
call fcn.1001d1cf
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], bl
cmp ecx, ebx
je 0x1001de60
call fcn.10001441
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 0x1001dd53
cmp eax, 0x103
jne 0x1001de9a
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x20]
call fcn.10016b3c
jmp 0x1001dcfd