Function at 0x423d00
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x463fcc]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push eax
push 0x20019
xor ebx, ebx
push ebx
push edi
push ecx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x423d4a
xor al, al
lea esp, [ebp - 0x44]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ed09
mov esp, ebp
pop ebp
ret
push ebx
push ebx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0xc]
push ebx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x423d34
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
cmp eax, ecx
mov dword [ebp - 0x10], eax
ja 0x423d91
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 8]
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x423da0
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, edi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x423db6
sub eax, edi
sar eax, 1
lea eax, [eax + edx + 0xa]
call fcn.004311f0
mov ebx, esp
mov edx, ebx
mov dword [ebp - 0x38], ebx
mov eax, esi
sub edx, esi
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x423de0
mov edi, ebx
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x423df4
mov edx, dword [0x453e88]
mov eax, dword [ebp + 0x10]
mov dword [edi], edx
mov edx, eax
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423e10
mov edi, ebx
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x423e22
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0x14]
push edi
mov esi, 0x453f04
call fcn.00423a30
push edi
mov esi, ebx
call fcn.00423a30
push edi
mov esi, 0x453efc
call fcn.00423a30
mov eax, dword [ebp - 0x10]
add esp, 0xc
lea eax, [eax + eax + 0xa]
call fcn.004311f0
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax + 0xa]
mov esi, esp
call fcn.004311f0
cmp dword [ebp - 0x18], 0
mov ebx, esp
mov byte [ebp - 5], 1
mov dword [ebp - 0x24], 0
jbe 0x423ef4
cmp byte [ebp - 5], 0
je 0x423ef4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
add eax, 1
lea edx, [ebp - 0x34]
push edx
mov edx, dword [ebp - 0x24]
push ebx
mov dword [ebp - 0x20], eax
add ecx, 1
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc]
push 0
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x20]
push ecx
push esi
push edx
push eax
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x423ee6
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.00423aa0
add esp, 0xc
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
jb 0x423e8f
xor ebx, ebx
cmp dword [ebp - 0x14], ebx
jbe 0x423f43
cmp byte [ebp - 5], 0
je 0x423f43
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
push esi
push ebx
add eax, 1
push edx
mov dword [ebp - 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x423f3b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x38]
push edi
push esi
push eax
push ecx
call fcn.00423d00
add esp, 0x10
mov byte [ebp - 5], al
add ebx, 1
cmp ebx, dword [ebp - 0x14]
jb 0x423efb
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 5]
lea esp, [ebp - 0x44]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ed09
mov esp, ebp
pop ebp
ret