Function at 0x42aff0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x78
mov eax, 0x488bda
call fcn.0046a143
mov dword [ebp - 0x74], edx
mov eax, dword [ebp + 8]
xor ebx, ebx
push 7
mov dword [ebp - 0x70], eax
xor eax, eax
pop edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x68]
call fcn.0042b780
pop ecx
test al, al
jne 0x42b058
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0040d2b7
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.0040d2b7
xor al, al
jmp 0x42b30e
xor edx, edx
lea ecx, [ebp - 0x68]
inc edx
call fcn.0042b66b
mov ecx, eax
mov dword [ebp - 0x7c], ecx
test ecx, ecx
je 0x42b2f4
xor esi, esi
mov dword [ebp - 0x6c], esi
cmp dword [ebp - 0x40], esi
jne 0x42b07e
mov eax, esi
jmp 0x42b089
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
lea edx, [ebp - 0x6c]
push edx
push esi
push esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push ecx
call esi
test eax, eax
jne 0x42b2eb
cmp dword [ebp - 0x6c], eax
je 0x42b2eb
push dword [ebp - 0x6c]
call fcn.00436d65
cmp dword [ebp - 0x40], 0
mov edi, eax
pop ecx
mov dword [ebp - 0x80], edi
jne 0x42b0c5
xor eax, eax
mov ecx, eax
jmp 0x42b0d0
cmp dword [ebp - 0x3c], 8
lea ecx, [ebp - 0x50]
cmovae ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x6c]
push eax
push edi
push dword [ebp - 0x70]
xor eax, eax
push eax
push ecx
push dword [ebp - 0x7c]
call esi
test eax, eax
jne 0x42b2e4
mov eax, dword [ebp - 0x70]
cmp dword [eax], 1
jne 0x42b138
xor eax, eax
mov bl, 1
mov esi, eax
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffffe
test eax, 0xfffffffe
jbe 0x42b2e4
movzx ecx, byte [edi + esi*2 + 1]
movzx eax, byte [edi + esi*2]
shl cx, 8
or cx, ax
movzx eax, cx
mov ecx, dword [ebp - 0x74]
push eax
push 1
call fcn.00427bcc
mov eax, dword [ebp - 0x6c]
inc esi
add eax, 0xfffffffe
shr eax, 1
cmp esi, eax
jb 0x42b108
jmp 0x42b2e4
cmp dword [eax], 4
jne 0x42b216
cmp dword [ebp - 0x6c], 4
jne 0x42b2e4
mov esi, 0x4a423c
mov bl, 1
push esi
call fcn.0040c2ec
pop ecx
mov ecx, dword [ebp - 0x74]
push eax
push esi
call fcn.0040d798
push 0x10
lea eax, [ebp - 0x38]
push eax
movzx eax, byte [edi + 3]
shl ax, 8
movzx edx, ax
movzx eax, byte [edi + 2]
or edx, eax
movzx eax, byte [edi + 1]
shl ax, 8
movzx ecx, ax
movzx eax, byte [edi]
shl edx, 0x10
or ecx, eax
add edx, ecx
push edx
call fcn.00467854
add esp, 0xc
lea ecx, [ebp - 0x38]
xor eax, eax
lea edx, [ecx + 2]
mov dword [ebp - 0x70], eax
push 2
pop esi
mov ax, word [ecx]
add ecx, esi
cmp ax, word [ebp - 0x78]
jne 0x42b1a6
sub ecx, edx
push 8
sar ecx, 1
pop eax
sub eax, ecx
je 0x42b1fa
mov edi, dword [ebp - 0x70]
push 0x4a4244
call fcn.0040c2ec
pop ecx
mov ecx, dword [ebp - 0x74]
push eax
push 0x4a4244
call fcn.0040d662
lea ecx, [ebp - 0x38]
inc edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, esi
cmp ax, word [ebp - 0x78]
jne 0x42b1df
sub ecx, edx
push 8
sar ecx, 1
pop eax
sub eax, ecx
cmp edi, eax
jb 0x42b1bf
mov edi, dword [ebp - 0x80]
lea eax, [ebp - 0x38]
push eax
call fcn.0040c2ec
pop ecx
mov ecx, dword [ebp - 0x74]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040d662
jmp 0x42b2e4
cmp dword [eax], 3
jne 0x42b2e4
xor eax, eax
mov bl, 1
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x6c], eax
jbe 0x42b2e4
push 2
pop esi
movzx eax, byte [eax + edi]
lea ecx, [ebp - 0x38]
push 0x10
push ecx
push eax
call fcn.00467854
add esp, 0xc
lea eax, [ebp - 0x38]
push esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00467814
add esp, 0xc
lea ecx, [ebp - 0x20]
xor eax, eax
lea edx, [ecx + 2]
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x84], eax
mov ax, word [ecx]
add ecx, esi
cmp ax, word [ebp - 0x78]
jne 0x42b268
sub ecx, edx
mov eax, esi
sar ecx, 1
sub eax, ecx
je 0x42b2bd
mov edi, dword [ebp - 0x84]
push 0x4a4244
call fcn.0040c2ec
pop ecx
mov ecx, dword [ebp - 0x74]
push eax
push 0x4a4244
call fcn.0040d662
lea ecx, [ebp - 0x20]
inc edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, esi
cmp ax, word [ebp - 0x78]
jne 0x42b2a3
sub ecx, edx
mov eax, esi
sar ecx, 1
sub eax, ecx
cmp edi, eax
jb 0x42b283
mov edi, dword [ebp - 0x80]
lea eax, [ebp - 0x20]
push eax
call fcn.0040c2ec
pop ecx
mov ecx, dword [ebp - 0x74]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040d662
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp eax, dword [ebp - 0x6c]
jb 0x42b232
push edi
call fcn.00436d6e
pop ecx
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea ecx, [ebp - 0x50]
push esi
push 1
call fcn.0040d2b7
push esi
push 1
lea ecx, [ebp - 0x68]
call fcn.0040d2b7
mov al, bl
call fcn.0046a0f2
ret