Function at 0x100b23e
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1023cc1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.01020c90
mov eax, dword [0x102b004]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x102b004]
xor eax, esp
push eax
lea eax, [esp + 0x2278]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x30], eax
push ebx
mov eax, ecx
mov dword [esp + 0x2284], esi
call fcn.0100b114
mov edi, eax
cmp edi, esi
jl 0x100b6f8
cmp word [ebx], 0x7d
je 0x100b6f6
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x1006008
push ebx
mov dword [esp + 0x20], 1
call edi
mov esi, eax
neg esi
push 0x100602c
sbb esi, esi
push ebx
inc esi
call edi
test eax, eax
je 0x100b2fc
test esi, esi
je 0x100b3d7
mov eax, dword [esp + 0x14]
push ebx
call fcn.0100b114
mov edi, eax
test edi, edi
jl 0x100b6e5
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x100b3d7
push 0x5c
mov eax, ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
call fcn.0100a7d1
test eax, eax
jne 0x100b7cd
push ebx
call fcn.0100aebb
test eax, eax
je 0x100b358
mov eax, dword [esp + 0x2c]
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], eax
call fcn.0100af18
mov dword [esp + 0x40], edi
cmp esi, edi
je 0x100b3d7
mov eax, dword [esp + 0x14]
push ebx
call fcn.0100b114
mov edi, eax
test edi, edi
jl 0x100b6e5
mov ecx, dword [esp + 0x14]
mov esi, ebx
call fcn.0100ae56
mov edi, eax
test edi, edi
jl 0x100b6e5
cmp word [ebx], 0x7b
jne 0x100b3c8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100b3c8
mov ecx, dword [esp + 0x14]
push 0
push dword [ebp + 0x10]
push dword [esp + 0x28]
push ebx
call fcn.0100b23e
mov edi, eax
test edi, edi
jl 0x100b6e5
mov eax, dword [esp + 0x14]
push ebx
call fcn.0100b114
mov edi, eax
test edi, edi
jl 0x100b6e5
cmp word [ebx], 0x7d
jne 0x100b2cb
jmp 0x100b6e5
push 0x1006018
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100b3ff
and dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
push ebx
call fcn.0100b114
mov edi, eax
test edi, edi
jl 0x100b6e5
push 0x1006044
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100b527
lea eax, [esp + 0x26c]
push eax
mov eax, dword [esp + 0x18]
call fcn.0100b114
mov edi, eax
test edi, edi
jl 0x100b6e5
mov eax, dword [esp + 0x14]
push ebx
call fcn.0100b114
mov edi, eax
test edi, edi
jl 0x100b6e5
cmp word [ebx], 0x3d
jne 0x100b7e7
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x100b49c
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x2280], 1
mov dword [esp + 0x58], eax
push ebx
lea eax, [esp + 0x270]
push eax
lea edx, [esp + 0x60]
call fcn.0100aa98
mov edi, eax
cmp edi, esi
mov dword [esp + 0x58], esi
jl 0x100b7ee
mov byte [esp + 0x2280], 0
jmp 0x100b385
cmp dword [ebp + 0x14], esi
jne 0x100b517
cmp dword [esp + 0x18], esi
je 0x100b517
lea eax, [esp + 0x18]
push eax
push 0x20006
push esi
push esi
push dword [esp + 0x3c]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x100b4e3
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x38]
call fcn.0100aef1
mov esi, dword [esp + 0x34]
test eax, eax
jne 0x100b7f7
lea eax, [esp + 0x26c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x100b507
cmp eax, 2
jne 0x100b7f7
test esi, esi
je 0x100b517
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [esp + 0x34], 0
mov ecx, dword [esp + 0x14]
mov esi, ebx
call fcn.0100ae56
jmp 0x100b3be
push 0x5c
mov eax, ebx
call fcn.0100a7d1
test eax, eax
jne 0x100b7e7
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x100b5ee
lea eax, [esp + 0x18]
push eax
push 0x2001f
push esi
push ebx
push dword [esp + 0x3c]
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x100b56f
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x24]
call fcn.0100aef1
xor edi, edi
cmp eax, edi
je 0x100b5bb
lea eax, [esp + 0x18]
push eax
push 0x20019
push edi
push ebx
push dword [esp + 0x3c]
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x100b5a5
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x24]
call fcn.0100aef1
cmp eax, edi
je 0x100b5bb
push ebx
push dword [esp + 0x30]
lea esi, [esp + 0x28]
call fcn.0100a804
cmp eax, edi
jne 0x100b812
mov eax, dword [esp + 0x14]
push ebx
call fcn.0100b114
mov edi, eax
test edi, edi
jl 0x100b6e5
cmp word [ebx], 0x3d
jne 0x100b385
mov ecx, dword [esp + 0x14]
push ebx
push 0
lea edx, [esp + 0x28]
call fcn.0100aa98
jmp 0x100b37b
cmp dword [ebp + 0x14], esi
jne 0x100b625
lea eax, [esp + 0x1c]
push eax
push 0x20019
push esi
push ebx
push dword [esp + 0x3c]
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x100b61f
lea eax, [esp + 0x1c]
push eax
lea esi, [esp + 0x24]
call fcn.0100aef1
mov dword [esp + 0x1c], eax
jmp 0x100b62d
mov dword [esp + 0x1c], 2
cmp dword [esp + 0x1c], 0
je 0x100b63b
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x6c]
push 0x104
push eax
call sub.msvcrt.dll_wcsncpy_s
add esp, 0x10
push eax
call fcn.0100be02
mov eax, dword [esp + 0x14]
push ebx
call fcn.0100b114
mov edi, eax
test edi, edi
jl 0x100b6e5
mov ecx, dword [esp + 0x14]
mov esi, ebx
call fcn.0100ae56
mov edi, eax
test edi, edi
jl 0x100b6e5
cmp word [ebx], 0x7b
jne 0x100b6b8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100b6b8
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push dword [esp + 0x28]
push ebx
call fcn.0100b23e
mov edi, eax
test edi, edi
jge 0x100b6a8
cmp dword [ebp + 0x14], 0
je 0x100b6e5
mov eax, dword [esp + 0x14]
push ebx
call fcn.0100b114
mov edi, eax
test edi, edi
jl 0x100b6e5
cmp dword [esp + 0x1c], 2
mov eax, dword [esp + 0x30]
mov dword [ebp + 0x14], eax
je 0x100b3c8
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, esi
je 0x100b71e
cmp dword [esp + 0x30], esi
jne 0x100b3c8
call fcn.0100b100
mov edi, eax
cmp dword [esp + 0x20], 0
je 0x100b6f6
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x2278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2260]
xor ecx, esp
call fcn.0102045a
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esp + 0x30], esi
je 0x100b760
push dword [esp + 0x20]
call fcn.0100b042
test eax, eax
je 0x100b760
lea eax, [esp + 0x64]
push eax
call fcn.0100aebb
test eax, eax
je 0x100b3c8
cmp dword [esp + 0x18], esi
je 0x100b3c8
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x24]
call fcn.0100af18
jmp 0x100b3c8
push dword [esp + 0x20]
call fcn.0100b042
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x20], esi
je 0x100b789
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], esi
cmp eax, esi
jne 0x100b830
cmp dword [esp + 0x18], esi
je 0x100b3c8
cmp dword [esp + 0x1c], esi
jne 0x100b3c8
mov eax, dword [esp + 0x2c]
and dword [esp + 0x50], esi
and dword [esp + 0x54], esi
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x64]
push eax
lea esi, [esp + 0x50]
call fcn.0100b07e
and dword [esp + 0x4c], 0
test eax, eax
jne 0x100b6de
jmp 0x100b3c8
cmp dword [esp + 0x20], edi
je 0x100b7dd
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x100b6f8
cmp dword [esp + 0x20], 0
jmp 0x100b7d1
cmp dword [esp + 0x20], esi
jmp 0x100b6ea
call fcn.0100b100
mov edi, eax
test esi, esi
je 0x100b6e5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100b6e5
call fcn.0100b100
mov esi, eax
cmp dword [esp + 0x20], edi
je 0x100b829
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100b6f8
call fcn.0100b100
jmp 0x100b6f8