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

Disassembly:
push 0x38
mov eax, 0x5090e9
call fcn.004cea03
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.00409ea5
xor ebx, ebx
lea edx, [ebp - 0x44]
inc ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00470ed0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call fcn.004068c3
cmp dword [ebp - 0x40], 2
je 0x482ed5
xor bl, bl
jmp 0x483124
push 0
lea ecx, [ebp - 0x44]
call fcn.00406560
push eax
lea ecx, [ebp - 0x30]
call fcn.004071c5
push str._cmdloc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0044808a
test eax, eax
je 0x482f04
xor bl, bl
jmp 0x483118
push ebx
lea ecx, [ebp - 0x44]
call fcn.00406560
push eax
lea ecx, [ebp - 0x14]
call fcn.004071c5
mov byte [ebp - 4], 3
push 0x5c
push dword [ebp - 0x14]
call fcn.004d18c5
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x48310a
sub esi, dword [ebp - 0x14]
sar esi, 1
cmp esi, 0xffffffff
je 0x48310a
push esi
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00447ff5
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00406bd2
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00406bd2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0048fd4e
push 0
mov edi, eax
lea ecx, [ebp - 0x1c]
push 0x5c
mov dword [ebp - 0x38], edi
call fcn.00452f19
inc eax
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00447e2c
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 0x482fd4
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 0x482fd4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.004068c3
jmp 0x483051
push 0x5c
push dword [ebp - 0x10]
call fcn.004d18c5
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x482feb
or edi, 0xffffffff
jmp 0x482ff0
sub edi, dword [ebp - 0x10]
sar edi, 1
push edi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00447d83
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00446330
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.004068c3
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00447e2c
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.00446330
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.004068c3
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.004068c3
cmp dword [ebp - 0x18], 0
jne 0x483058
xor bl, bl
jmp 0x4830e4
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.00447e2c
push dword [ebp - 0x34]
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
call fcn.0048eab6
pop ecx
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x4830d8
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 0x4830d8
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 0x4830d8
cmp dword [ebp - 0x10], 0
jne 0x4830d8
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.004068c3
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.004068c3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004068c3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.004068c3
jmp 0x48310c
xor bl, bl
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004068c3
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.004068c3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00454aaf
mov al, bl
call fcn.004ce9cc
ret