Function at 0x4b7ef0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d4e0
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x5cf024]
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 - 0x228], ecx
mov dword [ebp - 0x220], 0
mov ecx, dword [ecx]
sub ecx, 0x10
mov dword [ebp - 0x234], eax
call fcn.00408ad0
add eax, 0x10
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 1
mov bl, byte [ebp + 0xc]
test bl, bl
je 0x4b7f82
push 0x5c
push dword [ebp - 0x224]
call fcn.0051f59b
mov edi, eax
add esp, 8
mov eax, dword [ebp - 0x224]
test edi, edi
jne 0x4b7f7c
or edi, 0xffffffff
jmp 0x4b7f8b
sub edi, eax
sar edi, 1
jmp 0x4b7f8b
mov eax, dword [ebp - 0x224]
mov edi, dword [eax - 0xc]
test bl, bl
je 0x4b7fbb
push edi
push 0
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040d3e0
mov byte [ebp - 4], 2
mov ebx, 1
mov dword [ebp - 0x220], ebx
mov esi, dword [ebp - 0x21c]
jmp 0x4b7feb
lea ecx, [eax - 0x10]
call fcn.00408ad0
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 - 0x220], ebx
mov dl, byte [ebp + 0x10]
mov ecx, eax
call fcn.004b8cd0
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x23c], 0x58c598
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 6
test bl, 2
je 0x4b8040
and ebx, 0xfffffffd
mov dword [ebp - 0x220], 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 0x4b8043
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4b8043
or esi, 0xffffffff
mov byte [ebp - 4], 8
test bl, 1
je 0x4b8076
and ebx, 0xfffffffe
mov dword [ebp - 0x220], ebx
mov byte [ebp - 4], 8
mov eax, esi
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b8076
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x22c], 0
jne 0x4b808c
mov edi, 1
or esi, 0xffffffff
jmp 0x4b826c
cmp byte [ebp + 0xc], 0
jne 0x4b81a6
mov ebx, dword [ebp - 0x22c]
lea eax, [ebp - 0x21c]
xor esi, esi
mov dword [ebp - 0x21c], 0x104
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4b819c
or edi, 0xffffffff
nop dword [eax]
call fcn.004092a0
test eax, eax
je 0x4b82d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x218]
test eax, 0xffff0000
jne 0x4b810f
movzx eax, ax
lea ecx, [ebp - 0x228]
push eax
call fcn.00415230
jmp 0x4b8134
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8112
sub eax, edx
lea ecx, [ebp - 0x228]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00408e30
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x228]
mov ecx, dword [ebp - 0x234]
push eax
call fcn.0048e870
inc esi
mov byte [ebp - 4], 8
mov eax, edi
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b816c
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 - 0x21c]
mov dword [ebp - 0x21c], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4b80d0
xor edi, edi
or esi, 0xffffffff
jmp 0x4b826c
call fcn.004092a0
mov ecx, eax
test ecx, ecx
je 0x4b82d7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0xe
lea edx, [edi + 1]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x228]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
sub eax, edx
push eax
push edx
lea eax, [ebp - 0x230]
push eax
call fcn.0040d3e0
lea ecx, [ebp - 0x21c]
or ebx, 4
push ecx
mov ecx, dword [ebp - 0x22c]
mov edx, eax
mov dword [ebp - 0x220], ebx
call fcn.004b8440
and ebx, 0xfffffffb
add esp, 4
mov edi, eax
mov dword [ebp - 0x220], ebx
mov byte [ebp - 4], 0xe
mov eax, esi
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b8235
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x4b824b
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x21c]
push eax
call fcn.0048e870
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 0x4b826c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x23c], 0x58c598
test eax, eax
je 0x4b8295
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x238], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4b82b7
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.0051dacc
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00408f80
int3