Function at 0x100f56f0
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2254]
mov eax, 0x2254
call fcn.102b1730
push 0xffffffffffffffff
push 0x102d2d38
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1036900c]
xor eax, ebp
mov dword [ebp + 0x2250], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x2260]
xorps xmm0, xmm0
mov ebx, dword [ebp + 0x225c]
movq qword [ebp], xmm0
mov dword [ebp], 0
mov dword [ebp + 8], 0
mov dword [ebp - 0x14], ecx
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
mov dword [ebp - 4], 0
mov ecx, eax
push ebx
call fcn.100f48d0
mov esi, eax
test esi, esi
js 0x100f5ef3
cmp word [ebx], 0x7d
je 0x100f5ef3
nop dword [eax + eax]
push str.Delete
push ebx
mov dword [ebp + 0xc], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x102dc97c
sbb edi, edi
push ebx
inc edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100f57c0
test edi, edi
je 0x100f58d0
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.100f48d0
mov esi, eax
test esi, esi
js 0x100f5ef3
cmp dword [ebp + 0x2264], 0
je 0x100f58d0
xorps xmm0, xmm0
mov dword [ebp + 0x40], 0
movq qword [ebp + 0x38], xmm0
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x40], 0
mov byte [ebp - 4], 1
mov ecx, ebx
movzx eax, word [ebx]
test ax, ax
je 0x100f5837
mov edx, eax
cmp dx, 0x5c
je 0x100f582f
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x100f5814
jmp 0x100f5837
test ecx, ecx
jne 0x100f5e4f
mov esi, 0x102f203c
nop dword [eax]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100f588a
add esi, 4
cmp esi, 0x102f206c
jl 0x100f5840
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 0x38]
push ebx
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x40], 0
call fcn.100f3840
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x40], 0
test edi, edi
je 0x100f58c5
mov edi, dword [ebp - 0x10]
mov ecx, edi
push ebx
call fcn.100f48d0
mov esi, eax
test esi, esi
js 0x100f5e64
push ebx
mov ecx, edi
call fcn.100f50f0
mov esi, eax
test esi, esi
js 0x100f5e64
mov byte [ebp - 4], 0
mov dword [ebp + 0x3c], 0
jmp 0x100f5bc7
mov byte [ebp - 4], 0
mov dword [ebp + 0x3c], 0
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, dword [ebp - 0x10]
test eax, eax
jne 0x100f58f8
push ebx
mov ecx, edi
mov dword [ebp + 0xc], eax
call fcn.100f48d0
mov esi, eax
test esi, esi
js 0x100f5ef3
push 0x102dc974
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100f5a68
lea eax, [ebp + 0x48]
mov ecx, edi
push eax
call fcn.100f48d0
mov esi, eax
test esi, esi
js 0x100f5ef3
push ebx
mov ecx, edi
call fcn.100f48d0
mov esi, eax
test esi, esi
js 0x100f5ef3
cmp word [ebx], 0x3d
jne 0x100f5e5a
cmp dword [ebp + 0x2264], 0
je 0x100f59c1
xorps xmm0, xmm0
mov dword [ebp + 0x34], 0
movq qword [ebp + 0x2c], xmm0
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0
mov byte [ebp - 4], 2
mov ecx, edi
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x2c], eax
lea eax, [ebp + 0x48]
push ebx
push eax
lea eax, [ebp + 0x2c]
mov dword [ebp + 0x30], 0
push eax
mov dword [ebp + 0x34], 0
call fcn.100f4a80
mov esi, eax
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0
test esi, esi
js 0x100f5e74
mov byte [ebp - 4], 0
mov dword [ebp + 0x30], 0
jmp 0x100f5bc7
cmp dword [ebp + 0x2268], 0
jne 0x100f5a51
cmp dword [ebp + 0xc], 0
je 0x100f5a51
xorps xmm0, xmm0
mov dword [ebp + 0x28], 0
movq qword [ebp + 0x20], xmm0
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], 0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x20]
push 0x20006
push 0
push dword [ebp - 0x14]
call fcn.100f3680
test eax, eax
jne 0x100f5ea9
mov edi, dword [ebp + 0x20]
lea eax, [ebp + 0x48]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x100f5a31
cmp eax, 2
jne 0x100f5e81
mov byte [ebp - 4], 0
test edi, edi
je 0x100f5a47
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x20], 0
mov edi, dword [ebp - 0x10]
mov dword [ebp + 0x24], 0
push ebx
mov ecx, edi
call fcn.100f50f0
mov esi, eax
test esi, esi
js 0x100f5ef3
jmp 0x100f5e40
movzx eax, word [ebx]
mov ecx, ebx
test ax, ax
je 0x100f5a97
mov edx, eax
cmp dx, 0x5c
je 0x100f5a8f
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x100f5a74
jmp 0x100f5a97
test ecx, ecx
jne 0x100f5e5a
cmp dword [ebp + 0x2264], 0
je 0x100f5c22
mov esi, dword [ebp - 0x14]
lea ecx, [ebp]
push 0x2001f
push ebx
push esi
call fcn.100f3680
test eax, eax
je 0x100f5b97
push 0x20019
push ebx
push esi
lea ecx, [ebp]
call fcn.100f3680
test eax, eax
je 0x100f5b97
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 0
test esi, esi
je 0x100f5b3c
cmp dword [esi], 0
je 0x100f5b2f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x100f5afe
mov eax, 1
jmp 0x100f5b5b
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100f5b35
push 0
push dword [esi]
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push dword [ebp - 0x14]
call eax
jmp 0x100f5b5b
cmp dword [esi + 4], 0
jne 0x100f5b3c
mov eax, 1
jmp 0x100f5b5b
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100f5eea
mov ecx, dword [ebp]
test ecx, ecx
je 0x100f5b78
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp], 0
mov edi, dword [ebp + 0xc]
mov dword [ebp + 4], 0
mov dword [ebp], edi
mov dword [ebp + 4], 0
test eax, eax
jne 0x100f5eea
mov edi, dword [ebp - 0x10]
push ebx
mov ecx, edi
call fcn.100f48d0
mov esi, eax
test esi, esi
js 0x100f5ef3
cmp word [ebx], 0x3d
jne 0x100f5bc7
push ebx
push 0
lea eax, [ebp]
mov ecx, edi
push eax
call fcn.100f4a80
mov esi, eax
test esi, esi
js 0x100f5ef3
cmp word [ebx], 0x7b
jne 0x100f5e40
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f5bd6
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x100f5e40
push 0
push dword [ebp + 0x2264]
mov ecx, edi
push dword [ebp]
push ebx
call fcn.100f56f0
mov esi, eax
test esi, esi
js 0x100f5ef3
push ebx
mov ecx, edi
call fcn.100f48d0
mov esi, eax
test esi, esi
js 0x100f5ef3
jmp 0x100f5e40
mov esi, dword [ebp + 0x2268]
test esi, esi
jne 0x100f5c41
push 0x20019
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp]
call fcn.100f3680
mov edi, eax
jmp 0x100f5c46
mov edi, 2
test edi, edi
mov ecx, 1
push 0xffffffffffffffff
mov eax, esi
cmovne eax, ecx
push ebx
mov dword [ebp + 0x44], eax
lea eax, [ebp + 0x2048]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
push eax
call fcn.1006b3f0
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push ebx
call fcn.100f48d0
mov esi, eax
test esi, esi
js 0x100f5ef3
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.100f50f0
mov esi, eax
test esi, esi
js 0x100f5ef3
cmp word [ebx], 0x7b
jne 0x100f5cec
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f5ca4
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x100f5cec
push dword [ebp + 0x44]
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp]
push ebx
call fcn.100f56f0
mov esi, eax
test esi, esi
jns 0x100f5cd9
cmp dword [ebp + 0x44], 0
je 0x100f5ef3
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.100f48d0
mov esi, eax
test esi, esi
js 0x100f5ef3
cmp edi, 2
je 0x100f5e40
test edi, edi
je 0x100f5d0d
cmp dword [ebp + 0x2268], 0
jne 0x100f5e40
mov ecx, edi
jmp 0x100f5eec
cmp dword [ebp + 0x2268], 0
je 0x100f5d90
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp + 0x44]
mov dword [ebp + 0x44], 0
push eax
push 0
push 0
push 0
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x100f5d90
cmp dword [ebp + 0x44], eax
jbe 0x100f5d90
mov edi, 0x102f203c
nop dword [eax]
push dword [edi]
lea eax, [ebp + 0x2048]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100f5e40
add edi, 4
cmp edi, 0x102f206c
jl 0x100f5d50
cmp dword [ebp + 0xc], 0
je 0x100f5e40
lea eax, [ebp + 0x2048]
push eax
lea ecx, [ebp]
call fcn.100f3840
jmp 0x100f5e40
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp + 0x44]
mov dword [ebp + 0x44], 0
push eax
push 0
push 0
push 0
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x100f5dc0
xor edi, edi
jmp 0x100f5dc9
xor eax, eax
cmp eax, dword [ebp + 0x44]
sbb edi, edi
neg edi
mov ecx, dword [ebp]
xor eax, eax
test ecx, ecx
je 0x100f5dde
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp], ecx
mov dword [ebp + 4], 0
test eax, eax
jne 0x100f5eea
cmp dword [ebp + 0xc], eax
je 0x100f5e40
test edi, edi
jne 0x100f5e40
xorps xmm0, xmm0
mov dword [ebp + 0x1c], edi
movq qword [ebp + 0x14], xmm0
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x14]
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x2048]
push eax
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
call fcn.100f3480
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
test eax, eax
jne 0x100f5ed4
mov byte [ebp - 4], al
mov dword [ebp + 0x18], eax
cmp word [ebx], 0x7d
jne 0x100f5790
jmp 0x100f5ef3
mov byte [ebp - 4], 0
mov dword [ebp + 0x3c], 0
mov esi, 0x80020009
jmp 0x100f5ef3
mov byte [ebp - 4], 0
mov dword [ebp + 0x3c], 0
jmp 0x100f5ef3
mov byte [ebp - 4], 0
mov dword [ebp + 0x30], 0
jmp 0x100f5ef3
mov ecx, eax
call fcn.1006b4b0
mov esi, eax
mov byte [ebp - 4], 0
test edi, edi
je 0x100f5ecb
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 0
jmp 0x100f5ef3
mov ecx, eax
call fcn.1006b4b0
mov esi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x100f5ecb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 0
jmp 0x100f5ef3
mov ecx, eax
call fcn.1006b4b0
mov esi, eax
mov byte [ebp - 4], 0
mov dword [ebp + 0x18], 0
jmp 0x100f5ef3
mov ecx, eax
call fcn.1006b4b0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp]
test eax, eax
je 0x100f5f0f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp], 0
mov eax, esi
mov dword [ebp + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2250]
xor ecx, ebp
call fcn.102af895
lea esp, [ebp + 0x2254]
pop ebp
ret 0x10