Function at 0x42d288
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2264
call fcn.0050d9b0
mov eax, dword [0x5c2460]
xor eax, esp
mov dword [esp + 0x2260], eax
mov eax, ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov dword [esp + 8], ecx
xor ecx, ecx
push esi
mov ebx, ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x5c], ecx
mov ecx, eax
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
call fcn.0042c8cc
mov esi, eax
test esi, esi
js 0x42d7eb
jmp 0x42d79d
push str.Delete
push edi
mov dword [esp + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x53f920
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x42d31c
test ebx, ebx
je 0x42d3c6
mov ecx, dword [esp + 0xc]
push edi
call fcn.0042c8cc
mov esi, eax
test esi, esi
js 0x42d7dc
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x42d3c8
push 0x5c
pop edx
mov ecx, edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.0042c877
test eax, eax
jne 0x42d7d7
push edi
call fcn.0042cdf2
test eax, eax
je 0x42d389
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.0042c208
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
test ebx, ebx
je 0x42d3c0
mov ebx, dword [esp + 0xc]
mov ecx, ebx
push edi
call fcn.0042c8cc
mov esi, eax
test esi, esi
js 0x42d7dc
push edi
mov ecx, ebx
call fcn.0042ce58
mov esi, eax
test esi, esi
js 0x42d7dc
xor eax, eax
mov dword [esp + 0x2c], eax
jmp 0x42d74e
mov dword [esp + 0x2c], esi
jmp 0x42d3c8
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x42d3f2
push edi
mov ecx, ebx
mov dword [esp + 0x28], esi
call fcn.0042c8cc
mov esi, eax
test esi, esi
js 0x42d7dc
push 0x53f918
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42d505
lea eax, [esp + 0x268]
mov ecx, ebx
push eax
call fcn.0042c8cc
mov esi, eax
test esi, esi
js 0x42d7dc
push edi
mov ecx, ebx
call fcn.0042c8cc
mov esi, eax
test esi, esi
js 0x42d7dc
push 0x3d
pop eax
cmp word [edi], ax
jne 0x42d7d7
cmp dword [ebp + 0x10], 0
je 0x42d48b
mov eax, dword [esp + 0x10]
mov ecx, ebx
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x268]
push edi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0042ca1e
xor ecx, ecx
mov esi, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
test esi, esi
js 0x42d7dc
mov dword [esp + 0x44], ecx
jmp 0x42d74e
cmp dword [ebp + 0x14], 0
jne 0x42d4f8
cmp dword [esp + 0x24], 0
je 0x42d4f8
xor esi, esi
lea ecx, [esp + 0x34]
push 0x20006
push esi
push dword [esp + 0x18]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call fcn.0042c14c
test eax, eax
jne 0x42d7bb
mov ebx, dword [esp + 0x34]
lea eax, [esp + 0x268]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x42d4e1
cmp eax, 2
jne 0x42d7ab
test ebx, ebx
je 0x42d4f0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x34], esi
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x38], esi
push edi
mov ecx, ebx
call fcn.0042ce58
jmp 0x42d797
push 0x5c
pop edx
mov ecx, edi
call fcn.0042c877
test eax, eax
jne 0x42d7d7
cmp dword [ebp + 0x10], eax
je 0x42d59b
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 0x2001f
push edi
push esi
call fcn.0042c14c
test eax, eax
je 0x42d55e
push 0x20019
push edi
push esi
lea ecx, [esp + 0x20]
call fcn.0042c14c
test eax, eax
je 0x42d55e
sub esp, 0x14
lea ecx, [esp + 0x28]
push edi
push esi
call fcn.0042c0e9
test eax, eax
jne 0x42d687
push edi
mov ecx, ebx
call fcn.0042c8cc
mov esi, eax
test esi, esi
js 0x42d7dc
push 0x3d
pop eax
cmp word [edi], ax
jne 0x42d74e
push edi
xor eax, eax
mov ecx, ebx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0042ca1e
mov esi, eax
test esi, esi
js 0x42d7dc
jmp 0x42d74e
cmp dword [ebp + 0x14], 0
jne 0x42d5b6
push 0x20019
push edi
push dword [esp + 0x18]
lea ecx, [esp + 0x20]
call fcn.0042c14c
jmp 0x42d5b9
push 2
pop eax
mov dword [esp + 0x20], eax
test eax, eax
je 0x42d5c8
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x68]
push 0x104
push eax
call fcn.00504153
push eax
call fcn.00421598
add esp, 0x14
mov ecx, ebx
push edi
call fcn.0042c8cc
mov esi, eax
test esi, esi
js 0x42d7dc
push edi
mov ecx, ebx
call fcn.0042ce58
mov esi, eax
test esi, esi
js 0x42d7dc
push 0x7b
pop eax
cmp word [edi], ax
jne 0x42d663
mov ecx, edi
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x42d616
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x42d663
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x1c]
push ebx
push edi
call fcn.0042d288
mov esi, eax
test esi, esi
jns 0x42d64d
cmp dword [ebp + 0x14], 0
je 0x42d7dc
mov ecx, dword [esp + 0xc]
push edi
call fcn.0042c8cc
mov esi, eax
test esi, esi
js 0x42d7dc
jmp 0x42d667
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
mov dword [ebp + 0x14], ecx
cmp eax, 2
je 0x42d79d
test eax, eax
je 0x42d695
test ecx, ecx
jne 0x42d79d
mov ecx, eax
call fcn.0042bda3
mov esi, eax
jmp 0x42d7dc
test ecx, ecx
je 0x42d6d3
push ebx
call fcn.0042ce21
test eax, eax
je 0x42d6d3
lea eax, [esp + 0x60]
push eax
call fcn.0042cdf2
test eax, eax
je 0x42d79d
cmp dword [esp + 0x24], 0
je 0x42d79d
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x18]
call fcn.0042c208
jmp 0x42d79d
push ebx
call fcn.0042ce21
mov ecx, eax
xor edx, edx
mov dword [esp + 0x20], ecx
mov eax, edx
test ebx, ebx
je 0x42d6f8
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
test eax, eax
jne 0x42d687
cmp dword [esp + 0x24], eax
je 0x42d79d
test ecx, ecx
jne 0x42d79d
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
call fcn.0042c056
xor ecx, ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
test eax, eax
jne 0x42d687
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x50], ecx
cmp dword [ebp + 0x10], 0
je 0x42d79d
push 0x7b
pop eax
cmp word [edi], ax
jne 0x42d79d
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x58]
jne 0x42d761
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x42d79d
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp + 0x10]
push dword [esp + 0x1c]
push edi
call fcn.0042d288
mov esi, eax
test esi, esi
js 0x42d7dc
push edi
mov ecx, ebx
call fcn.0042c8cc
mov esi, eax
test esi, esi
js 0x42d7dc
push 0x7d
pop eax
cmp word [edi], ax
jne 0x42d2eb
jmp 0x42d7dc
mov ecx, eax
call fcn.0042bda3
mov esi, eax
test ebx, ebx
je 0x42d7dc
push ebx
jmp 0x42d7cf
mov ecx, eax
call fcn.0042bda3
cmp dword [esp + 0x34], 0
mov esi, eax
je 0x42d7dc
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42d7dc
mov esi, 0x80020009
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42d7eb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x226c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00501d03
mov esp, ebp
pop ebp
ret 0x10