Function at 0x4bffb0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b5d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x5ac020]
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 edi, edx
mov esi, ecx
push 0
push 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
call fcn.00454a50
mov ebx, eax
mov dword [ebp - 0x240], ebx
mov dword [ebp - 4], 2
lea eax, [ebp - 0x230]
mov dword [ebp - 0x248], eax
xor eax, eax
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], ax
mov byte [ebp - 4], 3
mov dword [ebp - method.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.virtual_0], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x230]
push edi
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], eax
call fcn.004022e0
lea eax, [ebp - 0x238]
push eax
push dword [ebx + 4]
push ebx
call fcn.004c0550
mov edi, 1
mov dword [ebp - 0x23c], edi
mov dword [ebx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov edi, edi
mov eax, dword [ebx + 4]
cmp dword [eax + 0xc], 0
jne 0x4c0181
cmp dword [eax + 0x28], 8
lea edx, [eax + 0x14]
jb 0x4c00b8
mov edx, dword [edx]
lea ecx, [eax + 0xc]
push ecx
push edx
push dword [eax + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, eax
cmp esi, 2
je 0x4c0103
cmp esi, 0x3fa
je 0x4c0103
test esi, esi
je 0x4c0181
lea eax, [ebp - 0x254]
push dword [ebx + 4]
lea ecx, [ebp - 0x240]
push eax
call fcn.004c03f0
mov ebx, dword [ebp - 0x240]
mov eax, dword [ebx + 4]
inc dword [eax + 0x2c]
jmp 0x4c025a
mov edx, dword [ebx + 4]
dec edi
mov dword [ebp - 0x248], edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ebp - 0x23c], edi
mov dword [ecx + 4], eax
lea eax, [edx + 8]
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 5
add eax, 8
mov dword [ebp - 0x244], eax
mov dword [eax], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], 8
jb 0x4c015f
push dword [eax + 4]
call fcn.0051d3d0
mov eax, dword [ebp - 0x244]
add esp, 4
mov edx, dword [ebp - 0x248]
xor ecx, ecx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], 0
push edx
mov word [eax + 4], cx
call fcn.0051d3d0
add esp, 4
jmp 0x4c0260
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x210]
push 0x100
push ecx
push dword [eax + 0x2c]
push dword [eax + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
test esi, esi
jne 0x4c01fd
mov dword [ebp - 0x214], eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x234], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x210]
push eax
call fcn.004022e0
lea eax, [ebp - 0x238]
push eax
push dword [ebx + 4]
push ebx
call fcn.004c0550
mov ecx, 0x5555554
sub ecx, edi
cmp ecx, 1
jb 0x4c02ff
inc edi
mov dword [ebp - 0x23c], edi
mov dword [ebx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
jmp 0x4c0260
mov eax, dword [ebx + 4]
push dword [eax + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebx + 4]
cmp dword [eax + 0x28], 8
lea ecx, [eax + 0x14]
jb 0x4c0217
mov ecx, dword [ecx]
push ecx
push dword [eax + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
test esi, esi
je 0x4c023f
cmp esi, 2
je 0x4c023f
cmp esi, 0x3fa
je 0x4c023f
lea eax, [ebp - 0x250]
jmp 0x4c00e3
push dword [ebx + 4]
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x240]
call fcn.004c03f0
mov ebx, dword [ebp - 0x240]
mov edi, dword [ebp - 0x23c]
test edi, edi
jne 0x4c00a0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x230]
mov dword [ebp - 0x24c], eax
mov dword [ebp - method.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.virtual_0], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x218], 8
jb 0x4c029d
push dword [ebp - 0x22c]
call fcn.0051d3d0
add esp, 4
xor eax, eax
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], ax
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x240]
call fcn.004c04a0
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x240]
call fcn.0051d3d0
add esp, 4
mov eax, esi
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.004ffcef
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.004ffb4f
int3