Function at 0x42ab66
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x45dbe2
call fcn.0044e550
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.0042aaa7
test al, al
jne 0x42aba7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x42ad62
cmp dword [ebp + 0x18], ebx
jne 0x42abaf
mov dword [ebp + 0x18], esi
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040478c
mov byte [ebp - 4], 1
push 0x3e8
lea ecx, [ebp + 8]
call fcn.004311d6
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 0x42ac1c
mov eax, dword [ebp + 0x14]
shr eax, 1
push eax
lea ecx, [ebp + 8]
call fcn.0043d435
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 0x42ad45
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x14]
cmp eax, 1
jne 0x42ac6b
cmp edx, eax
je 0x42ac8d
cmp edx, 7
je 0x42ac8d
cmp edx, 2
je 0x42ac8d
mov ecx, dword [ebp - 0x10]
cmp edx, 4
jne 0x42ac54
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.0042b8e9
jmp 0x42acf5
cmp edx, 0xb
jne 0x42ac80
mov eax, dword [ebp + 8]
push dword [eax + 4]
push dword [eax]
call fcn.0042b93f
jmp 0x42acf5
cmp edx, eax
jne 0x42ad42
cmp eax, 7
je 0x42ac8d
cmp eax, 2
je 0x42ac8d
mov ecx, dword [ebp - 0x10]
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.0042c86b
jmp 0x42acf5
cmp dword [ebp + 0x14], ebx
jne 0x42ac9c
mov ecx, dword [ebp - 0x10]
call fcn.0042b75a
jmp 0x42acdc
shr dword [ebp + 0x14], 1
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
cmp word [ecx + eax*2 - 2], bx
jne 0x42acaf
dec dword [ebp + 0x14]
cmp edx, 7
jne 0x42acd0
cmp dword [ebp + 0x14], ebx
je 0x42acd0
mov eax, dword [ebp + 0x14]
lea eax, [ecx + eax*2]
cmp word [eax - 2], bx
je 0x42acd0
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.0042a8c4
cmp dword [ebp - 0x14], 2
jne 0x42aceb
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.00437e97
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
inc eax
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x14], ebx
jne 0x42ad01
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.0043d2ed
mov dword [ebp + 8], ebx
mov byte [ebp - 4], bl
push dword [ebp + 0xc]
call fcn.0043d2ed
mov dword [ebp + 0xc], ebx
mov ebx, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0042a8da
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.0043d2ed
mov dword [ebp + 8], ebx
mov byte [ebp - 4], bl
push dword [ebp + 0xc]
call fcn.0043d2ed
mov dword [ebp + 0xc], ebx
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
call fcn.0042cab5
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x42ad23