Function at 0x40adc0
Capabilities:
Delete registry key
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x404
lea eax, [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x418]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x14]
push 0x6537f0
push ecx
call ebp
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea edx, [esp + 0x14]
push edx
push OleUIAddVerbMenuA
call esi
push edi
push OleUIAddVerbMenuA
call esi
mov ebx, dword [esp + 0x41c]
lea eax, [esp + 0x14]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x14]
push 0x6537dc
push ecx
call ebp
lea edx, [esp + 0x14]
push edx
push OleUIAddVerbMenuA
call esi
lea eax, [esp + 0x14]
push 0x5c
push eax
call fcn.0055b630
add esp, 8
lea ecx, [esp + 0x14]
mov byte [eax], 0
push ecx
push OleUIAddVerbMenuA
call esi
lea edx, [esp + 0x14]
push 0x5c
push edx
call fcn.0055b630
add esp, 8
mov byte [eax], 0
lea eax, [esp + 0x14]
push eax
push OleUIAddVerbMenuA
call esi
lea ecx, [esp + 0x14]
push 0x5c
push ecx
call fcn.0055b630
add esp, 8
lea edx, [esp + 0x14]
mov byte [eax], 0
push edx
push OleUIAddVerbMenuA
call esi
mov eax, dword [esp + 0x42c]
test eax, eax
jne 0x40b060
lea eax, [esp + 0x10]
push 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push edi
push OleUIAddVerbMenuA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40af0e
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x10]
inc eax
push eax
push ebx
push 1
push 0
push 0
push ecx
call edi
test eax, eax
jne 0x40af0e
mov esi, dword [esp + 0x428]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x10]
inc eax
push eax
push esi
push 1
push 0
push 0x6537d0
push edx
call edi
test eax, eax
jne 0x40af0e
mov esi, 1
jmp 0x40af10
xor esi, esi
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x40af6c
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push ebx
push OleUIAddVerbMenuA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40af6c
mov esi, dword [esp + 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x10]
inc eax
push eax
push esi
push 1
push 0
push 0
push edx
call edi
test eax, eax
jne 0x40af6c
mov esi, 1
jmp 0x40af6e
xor esi, esi
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ecx
call ebx
lea edx, [esp + 0x14]
push 0x6537dc
push edx
call ebp
test esi, esi
je 0x40afc6
lea eax, [esp + 0x10]
push 0
push eax
push 0
push 0x20006
push 0
push 0
lea ecx, [esp + 0x2c]
push 0
push ecx
push OleUIAddVerbMenuA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40afc6
mov esi, 1
jmp 0x40afc8
xor esi, esi
lea edx, [esp + 0x214]
push 0x6537c4
push edx
call ebx
mov eax, dword [esp + 0x424]
lea ecx, [esp + 0x214]
push eax
push ecx
call ebp
lea edx, [esp + 0x214]
push 0x6537c8
push edx
call ebp
test esi, esi
je 0x40b044
lea eax, [esp + 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x10]
inc eax
lea ecx, [esp + 0x214]
push eax
push ecx
push 1
push 0
push 0
push edx
call edi
test eax, eax
jne 0x40b044
mov eax, dword [esp + 0x10]
mov esi, 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x404
ret 0x18
mov eax, dword [esp + 0x10]
xor esi, esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x404
ret 0x18
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x404
ret 0x18