Function at 0x404710
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d616
mov eax, dword fs:[0]
push eax
mov eax, 0x2258
call fcn.0044c880
mov eax, dword [0x47b00c]
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 - 0x225c], eax
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
movq qword [ebp - 0x2258], xmm0
mov dword [ebp - 0x2250], 0
mov dword [ebp - 0x2260], ecx
mov dword [ebp - 0x2258], 0
mov dword [ebp - 0x2254], 0
mov dword [ebp - 0x2250], 0
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x2264], ecx
mov ecx, eax
push edi
mov dword [ebp - 4], 0
call fcn.00403be0
mov esi, eax
test esi, esi
js 0x404eb0
cmp word [edi], 0x7d
je 0x404e9d
nop word [eax + eax]
push str.Delete
push edi
mov dword [ebp - 0x224c], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x46dd84
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4047f3
test ebx, ebx
je 0x40491f
mov ecx, dword [ebp - 0x225c]
push edi
call fcn.00403be0
mov esi, eax
test esi, esi
js 0x404e9d
cmp dword [ebp + 0x10], 0
je 0x40491f
movzx eax, word [edi]
xorps xmm0, xmm0
movq qword [ebp - 0x2224], xmm0
mov ecx, edi
mov dword [ebp - 0x221c], 0
mov dword [ebp - 0x2224], 0
mov dword [ebp - 0x2220], 0
mov dword [ebp - 0x221c], 0
test ax, ax
je 0x404871
cmp ax, 0x5c
je 0x404869
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x404850
jmp 0x404871
test ecx, ecx
jne 0x404e3c
mov esi, 0x46afa0
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4048d8
add esi, 4
cmp esi, 0x46afd0
jl 0x404876
mov eax, dword [ebp - 0x2260]
lea ecx, [ebp - 0x2224]
push edi
mov dword [ebp - 0x2224], eax
mov dword [ebp - 0x2220], 0
mov dword [ebp - 0x221c], 0
call fcn.004031b0
mov dword [ebp - 0x2224], 0
mov dword [ebp - 0x2220], 0
mov dword [ebp - 0x221c], 0
test ebx, ebx
je 0x404915
mov ebx, dword [ebp - 0x225c]
mov ecx, ebx
push edi
call fcn.00403be0
mov esi, eax
test esi, esi
js 0x404e4e
push edi
mov ecx, ebx
call fcn.00404230
mov esi, eax
test esi, esi
js 0x404e4e
mov dword [ebp - 0x2220], 0
jmp 0x404bef
mov dword [ebp - 0x2220], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x225c]
test eax, eax
jne 0x40494d
push edi
mov ecx, ebx
mov dword [ebp - 0x224c], eax
call fcn.00403be0
mov esi, eax
test esi, esi
js 0x404e9d
push 0x46dd7c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x404aea
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.00403be0
mov esi, eax
test esi, esi
js 0x404e9d
push edi
mov ecx, ebx
call fcn.00403be0
mov esi, eax
test esi, esi
js 0x404e9d
cmp word [edi], 0x3d
jne 0x404e47
cmp dword [ebp + 0x10], 0
je 0x404a29
xorps xmm0, xmm0
mov dword [ebp - 0x2228], 0
movq qword [ebp - 0x2230], xmm0
mov eax, dword [ebp - 0x2260]
mov ecx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x2230], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x2230]
mov dword [ebp - 0x222c], 0
push eax
mov dword [ebp - 0x2228], 0
call fcn.00403d80
mov esi, eax
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2228], 0
test esi, esi
js 0x404e5b
mov byte [ebp - 4], 0
mov dword [ebp - 0x222c], 0
jmp 0x404bef
cmp dword [ebp + 0x14], 0
jne 0x404ad3
cmp dword [ebp - 0x224c], 0
je 0x404ad3
push 0x20006
push 0
push dword [ebp - 0x2260]
xorps xmm0, xmm0
mov dword [ebp - 0x2234], 0
movq qword [ebp - 0x223c], xmm0
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x223c], 0
mov dword [ebp - 0x2238], 0
mov dword [ebp - 0x2234], 0
call fcn.00403070
test eax, eax
jne 0x404e68
mov esi, dword [ebp - 0x223c]
lea eax, [ebp - 0x2218]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x404ab4
cmp eax, 2
jne 0x404e68
test esi, esi
je 0x404ac9
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x223c], 0
mov dword [ebp - 0x2238], 0
push edi
mov ecx, ebx
call fcn.00404230
mov esi, eax
test esi, esi
js 0x404e9d
jmp 0x404e30
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x404b15
cmp ax, 0x5c
je 0x404b0d
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x404af4
jmp 0x404b15
test ecx, ecx
jne 0x404e47
cmp dword [ebp + 0x10], 0
je 0x404c4c
mov ecx, dword [ebp - 0x2250]
lea eax, [ebp - 0x224c]
mov esi, dword [ebp - 0x2260]
mov dword [ebp - 0x224c], 0
push eax
push 0x2001f
test ecx, ecx
je 0x404b4f
push ecx
push edi
push esi
call fcn.00402960
jmp 0x404b59
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404b88
mov ecx, dword [ebp - 0x2258]
test ecx, ecx
je 0x404b6e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x224c]
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], 0
test eax, eax
je 0x404bb6
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2258]
call fcn.00403070
test eax, eax
je 0x404bb6
sub esp, 0x14
lea ecx, [ebp - 0x2258]
push edi
push esi
call fcn.00402fd0
test eax, eax
jne 0x404e94
mov ebx, dword [ebp - 0x225c]
mov ecx, ebx
push edi
call fcn.00403be0
mov esi, eax
test esi, esi
js 0x404e9d
cmp word [edi], 0x3d
jne 0x404bef
push edi
push 0
lea eax, [ebp - 0x2258]
mov ecx, ebx
push eax
call fcn.00403d80
mov esi, eax
test esi, esi
js 0x404e9d
cmp word [edi], 0x7b
jne 0x404e30
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404c00
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x404e30
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2258]
push edi
call fcn.00404710
mov esi, eax
test esi, esi
js 0x404e9d
push edi
mov ecx, ebx
call fcn.00403be0
mov esi, eax
test esi, esi
js 0x404e9d
jmp 0x404e30
cmp dword [ebp + 0x14], 0
jne 0x404c71
push 0x20019
push edi
push dword [ebp - 0x2260]
lea ecx, [ebp - 0x2258]
call fcn.00403070
mov ebx, eax
test ebx, ebx
jne 0x404c76
jmp 0x404c7d
mov ebx, 2
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0043df31
push eax
call fcn.00402750
mov ecx, dword [ebp - 0x225c]
add esp, 0x14
push edi
call fcn.00403be0
mov esi, eax
test esi, esi
js 0x404e9d
mov ecx, dword [ebp - 0x225c]
push edi
call fcn.00404230
mov esi, eax
test esi, esi
js 0x404e9d
cmp word [edi], 0x7b
jne 0x404d22
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404cd1
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x404d22
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x225c]
push 0
push dword [ebp - 0x2258]
push edi
call fcn.00404710
mov esi, eax
test esi, esi
jns 0x404d0c
cmp dword [ebp + 0x14], 0
je 0x404e9d
mov ecx, dword [ebp - 0x225c]
push edi
call fcn.00403be0
mov esi, eax
test esi, esi
js 0x404e9d
mov eax, dword [ebp - 0x2264]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x404e30
test ebx, ebx
je 0x404d47
test eax, eax
jne 0x404e30
mov ecx, ebx
jmp 0x404e96
mov ebx, dword [ebp - 0x2258]
test eax, eax
je 0x404d93
push ebx
call fcn.004041c0
test eax, eax
je 0x404d93
lea eax, [ebp - 0x218]
push eax
call fcn.00404180
test eax, eax
je 0x404e30
cmp dword [ebp - 0x224c], 0
je 0x404e30
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2258]
call fcn.004031b0
jmp 0x404e30
push ebx
call fcn.004041c0
mov ecx, dword [ebp - 0x2258]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x404db6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x2258], ecx
mov dword [ebp - 0x2254], 0
test eax, eax
jne 0x404e94
cmp dword [ebp - 0x224c], eax
je 0x404e30
test ebx, ebx
jne 0x404e30
mov eax, dword [ebp - 0x2260]
lea ecx, [ebp - 0x2248]
xorps xmm0, xmm0
mov dword [ebp - 0x2240], ebx
movq qword [ebp - 0x2248], xmm0
mov dword [ebp - 0x2248], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x2244], ebx
mov dword [ebp - 0x2240], ebx
call fcn.00402ef0
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
mov dword [ebp - 0x2240], ebx
test eax, eax
jne 0x404e7e
lea ecx, [ebp - 0x2248]
call fcn.00402ed0
cmp word [edi], 0x7d
jne 0x4047c0
jmp 0x404e9d
lea ecx, [ebp - 0x2224]
call fcn.00402ed0
mov esi, 0x80020009
jmp 0x404e9d
lea ecx, [ebp - 0x2224]
call fcn.00402ed0
jmp 0x404e9d
lea ecx, [ebp - 0x2230]
call fcn.00402ed0
jmp 0x404e9d
mov ecx, eax
call fcn.00402840
lea ecx, [ebp - 0x223c]
mov esi, eax
call fcn.00402ed0
jmp 0x404e9d
mov ecx, eax
call fcn.00402840
lea ecx, [ebp - 0x2248]
mov esi, eax
call fcn.00402ed0
jmp 0x404e9d
mov ecx, eax
call fcn.00402840
mov esi, eax
mov eax, dword [ebp - 0x2258]
test eax, eax
je 0x404eae
push eax
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 - 0x10]
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 0x10