Function at 0x4883e6
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push 0x38
mov eax, 0x50bb04
call fcn.004d0de3
mov dword [ebp - 0x34], edx
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], eax
call fcn.0040d264
xor ebx, ebx
lea edx, [ebp - 0x44]
inc ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00472110
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call fcn.0040ca45
cmp dword [ebp - 0x40], 2
je 0x488436
xor bl, bl
jmp 0x488687
push 0
lea ecx, [ebp - 0x44]
call fcn.00411cd0
push eax
lea ecx, [ebp - 0x30]
call fcn.004069f3
mov byte [ebp - 4], 2
push str._cmdloc
push dword [ebp - 0x30]
call fcn.004d87a0
pop ecx
pop ecx
test eax, eax
je 0x488467
xor bl, bl
jmp 0x48867b
push ebx
lea ecx, [ebp - 0x44]
call fcn.00411cd0
push eax
lea ecx, [ebp - 0x14]
call fcn.004069f3
mov byte [ebp - 4], 3
push 0x5c
push dword [ebp - 0x14]
call fcn.004d3e4b
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x48866d
sub esi, dword [ebp - 0x14]
sar esi, 1
cmp esi, 0xffffffff
je 0x48866d
push esi
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040684b
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0040c77f
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.0040c77f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00495273
push 0
mov edi, eax
lea ecx, [ebp - 0x1c]
push 0x5c
mov dword [ebp - 0x38], edi
call fcn.004509f0
inc eax
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00406713
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 7
push eax
push 0xf003f
push 0
push dword [ebp - 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x488537
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push dword [ebp - 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x488537
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.0040ca45
jmp 0x4885b4
push 0x5c
push dword [ebp - 0x10]
call fcn.004d3e4b
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x48854e
or edi, 0xffffffff
jmp 0x488553
sub edi, dword [ebp - 0x10]
sar edi, 1
push edi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040666a
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.0044d0c3
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.0040ca45
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00406713
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.0044d0c3
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.0040ca45
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.0040ca45
cmp dword [ebp - 0x18], 0
jne 0x4885bb
xor bl, bl
jmp 0x488647
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.00406713
push dword [ebp - 0x34]
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
call fcn.00493f16
pop ecx
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x48863b
lea eax, [ebp - 0x2c]
push eax
push 0xf003f
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48863b
xor ecx, ecx
lea eax, [ebp - 0x10]
push ecx
push ecx
push ecx
push ecx
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [ebp - 0x2c]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x48863b
cmp dword [ebp - 0x10], 0
jne 0x48863b
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0040ca45
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.0040ca45
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0040ca45
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0040ca45
jmp 0x48866f
xor bl, bl
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040ca45
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.0040ca45
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0045265f
mov al, bl
call fcn.004d0dac
ret