Function at 0x426abe
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x54
mov eax, 0x5241f5
call fcn.004f416f
mov esi, edx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x54], eax
cmp dword [ecx + 0x10], ebx
je 0x426b1b
cmp dword [edi + 0x10], ebx
je 0x426b1b
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004267f1
pop ecx
cmp al, bl
jne 0x426b23
push 1
xor edi, edi
lea esi, [ebp - 0x34]
call fcn.00401501
xor al, al
call fcn.004f41cb
ret
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x426b2f
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x58]
push ecx
or esi, 1
push esi
push ebx
push eax
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x426b0f
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
jb 0x426b5e
mov edi, dword [edi]
lea eax, [ebp - 0x3c]
push eax
push ebx
lea eax, [ebp - 0x40]
push eax
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
call edi
cmp eax, ebx
je 0x426b87
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x426b0f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x426b0f
cmp dword [ebp - 0x40], 1
je 0x426baf
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x426b9c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
xor edi, edi
lea esi, [ebp - 0x34]
call fcn.00401501
mov al, bl
jmp 0x426b1d
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
jne 0x426bdc
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], ebx
jb 0x426bc4
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x426bd8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x426b9c
lea ecx, [ebp - 0x60]
shr eax, 1
push ecx
lea esi, [ebp - 0x50]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.0040a898
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x426c05
mov eax, dword [eax]
lea ecx, [ebp - 0x3c]
push ecx
push dword [ebp - 0x50]
lea ecx, [ebp - 0x40]
push ecx
push ebx
push eax
push dword [ebp - 0x58]
call edi
cmp eax, ebx
je 0x426c38
lea esi, [ebp - 0x50]
call fcn.00460ab5
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], ebx
je 0x426b9c
push dword [ebp - 0x38]
jmp 0x426b96
cmp dword [ebp - 0x40], 1
jne 0x426c1b
mov eax, dword [ebp - 0x3c]
shr eax, 1
lea ecx, [ebp - 0x50]
call fcn.00414922
mov eax, dword [ebp - 0x4c]
cmp word [eax - 2], bx
jne 0x426c5f
cmp dword [ebp - 0x50], eax
je 0x426c5f
add eax, 0xfffffffe
mov dword [ebp - 0x4c], eax
sub eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
mov esi, eax
sar esi, 1
mov eax, esi
mov ecx, edi
call fcn.0040320c
cmp dword [edi + 0x14], 8
jb 0x426c7a
mov edi, dword [edi]
lea eax, [esi + esi]
push eax
push dword [ebp - 0x50]
push edi
call fcn.004e7af0
add esp, 0xc
lea esi, [ebp - 0x50]
call fcn.00460ab5
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], ebx
je 0x426bd8
push dword [ebp - 0x38]
jmp 0x426bd2