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

Disassembly:
mov eax, 0x101e707
call fcn.0101d748
sub esp, 0x42c
mov eax, dword [0x1023da8]
and dword [ebp - 0x42c], 0
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
mov dword [ebp - 0x438], eax
jmp 0x10075bf
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x1001688
push edi
mov dword [ebp - 0x430], 1
call esi
mov ebx, eax
neg ebx
push 0x10016ac
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x100716b
test ebx, ebx
je 0x1007214
mov ecx, dword [ebp - 0x424]
push edi
call fcn.01005558
mov esi, eax
test esi, esi
jl 0x1007633
cmp dword [ebp + 0x10], 0
je 0x1007214
and dword [ebp - 0x428], 0
push 0x5c
push edi
call fcn.010054cc
test eax, eax
jne 0x10075d7
mov ecx, dword [ebp - 0x424]
push edi
call fcn.01005665
test eax, eax
je 0x10071d1
mov eax, dword [ebp - 0x434]
push edi
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x428], eax
call fcn.01005b5a
and dword [ebp - 0x428], 0
test ebx, ebx
je 0x1007209
mov ecx, dword [ebp - 0x424]
push edi
call fcn.01005558
mov esi, eax
test esi, esi
jl 0x10075e9
mov ecx, dword [ebp - 0x424]
push edi
call fcn.010056d7
lea ecx, [ebp - 0x428]
mov esi, eax
call fcn.0100513b
jmp 0x10073fb
lea ecx, [ebp - 0x428]
call fcn.0100513b
push 0x1001698
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1007240
mov ecx, dword [ebp - 0x424]
and dword [ebp - 0x430], eax
push edi
call fcn.01005558
mov esi, eax
test esi, esi
jl 0x1007633
push 0x10016c4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1007351
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x420]
push eax
call fcn.01005558
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x1007633
mov ecx, dword [ebp - 0x424]
push edi
call fcn.01005558
mov esi, eax
cmp esi, ebx
jl 0x1007633
cmp word [edi], 0x3d
jne 0x10075e2
cmp dword [ebp + 0x10], ebx
je 0x10072df
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x430], eax
push edi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x430]
push eax
mov byte [ebp - 4], 1
call fcn.01006dc0
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x430], ebx
lea ecx, [ebp - 0x430]
jl 0x100762e
mov byte [ebp - 4], bl
jmp 0x100757f
cmp dword [ebp + 0x14], ebx
jne 0x100733c
cmp dword [ebp - 0x430], ebx
je 0x100733c
push 0x20006
push ebx
push dword [ebp - 0x434]
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x428], ebx
call fcn.010051ae
cmp eax, ebx
jne 0x10075f1
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x1007331
cmp eax, 2
jne 0x10075f1
lea ecx, [ebp - 0x428]
call fcn.0100513b
mov ecx, dword [ebp - 0x424]
push edi
call fcn.010056d7
mov esi, eax
cmp esi, ebx
jmp 0x10075c9
push 0x5c
push edi
call fcn.010054cc
test eax, eax
jne 0x10075e2
cmp dword [ebp + 0x10], eax
je 0x1007408
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.010051ae
test eax, eax
je 0x10073c4
push 0x20019
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.010051ae
test eax, eax
je 0x10073c4
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.01005159
mov esi, eax
cmp esi, ebx
jne 0x10075ff
mov ecx, dword [ebp - 0x424]
push edi
call fcn.01005558
mov esi, eax
test esi, esi
jl 0x1007633
cmp word [edi], 0x3d
jne 0x1007584
mov ecx, dword [ebp - 0x424]
push edi
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.01006dc0
mov esi, eax
test esi, esi
jl 0x1007633
jmp 0x1007584
cmp dword [ebp + 0x14], 0
jne 0x1007429
push 0x20019
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.010051ae
mov ebx, eax
jmp 0x100742c
push 2
pop ebx
test ebx, ebx
je 0x1007437
mov dword [ebp + 0x14], 1
push 0x104
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, dword [ebp - 0x424]
push edi
call fcn.01005558
mov esi, eax
test esi, esi
jl 0x1007633
mov ecx, dword [ebp - 0x424]
push edi
call fcn.010056d7
mov esi, eax
test esi, esi
jl 0x1007633
cmp word [edi], 0x7b
jne 0x10074b9
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x424]
push 0
push dword [ebp - 0x42c]
push edi
call fcn.010070f2
mov esi, eax
test esi, esi
jge 0x10074a3
cmp dword [ebp + 0x14], 0
je 0x1007633
mov ecx, dword [ebp - 0x424]
push edi
call fcn.01005558
mov esi, eax
test esi, esi
jl 0x1007633
cmp ebx, 2
mov eax, dword [ebp - 0x438]
mov dword [ebp + 0x14], eax
je 0x10075cb
test ebx, ebx
je 0x10074e4
test eax, eax
jne 0x10075cb
push ebx
call fcn.01004e82
mov esi, eax
jmp 0x1007633
test eax, eax
je 0x100753b
push dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x424]
call fcn.0100569b
test eax, eax
je 0x100753b
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x218]
push eax
call fcn.01005665
test eax, eax
je 0x10075cb
cmp dword [ebp - 0x430], 0
je 0x10075cb
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x42c]
call fcn.01005b5a
jmp 0x10075cb
lea ecx, [ebp - 0x42c]
call fcn.0100513b
mov ebx, eax
test ebx, ebx
jne 0x100760d
cmp dword [ebp - 0x430], eax
je 0x10075cb
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x430], ebx
test eax, eax
jne 0x1007620
lea ecx, [ebp - 0x430]
call fcn.0100513b
cmp dword [ebp + 0x10], 0
je 0x10075cb
cmp word [edi], 0x7b
jne 0x10075cb
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10075cb
mov ecx, dword [ebp - 0x424]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x42c]
push edi
call fcn.010070f2
mov esi, eax
test esi, esi
jl 0x1007633
mov ecx, dword [ebp - 0x424]
push edi
call fcn.01005558
mov esi, eax
test esi, esi
jl 0x1007633
cmp word [edi], 0x7d
jne 0x1007138
jmp 0x1007633
lea ecx, [ebp - 0x428]
call fcn.0100513b
mov esi, 0x80020009
jmp 0x1007633
lea ecx, [ebp - 0x428]
jmp 0x100762e
push eax
call fcn.01004e82
lea ecx, [ebp - 0x428]
jmp 0x100762c
lea ecx, [ebp - 0x42c]
call fcn.0100513b
push esi
jmp 0x1007619
lea ecx, [ebp - 0x42c]
call fcn.0100513b
push ebx
call fcn.01004e82
jmp 0x1007640
push eax
call fcn.01004e82
lea ecx, [ebp - 0x430]
mov esi, eax
call fcn.0100513b
lea ecx, [ebp - 0x42c]
call fcn.0100513b
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0101d23a
leave
ret 0x10