Function at 0x4bc2f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4278
call fcn.004ec880
mov eax, dword [0x533014]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x4278], ecx
mov ecx, dword [ebp + 8]
call fcn.0046fc40
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov ecx, dword [str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4bc33d
xor eax, eax
jmp 0x4bc572
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 0x4bc395
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 - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4bc4a6
cmp dword [ebp - 4], 1
jne 0x4bc438
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
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x425c]
call fcn.0040f510
lea edx, [ebp - 0x4250]
push edx
lea eax, [ebp - 0x425c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004bddc0
mov ecx, eax
call fcn.0040f550
lea ecx, [ebp - 0x425c]
call fcn.004335b0
jmp 0x4bc4a1
cmp dword [ebp - 4], 2
jne 0x4bc4a1
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
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x4260]
call fcn.0040f510
lea edx, [ebp - 0x4250]
push edx
lea eax, [ebp - 0x4260]
push eax
lea ecx, [ebp - 0x248]
call fcn.004bddc0
mov ecx, eax
call fcn.0040f550
lea ecx, [ebp - 0x4260]
call fcn.004335b0
jmp 0x4bc372
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0xc]
call fcn.004aa750
lea edx, [ebp - 0x4268]
push edx
lea ecx, [ebp - 0x248]
call fcn.00452f60
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
jmp 0x4bc4df
lea ecx, [ebp - 0xc]
call fcn.00423660
lea eax, [ebp - 0x4270]
push eax
lea ecx, [ebp - 0x248]
call fcn.00458210
push eax
lea ecx, [ebp - 0xc]
call fcn.0047f760
movzx ecx, al
test ecx, ecx
je 0x4bc557
lea ecx, [ebp - 0x4258]
call fcn.00418350
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x4258]
push eax
lea ecx, [ebp - 0xc]
call fcn.0048e470
add eax, 4
push eax
call fcn.004baab0
add esp, 0xc
lea ecx, [ebp - 0x4258]
push ecx
lea ecx, [ebp - 0xc]
call fcn.0048e470
push eax
mov ecx, dword [ebp + 8]
call fcn.004bddc0
mov ecx, eax
call fcn.00418390
lea ecx, [ebp - 0x4258]
call fcn.004335b0
jmp 0x4bc4d7
mov dword [ebp - 0x4274], 1
lea ecx, [ebp - 0x248]
call fcn.0046f9d0
mov eax, dword [ebp - 0x4274]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004eabb3
mov esp, ebp
pop ebp
ret 4