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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589884
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5deba8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 4
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041d990
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
push ecx
push 0x59b008
lea edx, [ebp + 8]
push edx
call fcn.00423c30
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041dad0
mov ecx, dword [ebp - 0x10]
push ecx
push str.SoftwareClasses_s
lea edx, [ebp + 0x10]
push edx
call fcn.00423c30
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.0041e1e0
push eax
push SHChangeNotifyDeregister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x4c9d61
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp + 8]
call fcn.0041e1e0
push eax
push SHChangeNotifyDeregister
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x4c9d61
mov byte [ebp - 0x19], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.0041dab0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0041dab0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.0041dab0
mov al, byte [ebp - 0x19]
jmp 0x4ca2c2
lea ecx, [ebp + 0x10]
call fcn.0041e2f0
add eax, 1
push eax
lea ecx, [ebp + 0x10]
call fcn.0041e1e0
push eax
push 1
push 0x59b058
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp + 0x10]
call fcn.0041e1e0
push eax
push SHChangeNotifyDeregister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x4c9e20
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp + 0x10]
call fcn.0041e1e0
push eax
push SHChangeNotifyDeregister
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x4c9e20
mov byte [ebp - 0x1a], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.0041dab0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0041dab0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.0041dab0
mov al, byte [ebp - 0x1a]
jmp 0x4ca2c2
lea ecx, [ebp + 0x18]
call fcn.0041e2f0
add eax, 1
push eax
lea ecx, [ebp + 0x18]
call fcn.0041e1e0
push eax
push 1
push 0x59b05c
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
call fcn.0041d970
mov byte [ebp - 4], 6
mov edx, dword [ebp + 0x10]
push edx
push str._sDefaultIcon
lea eax, [ebp - 0x14]
push eax
call fcn.00423c30
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
push SHChangeNotifyDeregister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x4c9f0c
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
push SHChangeNotifyDeregister
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x4c9f0c
mov byte [ebp - 0x1b], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.0041dab0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.0041dab0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0041dab0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.0041dab0
mov al, byte [ebp - 0x1b]
jmp 0x4ca2c2
lea ecx, [ebp + 0x14]
call fcn.0041e310
movzx eax, al
test eax, eax
je 0x4c9f32
mov ecx, dword [ebp + 0xc]
push ecx
push str.__s__3
lea edx, [ebp - 0x14]
push edx
call fcn.00423c30
add esp, 0xc
jmp 0x4c9f3e
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041dad0
lea ecx, [ebp - 0x14]
call fcn.0041e2f0
add eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
push 1
push 0x59b090
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
push eax
push str._sShell
lea ecx, [ebp - 0x14]
push ecx
call fcn.00423c30
add esp, 0xc
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
push SHChangeNotifyDeregister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x4ca01e
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
push SHChangeNotifyDeregister
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x4ca01e
mov byte [ebp - 0x1c], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.0041dab0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.0041dab0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0041dab0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.0041dab0
mov al, byte [ebp - 0x1c]
jmp 0x4ca2c2
push 0x59b0a8
lea ecx, [ebp - 0x14]
call fcn.0041daf0
lea ecx, [ebp - 0x14]
call fcn.0041e2f0
add eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
push 1
push 0x59b0b4
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
push eax
push str._sShellopen
lea ecx, [ebp - 0x14]
push ecx
call fcn.00423c30
add esp, 0xc
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
push SHChangeNotifyDeregister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x4ca10b
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
push SHChangeNotifyDeregister
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x4ca10b
mov byte [ebp - 0x1d], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.0041dab0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.0041dab0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0041dab0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.0041dab0
mov al, byte [ebp - 0x1d]
jmp 0x4ca2c2
push 0x59b0d4
lea ecx, [ebp - 0x14]
call fcn.0041daf0
lea ecx, [ebp - 0x14]
call fcn.0041e2f0
add eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
push 1
push 0x59b0e4
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
lea ecx, [ebp + 0xc]
call fcn.0041e2f0
shl eax, 1
push eax
lea ecx, [ebp + 0xc]
call fcn.0041e1e0
push eax
push 1
push 0
push str.Icon
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x10]
push ecx
push str._sShellOpenCommand
lea edx, [ebp - 0x14]
push edx
call fcn.00423c30
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
push SHChangeNotifyDeregister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x4ca21f
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
push SHChangeNotifyDeregister
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x4ca21f
mov byte [ebp - 0x1e], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.0041dab0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.0041dab0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0041dab0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.0041dab0
mov al, byte [ebp - 0x1e]
jmp 0x4ca2c2
mov edx, dword [ebp + 0xc]
push edx
push str.__s_____1_
lea eax, [ebp - 0x14]
push eax
call fcn.00423c30
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0041e2f0
add eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
push 1
push 0x59b138
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x1f], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.0041dab0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.0041dab0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0041dab0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.0041dab0
mov al, byte [ebp - 0x1f]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret