Function at 0x470b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x470ef9
sub esp, 0x64
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call dbg.internal/syscall/windows/registry.Key.Stat
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test edx, edx
jne 0x470ec4
mov dword [esp + 0x50], eax
mov ecx, dword [eax]
mov dword [esp + 8], ecx
lea ecx, [0x508800]
mov dword [esp], ecx
mov dword [esp + 4], 0
call dbg.runtime.makeslice
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x50]
mov ebx, dword [ebx + 4]
lea ebp, [0x508900]
mov dword [esp], ebp
inc ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call dbg.runtime.makeslice
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
xor ebx, ebx
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x28]
jmp 0x470e04
mov eax, dword [esp + 0x38]
shl eax, 1
mov dword [esp + 0x30], eax
lea eax, [0x508900]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
call dbg.runtime.makeslice
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x28]
test eax, eax
jbe 0x470ef2
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea edx, [esp + 0x30]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call dbg.syscall.RegEnumKeyEx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x470d9b
je 0x470d90
mov edx, dword [ecx + 4]
lea ebx, [0x512de0]
cmp ebx, edx
jne 0x470d89
mov edx, dword [eax]
cmp edx, 0xea
je 0x470c1e
test ecx, ecx
je 0x470d62
mov edx, dword [ecx + 4]
cmp ebx, edx
jne 0x470d62
mov edx, dword [eax]
cmp edx, 0x103
jne 0x470d62
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jle 0x470d37
mov eax, dword [0x5d09ac]
mov edx, dword [0x5d09a8]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
add esp, 0x64
ret
mov eax, dword [esp + 0x60]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x64
ret
mov edx, dword [esp + 0x60]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x64
ret
test ecx, ecx
jmp 0x470ce9
lea ebx, [0x512de0]
jmp 0x470ce9
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x470eeb
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call dbg.syscall.UTF16ToString
mov eax, dword [esp + 0x28]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x2c]
cmp ecx, ebp
jg 0x470e53
mov esi, dword [esp + 0x60]
lea edi, [esi + eax*8 + 4]
mov dword [edi], edx
lea eax, [esi + eax*8]
mov edx, dword [0x5e13d0]
test edx, edx
jne 0x470e2d
mov dword [eax], ebx
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov edi, ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x6c]
test ebp, ebp
jle 0x470e18
cmp ebp, edi
je 0x470e9d
mov dword [esp + 0x60], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
jmp 0x470c62
mov dword [esp + 0x58], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ebp
mov dword [esp], eax
mov dword [esp + 4], ebx
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x58]
jmp 0x470def
mov dword [esp + 0x40], edx
mov dword [esp + 0x54], ebx
lea edx, [0x508800]
mov dword [esp], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call dbg.runtime.growslice
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x54]
jmp 0x470dda
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x64
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
add esp, 0x64
ret
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicindex
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.internal/syscall/windows/registry.Key.ReadSubKeyNames