Function at 0x1803c2e7
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2264
call fcn.18159cf0
mov eax, dword [0x181d400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
and dword [ebp - 0x2248], ebx
and dword [ebp - 0x2244], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2258], ecx
mov ecx, eax
push edi
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x2254], ebx
mov dword [ebp - 0x224c], ebx
call fcn.1803b8e2
mov esi, eax
test esi, esi
js 0x1803c8f4
lfence
jmp 0x1803c8c1
push str.Delete
push edi
mov dword [ebp - 0x2260], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x18173c30
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x225c], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1803c382
test esi, esi
je 0x1803c44c
mov ecx, dword [ebp - 0x2250]
push edi
call fcn.1803b8e2
mov esi, eax
test esi, esi
js 0x1803c8e9
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x1803c44e
lfence
push 0x5c
pop edx
mov ecx, edi
mov dword [ebp - 0x221c], esi
mov dword [ebp - 0x2214], esi
call fcn.1803b87f
test eax, eax
jne 0x1803c938
push edi
lfence
call fcn.1803bddd
test eax, eax
je 0x1803c3fe
mov eax, dword [ebp - 0x2258]
lea ecx, [ebp - 0x221c]
lfence
push edi
mov dword [ebp - 0x221c], eax
mov dword [ebp - 0x2218], esi
call fcn.1803b1f9
mov dword [ebp - 0x221c], esi
mov dword [ebp - 0x2214], esi
cmp dword [ebp - 0x225c], esi
je 0x1803c444
mov ecx, dword [ebp - 0x2250]
push edi
lfence
call fcn.1803b8e2
mov esi, eax
test esi, esi
js 0x1803c8e9
mov ecx, dword [ebp - 0x2250]
push edi
lfence
call fcn.1803be57
mov esi, eax
test esi, esi
js 0x1803c8e9
and dword [ebp - 0x2218], 0
jmp 0x1803c67c
mov dword [ebp - 0x2218], esi
jmp 0x1803c44e
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1803c47a
mov ecx, dword [ebp - 0x2250]
push edi
mov dword [ebp - 0x2260], esi
call fcn.1803b8e2
mov esi, eax
test esi, esi
js 0x1803c8e9
push 0x18173c28
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1803c5cd
mov ecx, dword [ebp - 0x2250]
lea eax, [ebp - 0x2210]
push eax
call fcn.1803b8e2
mov esi, eax
test esi, esi
js 0x1803c8e9
mov ecx, dword [ebp - 0x2250]
push edi
lfence
call fcn.1803b8e2
mov esi, eax
test esi, esi
js 0x1803c8e9
push 0x3d
pop eax
cmp word [edi], ax
jne 0x1803c938
cmp dword [ebp + 0x10], 0
je 0x1803c52f
mov eax, dword [ebp - 0x2258]
mov ecx, dword [ebp - 0x2250]
lfence
and dword [ebp - 0x2230], 0
and dword [ebp - 0x222c], 0
mov dword [ebp - 0x2234], eax
lea eax, [ebp - 0x2210]
push edi
push eax
lea eax, [ebp - 0x2234]
push eax
call fcn.1803ba38
mov esi, eax
xor eax, eax
mov dword [ebp - 0x2234], eax
mov dword [ebp - 0x222c], eax
test esi, esi
js 0x1803c8e9
mov dword [ebp - 0x2230], eax
jmp 0x1803c67c
cmp dword [ebp + 0x14], 0
jne 0x1803c5af
cmp dword [ebp - 0x2260], 0
je 0x1803c5af
xor esi, esi
lea ecx, [ebp - 0x2228]
push 0x20006
push esi
push dword [ebp - 0x2258]
mov dword [ebp - 0x2228], esi
mov dword [ebp - 0x2224], esi
mov dword [ebp - 0x2220], esi
call fcn.1803b182
test eax, eax
jne 0x1803c907
mov ebx, dword [ebp - 0x2228]
lea eax, [ebp - 0x2210]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1803c592
cmp eax, 2
jne 0x1803c8cf
test ebx, ebx
je 0x1803c5a3
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2228], esi
mov ebx, dword [ebp - 0x2254]
mov dword [ebp - 0x2224], esi
mov ecx, dword [ebp - 0x2250]
push edi
lfence
call fcn.1803be57
mov esi, eax
test esi, esi
js 0x1803c8e9
jmp 0x1803c8c1
push 0x5c
pop edx
mov ecx, edi
call fcn.1803b87f
test eax, eax
jne 0x1803c938
cmp dword [ebp + 0x10], eax
je 0x1803c6c8
mov ebx, dword [ebp - 0x2258]
lea ecx, [ebp - 0x224c]
push 0x2001f
push edi
push ebx
call fcn.1803b182
test eax, eax
je 0x1803c632
push 0x20019
push edi
push ebx
lea ecx, [ebp - 0x224c]
call fcn.1803b182
test eax, eax
je 0x1803c632
sub esp, 0x14
lea ecx, [ebp - 0x224c]
push edi
push ebx
call fcn.1803b104
test eax, eax
jne 0x1803c927
mov ebx, dword [ebp - 0x2250]
mov ecx, ebx
push edi
call fcn.1803b8e2
mov esi, eax
test esi, esi
js 0x1803c930
push 0x3d
pop eax
cmp word [edi], ax
jne 0x1803c670
push edi
push 0
lea eax, [ebp - 0x224c]
mov ecx, ebx
push eax
lfence
call fcn.1803ba38
mov esi, eax
test esi, esi
js 0x1803c930
mov ebx, dword [ebp - 0x224c]
mov dword [ebp - 0x2254], ebx
push 0x7b
pop eax
cmp word [edi], ax
jne 0x1803c8c1
push edi
call fcn.18136f20
pop ecx
cmp eax, 1
jne 0x1803c8c1
mov ecx, dword [ebp - 0x2250]
push 0
push dword [ebp + 0x10]
push ebx
push edi
call fcn.1803c2e7
mov esi, eax
test esi, esi
js 0x1803c8e9
mov ecx, dword [ebp - 0x2250]
push edi
lfence
call fcn.1803b8e2
jmp 0x1803c5be
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x1803c704
push 0x20019
push edi
push dword [ebp - 0x2258]
lea ecx, [ebp - 0x224c]
call fcn.1803b182
mov ebx, dword [ebp - 0x224c]
mov dword [ebp - 0x225c], eax
mov dword [ebp - 0x2264], esi
mov dword [ebp - 0x2254], ebx
test eax, eax
jne 0x1803c70e
jmp 0x1803c718
mov dword [ebp - 0x225c], 2
mov dword [ebp - 0x2264], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.18140832
push eax
call fcn.18006be6
mov ecx, dword [ebp - 0x2250]
add esp, 0x14
push edi
call fcn.1803b8e2
mov esi, eax
test esi, esi
js 0x1803c8e9
mov ecx, dword [ebp - 0x2250]
push edi
lfence
call fcn.1803be57
mov esi, eax
test esi, esi
js 0x1803c8e9
push 0x7b
pop eax
cmp word [edi], ax
jne 0x1803c7bf
push edi
lfence
call fcn.18136f20
pop ecx
cmp eax, 1
jne 0x1803c7bf
push dword [ebp - 0x2264]
mov ecx, dword [ebp - 0x2250]
push 0
push ebx
push edi
lfence
call fcn.1803c2e7
mov esi, eax
test esi, esi
jns 0x1803c7a6
cmp dword [ebp - 0x2264], 0
je 0x1803c8e9
mov ecx, dword [ebp - 0x2250]
push edi
lfence
call fcn.1803b8e2
mov esi, eax
test esi, esi
js 0x1803c8e9
mov eax, dword [ebp - 0x225c]
cmp eax, 2
je 0x1803c8c1
test eax, eax
je 0x1803c7ea
cmp dword [ebp + 0x14], 0
jne 0x1803c8c1
mov ecx, eax
call fcn.1803acbc
mov esi, eax
jmp 0x1803c8e9
cmp dword [ebp + 0x14], 0
je 0x1803c83e
push ebx
call fcn.1803be0c
test eax, eax
je 0x1803c83e
lea eax, [ebp - 0x210]
push eax
call fcn.1803bddd
test eax, eax
je 0x1803c8c1
cmp dword [ebp - 0x2260], 0
je 0x1803c8c1
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x224c]
call fcn.1803b1f9
mov ebx, dword [ebp - 0x224c]
mov dword [ebp - 0x2254], ebx
jmp 0x1803c8c1
push ebx
call fcn.1803be0c
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x225c], ecx
test ebx, ebx
je 0x1803c86d
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x225c]
xor ebx, ebx
mov dword [ebp - 0x2254], ebx
mov dword [ebp - 0x224c], ebx
and dword [ebp - 0x2248], 0
test eax, eax
jne 0x1803c7dc
cmp dword [ebp - 0x2260], eax
je 0x1803c8c1
test ecx, ecx
jne 0x1803c8c1
mov eax, dword [ebp - 0x2258]
and dword [ebp - 0x223c], ecx
and dword [ebp - 0x2238], ecx
lea ecx, [ebp - 0x2240]
mov dword [ebp - 0x2240], eax
lea eax, [ebp - 0x210]
push eax
call fcn.1803b062
and dword [ebp - 0x2240], 0
test eax, eax
jne 0x1803c7dc
push 0x7d
pop eax
cmp word [edi], ax
jne 0x1803c349
jmp 0x1803c8e9
mov ecx, eax
call fcn.1803acbc
mov esi, eax
test ebx, ebx
je 0x1803c8e3
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x2254]
test ebx, ebx
je 0x1803c8f4
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e228
leave
ret 0x10
mov ecx, eax
call fcn.1803acbc
cmp dword [ebp - 0x2228], 0
mov esi, eax
je 0x1803c8e9
push dword [ebp - 0x2228]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1803c8e9
mov ecx, eax
call fcn.1803acbc
mov esi, eax
mov ebx, dword [ebp - 0x224c]
jmp 0x1803c8e9
mov esi, 0x80020009
jmp 0x1803c8e9