Function at 0x410324
Capabilities:
Delete registry key

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebp, esp
sub esp, 0x194
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0x18
mov dword [ebp - 0x18], 0x18
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0x80000001
mov dword [ebp - 8], 0x41aaab
mov dword [ebp - 4], 0x402323
push ebp
add dword [esp], 0xffffffe8
call sub.COMCTL32.dll_Ordinal_151
mov dword [ebp - 0x1c], eax
call sub.USER32.dll_CreatePopupMenu
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x410392
push dword [ebp - 0x1c]
call sub.COMCTL32.dll_FreeMRUList
mov esp, ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8
push 0x422ec7
push 0x1f4
push 0
push dword [ebp - 0x20]
call sub.USER32.dll_AppendMenuA
push 0
push 0
push 0x800
push dword [ebp - 0x20]
call sub.USER32.dll_AppendMenuA
mov edi, 0x258
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call sub.COMCTL32.dll_Ordinal_154
mov dword [ebp - 0x24], eax
test eax, eax
je 0x410631
xor ebx, ebx
push 0x104
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
mov esi, eax
push 0x104
push esi
push ebx
push dword [ebp - 0x1c]
call sub.COMCTL32.dll_Ordinal_154
push 0
push 0x20
push esi
push ebp
add dword [esp], 0xfffffe6c
call sub.SHLWAPI.dll_PathCompactPathExA
push ebp
add dword [esp], 0xfffffe6c
push edi
push 0
push dword [ebp - 0x20]
call sub.USER32.dll_AppendMenuA
mov dword [ebp - 0x90], 0x2c
mov dword [ebp - 0x8c], 0x20
mov dword [ebp - 0x70], esi
push ebp
add dword [esp], 0xffffff70
push 0
push edi
push dword [ebp - 0x20]
call sub.USER32.dll_SetMenuItemInfoA
inc edi
inc ebx
cmp ebx, dword [ebp - 0x24]
jb 0x4103d7
mov edi, dword [ebp + 0x18]
push 0
push dword [ebp + 0x14]
push dword [edi + 4]
push dword [edi]
push 0x100
push dword [ebp - 0x20]
call sub.USER32.dll_TrackPopupMenuEx
test eax, eax
js 0x410631
cmp eax, 0x1f4
jne 0x4104a7
push 4
push 0x422ed6
push 0x422ee0
push dword [0x41a668]
call sub.USER32.dll_MessageBoxA
cmp eax, 7
je 0x4105ed
push 0x41aaab
push 0x80000001
call sub.SHLWAPI.dll_SHDeleteKeyA
jmp 0x4105ed
mov dword [ebp - 0x90], 0x2c
mov dword [ebp - 0x8c], 0x20
mov dword [ebp - 0x70], 0
push ebp
add dword [esp], 0xffffff70
push 0
push eax
push dword [ebp - 0x20]
call sub.USER32.dll_GetMenuItemInfoA
cmp dword [ebp - 0x70], 0
je 0x410631
push dword [ebp - 0x70]
push 0x41d7e8
call fcn.00401f0c
push 0x41d7e8
call fcn.00408e41
push eax
push eax
push 9
push 0x110b
push dword [0x41a674]
call sub.USER32.dll_PostMessageA
pop eax
push eax
push 0
push 0x1114
push dword [0x41a674]
call sub.USER32.dll_PostMessageA
mov eax, 0x41d7e8
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410523
mov dword [0x41deb4], eax
push 0
push 9
push 0x110a
push dword [0x41a674]
call sub.USER32.dll_SendMessageA
push 0x41d6e4
push eax
call fcn.00408c7e
push 0x41d7e8
push 0x41d6e4
call fcn.00401c6c
test eax, eax
jne 0x4105ed
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 3
push ebp
add dword [esp], 0xffffffb4
push 0xffffffffffffffff
push 0x102b
push dword [0x41a678]
call sub.USER32.dll_SendMessageA
push dword [0x41a678]
call sub.USER32.dll_SetFocus
mov dword [ebp - 0x64], 2
mov eax, dword [0x41deb4]
mov dword [ebp - 0x60], eax
push ebp
add dword [esp], 0xffffff9c
push 0xffffffffffffffff
push 0x100d
push dword [0x41a678]
call sub.USER32.dll_SendMessageA
mov dword [0x41deb4], 0
test eax, eax
js 0x4105ed
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x3c], 3
push ebp
add dword [esp], 0xffffffb4
push eax
push 0x102b
push dword [0x41a678]
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x90], 0x2c
mov dword [ebp - 0x8c], 0x20
mov dword [ebp - 0x70], 0
push ebp
add dword [esp], 0xffffff70
push 0
push edi
push dword [ebp - 0x20]
call sub.USER32.dll_GetMenuItemInfoA
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x410628
push eax
call sub.KERNEL32.dll_GlobalFree
dec edi
cmp edi, 0x258
jge 0x4105ed
push dword [ebp - 0x20]
call sub.USER32.dll_DestroyMenu
push dword [ebp - 0x1c]
call sub.COMCTL32.dll_FreeMRUList
mov esp, ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8