Function at 0x4bc540
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e3a0
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x5d0074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x224], 0
mov ecx, dword [ecx]
sub ecx, 0x10
mov dword [ebp - 0x234], eax
call fcn.0040a1d0
lea edi, [eax + 0x10]
mov dword [ebp - 0x238], edi
mov dword [ebp - 4], 1
mov bl, byte [ebp + 0xc]
test bl, bl
je 0x4bc5c5
push 0x5c
push edi
call fcn.00522f4c
add esp, 8
test eax, eax
jne 0x4bc5bf
or eax, 0xffffffff
jmp 0x4bc5c8
sub eax, edi
sar eax, 1
jmp 0x4bc5c8
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x220], eax
test bl, bl
je 0x4bc5fe
push eax
push 0
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x238]
call fcn.0040a040
mov byte [ebp - 4], 2
mov ebx, 1
mov dword [ebp - 0x224], ebx
mov esi, dword [ebp - 0x21c]
jmp 0x4bc62e
lea ecx, [edi - 0x10]
call fcn.0040a1d0
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], 2
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 4
mov ebx, 2
mov dword [ebp - 0x224], ebx
mov dl, byte [ebp + 0x10]
mov ecx, eax
call fcn.004bd330
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x240], 0x58b4bc
mov dword [ebp - 0x23c], eax
mov dword [ebp - 4], 6
test bl, 2
je 0x4bc683
and ebx, 0xfffffffd
mov dword [ebp - 0x224], ebx
mov byte [ebp - 4], 6
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4bc686
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4bc686
or esi, 0xffffffff
mov byte [ebp - 4], 8
test bl, 1
je 0x4bc6b9
and ebx, 0xfffffffe
mov dword [ebp - 0x224], ebx
mov byte [ebp - 4], 8
mov eax, esi
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4bc6b9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x228]
test eax, eax
jne 0x4bc6ce
lea ebx, [eax + 1]
or esi, 0xffffffff
jmp 0x4bc8bf
cmp byte [ebp + 0xc], 0
jne 0x4bc7eb
xor esi, esi
mov dword [ebp - 0x220], 0x104
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4bc7e1
or ebx, 0xffffffff
nop dword [eax]
call fcn.00411fd0
test eax, eax
je 0x4bc924
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x218]
test eax, 0xffff0000
jne 0x4bc74f
movzx eax, ax
lea ecx, [ebp - 0x21c]
push eax
call fcn.00412350
jmp 0x4bc774
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4bc752
sub eax, edx
lea ecx, [ebp - 0x21c]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004126c0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x21c]
mov ecx, dword [ebp - 0x234]
push eax
call fcn.0048f3e0
inc esi
mov byte [ebp - 4], 8
mov eax, ebx
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4bc7ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4bc710
xor ebx, ebx
or esi, 0xffffffff
jmp 0x4bc8bf
call fcn.00411fd0
mov ecx, eax
test ecx, ecx
je 0x4bc924
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x220]
inc edx
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x230]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
sub eax, edx
push eax
push edx
lea eax, [ebp - 0x22c]
push eax
call fcn.0040a040
lea ecx, [ebp - 0x21c]
or ebx, 4
push ecx
mov ecx, dword [ebp - 0x228]
mov edx, eax
mov dword [ebp - 0x224], ebx
call fcn.004bca80
and ebx, 0xfffffffb
mov dword [ebp - 0x230], eax
add esp, 4
mov dword [ebp - 0x224], ebx
mov byte [ebp - 4], 0x10
mov eax, esi
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4bc882
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x230]
test ebx, ebx
jne 0x4bc89e
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x21c]
push eax
call fcn.0048f3e0
mov byte [ebp - 4], 8
mov eax, esi
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4bc8bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x240], 0x58b4bc
test eax, eax
je 0x4bc8e8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x4bc904
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005214e1
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004126a0
int3