Function at 0x404630
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b9e6
mov eax, dword fs:[0]
push eax
mov eax, 0x2258
call fcn.0044afc0
mov eax, dword [0x46400c]
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.00403b00
mov esi, eax
test esi, esi
js 0x404dd0
cmp word [edi], 0x7d
je 0x404dbd
nop word [eax + eax]
push str.Delete
push edi
mov dword [ebp - 0x224c], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x458814
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x404713
test ebx, ebx
je 0x40483f
mov ecx, dword [ebp - 0x225c]
push edi
call fcn.00403b00
mov esi, eax
test esi, esi
js 0x404dbd
cmp dword [ebp + 0x10], 0
je 0x40483f
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 0x404791
cmp ax, 0x5c
je 0x404789
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x404770
jmp 0x404791
test ecx, ecx
jne 0x404d5c
mov esi, 0x455a10
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4047f8
add esi, 4
cmp esi, 0x455a40
jl 0x404796
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.004030d0
mov dword [ebp - 0x2224], 0
mov dword [ebp - 0x2220], 0
mov dword [ebp - 0x221c], 0
test ebx, ebx
je 0x404835
mov ebx, dword [ebp - 0x225c]
mov ecx, ebx
push edi
call fcn.00403b00
mov esi, eax
test esi, esi
js 0x404d6e
push edi
mov ecx, ebx
call fcn.00404150
mov esi, eax
test esi, esi
js 0x404d6e
mov dword [ebp - 0x2220], 0
jmp 0x404b0f
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 0x40486d
push edi
mov ecx, ebx
mov dword [ebp - 0x224c], eax
call fcn.00403b00
mov esi, eax
test esi, esi
js 0x404dbd
push 0x45880c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x404a0a
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.00403b00
mov esi, eax
test esi, esi
js 0x404dbd
push edi
mov ecx, ebx
call fcn.00403b00
mov esi, eax
test esi, esi
js 0x404dbd
cmp word [edi], 0x3d
jne 0x404d67
cmp dword [ebp + 0x10], 0
je 0x404949
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.00403ca0
mov esi, eax
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2228], 0
test esi, esi
js 0x404d7b
mov byte [ebp - 4], 0
mov dword [ebp - 0x222c], 0
jmp 0x404b0f
cmp dword [ebp + 0x14], 0
jne 0x4049f3
cmp dword [ebp - 0x224c], 0
je 0x4049f3
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.00402f90
test eax, eax
jne 0x404d88
mov esi, dword [ebp - 0x223c]
lea eax, [ebp - 0x2218]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4049d4
cmp eax, 2
jne 0x404d88
test esi, esi
je 0x4049e9
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.00404150
mov esi, eax
test esi, esi
js 0x404dbd
jmp 0x404d50
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x404a35
cmp ax, 0x5c
je 0x404a2d
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x404a14
jmp 0x404a35
test ecx, ecx
jne 0x404d67
cmp dword [ebp + 0x10], 0
je 0x404b6c
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 0x404a6f
push ecx
push edi
push esi
call fcn.00402880
jmp 0x404a79
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404aa8
mov ecx, dword [ebp - 0x2258]
test ecx, ecx
je 0x404a8e
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 0x404ad6
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2258]
call fcn.00402f90
test eax, eax
je 0x404ad6
sub esp, 0x14
lea ecx, [ebp - 0x2258]
push edi
push esi
call fcn.00402ef0
test eax, eax
jne 0x404db4
mov ebx, dword [ebp - 0x225c]
mov ecx, ebx
push edi
call fcn.00403b00
mov esi, eax
test esi, esi
js 0x404dbd
cmp word [edi], 0x3d
jne 0x404b0f
push edi
push 0
lea eax, [ebp - 0x2258]
mov ecx, ebx
push eax
call fcn.00403ca0
mov esi, eax
test esi, esi
js 0x404dbd
cmp word [edi], 0x7b
jne 0x404d50
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404b20
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x404d50
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2258]
push edi
call fcn.00404630
mov esi, eax
test esi, esi
js 0x404dbd
push edi
mov ecx, ebx
call fcn.00403b00
mov esi, eax
test esi, esi
js 0x404dbd
jmp 0x404d50
cmp dword [ebp + 0x14], 0
jne 0x404b91
push 0x20019
push edi
push dword [ebp - 0x2260]
lea ecx, [ebp - 0x2258]
call fcn.00402f90
mov ebx, eax
test ebx, ebx
jne 0x404b96
jmp 0x404b9d
mov ebx, 2
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00439f10
push eax
call fcn.00402670
mov ecx, dword [ebp - 0x225c]
add esp, 0x14
push edi
call fcn.00403b00
mov esi, eax
test esi, esi
js 0x404dbd
mov ecx, dword [ebp - 0x225c]
push edi
call fcn.00404150
mov esi, eax
test esi, esi
js 0x404dbd
cmp word [edi], 0x7b
jne 0x404c42
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404bf1
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x404c42
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x225c]
push 0
push dword [ebp - 0x2258]
push edi
call fcn.00404630
mov esi, eax
test esi, esi
jns 0x404c2c
cmp dword [ebp + 0x14], 0
je 0x404dbd
mov ecx, dword [ebp - 0x225c]
push edi
call fcn.00403b00
mov esi, eax
test esi, esi
js 0x404dbd
mov eax, dword [ebp - 0x2264]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x404d50
test ebx, ebx
je 0x404c67
test eax, eax
jne 0x404d50
mov ecx, ebx
jmp 0x404db6
mov ebx, dword [ebp - 0x2258]
test eax, eax
je 0x404cb3
push ebx
call fcn.004040e0
test eax, eax
je 0x404cb3
lea eax, [ebp - 0x218]
push eax
call fcn.004040a0
test eax, eax
je 0x404d50
cmp dword [ebp - 0x224c], 0
je 0x404d50
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2258]
call fcn.004030d0
jmp 0x404d50
push ebx
call fcn.004040e0
mov ecx, dword [ebp - 0x2258]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x404cd6
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 0x404db4
cmp dword [ebp - 0x224c], eax
je 0x404d50
test ebx, ebx
jne 0x404d50
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.00402e10
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
mov dword [ebp - 0x2240], ebx
test eax, eax
jne 0x404d9e
lea ecx, [ebp - 0x2248]
call fcn.00402df0
cmp word [edi], 0x7d
jne 0x4046e0
jmp 0x404dbd
lea ecx, [ebp - 0x2224]
call fcn.00402df0
mov esi, 0x80020009
jmp 0x404dbd
lea ecx, [ebp - 0x2224]
call fcn.00402df0
jmp 0x404dbd
lea ecx, [ebp - 0x2230]
call fcn.00402df0
jmp 0x404dbd
mov ecx, eax
call fcn.00402760
lea ecx, [ebp - 0x223c]
mov esi, eax
call fcn.00402df0
jmp 0x404dbd
mov ecx, eax
call fcn.00402760
lea ecx, [ebp - 0x2248]
mov esi, eax
call fcn.00402df0
jmp 0x404dbd
mov ecx, eax
call fcn.00402760
mov esi, eax
mov eax, dword [ebp - 0x2258]
test eax, eax
je 0x404dce
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.0042cf3b
mov esp, ebp
pop ebp
ret 0x10