Function at 0x4044e0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408af7
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.00407c70
mov eax, dword [0x40e034]
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 - 0x223c], eax
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
movq qword [ebp - 0x2228], xmm0
mov dword [ebp - 0x2228], 0
mov dword [ebp - 0x2220], 0
mov dword [ebp - 0x222c], ecx
mov dword [ebp - 0x2224], 0
mov dword [ebp - 0x2220], 0
mov dword [ebp - 4], 0
mov ecx, eax
push edi
call fcn.004034c0
mov esi, eax
test esi, esi
js 0x404b51
cmp word [edi], 0x7d
je 0x404b51
nop dword [eax]
push str.Delete
push edi
mov dword [ebp - 0x221c], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x40a378
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4045b3
test ebx, ebx
je 0x4046f1
mov ecx, dword [ebp - 0x223c]
push edi
call fcn.004034c0
mov esi, eax
test esi, esi
js 0x404b51
cmp dword [ebp + 0x10], 0
je 0x4046f1
xorps xmm0, xmm0
mov dword [ebp - 0x2230], 0
movq qword [ebp - 0x2238], xmm0
mov dword [ebp - 0x2238], 0
mov dword [ebp - 0x2234], 0
mov dword [ebp - 0x2230], 0
mov byte [ebp - 4], 1
mov ecx, edi
movzx eax, word [edi]
test ax, ax
je 0x404635
cmp ax, 0x5c
je 0x40462d
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x404614
jmp 0x404635
test ecx, ecx
jne 0x404cda
mov esi, 0x40a460
nop word [eax + eax]
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4046a2
add esi, 4
cmp esi, 0x40a490
jl 0x404640
mov eax, dword [ebp - 0x222c]
lea ecx, [ebp - 0x2238]
push edi
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x2234], 0
mov dword [ebp - 0x2230], 0
call fcn.00403c90
mov dword [ebp - 0x2238], 0
mov dword [ebp - 0x2234], 0
mov dword [ebp - 0x2230], 0
test ebx, ebx
je 0x4046e3
mov ebx, dword [ebp - 0x223c]
mov ecx, ebx
push edi
call fcn.004034c0
mov esi, eax
test esi, esi
js 0x404cf3
push edi
mov ecx, ebx
call fcn.00404fb0
mov esi, eax
test esi, esi
js 0x404cf3
mov byte [ebp - 4], 0
mov dword [ebp - 0x2234], 0
jmp 0x404a00
mov byte [ebp - 4], 0
mov dword [ebp - 0x2234], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x223c]
test eax, eax
jne 0x40471f
push edi
mov ecx, ebx
mov dword [ebp - 0x221c], eax
call fcn.004034c0
mov esi, eax
test esi, esi
js 0x404b51
push 0x40a370
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4048e2
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.004034c0
mov esi, eax
test esi, esi
js 0x404b51
push edi
mov ecx, ebx
call fcn.004034c0
mov esi, eax
test esi, esi
js 0x404b51
cmp word [edi], 0x3d
jne 0x404ce9
cmp dword [ebp + 0x10], 0
je 0x404819
xorps xmm0, xmm0
mov dword [ebp - 0x2244], 0
movq qword [ebp - 0x224c], xmm0
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
mov dword [ebp - 0x2244], 0
mov byte [ebp - 4], 2
mov ecx, ebx
mov eax, dword [ebp - 0x222c]
mov dword [ebp - 0x224c], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x224c]
mov dword [ebp - 0x2248], 0
push eax
mov dword [ebp - 0x2244], 0
call fcn.00401b60
mov esi, eax
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
mov dword [ebp - 0x2244], 0
test esi, esi
js 0x404d07
mov byte [ebp - 4], 0
mov dword [ebp - 0x2248], 0
jmp 0x404a00
cmp dword [ebp + 0x14], 0
jne 0x4048cb
cmp dword [ebp - 0x221c], 0
je 0x4048cb
xorps xmm0, xmm0
mov dword [ebp - 0x225c], 0
movq qword [ebp - 0x2264], xmm0
mov dword [ebp - 0x2264], 0
mov dword [ebp - 0x2260], 0
mov dword [ebp - 0x225c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2264]
push 0x20006
push 0
push dword [ebp - 0x222c]
call fcn.00403660
test eax, eax
jne 0x404d1b
mov esi, dword [ebp - 0x2264]
lea eax, [ebp - 0x2218]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4048a8
cmp eax, 2
jne 0x404d1b
mov byte [ebp - 4], 0
test esi, esi
je 0x4048c1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2264], 0
mov dword [ebp - 0x2260], 0
push edi
mov ecx, ebx
call fcn.00404fb0
mov esi, eax
test esi, esi
js 0x404b51
jmp 0x404ccb
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x404911
nop dword [eax]
cmp ax, 0x5c
je 0x404909
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x4048f0
jmp 0x404911
test ecx, ecx
jne 0x404ce9
cmp dword [ebp + 0x10], 0
je 0x404a5c
mov ecx, dword [ebp - 0x2220]
lea eax, [ebp - 0x221c]
mov esi, dword [ebp - 0x222c]
mov dword [ebp - 0x221c], 0
push eax
push 0x2001f
push 0
push edi
push esi
test ecx, ecx
je 0x40494c
call fcn.00403f90
jmp 0x404952
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404995
mov ecx, dword [ebp - 0x2228]
test ecx, ecx
je 0x404971
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2228], 0
mov ecx, dword [ebp - 0x221c]
mov dword [ebp - 0x2224], 0
mov dword [ebp - 0x2228], ecx
mov dword [ebp - 0x2224], 0
test eax, eax
je 0x4049cd
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.00403660
test eax, eax
je 0x4049cd
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.00403010
test eax, eax
jne 0x404b46
push edi
mov ecx, ebx
call fcn.004034c0
mov esi, eax
test esi, esi
js 0x404b51
cmp word [edi], 0x3d
jne 0x404a00
push edi
push 0
lea eax, [ebp - 0x2228]
mov ecx, ebx
push eax
call fcn.00401b60
mov esi, eax
test esi, esi
js 0x404b51
cmp word [edi], 0x7b
jne 0x404ccb
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404a10
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x404ccb
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2228]
push edi
call fcn.004044e0
mov esi, eax
test esi, esi
js 0x404b51
push edi
mov ecx, ebx
call fcn.004034c0
mov esi, eax
test esi, esi
js 0x404b51
jmp 0x404ccb
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x404a7c
push 0x20019
push edi
push dword [ebp - 0x222c]
lea ecx, [ebp - 0x2228]
call fcn.00403660
jmp 0x404a81
mov eax, 2
test eax, eax
mov dword [ebp - 0x2240], eax
push 0xffffffffffffffff
mov eax, 1
mov ecx, esi
cmovne ecx, eax
lea eax, [ebp - 0x218]
push edi
push 0x104
push eax
mov dword [ebp - 0x2268], ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
push eax
call fcn.00402410
add esp, 0x14
mov ecx, ebx
push edi
call fcn.004034c0
mov esi, eax
test esi, esi
js 0x404b51
push edi
mov ecx, ebx
call fcn.00404fb0
mov esi, eax
test esi, esi
js 0x404b51
cmp word [edi], 0x7b
jne 0x404b29
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404ae2
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x404b29
push dword [ebp - 0x2268]
mov ecx, ebx
push 0
push dword [ebp - 0x2228]
push edi
call fcn.004044e0
mov esi, eax
test esi, esi
jns 0x404b1b
cmp dword [ebp - 0x2268], 0
je 0x404b51
push edi
mov ecx, ebx
call fcn.004034c0
mov esi, eax
test esi, esi
js 0x404b51
mov eax, dword [ebp - 0x2240]
cmp eax, 2
je 0x404ccb
test eax, eax
je 0x404b9d
cmp dword [ebp + 0x14], 0
jne 0x404ccb
push eax
call fcn.00402570
mov esi, eax
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2228]
test eax, eax
je 0x404b73
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2228], 0
mov eax, esi
mov dword [ebp - 0x2224], 0
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.00407c50
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0x14], 0
je 0x404bee
push dword [ebp - 0x2228]
mov ecx, ebx
call fcn.004032e0
test eax, eax
je 0x404bee
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00402e70
test eax, eax
je 0x404ccb
cmp dword [ebp - 0x221c], 0
je 0x404ccb
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2228]
call fcn.00403c90
jmp 0x404ccb
push dword [ebp - 0x2228]
mov ecx, ebx
call fcn.004032e0
mov ebx, dword [ebp - 0x2228]
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x2240], ecx
test ebx, ebx
je 0x404c24
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2240]
xor ebx, ebx
mov dword [ebp - 0x2228], ebx
mov dword [ebp - 0x2224], 0
test eax, eax
jne 0x404b46
cmp dword [ebp - 0x221c], eax
je 0x404ccb
test ecx, ecx
jne 0x404ccb
xorps xmm0, xmm0
mov dword [ebp - 0x2250], ecx
movq qword [ebp - 0x2258], xmm0
mov dword [ebp - 0x2258], ecx
mov dword [ebp - 0x2254], ecx
mov dword [ebp - 0x2250], ecx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x222c]
mov dword [ebp - 0x2258], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2254], ecx
mov dword [ebp - 0x2250], ecx
lea ecx, [ebp - 0x2258]
push eax
call fcn.004030c0
mov dword [ebp - 0x2258], 0
mov dword [ebp - 0x2254], 0
mov dword [ebp - 0x2250], 0
test eax, eax
jne 0x404d3a
mov byte [ebp - 4], al
lea ecx, [ebp - 0x2258]
call fcn.00401670
cmp word [edi], 0x7d
jne 0x404580
jmp 0x404b51
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2238]
call fcn.00401670
mov esi, 0x80020009
jmp 0x404b51
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2238]
call fcn.00401670
jmp 0x404b51
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224c]
call fcn.00401670
jmp 0x404b51
push eax
call fcn.00402570
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2264]
call fcn.00401670
jmp 0x404b51
push eax
call fcn.00402570
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2258]
call fcn.00401670
jmp 0x404b51