Function at 0x4bb020
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4294
call fcn.004ec880
mov eax, dword [0x533014]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
call fcn.0044ea20
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4bb06a
mov eax, 1
jmp 0x4bb39e
lea ecx, [ebp - 0x248]
call fcn.00433e40
mov dword [ebp - 0x224], 0x104
mov dword [ebp - 0x24c], 0x2000
mov dword [ebp - 0x228], 0x3ffe
mov dword [ebp - 0x4254], 0
jmp 0x4bb0c2
mov edx, dword [ebp - 0x4254]
add edx, 1
mov dword [ebp - 0x4254], edx
mov dword [ebp - 0x224], 0x104
mov dword [ebp - 0x228], 0x3ffe
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x4250]
push ecx
lea edx, [ebp - 4]
push edx
push 0
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x4254]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4bb27a
cmp dword [ebp - 4], 1
jne 0x4bb20c
mov ecx, dword [ebp - 0x228]
shr ecx, 1
xor edx, edx
mov word [ebp + ecx*2 - 0x4250], dx
push 0x104
lea eax, [ebp - 0x220]
push eax
call fcn.004ed0ac
add esp, 8
push ecx
mov ecx, esp
push 0x519ce8
call fcn.0040f510
push ecx
mov ecx, esp
lea edx, [ebp - 0x220]
push edx
call fcn.0040f510
call fcn.004baa20
add esp, 8
test eax, eax
jne 0x4bb17d
push ecx
mov ecx, esp
push 0x519ce4
call fcn.0040f510
push ecx
mov ecx, esp
lea eax, [ebp - 0x220]
push eax
call fcn.0040f510
call fcn.004baa20
add esp, 8
test eax, eax
je 0x4bb182
jmp 0x4bb09f
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x425c]
call fcn.0040f510
lea ecx, [ebp - 0x425c]
call fcn.00416e70
lea edx, [ebp - 0x4250]
push edx
lea eax, [ebp - 0x425c]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004bddc0
mov ecx, eax
call fcn.0040f550
push ecx
mov ecx, esp
lea edx, [ebp - 0x425c]
push edx
call fcn.00418370
call fcn.004ba7b0
add esp, 4
mov dword [ebp - 0x4258], eax
cmp dword [ebp - 0x4258], 0xffffffff
je 0x4bb1ff
lea eax, [ebp - 0x4250]
push eax
lea ecx, [ebp - 0x4258]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.004bdf80
mov ecx, eax
call fcn.0040f550
lea ecx, [ebp - 0x425c]
call fcn.004335b0
jmp 0x4bb275
cmp dword [ebp - 4], 2
jne 0x4bb275
mov edx, dword [ebp - 0x228]
shr edx, 1
xor eax, eax
mov word [ebp + edx*2 - 0x4250], ax
push 0x104
lea ecx, [ebp - 0x220]
push ecx
call fcn.004ed0ac
add esp, 8
lea edx, [ebp - 0x220]
push edx
lea ecx, [ebp - 0x427c]
call fcn.0040f510
lea eax, [ebp - 0x4250]
push eax
lea ecx, [ebp - 0x427c]
push ecx
lea ecx, [ebp - 0x248]
call fcn.004bddc0
mov ecx, eax
call fcn.0040f550
lea ecx, [ebp - 0x427c]
call fcn.004335b0
jmp 0x4bb09f
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
call fcn.004aa750
lea eax, [ebp - 0x4284]
push eax
lea ecx, [ebp - 0x248]
call fcn.00452f60
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
jmp 0x4bb2b3
lea ecx, [ebp - 0x10]
call fcn.00423660
lea eax, [ebp - 0x428c]
push eax
lea ecx, [ebp - 0x248]
call fcn.00458210
push eax
lea ecx, [ebp - 0x10]
call fcn.0047f760
movzx ecx, al
test ecx, ecx
je 0x4bb377
lea ecx, [ebp - 0x4264]
call fcn.00418350
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x4264]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048e470
add eax, 4
push eax
call fcn.004baab0
add esp, 0xc
lea ecx, [ebp - 0x4264]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0048e470
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004bddc0
mov ecx, eax
call fcn.00418390
lea ecx, [ebp - 0x10]
call fcn.0048e470
push ecx
mov ecx, esp
push eax
call fcn.00418370
call fcn.004ba7b0
add esp, 4
mov dword [ebp - 0x4260], eax
cmp dword [ebp - 0x4260], 0xffffffff
je 0x4bb367
lea edx, [ebp - 0x4264]
push edx
lea eax, [ebp - 0x4260]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.004bdf80
mov ecx, eax
call fcn.00418390
lea ecx, [ebp - 0x4264]
call fcn.004335b0
jmp 0x4bb2ab
mov dword [ebp - 0x4294], 1
lea ecx, [ebp - 0x248]
call fcn.0046f9d0
mov eax, dword [ebp - 0x4294]
jmp 0x4bb39e
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004eabb3
mov esp, ebp
pop ebp
ret