Function at 0x42c850
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ffbb6
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x218]
push 0
push eax
mov dword [ebp - 0x250], 0
call fcn.005d4960
add esp, 0xc
call fcn.0048c0b0
test al, al
je 0x42c8d4
push ecx
pop esp
push eax
pop ebp
push esi
pop eax
pop esp
push eax
push esi
pop ecx
pop eax
push ebp
pop eax
pop esi
push edx
pop edi
pop ebp
push edx
push eax
pop ebx
pop edx
pop edx
push esi
push esi
pop edx
pop ebp
pop ebx
call fcn.0048c120
test al, al
je 0x42c8f4
pop esp
push eax
push esi
push esi
push ebp
push esi
pop eax
pop ecx
pop eax
push edi
push edi
pop ebx
push esp
pop esp
push esi
pop ecx
push esi
push esi
push ebx
pop esi
push edx
pop esp
pop eax
call fcn.0048bc50
test al, al
je 0x42c912
push ebp
push ecx
pop esp
push ecx
pop ebp
push ecx
push esp
push ecx
pop esp
pop edi
push edi
pop ebp
push edi
push esp
pop ebx
push ecx
push edi
pop ebx
pop eax
pop ebx
push ebp
mov esi, dword [ebp - 0x24c]
lea eax, [ebp - 0x218]
push 0x104
push eax
xor ebx, ebx
push ebx
push esi
mov dword [ebp - 0x254], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x42caf4
nop dword [eax]
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x42cac0
call fcn.0048bcc0
test al, al
je 0x42c981
push ebp
pop esi
pop edi
pop eax
push esp
pop edx
push ecx
pop ecx
pop ebx
push ecx
push eax
push esi
push esp
push ebp
push ebp
push edx
push edi
push edi
pop ecx
push esi
push esi
mov ebx, dword [ebp - 0x254]
call fcn.0048be10
test al, al
je 0x42c99a
pop eax
pop edi
pop ecx
push esp
push esp
push edi
push edi
pop esp
pop eax
pop esi
pop esi
pop ebp
pop esi
pop edi
push edi
pop esi
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x42c9c4
xor ecx, ecx
jmp 0x42c9df
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c9d0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00407210
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00430140
add esp, 8
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x42ca31
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407310
xor eax, eax
mov dword [ebp - 0x21c], 7
cmp dword [ebp - 0x234], 0x10
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push dword [ebp - 0x258]
mov dword [ebp - 0x220], 0
call fcn.0042c1a0
add esp, 8
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x42cac0
mov ecx, dword [ebp - 0x248]
inc eax
cmp eax, 0x1000
jb 0x42cab7
test cl, 0x1f
jne 0x42caef
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x42caef
sub ecx, eax
cmp ecx, 4
jb 0x42caef
cmp ecx, 0x23
ja 0x42caef
mov ecx, eax
push ecx
call fcn.005caa57
add esp, 4
push 0x104
lea eax, [ebp - 0x218]
inc ebx
push eax
push ebx
push dword [ebp - 0x24c]
mov dword [ebp - 0x254], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x42caf4
mov esi, dword [ebp - 0x24c]
jmp 0x42c940
call fcn.005d9031
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005caa5c
mov esp, ebp
pop ebp
ret