Function at 0x42a79b
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x44f26a
call fcn.0044d07c
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], bl
mov dword [ebp - 4], ebx
xor esi, esi
inc esi
push esi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x1c]
push dword [ebp + 8]
call fcn.0042a6dc
test al, al
jne 0x42a7dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x42a997
cmp dword [ebp + 0x18], ebx
jne 0x42a7e4
mov dword [ebp + 0x18], esi
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00404b9e
mov byte [ebp - 4], 1
push 0x3e8
lea ecx, [ebp + 8]
call fcn.0040e184
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 0x14], 0x7d0
push dword [ebp - 0x1c]
call esi
mov edi, eax
cmp edi, 0xea
jne 0x42a851
mov eax, dword [ebp + 0x14]
shr eax, 1
push eax
lea ecx, [ebp + 8]
call fcn.0043c3d6
lea ecx, [ebp + 0x14]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
call esi
mov edi, eax
cmp edi, ebx
jne 0x42a97a
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x14]
cmp eax, 1
jne 0x42a8a0
cmp edx, eax
je 0x42a8c2
cmp edx, 7
je 0x42a8c2
cmp edx, 2
je 0x42a8c2
mov ecx, dword [ebp - 0x10]
cmp edx, 4
jne 0x42a889
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.0042b5af
jmp 0x42a92a
cmp edx, 0xb
jne 0x42a8b5
mov eax, dword [ebp + 8]
push dword [eax + 4]
push dword [eax]
call fcn.0042b605
jmp 0x42a92a
cmp edx, eax
jne 0x42a977
cmp eax, 7
je 0x42a8c2
cmp eax, 2
je 0x42a8c2
mov ecx, dword [ebp - 0x10]
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.0042c5f7
jmp 0x42a92a
cmp dword [ebp + 0x14], ebx
jne 0x42a8d1
mov ecx, dword [ebp - 0x10]
call fcn.0042b420
jmp 0x42a911
shr dword [ebp + 0x14], 1
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
cmp word [ecx + eax*2 - 2], bx
jne 0x42a8e4
dec dword [ebp + 0x14]
cmp edx, 7
jne 0x42a905
cmp dword [ebp + 0x14], ebx
je 0x42a905
mov eax, dword [ebp + 0x14]
lea eax, [ecx + eax*2]
cmp word [eax - 2], bx
je 0x42a905
xor ecx, ecx
mov word [eax], cx
inc dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0042a4a1
cmp dword [ebp - 0x14], 2
jne 0x42a920
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.00436f5e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
inc eax
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x14], ebx
jne 0x42a936
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp + 0x14]
mov byte [ebp - 4], 1
push dword [ebp + 8]
call fcn.0043c28e
mov dword [ebp + 8], ebx
mov byte [ebp - 4], bl
push dword [ebp + 0xc]
call fcn.0043c28e
mov dword [ebp + 0xc], ebx
mov ebx, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0042a4b7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
push 0xd
pop edi
mov byte [ebp - 4], 1
push dword [ebp + 8]
call fcn.0043c28e
mov dword [ebp + 8], ebx
mov byte [ebp - 4], bl
push dword [ebp + 0xc]
call fcn.0043c28e
mov dword [ebp + 0xc], ebx
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
call fcn.0042c85a
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x42a958