Function at 0x4bcc30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4280
call fcn.004ec880
mov eax, dword [0x533014]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x4280], ecx
mov ecx, dword [ebp + 0x14]
call fcn.0046fc40
push str.userprofile
lea ecx, [ebp - 0x425c]
call fcn.0040f510
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x425c]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.004bddc0
mov ecx, eax
call fcn.00418390
lea ecx, [ebp - 0x425c]
call fcn.004335b0
lea ecx, [ebp - 0x22c]
call fcn.00418350
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push str._sEnvironment
lea ecx, [ebp - 0x22c]
push ecx
call fcn.00418ae0
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x22c]
call fcn.0044ea20
push eax
push VariantInit
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4bccf5
mov dword [ebp - 0x4260], 1
lea ecx, [ebp - 0x22c]
call fcn.004335b0
mov eax, dword [ebp - 0x4260]
jmp 0x4bcf3c
lea ecx, [ebp - 0x24c]
call fcn.00433e40
mov dword [ebp - 0x224], 0x104
mov dword [ebp - 0x250], 0x2000
mov dword [ebp - 0x228], 0x3ffe
mov dword [ebp - 0x4254], 0
jmp 0x4bcd4d
mov eax, dword [ebp - 0x4254]
add eax, 1
mov dword [ebp - 0x4254], eax
mov dword [ebp - 0x224], 0x104
mov dword [ebp - 0x228], 0x3ffe
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x4250]
push edx
lea eax, [ebp - 4]
push eax
push 0
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x4254]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4bce5e
cmp dword [ebp - 4], 1
jne 0x4bcdf0
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 - 0x4264]
call fcn.0040f510
lea eax, [ebp - 0x4250]
push eax
lea ecx, [ebp - 0x4264]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.004bddc0
mov ecx, eax
call fcn.0040f550
lea ecx, [ebp - 0x4264]
call fcn.004335b0
jmp 0x4bce59
cmp dword [ebp - 4], 2
jne 0x4bce59
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 - 0x4268]
call fcn.0040f510
lea eax, [ebp - 0x4250]
push eax
lea ecx, [ebp - 0x4268]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.004bddc0
mov ecx, eax
call fcn.0040f550
lea ecx, [ebp - 0x4268]
call fcn.004335b0
jmp 0x4bcd2a
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0xc]
call fcn.004aa750
lea eax, [ebp - 0x4270]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00452f60
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
jmp 0x4bce97
lea ecx, [ebp - 0xc]
call fcn.00423660
lea eax, [ebp - 0x4278]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00458210
push eax
lea ecx, [ebp - 0xc]
call fcn.0047f760
movzx ecx, al
test ecx, ecx
je 0x4bcf16
lea ecx, [ebp - 0x4258]
call fcn.00418350
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x4258]
push ecx
lea ecx, [ebp - 0xc]
call fcn.0048e470
add eax, 4
push eax
call fcn.004bad20
add esp, 0x10
lea edx, [ebp - 0x4258]
push edx
lea ecx, [ebp - 0xc]
call fcn.0048e470
push eax
mov ecx, dword [ebp + 0x14]
call fcn.004bddc0
mov ecx, eax
call fcn.00418390
lea ecx, [ebp - 0x4258]
call fcn.004335b0
jmp 0x4bce8f
mov dword [ebp - 0x427c], 1
lea ecx, [ebp - 0x24c]
call fcn.0046f9d0
lea ecx, [ebp - 0x22c]
call fcn.004335b0
mov eax, dword [ebp - 0x427c]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004eabb3
mov esp, ebp
pop ebp
ret 0x10