Function at 0x1000871b
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1108]
mov eax, 0x1108
call fcn.1000bf00
push 0xffffffffffffffff
push 0x1000d571
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10017114]
xor eax, ebp
mov dword [ebp + 0x1104], 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 + 0x1114]
mov edi, dword [ebp + 0x1110]
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov ebx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov ecx, eax
push edi
call fcn.10006d75
mov esi, eax
test esi, esi
js 0x10008caa
cmp byte [edi], 0x7d
je 0x10008c9c
push 0x1000fa20
push edi
mov dword [ebp - 0x20], 1
call dword [sym.imp.kernel32.dll_lstrcmpiA]
neg eax
push 0x1000fa08
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x28], esi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
je 0x100087ca
test esi, esi
je 0x10008864
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10006d75
mov esi, eax
test esi, esi
js 0x10008c9c
cmp dword [ebp + 0x1118], 0
je 0x10008864
and dword [ebp - 0x38], 0
and dword [ebp - 0x30], 0
push 0x5c
push edi
call fcn.100099dd
pop ecx
pop ecx
test eax, eax
jne 0x10008c97
mov esi, dword [ebp - 0x10]
mov ecx, esi
push edi
call fcn.1000434c
test eax, eax
je 0x1000882a
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x38]
and dword [ebp - 0x34], 0
push edi
mov dword [ebp - 0x38], eax
call fcn.10007fd8
and dword [ebp - 0x38], 0
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x28], 0
je 0x1000885e
push edi
mov ecx, esi
call fcn.10006d75
mov esi, eax
test esi, esi
js 0x10008c9c
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1000c365
mov esi, eax
test esi, esi
js 0x10008c9c
and dword [ebp - 0x34], 0
jmp 0x10008a77
and dword [ebp - 0x34], 0
jmp 0x10008867
mov esi, dword [ebp - 0x10]
push 0x1000fa14
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x1000888c
and dword [ebp - 0x20], eax
mov ecx, esi
push edi
call fcn.10006d75
mov esi, eax
test esi, esi
js 0x10008c9c
push 0x1000fa04
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x10008998
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.10006d75
mov esi, eax
test esi, esi
js 0x10008c9c
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10006d75
mov esi, eax
test esi, esi
js 0x10008c9c
cmp byte [edi], 0x3d
jne 0x10008c97
cmp dword [ebp + 0x1118], 0
je 0x1000891e
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
and dword [ebp - 0x4c], 0
and dword [ebp - 0x48], 0
mov dword [ebp - 0x50], eax
lea eax, [ebp]
push edi
push eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
call fcn.1000389c
mov esi, eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
test esi, esi
js 0x10008c9c
mov byte [ebp - 4], al
mov dword [ebp - 0x4c], eax
jmp 0x10008a77
cmp dword [ebp + 0x111c], 0
jne 0x1000897d
cmp dword [ebp - 0x20], 0
je 0x1000897d
xor esi, esi
lea ecx, [ebp - 0x44]
push 0x20006
push esi
push dword [ebp - 0x24]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
call fcn.1000c365
test eax, eax
jne 0x10008c78
mov ebx, dword [ebp - 0x44]
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x1000896c
cmp eax, 2
jne 0x10008c62
test ebx, ebx
je 0x1000897a
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1000c365
mov ebx, dword [ebp - 0x1c]
mov esi, eax
test esi, esi
js 0x10008c9f
jmp 0x10008ba0
push 0x5c
push edi
call fcn.100099dd
pop ecx
pop ecx
test eax, eax
jne 0x10008c97
cmp dword [ebp + 0x1118], eax
je 0x10008ac2
mov ebx, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
mov esi, 0x2001f
push esi
push edi
push ebx
call fcn.1000c365
test eax, eax
je 0x10008a3b
push 0x20019
push edi
push ebx
lea ecx, [ebp - 0x1c]
call fcn.1000c365
test eax, eax
je 0x10008a3b
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x54]
push eax
xor edx, edx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], edx
push eax
push edx
push esi
push edx
push edx
push edx
push edi
push ebx
test ecx, ecx
je 0x10008a02
call fcn.1000c365
jmp 0x10008a08
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10008a26
cmp dword [ebp - 0x1c], eax
je 0x10008a1a
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x20]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], ebx
jmp 0x10008a29
mov ebx, dword [ebp - 0x1c]
test eax, eax
je 0x10008a3e
push eax
call fcn.10003f29
pop ecx
mov esi, eax
jmp 0x10008c9f
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10006d75
mov esi, eax
test esi, esi
js 0x10008c9f
cmp byte [edi], 0x3d
jne 0x10008a74
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push edi
push 0
push eax
call fcn.1000389c
mov ebx, dword [ebp - 0x1c]
mov esi, eax
test esi, esi
js 0x10008c9f
jmp 0x10008a77
mov ebx, dword [ebp - 0x1c]
cmp byte [edi], 0x7b
jne 0x10008b9d
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008a85
sub ecx, edx
cmp ecx, 1
jne 0x10008b9d
push 0
push dword [ebp + 0x1118]
push ebx
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
push edi
call fcn.1000871b
mov esi, eax
test esi, esi
js 0x10008c9c
push edi
mov ecx, ebx
call fcn.10006d75
jmp 0x10008986
cmp dword [ebp + 0x111c], 0
jne 0x10008ae1
push 0x20019
push edi
push dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
call fcn.1000c365
mov ebx, dword [ebp - 0x1c]
jmp 0x10008ae4
push 2
pop eax
xor ecx, ecx
mov dword [ebp - 0x28], eax
push 0xffffffffffffffff
inc ecx
test eax, eax
push edi
cmove ecx, dword [ebp + 0x111c]
lea eax, [ebp + 0x1000]
push 0x104
push eax
mov dword [ebp - 0x2c], ecx
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
push eax
call fcn.10003e67
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.10006d75
mov esi, eax
test esi, esi
js 0x10008c9c
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1000c365
mov esi, eax
test esi, esi
js 0x10008c9c
cmp byte [edi], 0x7b
jne 0x10008b84
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008b44
sub ecx, edx
cmp ecx, 1
jne 0x10008b84
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
push 0
push ebx
push edi
call fcn.1000871b
mov esi, eax
test esi, esi
jns 0x10008b71
cmp dword [ebp - 0x2c], 0
je 0x10008c9c
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10006d75
mov esi, eax
test esi, esi
js 0x10008c9c
mov eax, dword [ebp - 0x28]
cmp eax, 2
je 0x10008b9d
test eax, eax
je 0x10008bb1
cmp dword [ebp + 0x111c], 0
je 0x10008c8c
mov ebx, dword [ebp - 0x1c]
cmp byte [edi], 0x7d
je 0x10008c9f
mov ebx, dword [ebp - 0x1c]
jmp 0x10008797
cmp dword [ebp + 0x111c], 0
je 0x10008bf1
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.1000c365
test eax, eax
je 0x10008bf1
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x1000]
push eax
call fcn.1000434c
test eax, eax
je 0x10008b9d
cmp dword [ebp - 0x20], 0
je 0x10008b9d
lea eax, [ebp + 0x1000]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10007fd8
jmp 0x10008b9d
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.1000c365
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x28], ecx
test ebx, ebx
je 0x10008c16
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x28]
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
jmp 0x10008c19
mov ebx, dword [ebp - 0x1c]
and dword [ebp - 0x18], 0
test eax, eax
jne 0x10008a2d
cmp dword [ebp - 0x20], eax
je 0x10008ba0
test ecx, ecx
jne 0x10008ba0
mov eax, dword [ebp - 0x24]
and dword [ebp - 0x5c], ecx
and dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x1000]
push eax
call fcn.100055e8
and dword [ebp - 0x60], 0
test eax, eax
jne 0x10008a2d
jmp 0x10008ba0
push eax
call fcn.10003f29
mov esi, eax
pop ecx
test ebx, ebx
je 0x10008c9c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10008c9c
push eax
call fcn.10003f29
cmp dword [ebp - 0x44], 0
mov esi, eax
pop ecx
je 0x10008c9c
push dword [ebp - 0x44]
jmp 0x10008c70
push eax
call fcn.10003f29
pop ecx
mov esi, eax
jmp 0x10008c9c
mov esi, 0x80020009
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10008caa
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 + 0x1104]
xor ecx, ebp
call fcn.1000bdde
add ebp, 0x1108
leave
ret 0x10