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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4957a9
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 0x495774
mov dword [esp + 0x50], eax
mov ecx, dword [eax]
mov dword [esp + 8], ecx
lea ecx, [0x5c0820]
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, [0x5c0960]
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 0x4956b4
mov eax, dword [esp + 0x38]
shl eax, 1
mov dword [esp + 0x30], eax
lea eax, [0x5c0960]
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 0x4957a2
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 0x49564b
je 0x495640
mov edx, dword [ecx + 4]
lea ebx, [0x5d42c0]
cmp ebx, edx
jne 0x495639
mov edx, dword [eax]
cmp edx, 0xea
je 0x4954ce
test ecx, ecx
je 0x495612
mov edx, dword [ecx + 4]
cmp ebx, edx
jne 0x495612
mov edx, dword [eax]
cmp edx, 0x103
jne 0x495612
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jle 0x4955e7
mov eax, dword [0x71e2bc]
mov edx, dword [0x71e2b8]
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 0x495599
lea ebx, [0x5d42c0]
jmp 0x495599
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x49579b
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 0x495703
mov esi, dword [esp + 0x60]
lea edi, [esi + eax*8 + 4]
mov dword [edi], edx
lea eax, [esi + eax*8]
mov edx, dword [0x72ff50]
test edx, edx
jne 0x4956dd
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 0x4956c8
cmp ebp, edi
je 0x49574d
mov dword [esp + 0x60], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
jmp 0x495512
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 0x49569f
mov dword [esp + 0x40], edx
mov dword [esp + 0x54], ebx
lea edx, [0x5c0820]
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 0x49568a
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