Function at 0x6001e9ed
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push 0x42c
mov eax, 0x6003bc15
call fcn.6003b2c5
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
and dword [ebp - 0x42c], 0
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
mov dword [ebp - 0x438], eax
jmp 0x6001eee4
mov esi, dword [sym.imp.kernel32.dll_lstrcmpiW]
push 0x600014cc
push edi
mov dword [ebp - 0x430], 1
call esi
mov ebx, eax
neg ebx
push 0x600014f0
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x6001ea5a
test ebx, ebx
je 0x6001eb0b
mov ecx, dword [ebp - 0x424]
push edi
call fcn.60020ef9
mov esi, eax
test esi, esi
jl 0x6001ef58
cmp dword [ebp + 0x10], 0
je 0x6001eb0b
and dword [ebp - 0x428], 0
push 0x5c
push edi
call fcn.60020ef9
test eax, eax
jne 0x6001eefc
mov ecx, dword [ebp - 0x424]
push edi
call fcn.60020ef9
test eax, eax
je 0x6001eac0
mov eax, dword [ebp - 0x434]
push edi
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x428], eax
call fcn.60020ef9
and dword [ebp - 0x428], 0
test ebx, ebx
je 0x6001eb00
mov ecx, dword [ebp - 0x424]
push edi
call fcn.60020ef9
mov esi, eax
test esi, esi
jl 0x6001ef0e
mov ecx, dword [ebp - 0x424]
push edi
call fcn.60020ef9
lea ecx, [ebp - 0x428]
mov esi, eax
call fcn.6001d372
test esi, esi
jl 0x6001ef58
jmp 0x6001eea9
lea ecx, [ebp - 0x428]
call fcn.6001d372
push 0x600014dc
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
jne 0x6001eb37
mov ecx, dword [ebp - 0x424]
and dword [ebp - 0x430], eax
push edi
call fcn.60020ef9
mov esi, eax
test esi, esi
jl 0x6001ef58
push 0x60001508
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
jne 0x6001ec48
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x420]
push eax
call fcn.60020ef9
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x6001ef58
mov ecx, dword [ebp - 0x424]
push edi
call fcn.60020ef9
mov esi, eax
cmp esi, ebx
jl 0x6001ef58
cmp word [edi], 0x3d
jne 0x6001ef07
cmp dword [ebp + 0x10], ebx
je 0x6001ebd6
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x430], eax
push edi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x430]
push eax
mov byte [ebp - 4], 1
call fcn.60020ef9
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x430], ebx
lea ecx, [ebp - 0x430]
jl 0x6001ef53
mov byte [ebp - 4], bl
jmp 0x6001eea4
cmp dword [ebp + 0x14], ebx
jne 0x6001ec33
cmp dword [ebp - 0x430], ebx
je 0x6001ec33
push 0x20006
push ebx
push dword [ebp - 0x434]
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x428], ebx
call fcn.60020ef9
cmp eax, ebx
jne 0x6001ef16
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x6001ec28
cmp eax, 2
jne 0x6001ef16
lea ecx, [ebp - 0x428]
call fcn.6001d372
mov ecx, dword [ebp - 0x424]
push edi
call fcn.60020ef9
mov esi, eax
cmp esi, ebx
jmp 0x6001eeee
push 0x5c
push edi
call fcn.60020ef9
test eax, eax
jne 0x6001ef07
cmp dword [ebp + 0x10], eax
je 0x6001ecf7
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.60020ef9
test eax, eax
je 0x6001ecbb
push 0x20019
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.60020ef9
test eax, eax
je 0x6001ecbb
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.60020ef9
mov esi, eax
cmp esi, ebx
jne 0x6001ef24
mov ecx, dword [ebp - 0x424]
push edi
call fcn.60020ef9
mov esi, eax
test esi, esi
jl 0x6001ef58
cmp word [edi], 0x3d
jne 0x6001eea9
mov ecx, dword [ebp - 0x424]
push edi
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.60020ef9
mov esi, eax
jmp 0x6001eaf3
cmp dword [ebp + 0x14], 0
jne 0x6001ed18
push 0x20019
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.60020ef9
mov ebx, eax
jmp 0x6001ed1b
push 2
pop ebx
test ebx, ebx
je 0x6001ed26
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
add esp, 0x10
push eax
call fcn.60020ef9
mov ecx, dword [ebp - 0x424]
push edi
call fcn.60020ef9
mov esi, eax
test esi, esi
jl 0x6001ef58
mov ecx, dword [ebp - 0x424]
push edi
call fcn.60020ef9
mov esi, eax
test esi, esi
jl 0x6001ef58
cmp word [edi], 0x7b
jne 0x6001edbf
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp eax, 1
jne 0x6001edbf
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x424]
push 0
push dword [ebp - 0x42c]
push edi
call fcn.6001e9ed
mov esi, eax
test esi, esi
jge 0x6001eda9
cmp dword [ebp + 0x14], 0
je 0x6001ef58
mov ecx, dword [ebp - 0x424]
push edi
call fcn.60020ef9
mov esi, eax
test esi, esi
jl 0x6001ef58
cmp ebx, 2
mov eax, dword [ebp - 0x438]
mov dword [ebp + 0x14], eax
je 0x6001eef0
test ebx, ebx
je 0x6001edea
test eax, eax
jne 0x6001eef0
push ebx
call fcn.60020ef9
mov esi, eax
jmp 0x6001ef58
test eax, eax
je 0x6001ee41
push dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x424]
call fcn.60020ef9
test eax, eax
je 0x6001ee41
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x218]
push eax
call fcn.60020ef9
test eax, eax
je 0x6001eef0
cmp dword [ebp - 0x430], 0
je 0x6001eef0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x42c]
call fcn.60020ef9
jmp 0x6001eef0
push dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x424]
call fcn.60020ef9
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x428], eax
call fcn.6001d372
mov ebx, eax
test ebx, ebx
jne 0x6001ef37
cmp dword [ebp - 0x430], eax
je 0x6001eef0
cmp dword [ebp - 0x428], eax
jne 0x6001eef0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x430], ebx
test eax, eax
jne 0x6001ef45
lea ecx, [ebp - 0x430]
call fcn.6001d372
cmp dword [ebp + 0x10], 0
je 0x6001eef0
cmp word [edi], 0x7b
jne 0x6001eef0
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp eax, 1
jne 0x6001eef0
mov ecx, dword [ebp - 0x424]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x42c]
push edi
call fcn.6001e9ed
mov esi, eax
test esi, esi
jl 0x6001ef58
mov ecx, dword [ebp - 0x424]
push edi
call fcn.60020ef9
mov esi, eax
test esi, esi
jl 0x6001ef58
cmp word [edi], 0x7d
jne 0x6001ea27
jmp 0x6001ef58
lea ecx, [ebp - 0x428]
call fcn.6001d372
mov esi, 0x80020009
jmp 0x6001ef58
lea ecx, [ebp - 0x428]
jmp 0x6001ef53
push eax
call fcn.60020ef9
lea ecx, [ebp - 0x428]
jmp 0x6001ef51
lea ecx, [ebp - 0x42c]
call fcn.6001d372
push esi
call fcn.60020ef9
jmp 0x6001ef65
lea ecx, [ebp - 0x42c]
call fcn.6001d372
push ebx
jmp 0x6001ef30
push eax
call fcn.60020ef9
lea ecx, [ebp - 0x430]
mov esi, eax
call fcn.6001d372
lea ecx, [ebp - 0x42c]
call fcn.6001d372
mov eax, esi
call fcn.6003b348
ret 0x10