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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019341
mov eax, dword fs:[0]
push eax
mov eax, 0x2224
call fcn.010041dc
mov eax, dword [0x101d004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
and dword [ebp - 0x2224], 0
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 0x222c], eax
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
mov dword [ebp - 0x2230], eax
jmp 0x100ccd0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x100cd6c
push edi
mov dword [ebp - 0x2228], 1
call esi
mov ebx, eax
neg ebx
push 0x100cd90
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x100c847
test ebx, ebx
je 0x100c8f8
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100b981
mov esi, eax
test esi, esi
jl 0x100cd43
cmp dword [ebp + 0x10], 0
je 0x100c8f8
and dword [ebp - 0x2220], 0
push 0x5c
push edi
call fcn.0100b8f5
test eax, eax
jne 0x100cce7
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100ba8b
test eax, eax
je 0x100c8ad
mov eax, dword [ebp - 0x222c]
push edi
lea ecx, [ebp - 0x2220]
mov dword [ebp - 0x2220], eax
call fcn.0100bccc
and dword [ebp - 0x2220], 0
test ebx, ebx
je 0x100c8ed
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100b981
mov esi, eax
test esi, esi
jl 0x100ccf9
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100bb2d
lea ecx, [ebp - 0x2220]
mov esi, eax
call fcn.0100b4c4
test esi, esi
jge 0x100cc95
jmp 0x100cd43
lea ecx, [ebp - 0x2220]
call fcn.0100b4c4
push 0x100cd7c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100c924
mov ecx, dword [ebp - 0x221c]
and dword [ebp - 0x2228], eax
push edi
call fcn.0100b981
mov esi, eax
test esi, esi
jl 0x100cd43
push 0x100cda8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100ca35
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.0100b981
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x100cd43
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100b981
mov esi, eax
cmp esi, ebx
jl 0x100cd43
cmp word [edi], 0x3d
jne 0x100ccf2
cmp dword [ebp + 0x10], ebx
je 0x100c9c3
mov eax, dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x221c]
mov dword [ebp - 0x2228], eax
push edi
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x2228]
push eax
mov byte [ebp - 4], 1
call fcn.0100c45c
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x2228], ebx
lea ecx, [ebp - 0x2228]
jl 0x100cd3e
mov byte [ebp - 4], bl
jmp 0x100cc90
cmp dword [ebp + 0x14], ebx
jne 0x100ca20
cmp dword [ebp - 0x2228], ebx
je 0x100ca20
push 0x20006
push ebx
push dword [ebp - 0x222c]
lea ecx, [ebp - 0x2220]
mov dword [ebp - 0x2220], ebx
call fcn.0100b537
cmp eax, ebx
jne 0x100cd01
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x100ca15
cmp eax, 2
jne 0x100cd01
lea ecx, [ebp - 0x2220]
call fcn.0100b4c4
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100bb2d
mov esi, eax
cmp esi, ebx
jmp 0x100ccda
push 0x5c
push edi
call fcn.0100b8f5
test eax, eax
jne 0x100ccf2
cmp dword [ebp + 0x10], eax
je 0x100cae4
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x222c]
lea ecx, [ebp - 0x2224]
call fcn.0100b537
test eax, eax
je 0x100caa8
push 0x20019
push edi
push dword [ebp - 0x222c]
lea ecx, [ebp - 0x2224]
call fcn.0100b537
test eax, eax
je 0x100caa8
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x222c]
lea ecx, [ebp - 0x2224]
call fcn.0100b4e2
mov esi, eax
cmp esi, ebx
jne 0x100cd0f
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100b981
mov esi, eax
test esi, esi
jl 0x100cd43
cmp word [edi], 0x3d
jne 0x100cc95
mov ecx, dword [ebp - 0x221c]
push edi
push 0
lea eax, [ebp - 0x2224]
push eax
call fcn.0100c45c
mov esi, eax
jmp 0x100c8e0
cmp dword [ebp + 0x14], 0
jne 0x100cb05
push 0x20019
push edi
push dword [ebp - 0x222c]
lea ecx, [ebp - 0x2224]
call fcn.0100b537
mov ebx, eax
jmp 0x100cb08
push 2
pop ebx
test ebx, ebx
je 0x100cb13
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call sub.msvcrt.dll_wcsncpy_s
add esp, 0x10
push eax
call fcn.010097b8
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100b981
mov esi, eax
test esi, esi
jl 0x100cd43
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100bb2d
mov esi, eax
test esi, esi
jl 0x100cd43
cmp word [edi], 0x7b
jne 0x100cbab
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100cbab
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp - 0x2224]
push edi
call fcn.0100c7b5
mov esi, eax
test esi, esi
jge 0x100cb95
cmp dword [ebp + 0x14], 0
je 0x100cd43
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100b981
mov esi, eax
test esi, esi
jl 0x100cd43
cmp ebx, 2
mov eax, dword [ebp - 0x2230]
mov dword [ebp + 0x14], eax
je 0x100ccdc
test ebx, ebx
je 0x100cbd6
test eax, eax
jne 0x100ccdc
push ebx
call fcn.0100b3ad
mov esi, eax
jmp 0x100cd43
test eax, eax
je 0x100cc2d
push dword [ebp - 0x2224]
mov ecx, dword [ebp - 0x221c]
call fcn.0100baf1
test eax, eax
je 0x100cc2d
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x218]
push eax
call fcn.0100ba8b
test eax, eax
je 0x100ccdc
cmp dword [ebp - 0x2228], 0
je 0x100ccdc
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2224]
call fcn.0100bccc
jmp 0x100ccdc
push dword [ebp - 0x2224]
mov ecx, dword [ebp - 0x221c]
call fcn.0100baf1
lea ecx, [ebp - 0x2224]
mov dword [ebp - 0x2220], eax
call fcn.0100b4c4
mov ebx, eax
test ebx, ebx
jne 0x100cd22
cmp dword [ebp - 0x2228], eax
je 0x100ccdc
cmp dword [ebp - 0x2220], eax
jne 0x100ccdc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x222c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x2228], ebx
test eax, eax
jne 0x100cd30
lea ecx, [ebp - 0x2228]
call fcn.0100b4c4
cmp dword [ebp + 0x10], 0
je 0x100ccdc
cmp word [edi], 0x7b
jne 0x100ccdc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100ccdc
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x2224]
push edi
call fcn.0100c7b5
mov esi, eax
test esi, esi
jl 0x100cd43
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100b981
mov esi, eax
test esi, esi
jl 0x100cd43
cmp word [edi], 0x7d
je 0x100cd43
jmp 0x100c814
lea ecx, [ebp - 0x2220]
call fcn.0100b4c4
mov esi, 0x80020009
jmp 0x100cd43
lea ecx, [ebp - 0x2220]
jmp 0x100cd3e
push eax
call fcn.0100b3ad
lea ecx, [ebp - 0x2220]
jmp 0x100cd3c
lea ecx, [ebp - 0x2224]
call fcn.0100b4c4
push esi
call fcn.0100b3ad
jmp 0x100cd50
lea ecx, [ebp - 0x2224]
call fcn.0100b4c4
push ebx
jmp 0x100cd1b
push eax
call fcn.0100b3ad
lea ecx, [ebp - 0x2228]
mov esi, eax
call fcn.0100b4c4
lea ecx, [ebp - 0x2224]
call fcn.0100b4c4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.010023ad
leave
ret 0x10