Function at 0x423be7
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x47a9c4
call fcn.00450648
sub esp, 0x104
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [edi + 0x20]
xor ebx, ebx
cmp eax, ebx
je 0x423c3a
cmp dword [esi + 0x18], 0x10
mov dword [ebp + 8], 4
jb 0x423c1a
mov ecx, dword [esi + 4]
jmp 0x423c1d
lea ecx, [esi + 4]
lea edx, [ebp + 8]
push edx
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x10]
push edx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jge 0x423d51
cmp byte [ebp + 0xc], bl
jne 0x423e83
push str.RegQueryValueEx_failure_reading_registry_value_
lea ecx, [ebp - 0x68]
call fcn.004016c0
push 0x5c
lea eax, [ebp - 0x4c]
push edi
push eax
mov dword [ebp - 4], ebx
call fcn.004028c0
push esi
push eax
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.00402960
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.00401f50
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x84]
call fcn.004010c0
push ebx
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.004010c0
push 0x49a910
lea ecx, [ebp - 0x68]
call fcn.004021d0
push str.WT::System::CRegistryKey::GetUint32
lea ecx, [ebp - 0x4c]
call fcn.004016c0
push str..SourceWtSystemRegistryKey.cpp
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.004016c0
cmp dword [ebp - 0x50], 0x10
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 4
jae 0x423cdf
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x30]
call fcn.004016c0
lea eax, [ebp - 0x4c]
push eax
push 0xb0
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 5
call fcn.0041c74a
push ebx
push esi
lea ecx, [ebp - 0x30]
call fcn.004010c0
push ebx
push esi
lea ecx, [ebp - 0xa0]
call fcn.004010c0
push ebx
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.004010c0
lea ecx, [ebp - 0x110]
call fcn.0041c8b3
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], bl
call fcn.0041c69f
lea ecx, [ebp - 0x68]
jmp 0x423e7c
cmp dword [ebp - 0x10], 4
je 0x423e88
cmp byte [ebp + 0xc], bl
jne 0x423e83
push str.Unexpected_type_for_registry_value_
lea ecx, [ebp - 0x30]
call fcn.004016c0
push 0x5c
lea eax, [ebp - 0x4c]
push edi
push eax
mov dword [ebp - 4], 0xa
call fcn.004028c0
push esi
push eax
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 0xb
call fcn.00402960
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.00401f50
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x84]
call fcn.004010c0
push ebx
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call fcn.004010c0
push str.._REG_DWORD_expected.
lea ecx, [ebp - 0x30]
call fcn.004021d0
push str.WT::System::CRegistryKey::GetUint32
lea ecx, [ebp - 0x84]
call fcn.004016c0
push str..SourceWtSystemRegistryKey.cpp
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
call fcn.004016c0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xe
jae 0x423e08
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004016c0
lea eax, [ebp - 0x84]
push eax
push 0xbd
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0xf
call fcn.0041c74a
push ebx
push esi
lea ecx, [ebp - 0x4c]
call fcn.004010c0
push ebx
push esi
lea ecx, [ebp - 0xa0]
call fcn.004010c0
push ebx
push esi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x11
call fcn.004010c0
lea ecx, [ebp - 0x110]
call fcn.0041c8b3
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0xa
call fcn.0041c69f
lea ecx, [ebp - 0x30]
push ebx
push esi
call fcn.004010c0
mov eax, dword [ebp + 0x10]
jmp 0x423e8b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc