Function at 0x4bb130
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5be75d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x634b28]
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, ecx
cmp dword [edi + 0x28], 0
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
je 0x4bb37a
mov eax, dword [edi]
xor esi, esi
cmp dword [edi + 0x3c], esi
cmovne esi, ecx
mov ecx, edi
mov dword [ebp - 0x28], esi
call dword [eax + 0x88]
test eax, eax
jne 0x4bb19d
push esi
push ebx
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004ba090
jmp 0x4bb4e0
mov esi, dword [ebp + 0xc]
movzx eax, si
add eax, 0xfffffffe
cmp eax, 0x63
ja case.0x4bb1b6.4
movzx eax, byte [eax + 0x4bb510]
jmp dword [eax*4 + 0x4bb500]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 4
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push dword [ebp - 0x14]
push dword [edi + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, edi
test eax, eax
jne 0x4bb1f4
lea eax, [ebp - 0x24]
push eax
push ebx
push esi
call fcn.004ba090
jmp 0x4bb4e0
push dword [ebp - 0x28]
push ebx
push esi
call fcn.004ba090
jmp 0x4bb4e0
lea ecx, [ebp - 0x24]
call fcn.00404b89
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push dword [ebp - 0x14]
push dword [edi + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4bb35d
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
shr eax, 1
push eax
call fcn.004bca10
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push dword [ebp - 0x14]
push dword [edi + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.0040f0eb
test esi, esi
jne 0x4bb35a
mov eax, dword [ebp + 0xc]
cmp ax, 0x65
jne 0x4bb2c1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], esi
push eax
push 0x5debf0
push dword [ebp - 0x24]
call fcn.0045b050
add esp, 0x10
cmp eax, 2
je 0x4bb2a2
push dword [ebp - 0x28]
push ebx
push 0x65
jmp 0x4bb362
mov ecx, dword [ebp - 0x14]
mov esi, 1
mov eax, dword [ebp - 0x18]
mov dword [ebx + 4], ecx
lea ecx, [ebp - 0x24]
mov dword [ebx], eax
call fcn.00404c27
mov eax, esi
jmp 0x4bb4e0
cmp ax, 0x64
jne 0x4bb33b
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0
push eax
push 0x5dec00
push dword [ebp - 0x24]
call fcn.0045b050
add esp, 0x18
cmp eax, 4
je 0x4bb310
push dword [ebp - 0x28]
push ebx
push 0x64
jmp 0x4bb362
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov dword [ebx], eax
mov esi, 1
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0xc], eax
call fcn.00404c27
mov eax, esi
jmp 0x4bb4e0
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00471d00
lea ecx, [ebp - 0x24]
mov esi, 1
call fcn.00404c27
mov eax, esi
jmp 0x4bb4e0
mov esi, dword [ebp + 0xc]
push dword [ebp - 0x28]
push ebx
push esi
mov ecx, edi
call fcn.004ba090
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00404c27
mov eax, esi
jmp 0x4bb4e0
xor eax, eax
cmp dword [edi + 0x40], eax
cmovne eax, ecx
mov ecx, edi
mov dword [ebp - 0x30], eax
mov eax, dword [edi]
call dword [eax + 0x88]
test eax, eax
jne 0x4bb39a
xor eax, eax
jmp 0x4bb4e0
push dword [ebp - 0x30]
mov ecx, edi
push ebx
push dword [ebp + 0xc]
call fcn.004bcee0
test eax, eax
je 0x4bb3cb
mov eax, dword [edi + 0x44]
test eax, eax
je 0x4bb3c1
cmp dword [edi + 0x34], 0
jne 0x4bb3c1
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, 1
jmp 0x4bb4e0
mov edx, dword [ebp + 0xc]
or ecx, 0xffffffff
movzx eax, dx
add eax, 0xfffffffe
cmp eax, 0x63
ja case.0x4bb3e7.6
movzx eax, byte [eax + 0x4bb58c]
jmp dword [eax*4 + 0x4bb574]
push ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push edx
mov ecx, edi
call fcn.004ba090
push 4
lea eax, [ebp - 0x2c]
push eax
push 4
push 0
push esi
push dword [edi + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
jmp case.0x4bb3e7.6
mov ecx, dword [ebx]
mov eax, dword [ecx - 0xc]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push esi
push dword [edi + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
jmp case.0x4bb3e7.6
push edx
mov ecx, edi
call fcn.004bcdd0
push eax
push ebx
push 3
push 0
push esi
push dword [edi + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
jmp case.0x4bb3e7.6
lea ecx, [ebp - 0x14]
call fcn.00404b89
push dword [ebx + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push dword [ebx]
push 0x5debf0
push eax
call fcn.00404f83
add esp, 0x10
jmp 0x4bb4ae
lea ecx, [ebp - 0x14]
call fcn.00404b89
push dword [ebx + 0xc]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebx]
push 0x5dec00
push eax
call fcn.00404f83
add esp, 0x18
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push 0
push esi
push dword [edi + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], eax
call fcn.00404c27
mov ecx, dword [ebp - 0x28]
xor eax, eax
test ecx, ecx
sete al
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.0057b6ac
mov esp, ebp
pop ebp
ret 0x10