Function at 0x100b25f
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1023ce1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.01020cb0
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.0100b135
mov edi, eax
cmp edi, esi
jl 0x100b719
cmp word [ebx], 0x7d
je 0x100b717
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x1006028
push ebx
mov dword [esp + 0x20], 1
call edi
mov esi, eax
neg esi
push 0x100604c
sbb esi, esi
push ebx
inc esi
call edi
test eax, eax
je 0x100b31d
test esi, esi
je 0x100b3f8
mov eax, dword [esp + 0x14]
push ebx
call fcn.0100b135
mov edi, eax
test edi, edi
jl 0x100b706
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x100b3f8
push 0x5c
mov eax, ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
call fcn.0100a7f1
test eax, eax
jne 0x100b7ee
push ebx
call fcn.0100aedb
test eax, eax
je 0x100b379
mov eax, dword [esp + 0x2c]
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], eax
call fcn.0100af39
mov dword [esp + 0x40], edi
cmp esi, edi
je 0x100b3f8
mov eax, dword [esp + 0x14]
push ebx
call fcn.0100b135
mov edi, eax
test edi, edi
jl 0x100b706
mov ecx, dword [esp + 0x14]
mov esi, ebx
call fcn.0100ae76
mov edi, eax
test edi, edi
jl 0x100b706
cmp word [ebx], 0x7b
jne 0x100b3e9
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100b3e9
mov ecx, dword [esp + 0x14]
push 0
push dword [ebp + 0x10]
push dword [esp + 0x28]
push ebx
call fcn.0100b25f
mov edi, eax
test edi, edi
jl 0x100b706
mov eax, dword [esp + 0x14]
push ebx
call fcn.0100b135
mov edi, eax
test edi, edi
jl 0x100b706
cmp word [ebx], 0x7d
jne 0x100b2ec
jmp 0x100b706
push 0x1006038
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100b420
and dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
push ebx
call fcn.0100b135
mov edi, eax
test edi, edi
jl 0x100b706
push 0x1006064
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100b548
lea eax, [esp + 0x26c]
push eax
mov eax, dword [esp + 0x18]
call fcn.0100b135
mov edi, eax
test edi, edi
jl 0x100b706
mov eax, dword [esp + 0x14]
push ebx
call fcn.0100b135
mov edi, eax
test edi, edi
jl 0x100b706
cmp word [ebx], 0x3d
jne 0x100b808
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x100b4bd
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.0100aab8
mov edi, eax
cmp edi, esi
mov dword [esp + 0x58], esi
jl 0x100b80f
mov byte [esp + 0x2280], 0
jmp 0x100b3a6
cmp dword [ebp + 0x14], esi
jne 0x100b538
cmp dword [esp + 0x18], esi
je 0x100b538
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 0x100b504
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x38]
call fcn.0100af11
mov esi, dword [esp + 0x34]
test eax, eax
jne 0x100b818
lea eax, [esp + 0x26c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x100b528
cmp eax, 2
jne 0x100b818
test esi, esi
je 0x100b538
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [esp + 0x34], 0
mov ecx, dword [esp + 0x14]
mov esi, ebx
call fcn.0100ae76
jmp 0x100b3df
push 0x5c
mov eax, ebx
call fcn.0100a7f1
test eax, eax
jne 0x100b808
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x100b60f
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 0x100b590
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x24]
call fcn.0100af11
xor edi, edi
cmp eax, edi
je 0x100b5dc
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 0x100b5c6
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x24]
call fcn.0100af11
cmp eax, edi
je 0x100b5dc
push ebx
push dword [esp + 0x30]
lea esi, [esp + 0x28]
call fcn.0100a824
cmp eax, edi
jne 0x100b833
mov eax, dword [esp + 0x14]
push ebx
call fcn.0100b135
mov edi, eax
test edi, edi
jl 0x100b706
cmp word [ebx], 0x3d
jne 0x100b3a6
mov ecx, dword [esp + 0x14]
push ebx
push 0
lea edx, [esp + 0x28]
call fcn.0100aab8
jmp 0x100b39c
cmp dword [ebp + 0x14], esi
jne 0x100b646
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 0x100b640
lea eax, [esp + 0x1c]
push eax
lea esi, [esp + 0x24]
call fcn.0100af11
mov dword [esp + 0x1c], eax
jmp 0x100b64e
mov dword [esp + 0x1c], 2
cmp dword [esp + 0x1c], 0
je 0x100b65c
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.0100be23
mov eax, dword [esp + 0x14]
push ebx
call fcn.0100b135
mov edi, eax
test edi, edi
jl 0x100b706
mov ecx, dword [esp + 0x14]
mov esi, ebx
call fcn.0100ae76
mov edi, eax
test edi, edi
jl 0x100b706
cmp word [ebx], 0x7b
jne 0x100b6d9
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100b6d9
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push dword [esp + 0x28]
push ebx
call fcn.0100b25f
mov edi, eax
test edi, edi
jge 0x100b6c9
cmp dword [ebp + 0x14], 0
je 0x100b706
mov eax, dword [esp + 0x14]
push ebx
call fcn.0100b135
mov edi, eax
test edi, edi
jl 0x100b706
cmp dword [esp + 0x1c], 2
mov eax, dword [esp + 0x30]
mov dword [ebp + 0x14], eax
je 0x100b3e9
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, esi
je 0x100b73f
cmp dword [esp + 0x30], esi
jne 0x100b3e9
call fcn.0100b121
mov edi, eax
cmp dword [esp + 0x20], 0
je 0x100b717
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.0102047c
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esp + 0x30], esi
je 0x100b781
push dword [esp + 0x20]
call fcn.0100b063
test eax, eax
je 0x100b781
lea eax, [esp + 0x64]
push eax
call fcn.0100aedb
test eax, eax
je 0x100b3e9
cmp dword [esp + 0x18], esi
je 0x100b3e9
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x24]
call fcn.0100af39
jmp 0x100b3e9
push dword [esp + 0x20]
call fcn.0100b063
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x20], esi
je 0x100b7aa
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], esi
cmp eax, esi
jne 0x100b851
cmp dword [esp + 0x18], esi
je 0x100b3e9
cmp dword [esp + 0x1c], esi
jne 0x100b3e9
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.0100b09f
and dword [esp + 0x4c], 0
test eax, eax
jne 0x100b6ff
jmp 0x100b3e9
cmp dword [esp + 0x20], edi
je 0x100b7fe
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x100b719
cmp dword [esp + 0x20], 0
jmp 0x100b7f2
cmp dword [esp + 0x20], esi
jmp 0x100b70b
call fcn.0100b121
mov edi, eax
test esi, esi
je 0x100b706
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100b706
call fcn.0100b121
mov esi, eax
cmp dword [esp + 0x20], edi
je 0x100b84a
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100b719
call fcn.0100b121
jmp 0x100b719