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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011b01
mov eax, dword fs:[0]
push eax
mov eax, 0x2224
call fcn.0100502b
mov eax, dword [section..data]
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 0x100c322
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x100c3c0
push edi
mov dword [ebp - 0x2228], 1
call esi
mov ebx, eax
neg ebx
push 0x100c3e4
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x100be99
test ebx, ebx
je 0x100bf4a
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100afa9
mov esi, eax
test esi, esi
jl 0x100c395
cmp dword [ebp + 0x10], 0
je 0x100bf4a
and dword [ebp - 0x2220], 0
push 0x5c
push edi
call fcn.0100af1d
test eax, eax
jne 0x100c339
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100b0b3
test eax, eax
je 0x100beff
mov eax, dword [ebp - 0x222c]
push edi
lea ecx, [ebp - 0x2220]
mov dword [ebp - 0x2220], eax
call fcn.0100b313
and dword [ebp - 0x2220], 0
test ebx, ebx
je 0x100bf3f
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100afa9
mov esi, eax
test esi, esi
jl 0x100c34b
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100b155
lea ecx, [ebp - 0x2220]
mov esi, eax
call fcn.0100ab00
test esi, esi
jge 0x100c2e7
jmp 0x100c395
lea ecx, [ebp - 0x2220]
call fcn.0100ab00
push 0x100c3d0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100bf76
mov ecx, dword [ebp - 0x221c]
and dword [ebp - 0x2228], eax
push edi
call fcn.0100afa9
mov esi, eax
test esi, esi
jl 0x100c395
push 0x100c3fc
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100c087
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.0100afa9
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x100c395
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100afa9
mov esi, eax
cmp esi, ebx
jl 0x100c395
cmp word [edi], 0x3d
jne 0x100c344
cmp dword [ebp + 0x10], ebx
je 0x100c015
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.0100baae
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x2228], ebx
lea ecx, [ebp - 0x2228]
jl 0x100c390
mov byte [ebp - 4], bl
jmp 0x100c2e2
cmp dword [ebp + 0x14], ebx
jne 0x100c072
cmp dword [ebp - 0x2228], ebx
je 0x100c072
push 0x20006
push ebx
push dword [ebp - 0x222c]
lea ecx, [ebp - 0x2220]
mov dword [ebp - 0x2220], ebx
call fcn.0100ab73
cmp eax, ebx
jne 0x100c353
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x100c067
cmp eax, 2
jne 0x100c353
lea ecx, [ebp - 0x2220]
call fcn.0100ab00
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100b155
mov esi, eax
cmp esi, ebx
jmp 0x100c32c
push 0x5c
push edi
call fcn.0100af1d
test eax, eax
jne 0x100c344
cmp dword [ebp + 0x10], eax
je 0x100c136
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x222c]
lea ecx, [ebp - 0x2224]
call fcn.0100ab73
test eax, eax
je 0x100c0fa
push 0x20019
push edi
push dword [ebp - 0x222c]
lea ecx, [ebp - 0x2224]
call fcn.0100ab73
test eax, eax
je 0x100c0fa
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.0100ab1e
mov esi, eax
cmp esi, ebx
jne 0x100c361
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100afa9
mov esi, eax
test esi, esi
jl 0x100c395
cmp word [edi], 0x3d
jne 0x100c2e7
mov ecx, dword [ebp - 0x221c]
push edi
push 0
lea eax, [ebp - 0x2224]
push eax
call fcn.0100baae
mov esi, eax
jmp 0x100bf32
cmp dword [ebp + 0x14], 0
jne 0x100c157
push 0x20019
push edi
push dword [ebp - 0x222c]
lea ecx, [ebp - 0x2224]
call fcn.0100ab73
mov ebx, eax
jmp 0x100c15a
push 2
pop ebx
test ebx, ebx
je 0x100c165
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0100d547
add esp, 0x10
push eax
call fcn.0100a991
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100afa9
mov esi, eax
test esi, esi
jl 0x100c395
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100b155
mov esi, eax
test esi, esi
jl 0x100c395
cmp word [edi], 0x7b
jne 0x100c1fd
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100c1fd
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp - 0x2224]
push edi
call fcn.0100be07
mov esi, eax
test esi, esi
jge 0x100c1e7
cmp dword [ebp + 0x14], 0
je 0x100c395
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100afa9
mov esi, eax
test esi, esi
jl 0x100c395
cmp ebx, 2
mov eax, dword [ebp - 0x2230]
mov dword [ebp + 0x14], eax
je 0x100c32e
test ebx, ebx
je 0x100c228
test eax, eax
jne 0x100c32e
push ebx
call fcn.0100a21a
mov esi, eax
jmp 0x100c395
test eax, eax
je 0x100c27f
push dword [ebp - 0x2224]
mov ecx, dword [ebp - 0x221c]
call fcn.0100b119
test eax, eax
je 0x100c27f
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x218]
push eax
call fcn.0100b0b3
test eax, eax
je 0x100c32e
cmp dword [ebp - 0x2228], 0
je 0x100c32e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2224]
call fcn.0100b313
jmp 0x100c32e
push dword [ebp - 0x2224]
mov ecx, dword [ebp - 0x221c]
call fcn.0100b119
lea ecx, [ebp - 0x2224]
mov dword [ebp - 0x2220], eax
call fcn.0100ab00
mov ebx, eax
test ebx, ebx
jne 0x100c374
cmp dword [ebp - 0x2228], eax
je 0x100c32e
cmp dword [ebp - 0x2220], eax
jne 0x100c32e
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 0x100c382
lea ecx, [ebp - 0x2228]
call fcn.0100ab00
cmp dword [ebp + 0x10], 0
je 0x100c32e
cmp word [edi], 0x7b
jne 0x100c32e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100c32e
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x2224]
push edi
call fcn.0100be07
mov esi, eax
test esi, esi
jl 0x100c395
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0100afa9
mov esi, eax
test esi, esi
jl 0x100c395
cmp word [edi], 0x7d
je 0x100c395
jmp 0x100be66
lea ecx, [ebp - 0x2220]
call fcn.0100ab00
mov esi, 0x80020009
jmp 0x100c395
lea ecx, [ebp - 0x2220]
jmp 0x100c390
push eax
call fcn.0100a21a
lea ecx, [ebp - 0x2220]
jmp 0x100c38e
lea ecx, [ebp - 0x2224]
call fcn.0100ab00
push esi
call fcn.0100a21a
jmp 0x100c3a2
lea ecx, [ebp - 0x2224]
call fcn.0100ab00
push ebx
jmp 0x100c36d
push eax
call fcn.0100a21a
lea ecx, [ebp - 0x2228]
mov esi, eax
call fcn.0100ab00
lea ecx, [ebp - 0x2224]
call fcn.0100ab00
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.010014d9
leave
ret 0x10