Function at 0x40dc10
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c7b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push str.Cleaning_up_the_registry
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], esi
call fcn.0042432b
or ebx, 0xffffffff
lea eax, [ebp - 0x1c]
push ebx
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00402b50
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.004242bd
mov eax, dword [0x43c820]
test eax, eax
jne 0x40e3be
push str.SoftwareThe_Strangely_Green_Chicken_Co.CleanUp_DeleteOnWindowsRestart
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 1
call fcn.0042432b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
push ecx
push 0x80000001
mov ecx, esi
call fcn.004029c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004242bd
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str.SoftwareThe_Strangely_Green_Chicken_Co.CleanUp_DeleteOnWindowsRestart
push 0x80000001
call edi
push str.SoftwareThe_Strangely_Green_Chicken_Co.CleanUp_Options
lea ecx, [ebp - 0x1c]
call fcn.0042432b
lea edx, [ebp - 0x1c]
mov ecx, esi
push edx
push 0x80000001
mov byte [ebp - 4], 3
call fcn.004029c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004242bd
push str.SoftwareThe_Strangely_Green_Chicken_Co.CleanUp_Options
push 0x80000001
call edi
push str.SoftwareThe_Strangely_Green_Chicken_Co.CleanUp_
lea ecx, [ebp - 0x1c]
call fcn.0042432b
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push 0x80000001
mov byte [ebp - 4], 4
call fcn.004029c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004242bd
push str.SoftwareThe_Strangely_Green_Chicken_Co.CleanUp_
push 0x80000001
call edi
push str.SoftwareThe_Strangely_Green_Chicken_Co.
push 0x80000001
call edi
jmp 0x40dd43
mov dword [ebp - 4], ebx
mov eax, dword [0x43c820]
test eax, eax
jne 0x40e3be
mov ecx, dword [esi + 0xa4]
mov al, byte [ecx + 9]
test al, al
je 0x40debb
push str.SoftwareMicrosoftWindowsCurrentVersionAppletsFreeCell
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 6
call fcn.0042432b
lea edx, [ebp - 0x1c]
mov ecx, esi
push edx
push 0x80000001
mov byte [ebp - 4], 7
call fcn.004029c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.004242bd
jmp 0x40dda6
push str.SoftwareMicrosoftWindowsCurrentVersionAppletsHearts
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 9
call fcn.0042432b
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push 0x80000001
mov byte [ebp - 4], 0xa
call fcn.004029c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.004242bd
jmp 0x40dde8
push str.SoftwareMicrosoftPlus_PinballSpaceCadet
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xc
call fcn.0042432b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
push ecx
push 0x80000001
mov ecx, esi
call fcn.004029c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.004242bd
jmp 0x40de2a
mov edx, dword [esi + 0xa0]
lea edi, [esi + 0xa0]
mov dword [ebp - 4], ebx
mov eax, dword [edx - 8]
test eax, eax
je 0x40debb
push str.sol.ini
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.00424506
push eax
mov ecx, esi
mov dword [ebp - 4], 0xf
call fcn.004018e0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.004242bd
push str.winmine.ini
lea ecx, [ebp - 0x24]
push edi
push ecx
call fcn.00424506
push eax
mov ecx, esi
mov dword [ebp - 4], 0x10
call fcn.004018e0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.004242bd
push str.entpack.ini
lea edx, [ebp - 0x24]
push edi
push edx
call fcn.00424506
push eax
mov ecx, esi
mov dword [ebp - 4], 0x11
call fcn.004018e0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.004242bd
mov eax, dword [0x43c820]
test eax, eax
jne 0x40e3be
push str.Run_MRU_list
lea ecx, [ebp - 0x20]
call fcn.0042432b
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerRunMRU
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0x12
call fcn.0042432b
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0x80000001
mov ecx, esi
mov byte [ebp - 4], 0x13
call fcn.00402a90
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
call fcn.004242bd
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.004242bd
mov eax, dword [0x43c820]
test eax, eax
jne 0x40e3be
push str.Doc_Find_Spec_MRU_list
lea ecx, [ebp - 0x1c]
call fcn.0042432b
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerDoc_Find_Spec_MRU
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0x14
call fcn.0042432b
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x20]
push edx
push eax
push 0x80000001
mov ecx, esi
mov byte [ebp - 4], 0x15
call fcn.00402a90
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x14
call fcn.004242bd
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.004242bd
mov eax, dword [0x43c820]
test eax, eax
jne 0x40e3be
push str.FindComputerMRU_list
lea ecx, [ebp - 0x1c]
call fcn.0042432b
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFindComputerMRU
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0x16
call fcn.0042432b
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x20]
push ecx
push edx
push 0x80000001
mov ecx, esi
mov byte [ebp - 4], 0x17
call fcn.00402a90
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x16
call fcn.004242bd
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.004242bd
push str.ComputerNameMRU_list
lea ecx, [ebp - 0x1c]
call fcn.0042432b
push str.SoftwareMicrosoftInternet_ExplorerExplorer_BarsC4EE31F3_4768_11D2_BE5C_00A0C9A83DA1ComputerNameMRU
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0x18
call fcn.0042432b
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x20]
push eax
push ecx
push 0x80000001
mov ecx, esi
mov byte [ebp - 4], 0x19
call fcn.00402a90
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x18
call fcn.004242bd
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.004242bd
push str.ContainingTextMRU_list
lea ecx, [ebp - 0x1c]
call fcn.0042432b
push str.SoftwareMicrosoftInternet_ExplorerExplorer_BarsC4EE31F3_4768_11D2_BE5C_00A0C9A83DA1ContainingTextMRU
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0x1a
call fcn.0042432b
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x20]
push edx
push eax
push 0x80000001
mov ecx, esi
mov byte [ebp - 4], 0x1b
call fcn.00402a90
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1a
call fcn.004242bd
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.004242bd
push str.FilesNamedMRU_list
lea ecx, [ebp - 0x1c]
call fcn.0042432b
mov ebx, 0x1c
push str.SoftwareMicrosoftInternet_ExplorerExplorer_BarsC4EE31F3_4768_11D2_BE5C_00A0C9A83DA1FilesNamedMRU
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.0042432b
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x20]
push ecx
push edx
push 0x80000001
mov ecx, esi
call fcn.00402a90
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.004242bd
or edi, 0xffffffff
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], edi
call fcn.004242bd
mov eax, dword [0x43c820]
test eax, eax
jne 0x40e3be
push str.Paint_Recent_File_List
lea ecx, [ebp - 0x1c]
call fcn.0042432b
mov ebx, 0x1e
push str.SoftwareMicrosoftWindowsCurrentVersionAppletsPaintRecent_File_List
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.0042432b
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x20]
push eax
push ecx
push 0x80000001
mov ecx, esi
mov byte [ebp - 4], 0x1f
call fcn.00402a90
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.004242bd
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], edi
call fcn.004242bd
push str.WordPad_Recent_File_List
lea ecx, [ebp - 0x1c]
call fcn.0042432b
mov ebx, 0x20
push str.SoftwareMicrosoftWindowsCurrentVersionAppletsWordpadRecent_File_List
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.0042432b
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x20]
push edx
push eax
push 0x80000001
mov ecx, esi
mov byte [ebp - 4], 0x21
call fcn.00402a90
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.004242bd
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], edi
call fcn.004242bd
push str.LastMachine
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0x22
call fcn.0042432b
mov bl, 0x23
push str.SoftwareMicrosoftTelnet
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0042432b
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x20]
push ecx
push edx
push 0x80000001
mov ecx, esi
mov byte [ebp - 4], 0x24
call fcn.00402960
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.004242bd
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x22
call fcn.004242bd
push str.LastService
lea ecx, [ebp - 0x1c]
call fcn.0042432b
mov bl, 0x25
push str.SoftwareMicrosoftTelnet
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.0042432b
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x20]
push eax
push ecx
push 0x80000001
mov ecx, esi
mov byte [ebp - 4], 0x26
call fcn.00402960
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.004242bd
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x22
call fcn.004242bd
push str.LastTermType
lea ecx, [ebp - 0x1c]
call fcn.0042432b
mov bl, 0x27
push str.SoftwareMicrosoftTelnet
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0042432b
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x20]
push edx
push eax
push 0x80000001
mov ecx, esi
mov byte [ebp - 4], 0x28
call fcn.00402960
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.004242bd
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x22
call fcn.004242bd
jmp 0x40e26e
mov ecx, dword [0x43b340]
mov dword [ebp - 0x14], ecx
mov edi, 8
mov dword [ebp - 4], 0x2a
mov dword [ebp - 0x28], edi
mov bl, 0x2b
test edi, edi
jle 0x40e387
push edi
lea edx, [ebp - 0x14]
push str.Machine_d
push edx
mov byte [ebp - 4], bl
call fcn.0041f536
add esp, 0xc
lea ecx, [ebp - 0x20]
push str.SoftwareMicrosoftTelnet
call fcn.0042432b
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x20]
push eax
push ecx
push 0x80000001
mov ecx, esi
mov byte [ebp - 4], 0x2c
call fcn.00402960
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.004242bd
push edi
lea edx, [ebp - 0x14]
push str.Service_d
push edx
call fcn.0041f536
add esp, 0xc
lea ecx, [ebp - 0x1c]
push str.SoftwareMicrosoftTelnet
call fcn.0042432b
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0x80000001
mov ecx, esi
mov byte [ebp - 4], 0x2d
call fcn.00402960
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004242bd
push edi
lea edx, [ebp - 0x14]
push str.TermType_d
push edx
call fcn.0041f536
add esp, 0xc
lea ecx, [ebp - 0x24]
push str.SoftwareMicrosoftTelnet
call fcn.0042432b
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x24]
push eax
push ecx
push 0x80000001
mov ecx, esi
mov byte [ebp - 4], 0x2e
call fcn.00402960
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.004242bd
dec edi
mov dword [ebp - 4], 0x2a
mov dword [ebp - 0x28], edi
jmp 0x40e288
push str.Telnets_MRU_list___removed_from_the_registry.
lea ecx, [ebp - 0x28]
call fcn.0042432b
lea edx, [ebp - 0x28]
mov ecx, esi
push edx
mov byte [ebp - 4], 0x30
call fcn.00402c20
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x2a
call fcn.004242bd
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004242bd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret