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

Disassembly:
mov eax, 0x100bf83
call fcn.0100a788
sub esp, 0x228
mov eax, dword [0x100e170]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], ebx
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x234], eax
call fcn.010029e3
jmp 0x1003d06
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x10012e4
push edi
call esi
mov ebx, eax
neg ebx
push 0x1001308
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x1003b25
test ebx, ebx
je 0x1003be2
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010029e3
mov esi, eax
test esi, esi
jl 0x1003fd9
cmp dword [ebp + 0x10], 0
je 0x1003be2
and dword [ebp - 0x21c], 0
push 0x5c
push edi
mov byte [ebp - 4], 1
call fcn.0100295b
test eax, eax
jne 0x1003fc9
mov ecx, dword [ebp - 0x220]
push edi
call fcn.01002c84
test eax, eax
je 0x1003b8f
mov eax, dword [ebp - 0x228]
push edi
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], eax
call fcn.01003849
and dword [ebp - 0x21c], 0
test ebx, ebx
je 0x1003bd3
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010029e3
mov esi, eax
test esi, esi
jl 0x1004015
mov ecx, dword [ebp - 0x220]
push edi
call fcn.01002d96
mov esi, eax
test esi, esi
lea ecx, [ebp - 0x21c]
jl 0x100401b
mov byte [ebp - 4], 0
call fcn.010024e6
jmp 0x1003f76
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0
call fcn.010024e6
push 0x10012f4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1003c0e
mov ecx, dword [ebp - 0x220]
and dword [ebp - 0x230], eax
push edi
call fcn.010029e3
mov esi, eax
test esi, esi
jl 0x1003fd9
push 0x1001320
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1003d0f
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
call fcn.010029e3
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x1003fd9
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010029e3
mov esi, eax
cmp esi, ebx
jl 0x1003fd9
cmp word [edi], 0x3d
jne 0x1003fd4
cmp dword [ebp + 0x10], ebx
je 0x1003ca5
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x21c], eax
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.01002adc
lea ecx, [ebp - 0x21c]
mov esi, eax
mov dword [ebp - 0x21c], ebx
call fcn.010024e6
cmp esi, ebx
jmp 0x1003f74
cmp dword [ebp + 0x14], ebx
jne 0x1003cfa
push 0x20006
push ebx
push dword [ebp - 0x228]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], ebx
call fcn.01002559
cmp eax, ebx
jne 0x1004007
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x1003cef
cmp eax, 2
jne 0x1004005
lea ecx, [ebp - 0x21c]
call fcn.010024e6
mov ecx, dword [ebp - 0x220]
push edi
call fcn.01002d96
mov esi, eax
cmp esi, ebx
jmp 0x1003fbb
push 0x5c
push edi
call fcn.0100295b
test eax, eax
jne 0x1003fd4
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x1003dbc
mov esi, 0xf003f
push esi
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.01002559
test eax, eax
je 0x1003d82
push 0x20019
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.01002559
test eax, eax
je 0x1003d82
xor eax, eax
push eax
push eax
push esi
push eax
push eax
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.01002504
test eax, eax
jne 0x1003fd4
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010029e3
mov esi, eax
test esi, esi
jl 0x1003fd9
cmp word [edi], 0x3d
jne 0x1003f76
mov ecx, dword [ebp - 0x220]
push edi
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.01002adc
jmp 0x1003f70
cmp dword [ebp + 0x14], esi
jne 0x1003de3
push 0x20019
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.01002559
test eax, eax
je 0x1003de3
mov dword [ebp + 0x14], 1
cmp dword [ebp - 0x22c], esi
jne 0x1003dfb
mov eax, 0x208
call fcn.0100a6d0
mov dword [ebp - 0x22c], esp
push 0x104
push edi
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x14], esi
jne 0x1003e40
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x220]
call fcn.01002cba
test eax, eax
jne 0x1003e40
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x220]
call fcn.01002cf6
test eax, eax
je 0x1003f13
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010029e3
mov esi, eax
test esi, esi
jl 0x1003fd9
mov ebx, dword [ebp - 0x220]
push edi
mov ecx, ebx
call fcn.01002d96
mov esi, eax
test esi, esi
jl 0x1003fd9
cmp word [edi], 0x7b
jne 0x1003ebf
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x224]
push edi
call fcn.01003aa0
mov esi, eax
test esi, esi
jl 0x1003fd9
cmp dword [ebp + 0x14], 0
je 0x1003ecf
mov eax, dword [ebp - 0x234]
push edi
mov ecx, ebx
mov dword [ebp + 0x14], eax
call fcn.010029e3
mov esi, eax
test esi, esi
jl 0x1003fd9
push edi
mov ecx, ebx
call fcn.01002d96
jmp 0x1003fb7
cmp dword [ebp + 0x14], 0
jne 0x1003fbd
mov ebx, dword [ebp - 0x220]
push dword [ebp - 0x224]
mov ecx, ebx
call fcn.01002cba
test eax, eax
je 0x1003f09
push dword [ebp - 0x22c]
mov ecx, ebx
call fcn.01002c84
test eax, eax
je 0x1003f02
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x224]
call fcn.01003849
mov ecx, ebx
jmp 0x1003fb1
cmp dword [ebp + 0x14], 0
jne 0x1003fbd
lea ecx, [ebp - 0x224]
call fcn.010024e6
test eax, eax
jne 0x1003fd4
cmp dword [ebp - 0x230], eax
je 0x1003f52
push dword [ebp - 0x22c]
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x21c]
call fcn.010024e6
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010029e3
mov esi, eax
test esi, esi
jl 0x1003fd9
mov ecx, dword [ebp - 0x220]
push edi
call fcn.01002d96
mov esi, eax
test esi, esi
jl 0x1003fd9
cmp dword [ebp + 0x10], 0
je 0x1003fbd
cmp word [edi], 0x7b
jne 0x1003fbd
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1003fbd
mov ecx, dword [ebp - 0x220]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x224]
push edi
call fcn.01003aa0
mov esi, eax
test esi, esi
jl 0x1003fd9
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010029e3
mov esi, eax
test esi, esi
jl 0x1003fd9
cmp word [edi], 0x7d
jne 0x1003afc
jmp 0x1003fd9
lea ecx, [ebp - 0x21c]
call fcn.010024e6
mov esi, 0x80020009
lea ecx, [ebp - 0x224]
call fcn.010024e6
mov eax, esi
lea esp, [ebp - 0x240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0100a2d1
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp eax, ebx
jle 0x1004013
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea ecx, [ebp - 0x21c]
call fcn.010024e6
jmp 0x1003fd9