Function at 0x1000488b
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030702
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.1002e380
mov eax, dword [0x100468a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x2220], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x221c], ecx
xor ecx, ecx
mov dword [ebp - 0x2234], ecx
mov dword [ebp - 0x2230], ecx
mov dword [ebp - 0x222c], ecx
mov dword [ebp - 4], ecx
mov ecx, eax
jmp 0x10004deb
push str.Delete
push edi
mov dword [ebp - 0x2224], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10004922
test ebx, ebx
je 0x100049ec
mov ecx, dword [ebp - 0x2220]
push edi
call fcn.10003f9f
mov esi, eax
test esi, esi
js 0x10004e1d
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x100049ee
push 0x5c
push edi
mov dword [ebp - 0x2240], esi
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
call fcn.100050ea
pop ecx
pop ecx
test eax, eax
jne 0x10004e0d
mov ecx, dword [ebp - 0x2220]
push edi
call fcn.1000342d
test eax, eax
je 0x100049a1
mov eax, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2240]
push edi
mov dword [ebp - 0x2240], eax
call fcn.1000436f
mov dword [ebp - 0x2240], esi
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
test ebx, ebx
je 0x100049df
mov ebx, dword [ebp - 0x2220]
mov ecx, ebx
push edi
call fcn.10003f9f
mov esi, eax
test esi, esi
js 0x10004e05
push edi
mov ecx, ebx
call fcn.10005063
lea ecx, [ebp - 0x2240]
mov esi, eax
call fcn.100034ff
test esi, esi
js 0x10004e1d
jmp 0x10004db6
lea ecx, [ebp - 0x2240]
call fcn.100034ff
jmp 0x100049ee
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x2220]
test eax, eax
jne 0x10004a1c
push edi
mov ecx, ebx
mov dword [ebp - 0x2224], esi
call fcn.10003f9f
mov esi, eax
test esi, esi
js 0x10004e1d
push 0x1003265c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10004b46
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.10003f9f
mov esi, eax
test esi, esi
js 0x10004e1d
push edi
mov ecx, ebx
call fcn.10003f9f
mov esi, eax
test esi, esi
js 0x10004e1d
push 0x3d
pop eax
cmp word [edi], ax
jne 0x10004e18
cmp dword [ebp + 0x10], 0
je 0x10004acc
mov eax, dword [ebp - 0x221c]
mov ecx, ebx
and dword [ebp - 0x224c], 0
and dword [ebp - 0x2248], 0
mov dword [ebp - 0x2250], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x2250]
mov byte [ebp - 4], 1
push eax
call fcn.100023ff
mov esi, eax
lea ecx, [ebp - 0x2250]
xor eax, eax
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], eax
mov dword [ebp - 0x2248], eax
test esi, esi
js 0x10004e55
mov byte [ebp - 4], al
jmp 0x10004db1
cmp dword [ebp + 0x14], 0
jne 0x10004b39
cmp dword [ebp - 0x2224], 0
je 0x10004b39
xor eax, eax
lea ecx, [ebp - 0x225c]
push 0x20006
push eax
push dword [ebp - 0x221c]
mov dword [ebp - 0x225c], eax
mov dword [ebp - 0x2258], eax
mov dword [ebp - 0x2254], eax
call fcn.100040d7
test eax, eax
jne 0x10004e46
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x225c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10004b2e
cmp eax, 2
jne 0x10004e46
lea ecx, [ebp - 0x225c]
call fcn.100034ff
push edi
mov ecx, ebx
call fcn.10005063
jmp 0x10004df1
push 0x5c
push edi
call fcn.100050ea
pop ecx
pop ecx
test eax, eax
jne 0x10004e18
cmp dword [ebp + 0x10], eax
je 0x10004be9
mov esi, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2234]
push 0x2001f
push edi
push esi
call fcn.100040d7
test eax, eax
je 0x10004bb3
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2234]
call fcn.100040d7
test eax, eax
je 0x10004bb3
xor eax, eax
lea ecx, [ebp - 0x2234]
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
call fcn.10003519
test eax, eax
jne 0x10004cd3
push edi
mov ecx, ebx
call fcn.10003f9f
mov esi, eax
test esi, esi
js 0x10004e1d
push 0x3d
pop eax
cmp word [edi], ax
jne 0x10004db6
push edi
push 0
lea eax, [ebp - 0x2234]
mov ecx, ebx
push eax
call fcn.100023ff
mov esi, eax
jmp 0x100049d2
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x10004c09
push 0x20019
push edi
push dword [ebp - 0x221c]
lea ecx, [ebp - 0x2234]
call fcn.100040d7
jmp 0x10004c0c
push 2
pop eax
mov dword [ebp - 0x2228], eax
mov dword [ebp - 0x2244], esi
test eax, eax
je 0x10004c26
mov dword [ebp - 0x2244], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10014be0
push eax
call fcn.10002be1
add esp, 0x14
mov ecx, ebx
push edi
call fcn.10003f9f
mov esi, eax
test esi, esi
js 0x10004e1d
push edi
mov ecx, ebx
call fcn.10005063
mov esi, eax
test esi, esi
js 0x10004e1d
push 0x7b
pop eax
cmp word [edi], ax
jne 0x10004cb6
push edi
call sub.msvcrt.dll_wcslen
pop ecx
cmp eax, 1
jne 0x10004cb6
push dword [ebp - 0x2244]
mov ecx, ebx
push 0
push dword [ebp - 0x2234]
push edi
call fcn.1000488b
mov esi, eax
test esi, esi
jns 0x10004ca4
cmp dword [ebp - 0x2244], 0
je 0x10004e1d
push edi
mov ecx, ebx
call fcn.10003f9f
mov esi, eax
test esi, esi
js 0x10004e1d
mov eax, dword [ebp - 0x2228]
cmp eax, 2
je 0x10004df7
test eax, eax
je 0x10004ce1
cmp dword [ebp + 0x14], 0
jne 0x10004df7
push eax
call fcn.10002c2f
pop ecx
mov esi, eax
jmp 0x10004e1d
cmp dword [ebp + 0x14], 0
je 0x10004d32
push dword [ebp - 0x2234]
mov ecx, ebx
call fcn.10003c21
test eax, eax
je 0x10004d32
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.1000342d
test eax, eax
je 0x10004df7
cmp dword [ebp - 0x2224], 0
je 0x10004df7
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2234]
call fcn.1000436f
jmp 0x10004df7
push dword [ebp - 0x2234]
mov ecx, ebx
call fcn.10003c21
lea ecx, [ebp - 0x2234]
mov dword [ebp - 0x2228], eax
call fcn.100034ff
test eax, eax
jne 0x10004cd3
cmp dword [ebp - 0x2224], eax
je 0x10004df7
cmp dword [ebp - 0x2228], eax
jne 0x10004df7
mov eax, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2268]
and dword [ebp - 0x2264], 0
and dword [ebp - 0x2260], 0
mov dword [ebp - 0x2268], eax
lea eax, [ebp - 0x218]
push eax
call fcn.100036c0
and dword [ebp - 0x2268], 0
test eax, eax
jne 0x10004e5c
lea ecx, [ebp - 0x2268]
call fcn.100034ff
cmp dword [ebp + 0x10], 0
je 0x10004df7
push 0x7b
pop eax
cmp word [edi], ax
jne 0x10004df7
push edi
call sub.msvcrt.dll_wcslen
pop ecx
cmp eax, 1
jne 0x10004df7
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2234]
push edi
call fcn.1000488b
mov esi, eax
test esi, esi
js 0x10004e1d
mov ecx, ebx
push edi
call fcn.10003f9f
mov esi, eax
test esi, esi
js 0x10004e1d
push 0x7d
pop eax
cmp word [edi], ax
jne 0x100048ef
jmp 0x10004e1d
lea ecx, [ebp - 0x2240]
jmp 0x10004e55
lea ecx, [ebp - 0x2240]
call fcn.100034ff
mov esi, 0x80020009
lea ecx, [ebp - 0x2234]
call fcn.100034ff
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 - 0x10]
xor ecx, ebp
call fcn.1002e36c
leave
ret 0x10
push eax
call fcn.10002c2f
pop ecx
lea ecx, [ebp - 0x225c]
mov esi, eax
call fcn.100034ff
jmp 0x10004e1d
push eax
call fcn.10002c2f
pop ecx
lea ecx, [ebp - 0x2268]
jmp 0x10004e53