Function at 0x4089d0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ba45
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x463024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00402520
mov ecx, eax
test ecx, ecx
je 0x4095b1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
call fcn.00402520
mov ecx, eax
test ecx, ecx
je 0x4095bb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
call fcn.00402520
mov ecx, eax
test ecx, ecx
je 0x4095c5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
call fcn.00402520
mov ecx, eax
test ecx, ecx
je 0x4095cf
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 3
call fcn.00402520
mov ecx, eax
test ecx, ecx
je 0x4095d9
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
call fcn.00402520
mov ecx, eax
test ecx, ecx
je 0x4095e3
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, eax
lea eax, [ebx + 0x10]
mov dword [ebp - 0x3c], eax
push ecx
mov byte [ebp - 4], 5
mov dword [ebp - 0x28], esp
mov ecx, dword [0x46b730]
mov dword [ebp - 0x38], esp
lea ecx, [ecx - 0x10]
call fcn.004160a0
mov ecx, esp
add eax, 0x10
mov dword [ecx], eax
push ecx
mov byte [ebp - 4], 6
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x28], esp
call fcn.00402520
mov ecx, eax
test ecx, ecx
je 0x4095ed
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x28]
add eax, 0x10
mov dword [ecx], eax
push str.ContextMenuDll
mov byte [ebp - 4], 7
call fcn.00414f80
test al, al
jne 0x408b15
mov ecx, dword [ebp - 0x28]
push 0xe
push str.ContextMenuDll
call fcn.00416110
push ecx
mov byte [ebp - 4], 8
mov dword [ebp - 0x28], esp
call fcn.00402520
mov ecx, eax
test ecx, ecx
je 0x4095f7
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x28]
add eax, 0x10
mov dword [ecx], eax
push str._ContextMenu_
mov byte [ebp - 4], 9
call fcn.00414f80
test al, al
jne 0x408b5a
mov ecx, dword [ebp - 0x28]
push 0xd
push str._ContextMenu_
call fcn.00416110
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.00403aa0
add esp, 0xc
mov byte [ebp - 4], 0xa
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov dword [ebp - 0x28], ecx
lea eax, [edx - 0x10]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov dword [ebp - 0x30], ecx
cmp eax, ecx
je 0x408bda
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x18]
jl 0x408bce
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x408bce
mov ecx, dword [ebp - 0x28]
call fcn.004160a0
mov dword [ebp - 0x28], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x2c]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408bc3
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov dword [ebp - 0x24], eax
jmp 0x408bda
push dword [edx - 0xc]
lea ecx, [ebp - 0x24]
push edx
call fcn.00416110
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408bf9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov ecx, 0x45be48
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408c27
test dx, dx
je 0x408c23
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408c27
add eax, 4
add ecx, 4
test dx, dx
jne 0x408c01
xor eax, eax
jmp 0x408c2c
sbb eax, eax
or eax, 1
test eax, eax
je 0x4094e7
push ecx
mov dword [ebp - 0x34], esp
mov ecx, dword [0x46b730]
mov dword [ebp - 0x30], esp
lea ecx, [ecx - 0x10]
call fcn.004160a0
mov ecx, esp
add eax, 0x10
mov dword [ecx], eax
push ecx
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x28], esp
call fcn.00402520
mov ecx, eax
test ecx, ecx
je 0x409601
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x28]
add eax, 0x10
mov dword [ecx], eax
push str.contextname
mov byte [ebp - 4], 0xc
call fcn.00414f80
test al, al
jne 0x408c98
mov ecx, dword [ebp - 0x28]
push 0xb
push str.contextname
call fcn.00416110
push ecx
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x28], esp
call fcn.00402520
mov ecx, eax
test ecx, ecx
je 0x40960b
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x28]
add eax, 0x10
mov dword [ecx], eax
push str._ContextMenu_
mov byte [ebp - 4], 0xe
call fcn.00414f80
test al, al
jne 0x408cdd
mov ecx, dword [ebp - 0x28]
push 0xd
push str._ContextMenu_
call fcn.00416110
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.00403aa0
add esp, 0xc
mov byte [ebp - 4], 0xf
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov dword [ebp - 0x34], ecx
lea eax, [edx - 0x10]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov dword [ebp - 0x2c], ecx
cmp eax, ecx
je 0x408d5d
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x18]
jl 0x408d51
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x408d51
mov ecx, dword [ebp - 0x34]
call fcn.004160a0
mov dword [ebp - 0x34], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x30]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408d46
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x34]
add eax, 0x10
mov dword [ebp - 0x1c], eax
jmp 0x408d5d
push dword [edx - 0xc]
lea ecx, [ebp - 0x1c]
push edx
call fcn.00416110
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408d7c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov dword [ebp - 0x38], esp
mov ecx, dword [0x46b730]
mov dword [ebp - 0x34], esp
lea ecx, [ecx - 0x10]
call fcn.004160a0
mov ecx, esp
add eax, 0x10
mov dword [ecx], eax
push ecx
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x28], esp
call fcn.00402520
mov ecx, eax
test ecx, ecx
je 0x409615
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x28]
add eax, 0x10
mov dword [ecx], eax
push str.szCLSID
mov byte [ebp - 4], 0x11
call fcn.00414f80
test al, al
jne 0x408de0
mov ecx, dword [ebp - 0x28]
push 7
push str.szCLSID
call fcn.00416110
push ecx
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x28], esp
call fcn.00402520
mov ecx, eax
test ecx, ecx
je 0x40961f
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x28]
add eax, 0x10
mov dword [ecx], eax
push str._ContextMenu_
mov byte [ebp - 4], 0x13
call fcn.00414f80
test al, al
jne 0x408e25
mov ecx, dword [ebp - 0x28]
push 0xd
push str._ContextMenu_
call fcn.00416110
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00403aa0
add esp, 0xc
mov byte [ebp - 4], 0x14
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov dword [ebp - 0x38], ecx
lea eax, [edx - 0x10]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov dword [ebp - 0x30], ecx
cmp eax, ecx
je 0x408ea5
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x18]
jl 0x408e99
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x408e99
mov ecx, dword [ebp - 0x38]
call fcn.004160a0
mov dword [ebp - 0x38], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x34]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408e8e
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x38]
add eax, 0x10
mov dword [ebp - 0x20], eax
jmp 0x408ea5
push dword [edx - 0xc]
lea ecx, [ebp - 0x20]
push edx
call fcn.00416110
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408ec4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov dword [ebp - 0x38], esp
mov ecx, dword [0x46b730]
mov dword [ebp - 0x34], esp
lea ecx, [ecx - 0x10]
call fcn.004160a0
mov ecx, esp
add eax, 0x10
mov dword [ecx], eax
push ecx
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x28], esp
call fcn.00402520
mov ecx, eax
test ecx, ecx
je 0x409629
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x28]
add eax, 0x10
mov dword [ecx], eax
push str.AppName
mov byte [ebp - 4], 0x16
call fcn.00414f80
test al, al
jne 0x408f28
mov ecx, dword [ebp - 0x28]
push 7
push str.AppName
call fcn.00416110
push ecx
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x28], esp
call fcn.00402520
mov ecx, eax
test ecx, ecx
je 0x409633
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x28]
add eax, 0x10
mov dword [ecx], eax
push str._ContextMenu_
mov byte [ebp - 4], 0x18
call fcn.00414f80
test al, al
jne 0x408f6d
mov ecx, dword [ebp - 0x28]
push 0xd
push str._ContextMenu_
call fcn.00416110
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00403aa0
add esp, 0xc
mov byte [ebp - 4], 0x19
lea ecx, [edi - 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x30], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x38], eax
cmp eax, ecx
je 0x408fe6
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x34], edi
jl 0x408fda
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x408fda
mov ecx, dword [ebp - 0x38]
call fcn.004160a0
mov edx, dword [ebp - 0x34]
or edi, 0xffffffff
mov dword [ebp - 0x38], eax
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408fd2
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x38]
add eax, 0x10
mov dword [ebp - 0x18], eax
jmp 0x408fe9
push dword [edx - 0xc]
lea ecx, [ebp - 0x18]
push edx
call fcn.00416110
or edi, 0xffffffff
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409007
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [0x4695c8], 0
lea eax, [ebp - 0x14]
push eax
je 0x40901b
push 0xf013f
jmp 0x409020
push 0xf003f
push 0
push 0x448948
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x18]
mov edx, str._shellexContextMenuHandlers_
push eax
lea ecx, [ebp - 0x38]
call fcn.00413870
add esp, 4
push dword [eax]
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edx, dword [ebp - 0x38]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40906b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov edx, str.CLSID_
push eax
lea ecx, [ebp - 0x38]
call fcn.00413870
add esp, 4
push dword [eax]
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edx, dword [ebp - 0x38]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4090a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov edx, str.CLSID_
push eax
lea ecx, [ebp - 0x38]
call fcn.00413870
add esp, 4
push dword [eax]
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edx, dword [ebp - 0x38]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4090dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00402520
mov ecx, eax
test ecx, ecx
je 0x40963d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
push str.lnkfile_shellexContextMenuHandlers_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1a
call fcn.00414f80
test al, al
jne 0x40911b
push 0x24
push str.lnkfile_shellexContextMenuHandlers_
lea ecx, [ebp - 0x28]
call fcn.00416110
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x1b
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x34]
call fcn.00413a10
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [eax]
cmp dword [ecx - 4], 1
jle 0x40914f
push dword [ecx - 0xc]
mov ecx, eax
call fcn.004150a0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push ecx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov byte [ebp - 4], 0x1b
mov eax, edi
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409177
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409195
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00402520
mov ecx, eax
test ecx, ecx
je 0x409647
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
push str.Drive_shellexContextMenuHandlers_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1d
call fcn.00414f80
test al, al
jne 0x4091d3
push 0x22
push str.Drive_shellexContextMenuHandlers_
lea ecx, [ebp - 0x28]
call fcn.00416110
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x1e
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x34]
call fcn.00413a10
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x1f
mov ecx, dword [eax]
cmp dword [ecx - 4], 1
jle 0x409207
push dword [ecx - 0xc]
mov ecx, eax
call fcn.004150a0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push ecx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov byte [ebp - 4], 0x1e
mov eax, edi
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40922f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40924d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00402520
mov ecx, eax
test ecx, ecx
je 0x409651
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
push str.Folder_shellexContextMenuHandlers_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x20
call fcn.00414f80
test al, al
jne 0x40928b
push 0x23
push str.Folder_shellexContextMenuHandlers_
lea ecx, [ebp - 0x28]
call fcn.00416110
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x21
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x34]
call fcn.00413a10
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x22
mov ecx, dword [eax]
cmp dword [ecx - 4], 1
jle 0x4092bf
push dword [ecx - 0xc]
mov ecx, eax
call fcn.004150a0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push ecx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov byte [ebp - 4], 0x21
mov eax, edi
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4092e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409305
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00406500
mov eax, dword [0x46b744]
mov edi, dword [eax]
cmp edi, eax
je 0x4094e4
nop dword [eax]
cmp dword [edi + 0x1c], 8
lea eax, [edi + 8]
mov dword [ebp - 0x38], eax
mov edx, eax
jb 0x409330
mov edx, dword [eax]
test edx, edx
jne 0x409338
xor ecx, ecx
jmp 0x40934f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409340
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00416110
mov esi, dword [ebp - 0x10]
mov edx, dword [esi - 0xc]
mov dword [ebp - 0x28], edx
test edx, edx
js 0x4095a7
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x40938a
push edx
lea ecx, [ebp - 0x10]
call fcn.004162b0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x28]
lea eax, [edx + 1]
push eax
push esi
call fcn.00423a1f
mov eax, dword [ebp - 0x28]
add esp, 8
cmp eax, dword [esi - 8]
jg 0x4095a7
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4094d4
cmp dword [esi - 0xc], ecx
jl 0x4094d4
push eax
push esi
call fcn.0041bfb5
add esp, 8
test eax, eax
je 0x4094d4
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jle 0x4094d4
push 0x33
push str.CLSID645FF040_5081_101B_9F08_00AA002F954EShell_
lea ecx, [ebp - 0x10]
call fcn.00416110
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x14], 8
jb 0x4093f9
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.00413940
add esp, 4
mov byte [ebp - 4], 0x23
mov edx, dword [eax]
mov esi, dword [ebp - 0x10]
lea eax, [edx - 0x10]
lea ecx, [esi - 0x10]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
cmp eax, ecx
je 0x40946c
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x40945d
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x40945d
mov ecx, dword [ebp - 0x38]
call fcn.004160a0
mov dword [ebp - 0x38], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x409455
mov esi, dword [ebp - 0x34]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x38]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
jmp 0x40946c
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.00416110
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40948b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [0x4695c8], 0
lea eax, [ebp - 0x14]
push eax
je 0x40949f
push 0xf013f
jmp 0x4094a4
push 0xf003f
push 0
push 0x448948
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [esi - 4], 1
jle 0x4094ca
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.004150a0
mov esi, dword [ebp - 0x10]
push esi
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [edi]
mov edi, eax
cmp eax, dword [0x46b744]
jne 0x409320
mov edi, dword [ebp - 0x18]
mov edx, ebx
mov byte [ebp - 4], 4
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409504
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40951f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40953a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409558
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409576
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x409595
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402280
push 0x80004005
call fcn.00402280
push 0x80004005
call fcn.00402280
push 0x80004005
call fcn.00402280
push 0x80004005
call fcn.00402280
push 0x80004005
call fcn.00402280
push 0x80004005
call fcn.00402280
push 0x80004005
call fcn.00402280
push 0x80004005
call fcn.00402280
push 0x80004005
call fcn.00402280
push 0x80004005
call fcn.00402280
push 0x80004005
call fcn.00402280
push 0x80004005
call fcn.00402280
push 0x80004005
call fcn.00402280
push 0x80004005
call fcn.00402280
push 0x80004005
call fcn.00402280
push 0x80004005
call fcn.00402280
push 0x80004005
call fcn.00402280
int3