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

Disassembly:
push 0x40
mov eax, 0x517476
call fcn.004db273
mov dword [ebp - 0x3c], edx
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], eax
call fcn.0040d859
xor ebx, ebx
lea edx, [ebp - 0x4c]
inc ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.004765a0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call fcn.0040d05a
cmp dword [ebp - 0x48], 2
je 0x48ce8f
xor bl, bl
jmp 0x48d159
push 0
lea ecx, [ebp - 0x4c]
call fcn.004124b0
push eax
lea ecx, [ebp - 0x30]
call fcn.00406ff4
mov byte [ebp - 4], 2
push str._cmdloc
push dword [ebp - 0x30]
call fcn.004e32f5
pop ecx
pop ecx
test eax, eax
je 0x48cec0
xor bl, bl
jmp 0x48d14d
push ebx
lea ecx, [ebp - 0x4c]
call fcn.004124b0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406ff4
mov byte [ebp - 4], 3
push 0x5c
push dword [ebp - 0x1c]
call fcn.004de987
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x48d13f
sub edi, dword [ebp - 0x1c]
sar edi, 1
cmp edi, 0xffffffff
je 0x48d13f
push edi
push 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406e37
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0040cd94
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0040cd94
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.0049c26e
push 0
mov esi, eax
lea ecx, [ebp - 0x24]
push 0x5c
mov dword [ebp - 0x40], esi
call fcn.004772f0
inc eax
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00406cff
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push eax
push 0xf003f
push 0
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x48cf93
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x48cf93
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.0040d05a
jmp 0x48d086
push 0x5c
push dword [ebp - 0x10]
call fcn.004de987
pop ecx
pop ecx
test eax, eax
jne 0x48cfa8
or eax, 0xffffffff
jmp 0x48cfad
sub eax, dword [ebp - 0x10]
sar eax, 1
push eax
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x38]
push eax
call fcn.00406c2e
mov byte [ebp - 4], 8
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [ebp - 0x34], ecx
lea esi, [edx - 0x10]
cmp esi, ecx
je 0x48d004
cmp dword [ecx + 0xc], 0
jl 0x48cff8
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x48cff8
mov ecx, esi
call fcn.00406f9b
mov ecx, dword [ebp - 0x34]
mov esi, eax
call fcn.0040d570
lea eax, [esi + 0x10]
mov dword [ebp - 0x18], eax
jmp 0x48d004
push dword [edx - 0xc]
lea ecx, [ebp - 0x18]
push edx
call fcn.0040d7d9
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.0040d05a
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x10]
inc eax
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00406cff
mov byte [ebp - 4], 9
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov dword [ebp - 0x38], ecx
lea esi, [edx - 0x10]
cmp esi, ecx
je 0x48d068
cmp dword [ecx + 0xc], 0
jl 0x48d05c
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x48d05c
mov ecx, esi
call fcn.00406f9b
mov ecx, dword [ebp - 0x38]
mov esi, eax
call fcn.0040d570
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], eax
jmp 0x48d068
push dword [edx - 0xc]
lea ecx, [ebp - 0x14]
push edx
call fcn.0040d7d9
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.0040d05a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.0040d05a
cmp dword [ebp - 0x20], 0
jne 0x48d08d
xor bl, bl
jmp 0x48d119
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406cff
push dword [ebp - 0x3c]
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
call fcn.0049ad8b
pop ecx
push dword [ebp - 0x28]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x48d10d
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48d10d
xor ecx, ecx
lea eax, [ebp - 0x2c]
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 - 0x10]
mov dword [ebp - 0x2c], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x48d10d
cmp dword [ebp - 0x2c], 0
jne 0x48d10d
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.0040d05a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0040d05a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0040d05a
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0040d05a
jmp 0x48d141
xor bl, bl
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0040d05a
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.0040d05a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00455f07
mov al, bl
call fcn.004db23c
ret