Function at 0x4da443
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67aa51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov dword [ebp - 0x74], ecx
and dword [ebp - 0x28], 0
push str.getChildKeyByIndex
push dword [0x6ed604]
lea ecx, [ebp - 0x14]
call fcn.0061a2ae
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x74]
call fcn.004da811
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x2c]
push dword [ebp + 0xc]
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xea
jne 0x4da541
mov eax, dword [ebp - 0x74]
cmp dword [eax + 0x30], 0x100
jb 0x4da4fe
mov eax, dword [ebp + 8]
and dword [eax], 0
mov eax, dword [ebp + 8]
and dword [eax + 4], 0
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.006193de
mov eax, dword [ebp + 8]
jmp 0x4da60e
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x30]
shl eax, 1
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x74]
push dword [eax + 0x30]
call fcn.0040b9b3
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x74]
add eax, 0x34
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x24]
je 0x4da541
mov ecx, dword [ebp - 0x40]
call fcn.005c214e
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x40]
call fcn.0053dfdd
cmp dword [ebp - 0x18], 0xea
je 0x4da484
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x4da56e
cmp dword [ebp - 0x78], 0x103
je 0x4da570
cmp dword [ebp - 0x78], 0x5aa
je 0x4da570
jmp 0x4da597
jmp 0x4da5ac
mov eax, dword [ebp + 8]
and dword [eax], 0
mov eax, dword [ebp + 8]
and dword [eax + 4], 0
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.006193de
mov eax, dword [ebp + 8]
jmp 0x4da60e
push 0x1d9
push str.r:depot_contGhostGSSTrunkGhostWindowsRegistry_Win32RegistryKey.cpp
push dword [ebp - 0x18]
call fcn.004daaed
add esp, 0xc
cmp dword [ebp - 0x10], 0
jbe 0x4da5cb
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x34]
mov ecx, dword [ebp - 0x10]
movsx eax, byte [eax + ecx - 1]
test eax, eax
jne 0x4da5cb
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x10]
push dword [ebp - 0x44]
mov ecx, dword [ebp + 0x14]
call fcn.00402bbc
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 8]
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x74]
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.006193de
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0x10