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

Disassembly:
mov eax, 0x1009a50
call fcn.010043c0
mov eax, 0x211c
call fcn.01003f40
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1128]
mov dword [ebp - 0x20], 1
push eax
call fcn.01001a2b
mov esi, eax
cmp esi, ebx
jl 0x10022a1
cmp byte [ebp - 0x1128], 0x7d
je 0x10022a1
push dword [0x1001224]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [ebp - 0x1128]
push eax
call esi
push dword [0x100121c]
mov edi, eax
neg edi
lea eax, [ebp - 0x1128]
sbb edi, edi
push eax
inc edi
call esi
test eax, eax
je 0x1001e31
cmp edi, ebx
je 0x1001ee1
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
call fcn.01001a2b
mov esi, eax
cmp esi, ebx
jl 0x10022a1
cmp dword [ebp + 0xc], ebx
je 0x1001ee1
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x1128]
push 0x5c
push eax
mov byte [ebp - 4], 1
call fcn.010022c0
test eax, eax
jne 0x100225f
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
call fcn.01001c8f
test eax, eax
je 0x1001e9b
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1128]
push eax
call fcn.01002d83
mov dword [ebp - 0x18], ebx
cmp edi, ebx
je 0x1001ed6
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
call fcn.01001a2b
mov esi, eax
cmp esi, ebx
jl 0x100226e
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
call fcn.01001d58
mov esi, eax
mov byte [ebp - 4], bl
cmp esi, ebx
lea ecx, [ebp - 0x18]
jmp 0x1001fa5
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.01002ca5
push dword [0x1001220]
lea eax, [ebp - 0x1128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1001f14
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
mov dword [ebp - 0x20], ebx
call fcn.01001a2b
mov esi, eax
cmp esi, ebx
jl 0x10022a1
push dword [0x1001218]
lea eax, [ebp - 0x1128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1001fd3
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x128]
push eax
call fcn.01001a2b
mov esi, eax
cmp esi, ebx
jl 0x10022a1
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
mov ecx, edi
call fcn.01001a2b
mov esi, eax
cmp esi, ebx
jl 0x10022a1
cmp byte [ebp - 0x1128], 0x3d
jne 0x100227b
cmp dword [ebp + 0xc], ebx
je 0x1001fb5
mov eax, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1128]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 2
call fcn.01001b1e
mov esi, eax
mov dword [ebp - 0x1c], ebx
cmp esi, ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
jl 0x1002274
call fcn.01002ca5
jmp 0x1002225
cmp dword [ebp + 0x10], ebx
jne 0x1002166
lea eax, [ebp - 0x128]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x1002166
lea eax, [ebp - 0x1128]
push 0x5c
push eax
call fcn.010022c0
test eax, eax
jne 0x1002284
cmp dword [ebp + 0xc], ebx
je 0x1002087
mov esi, 0xf003f
lea eax, [ebp - 0x1128]
push esi
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.01002d0a
cmp eax, ebx
je 0x1002048
lea eax, [ebp - 0x1128]
push 0x20019
push eax
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.01002d0a
cmp eax, ebx
je 0x1002048
push ebx
push ebx
push esi
push ebx
lea eax, [ebp - 0x1128]
push ebx
push eax
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.01002cbc
cmp eax, ebx
jne 0x100228b
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
call fcn.01001a2b
mov esi, eax
cmp esi, ebx
jl 0x10022a1
cmp byte [ebp - 0x1128], 0x3d
jne 0x1002225
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.01001b1e
jmp 0x100221f
cmp dword [ebp + 0x10], ebx
jne 0x10020ae
lea eax, [ebp - 0x1128]
push 0xf003f
push eax
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.01002d0a
test eax, eax
je 0x10020ae
mov dword [ebp + 0x10], 1
lea eax, [ebp - 0x1128]
push 0x104
push eax
lea eax, [ebp - 0x2128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp dword [ebp + 0x10], ebx
jne 0x10020ee
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
call fcn.01001cbe
test eax, eax
jne 0x10020ee
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
call fcn.01001cf3
test eax, eax
je 0x10021c8
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
call fcn.01001a2b
mov esi, eax
cmp esi, ebx
jl 0x10022a1
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
mov ecx, edi
call fcn.01001d58
mov esi, eax
cmp esi, ebx
jl 0x10022a1
cmp byte [ebp - 0x1128], 0x7b
jne 0x1002179
push dword [ebp + 0x10]
mov ecx, edi
push ebx
push dword [ebp - 0x14]
call fcn.01001da8
mov esi, eax
cmp esi, ebx
jl 0x10022a1
cmp dword [ebp + 0x10], ebx
je 0x1002182
mov eax, dword [ebp - 0x24]
mov ecx, edi
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x1128]
push eax
call fcn.01001a2b
mov esi, eax
cmp esi, ebx
jl 0x10022a1
lea eax, [ebp - 0x1128]
mov ecx, edi
push eax
call fcn.01001d58
jmp 0x1001de3
cmp dword [ebp + 0x10], ebx
jne 0x1001ded
push dword [ebp - 0x14]
mov ecx, edi
call fcn.01001cbe
test eax, eax
je 0x10021bf
lea eax, [ebp - 0x2128]
mov ecx, edi
push eax
call fcn.01001c8f
test eax, eax
je 0x10021b1
lea eax, [ebp - 0x2128]
lea ecx, [ebp - 0x14]
push eax
call fcn.01002d83
lea eax, [ebp - 0x1128]
mov ecx, edi
push eax
jmp 0x1001dde
cmp dword [ebp + 0x10], ebx
jne 0x1001ded
cmp dword [ebp + 0x10], ebx
jne 0x10021f7
lea ecx, [ebp - 0x14]
call fcn.01002ca5
test eax, eax
jne 0x1002292
cmp dword [ebp + 0x10], ebx
jne 0x10021f7
cmp dword [ebp - 0x20], ebx
je 0x10021f7
lea eax, [ebp - 0x2128]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
call fcn.01001a2b
mov esi, eax
cmp esi, ebx
jl 0x10022a1
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
call fcn.01001d58
mov esi, eax
cmp esi, ebx
jl 0x10022a1
cmp dword [ebp + 0xc], ebx
je 0x1001ded
cmp byte [ebp - 0x1128], 0x7b
jne 0x1001ded
mov ecx, dword [ebp - 0x10]
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.01001da8
mov esi, eax
cmp esi, ebx
jl 0x10022a1
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
jmp 0x1001dde
mov ecx, dword [ebp - 0x10]
push 0x211
call fcn.010019b0
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.01002ca5
jmp 0x10022a1
push 0x206
mov ecx, edi
jmp 0x100229a
push 0x211
jmp 0x1002297
push 0x207
jmp 0x1002297
push 0x20a
mov ecx, dword [ebp - 0x10]
call fcn.010019b0
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.01002ca5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc