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

Disassembly:
push 0x38
mov eax, 0x50695d
call fcn.004cc273
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.00409a3c
xor ebx, ebx
lea edx, [ebp - 0x44]
inc ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00470bc0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call fcn.004068bc
cmp dword [ebp - 0x40], 2
je 0x4826e5
xor bl, bl
jmp 0x482934
push 0
lea ecx, [ebp - 0x44]
call fcn.00406510
push eax
lea ecx, [ebp - 0x30]
call fcn.00407175
push str._cmdloc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00447dcd
test eax, eax
je 0x482714
xor bl, bl
jmp 0x482928
push ebx
lea ecx, [ebp - 0x44]
call fcn.00406510
push eax
lea ecx, [ebp - 0x14]
call fcn.00407175
mov byte [ebp - 4], 3
push 0x5c
push dword [ebp - 0x14]
call fcn.004cf115
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x48291a
sub esi, dword [ebp - 0x14]
sar esi, 1
cmp esi, 0xffffffff
je 0x48291a
push esi
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00447d38
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00406bcb
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00406bcb
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0048f222
push 0
mov edi, eax
lea ecx, [ebp - 0x1c]
push 0x5c
mov dword [ebp - 0x38], edi
call fcn.00452be1
inc eax
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00447b6f
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 0x4827e4
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 0x4827e4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.004068bc
jmp 0x482861
push 0x5c
push dword [ebp - 0x10]
call fcn.004cf115
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x4827fb
or edi, 0xffffffff
jmp 0x482800
sub edi, dword [ebp - 0x10]
sar edi, 1
push edi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00447ac6
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00446083
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.004068bc
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00447b6f
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.00446083
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.004068bc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.004068bc
cmp dword [ebp - 0x18], 0
jne 0x482868
xor bl, bl
jmp 0x4828f4
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.00447b6f
push dword [ebp - 0x34]
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
call fcn.0048df09
pop ecx
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x4828e8
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 0x4828e8
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 0x4828e8
cmp dword [ebp - 0x10], 0
jne 0x4828e8
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.004068bc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.004068bc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004068bc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.004068bc
jmp 0x48291c
xor bl, bl
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004068bc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.004068bc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00454743
mov al, bl
call fcn.004cc23c
ret