Function at 0x10024f7b
Capabilities:
Delete registry key

Disassembly:
mov eax, 0x1006c0b9
call fcn.1006b188
sub esp, 0x48
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x14], 0xfffffff6
push edi
xor edx, edx
mov dword [ebp - 0x1c], esi
mov edi, ecx
mov dword [ebp - 0x14], edx
xor ebx, ebx
mov dword [ebp - 0x28], edi
inc ebx
jmp 0x10024fb0
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x30], edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jl 0x10024fa6
mov dword [ebp - 0x20], 0x14a1
cmp dword [ebp - 0x20], 0x588
jge 0x1002511b
lea eax, [ebp - 0x18]
push eax
push ecx
lea eax, [ebp - 0x24]
mov ecx, 0x1065d430
push eax
call fcn.1001793e
pop ecx
mov ecx, eax
call fcn.1001793e
push dword [ebp - 0x24]
lea ecx, [ebp - 0x3c]
call fcn.1001803e
and dword [ebp - 4], 0
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x24], 0
mov edi, dword [ebp - 0x3c]
jle 0x1002501f
mov esi, edi
mov edi, dword [ebp - 0x20]
push esi
mov ecx, 0x1065d430
call fcn.1001793e
inc edi
add esi, 4
cmp edi, dword [ebp - 0x24]
jl 0x10025005
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x3c]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
call fcn.1001803e
and dword [ebp - 0x20], 0
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 0
jle 0x10025057
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x20]
push edi
mov ecx, 0x1065d430
call fcn.1001793e
inc esi
add edi, 4
cmp esi, dword [ebp - 0x18]
jl 0x1002503d
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x3c]
push dword [ebp - 0x38]
push edi
call fcn.1001cb07
xor edx, edx
pop ecx
pop ecx
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x18], edx
jle 0x100250e5
mov esi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x48]
sub esi, edi
sar esi, 2
mov ecx, esi
mov byte [ebp - 0xe], 0
mov eax, edi
mov dword [ebp - 0x20], eax
test ecx, ecx
jle 0x100250b7
mov ebx, dword [ebx + edx*4]
mov eax, ecx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
lea eax, [edi + edx*4]
cmp ebx, dword [eax]
jl 0x100250a5
lea edi, [eax + 4]
or eax, 0xffffffff
sub eax, edx
add ecx, eax
jmp 0x100250a7
mov ecx, edx
test ecx, ecx
jg 0x10025089
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x20]
sub eax, edi
mov ecx, 0x1065d378
sar eax, 2
push eax
call fcn.10017d52
mov edx, 0x10008754
mov ecx, eax
call fcn.1001c710
mov edx, dword [ebp - 0x14]
inc edx
mov dword [ebp - 0x14], edx
cmp edx, dword [ebp - 0x18]
jl 0x10025077
mov esi, dword [ebp - 0x1c]
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x10025100
push eax
call fcn.1005397a
xor edx, edx
pop ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
jmp 0x10025102
xor edx, edx
test edi, edi
je 0x10025118
push edi
call fcn.1005397a
xor edx, edx
pop ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x14], edx
jmp 0x1002512a
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x30], edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jl 0x10025120
mov dword [ebp - 0x14], edx
jmp 0x10025189
mov dword [ebp - 0x20], 0x74dd0324
mov dword [ebp - 0x2c], 0x7d7c1188
mov dword [ebp - 0x20], edx
jmp 0x10025180
mov dword [ebp - 0x2c], 0x6f7fbf21
mov dword [ebp - 0x1c], edx
jmp 0x10025161
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x54], 6
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jl 0x10025153
mov byte [ebp - 0xd], dl
cmp byte [ebp - 0xd], 0
je 0x1002517a
push edx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor edx, edx
dec dword [ebp - 0x50]
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xffffffe6
je 0x10025147
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xf
jle 0x10025134
mov dword [ebp - 0x2c], 0x5d6c
mov byte [ebp - 0xd], dl
cmp byte [ebp - 0xd], 0
je 0x100251a8
push edx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
xor edx, edx
mov byte [ebp - 0xd], dl
cmp byte [ebp - 0xd], 0
je 0x100251bf
push edx
push 0x23e
call dword [sym.imp.USER32.dll_GetSystemMenu]
xor edx, edx
cmp dword [esi], edx
je 0x100251cb
mov eax, dword [esi]
mov ecx, ebx
cmp eax, dword [esi]
jne 0x100251cd
mov ecx, edx
mov eax, dword [esi]
sub ecx, eax
je 0x100251d5
mov eax, dword [esi]
mov eax, dword [esi]
xor ecx, ecx
mov eax, dword [esi]
cmp eax, 0xb0b4
setne cl
cmp ecx, dword [esi]
jg 0x100251eb
cmp dword [esi], edx
jne 0x100251ed
mov ebx, edx
mov eax, dword [esi]
xor ecx, ecx
cmp eax, ebx
mov eax, 0x90da1152
setg cl
cmp eax, ecx
mov eax, dword [edi]
pop edi
sbb ecx, ecx
inc ecx
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret