Function at 0x61024088
Capabilities:
Delete registry key

Disassembly:
push 0x2c
mov eax, 0x610406bb
call fcn.6102b2d6
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], 5
mov dword [edi], ebx
jne 0x61024165
lea ecx, [ebp - 0x38]
call fcn.6100d565
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
lea ecx, [ebp - 0x38]
call fcn.61015b13
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.61021b70
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call fcn.6101b29e
test eax, eax
jne 0x61024125
push dword [ebp + 0xc]
push 0x61007388
push 3
call fcn.6101b566
add esp, 0xc
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x61024101
mov ecx, esi
call fcn.6100d0cb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x38]
call fcn.6100d5a3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.6100d793
mov eax, 0x643
call fcn.6102b3c2
ret 8
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
mov dword [ebp - 0x14], ebx
call fcn.6101aea0
cmp dword [ebp - 0x14], ebx
je 0x61024143
mov dword [edi], 1
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x61024155
mov ecx, esi
call fcn.6100d0cb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x38]
call fcn.6100d5a3
jmp 0x610241fa
cmp dword [ebp + 8], 9
jne 0x61024299
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.61021b70
mov esi, dword [ebp - 0x10]
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.6101a933
test eax, eax
jne 0x610241cb
push dword [ebp + 0xc]
push 0x610072c0
push 3
call fcn.6101b566
add esp, 0xc
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x610241b3
mov ecx, esi
call fcn.6100d0cb
mov dword [ebp - 0x10], ebx
mov ebx, 0x643
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.6100d793
mov eax, ebx
jmp 0x6102411d
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
mov dword [ebp - 0x18], ebx
call fcn.6101a40e
cmp dword [ebp - 0x18], ebx
je 0x610241e9
mov dword [edi], 1
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x610241fa
mov ecx, esi
call fcn.6100d0cb
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x10]
call fcn.6100d83e
mov byte [ebp - 4], 4
push 0x61005fe0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
call fcn.6100dfda
mov byte [ebp - 4], 5
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.6101836c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.6100d793
lea eax, [ebp - 0x14]
push eax
push 0x2001f
push ebx
push dword [ebp - 0x10]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x61024263
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.6100d793
jmp 0x610241b8
push 0x610072b4
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebx
je 0x61024285
cmp eax, 2
je 0x61024285
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x61024253
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.6100d793
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 0x1c], ebx
call fcn.6100d869
mov byte [ebp - 4], 6
mov byte [ebp - 4], bl
call fcn.6102199c
cmp eax, ebx
jne 0x610242db
cmp dword [ebp + 8], 5
je 0x610241b8
cmp dword [ebp + 8], 9
jne 0x610241b3
jmp 0x610241b8
cmp dword [ebp - 0x1c], ebx
je 0x610241b8
mov dword [edi], 1
jmp 0x610241b8