Function at 0x42b8a0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ed9db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [ebp + 8]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x18], esp
mov ebx, esp
push esi
mov dword [esp + 0x244], 0
mov dword [esp + 0x30], esi
call fcn.00406120
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [ebx], eax
call fcn.0042b230
cmp byte [ebp + 0xc], al
jne 0x42b93d
mov dword [esp + 0x23c], 0xffffffff
lea eax, [esi + 0xc]
mov ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c446
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov al, 1
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x23c], 1
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x23c], 2
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x23c], 3
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ecx
mov dword [esp + 0x20], esp
mov ebx, esp
push edx
mov byte [esp + 0x24c], 4
lea edi, [esp + 0x2c]
lea esi, [esp + 0x34]
call fcn.00406120
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.0042a930
add esp, 0xc
test al, al
jne 0x42baab
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ba0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ba30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ba56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ba7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x23c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bf62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x42bf62
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov edx, dword [ebp + 8]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push edx
push DirectSoundCreate
mov byte [esp + 0x260], 5
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42bb99
mov esi, dword [esp + 0x10]
mov ecx, 0x80
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], 0x200
call fcn.00426d80
test eax, eax
jne 0x42bc60
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x2c]
call fcn.00403260
mov ecx, eax
mov byte [esp + 0x23c], 6
call fcn.00410bf0
mov ecx, eax
call fcn.0040f870
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov eax, dword [esp + 0x28]
test edx, edx
setne bl
add eax, 0xfffffff0
mov byte [esp + 0x23c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bb7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x42bc60
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403220
jmp 0x42bc95
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bbbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bbe5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bc0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bc31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x23c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bf62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x42bf62
mov al, byte [ebp + 0xc]
test al, al
jne 0x42bc7b
test esi, esi
je 0x42c41a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42c41a
mov ecx, dword [esp + 0x18]
push 1
push ecx
push 0
lea ecx, [esp + 0x1c]
call fcn.0042a460
test eax, eax
jne 0x42bf2d
mov al, byte [ebp + 0xc]
test al, al
je 0x42c079
push str._shell
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00410a70
mov eax, dword [eax]
add esp, 0xc
push 0
push 0
push 0x2001f
push 0
push 0
push eax
push DirectSoundCreate
lea ecx, [esp + 0x2c]
call fcn.00409e40
test eax, eax
lea ecx, [esp + 0x28]
setne bl
call fcn.00402a10
test bl, bl
jne 0x42bf2d
xor eax, eax
mov ecx, 0x80
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x34]
push edx
mov esi, 0x200
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
call fcn.00426d80
push str..bak
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00410a70
mov eax, dword [eax]
add esp, 0xc
push 1
lea edx, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.0042a460
test eax, eax
lea ecx, [esp + 0x14]
setne bl
call fcn.00402a10
test bl, bl
lea ecx, [esp + 0x10]
jne 0x42bf31
push 1
push str.open
push 0
call fcn.0042a460
test eax, eax
jne 0x42beed
push str._shellopen
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00410a70
mov eax, dword [eax]
add esp, 0xc
push 0
push 0
push 0x2001f
push 0
push 0
push eax
push DirectSoundCreate
lea ecx, [esp + 0x2c]
call fcn.00409e40
test eax, eax
lea ecx, [esp + 0x14]
setne bl
call fcn.00402a10
test bl, bl
jne 0x42bf2d
push 1
xor eax, eax
mov ecx, 0x80
lea edi, [esp + 0x34]
push 0x500cd0
rep stosd dword es:[edi], eax
push eax
lea ecx, [esp + 0x1c]
call fcn.0042a460
test eax, eax
jne 0x42bf2d
push str._shellopencommand
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00410a70
mov eax, dword [eax]
add esp, 0xc
push 0
push 0
push 0x2001f
push 0
push 0
push eax
push DirectSoundCreate
lea ecx, [esp + 0x2c]
call fcn.00409e40
test eax, eax
lea ecx, [esp + 0x14]
setne bl
call fcn.00402a10
test bl, bl
jne 0x42bf2d
xor eax, eax
mov ecx, 0x80
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
call fcn.00426d80
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x18]
call fcn.00403260
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov byte [esp + 0x240], 7
call fcn.0040f820
push eax
call fcn.0042a7d0
add esp, 8
lea ecx, [esp + 0x14]
mov bl, al
mov byte [esp + 0x23c], 5
call fcn.00402a10
test bl, bl
jne 0x42c411
push str..bak
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00410a70
mov eax, dword [eax]
add esp, 0xc
push 1
lea ecx, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0042a460
test eax, eax
lea ecx, [esp + 0x14]
setne bl
call fcn.00402a10
test bl, bl
lea ecx, [esp + 0x10]
jne 0x42bf31
mov edx, dword [esp + 0x20]
push 1
push edx
push 0
call fcn.0042a460
test eax, eax
je 0x42bf7b
push 1
lea eax, [esp + 0x34]
push eax
push 0
lea ecx, [esp + 0x1c]
call fcn.0042a460
push str..bak
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00410a70
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [esp + 0x14]
call fcn.00402a10
lea ecx, [esp + 0x10]
call fcn.0040b050
lea ecx, [esp + 0x20]
call fcn.00402a10
lea ecx, [esp + 0x18]
call fcn.00402a10
lea ecx, [esp + 0x1c]
call fcn.00402a10
lea ecx, [esp + 0x24]
call fcn.00402a10
lea ecx, [ebp + 8]
call fcn.00402a10
xor al, al
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov ecx, 0x80
lea edi, [esp + 0x30]
push str._shellopen
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x34], 0x200
call fcn.00410a70
mov eax, dword [eax]
add esp, 0xc
push 0x2001f
push eax
push DirectSoundCreate
lea ecx, [esp + 0x1c]
call fcn.00426d30
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x14]
inc bl
call fcn.00402a10
test bl, bl
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
je 0x42c023
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x34]
push edx
push str.LegacyDisable
lea ecx, [esp + 0x1c]
call fcn.00426d80
test eax, eax
jne 0x42c015
mov eax, dword [esp + 0x10]
push str.LegacyDisable
push eax
call esi
push 1
push 0x4f724c
push str.LegacyDisable.bak
lea ecx, [esp + 0x1c]
call fcn.0042a460
push str.ddeexec
lea ecx, [esp + 0x14]
call fcn.0042a4d0
lea ecx, [ebp + 8]
push ecx
lea edx, [esp + 0x18]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
push edx
call fcn.00410b30
mov eax, dword [eax]
add esp, 0xc
push 0x2001f
push eax
push reloc.DSOUND.dll_DirectSoundCreate
lea ecx, [esp + 0x1c]
call fcn.00426d30
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x14]
inc bl
call fcn.00402a10
test bl, bl
je 0x42c411
mov eax, dword [esp + 0x10]
push str.Application
push eax
call esi
jmp 0x42c411
push str._shellopencommand
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00410a70
mov eax, dword [eax]
add esp, 0xc
push 0x2001f
push eax
push DirectSoundCreate
lea ecx, [esp + 0x1c]
call fcn.00426d30
test eax, eax
lea ecx, [esp + 0x14]
setne bl
call fcn.00402a10
test bl, bl
jne 0x42c411
xor eax, eax
mov ecx, 0x80
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
push str..bak
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
mov esi, 0x200
push ecx
mov dword [esp + 0x34], esi
call fcn.00410a70
mov eax, dword [eax]
add esp, 0xc
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00426d80
test eax, eax
lea ecx, [esp + 0x14]
setne bl
call fcn.00402a10
test bl, bl
jne 0x42c411
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x18]
call fcn.00403260
mov ecx, eax
mov byte [esp + 0x23c], 8
call fcn.00410bf0
mov ecx, eax
call fcn.0040f870
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
test ecx, ecx
lea ecx, [esp + 0x14]
sete bl
mov byte [esp + 0x23c], 5
call fcn.00402a10
test bl, bl
je 0x42c1bc
push str._shellopen
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00410a70
mov eax, dword [eax]
add esp, 0xc
push 0x2001f
push eax
push DirectSoundCreate
lea ecx, [esp + 0x1c]
call fcn.00426d30
test eax, eax
jne 0x42c1a4
push str.command
lea ecx, [esp + 0x14]
call fcn.0042a4d0
test eax, eax
setne al
test al, al
jne 0x42c1a4
xor bl, bl
jmp 0x42c1a6
mov bl, 1
lea ecx, [esp + 0x14]
call fcn.00402a10
test bl, bl
je 0x42c2af
jmp 0x42bf2d
push 1
lea eax, [esp + 0x34]
push eax
push 0
lea ecx, [esp + 0x1c]
call fcn.0042a460
test eax, eax
jne 0x42bf2d
push str..bak
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00410a70
mov eax, dword [eax]
add esp, 0xc
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
lea ecx, [esp + 0x14]
setne bl
call fcn.00402a10
test bl, bl
jne 0x42bf2d
xor eax, eax
mov ecx, 0x80
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
push str._shellopen
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x34], esi
call fcn.00410a70
mov eax, dword [eax]
add esp, 0xc
push 0x2001f
push eax
push DirectSoundCreate
lea ecx, [esp + 0x1c]
call fcn.00426d30
test eax, eax
jne 0x42c27b
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
push ecx
push str.LegacyDisable.bak
lea ecx, [esp + 0x1c]
call fcn.00426d80
neg eax
sbb al, al
inc al
mov byte [esp + 0x2f], al
je 0x42c27b
mov bl, 1
jmp 0x42c27d
xor bl, bl
lea ecx, [esp + 0x14]
call fcn.00402a10
test bl, bl
je 0x42c2af
mov edx, dword [esp + 0x10]
push str.LegacyDisable.bak
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 1
push 0x4f724c
push str.LegacyDisable
lea ecx, [esp + 0x1c]
call fcn.0042a460
push str._shell
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00410a70
mov eax, dword [eax]
add esp, 0xc
push 0x2001f
push eax
push DirectSoundCreate
lea ecx, [esp + 0x1c]
call fcn.00426d30
test eax, eax
lea ecx, [esp + 0x14]
setne bl
call fcn.00402a10
test bl, bl
jne 0x42c411
xor eax, eax
mov ecx, 0x80
lea edi, [esp + 0x30]
push str..bak
lea edx, [esp + 0x20]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x34], esi
call fcn.00410a70
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.00426d80
test eax, eax
lea ecx, [esp + 0x14]
setne bl
call fcn.00402a10
test bl, bl
jne 0x42c411
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00403260
mov ecx, eax
mov byte [esp + 0x23c], 9
call fcn.00410bf0
mov ecx, eax
call fcn.0040f870
mov ecx, dword [eax]
mov edx, dword [ecx - 0xc]
test edx, edx
lea ecx, [esp + 0x14]
sete bl
mov byte [esp + 0x23c], 5
call fcn.00402a10
test bl, bl
lea ecx, [esp + 0x10]
je 0x42c3c0
mov edx, dword [esp + 0x18]
push 0x2001f
push edx
push DirectSoundCreate
call fcn.00426d30
test eax, eax
jne 0x42bf2d
push str.shell
lea ecx, [esp + 0x14]
call fcn.0042a4d0
test eax, eax
je 0x42c411
jmp 0x42bf2d
push 1
lea eax, [esp + 0x34]
push eax
push 0
call fcn.0042a460
test eax, eax
jne 0x42bf2d
push str..bak
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00410a70
mov eax, dword [eax]
add esp, 0xc
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
lea ecx, [esp + 0x14]
setne bl
call fcn.00402a10
test bl, bl
jne 0x42bf2d
lea ecx, [esp + 0x10]
call fcn.0040b050
lea ecx, [esp + 0x20]
call fcn.00402a10
lea ecx, [esp + 0x18]
call fcn.00402a10
lea ecx, [esp + 0x1c]
call fcn.00402a10
lea ecx, [esp + 0x24]
call fcn.00402a10
lea ecx, [ebp + 8]
call fcn.00402a10
mov ecx, dword [esp + 0x234]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8