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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0b48
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4c9144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x20]
push eax
mov eax, str..ple
mov ecx, SysReAllocString
mov dword [ebp - 4], ebx
call fcn.0047d750
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x47c857
push str.MsgPlus.Encrypted
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x20]
lea ecx, [eax + eax + 2]
push ecx
push str.MsgPlus.Encrypted
push 1
push ebx
push 0x4ab684
push edi
call esi
cmp edi, ebx
je 0x47c854
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea edx, [ebp - 0x20]
push edx
mov eax, str.MsgPlus.Encrypted
mov ecx, SysReAllocString
call fcn.0047d750
test eax, eax
jne 0x47c8a2
push str.Encrypted_Log_File
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x20]
lea eax, [eax + eax + 2]
push eax
push str.Encrypted_Log_File
push 1
push ebx
push 0x4ab684
push edi
call esi
cmp edi, ebx
je 0x47c89f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x20]
push ecx
mov eax, str.MsgPlus.EncryptedDefaultIcon
mov ecx, SysReAllocString
call fcn.0047d750
test eax, eax
jne 0x47c946
lea edx, [ebp - 0x10]
push edx
call fcn.0041b8b0
mov byte [ebp - 4], 1
mov eax, dword [0x4d2d94]
push eax
push str._sLog_Viewer.exe_1
lea edi, [ebp - 0x10]
call fcn.00417250
mov eax, dword [ebp - 0x10]
xor ecx, ecx
add esp, 8
cmp eax, ebx
setne cl
mov edi, eax
cmp ecx, ebx
je 0x47c910
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push edi
mov edi, dword [ebp - 0x20]
push 1
push ebx
push 0x4ab684
push edi
call esi
mov eax, dword [ebp - 0x10]
jmp 0x47c913
mov edi, dword [ebp - 0x20]
cmp edi, ebx
je 0x47c924
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], ebx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47c946
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x20]
push ecx
mov eax, str.MsgPlus.Encrypted_shellopencommand
mov ecx, SysReAllocString
call fcn.0047d750
test eax, eax
jne 0x47c9e9
lea edx, [ebp - 0x10]
push edx
call fcn.0041b8b0
mov byte [ebp - 4], 2
mov eax, dword [0x4d2d94]
push eax
push str.__sLog_Viewer.exe___ViewLog___1_
lea edi, [ebp - 0x10]
call fcn.00417250
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x20]
xor ecx, ecx
add esp, 8
cmp eax, ebx
setne cl
mov dword [ebp - 0x14], eax
cmp ecx, ebx
je 0x47c9b6
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x14]
lea ecx, [eax + eax + 2]
push ecx
push edx
push 1
push ebx
push 0x4ab684
push edi
call esi
mov eax, dword [ebp - 0x10]
cmp edi, ebx
je 0x47c9c7
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], ebx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c9e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x20]
push ecx
mov eax, str..plsc
mov ecx, SysReAllocString
call fcn.0047d750
test eax, eax
jne 0x47ca34
push str.MsgPlus.ScriptPack
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x20]
lea edx, [eax + eax + 2]
push edx
push str.MsgPlus.ScriptPack
push 1
push ebx
push 0x4ab684
push edi
call esi
cmp edi, ebx
je 0x47ca31
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x20]
push eax
mov eax, str.MsgPlus.ScriptPack
mov ecx, SysReAllocString
call fcn.0047d750
test eax, eax
jne 0x47ca7f
push str.Messenger_Plus__Script_Pack
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x20]
lea ecx, [eax + eax + 2]
push ecx
push str.Messenger_Plus__Script_Pack
push 1
push ebx
push 0x4ab684
push edi
call esi
cmp edi, ebx
je 0x47ca7c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea edx, [ebp - 0x20]
push edx
mov eax, str.MsgPlus.ScriptPackDefaultIcon
mov ecx, SysReAllocString
call fcn.0047d750
test eax, eax
jne 0x47cb23
lea eax, [ebp - 0x10]
push eax
call fcn.0041b8b0
mov byte [ebp - 4], 3
mov ecx, dword [0x4d2d94]
push ecx
push str._sMPTools.exe_2
lea edi, [ebp - 0x10]
call fcn.00417250
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x20]
xor ecx, ecx
add esp, 8
cmp eax, ebx
setne cl
mov dword [ebp - 0x14], eax
cmp ecx, ebx
je 0x47caf0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0x14]
push edx
push eax
push 1
push ebx
push 0x4ab684
push edi
call esi
mov eax, dword [ebp - 0x10]
cmp edi, ebx
je 0x47cb01
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], ebx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47cb23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x20]
push ecx
mov eax, str.MsgPlus.ScriptPack_shellopencommand
mov ecx, SysReAllocString
call fcn.0047d750
test eax, eax
jne 0x47cbc6
lea edx, [ebp - 0x10]
push edx
call fcn.0041b8b0
mov byte [ebp - 4], 4
mov eax, dword [0x4d2d94]
push eax
push str.__sMPTools.exe___ImportScript___1_
lea edi, [ebp - 0x10]
call fcn.00417250
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x20]
xor ecx, ecx
add esp, 8
cmp eax, ebx
setne cl
mov dword [ebp - 0x14], eax
cmp ecx, ebx
je 0x47cb93
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x14]
lea ecx, [eax + eax + 2]
push ecx
push edx
push 1
push ebx
push 0x4ab684
push edi
call esi
mov eax, dword [ebp - 0x10]
cmp edi, ebx
je 0x47cba4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], ebx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47cbc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x20]
push ecx
mov eax, str..plsk
mov ecx, SysReAllocString
call fcn.0047d750
test eax, eax
jne 0x47cc11
push str.MsgPlus.SkinPack
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x20]
lea edx, [eax + eax + 2]
push edx
push str.MsgPlus.SkinPack
push 1
push ebx
push 0x4ab684
push edi
call esi
cmp edi, ebx
je 0x47cc0e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x20]
push eax
mov eax, str.MsgPlus.SkinPack
mov ecx, SysReAllocString
call fcn.0047d750
test eax, eax
jne 0x47cc5c
push str.Messenger_Plus__Skin_Pack
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x20]
lea ecx, [eax + eax + 2]
push ecx
push str.Messenger_Plus__Skin_Pack
push 1
push ebx
push 0x4ab684
push edi
call esi
cmp edi, ebx
je 0x47cc59
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea edx, [ebp - 0x20]
push edx
mov eax, str.MsgPlus.SkinPackDefaultIcon
mov ecx, SysReAllocString
call fcn.0047d750
test eax, eax
jne 0x47cd00
lea eax, [ebp - 0x10]
push eax
call fcn.0041b8b0
mov byte [ebp - 4], 5
mov ecx, dword [0x4d2d94]
push ecx
push str._sMPTools.exe_4
lea edi, [ebp - 0x10]
call fcn.00417250
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x20]
xor ecx, ecx
add esp, 8
cmp eax, ebx
setne cl
mov dword [ebp - 0x14], eax
cmp ecx, ebx
je 0x47cccd
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0x14]
push edx
push eax
push 1
push ebx
push 0x4ab684
push edi
call esi
mov eax, dword [ebp - 0x10]
cmp edi, ebx
je 0x47ccde
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], ebx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47cd00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x20]
push ecx
mov eax, str.MsgPlus.SkinPack_shellopencommand
mov ecx, SysReAllocString
call fcn.0047d750
test eax, eax
jne 0x47cda3
lea edx, [ebp - 0x10]
push edx
call fcn.0041b8b0
mov byte [ebp - 4], 6
mov eax, dword [0x4d2d94]
push eax
push str.__sMPTools.exe___ImportSkin___1_
lea edi, [ebp - 0x10]
call fcn.00417250
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x20]
xor ecx, ecx
add esp, 8
cmp eax, ebx
setne cl
mov dword [ebp - 0x14], eax
cmp ecx, ebx
je 0x47cd70
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x14]
lea ecx, [eax + eax + 2]
push ecx
push edx
push 1
push ebx
push 0x4ab684
push edi
call esi
mov eax, dword [ebp - 0x10]
cmp edi, ebx
je 0x47cd81
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], ebx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47cda3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x20]
push ecx
mov eax, str..plp
mov ecx, SysReAllocString
call fcn.0047d750
test eax, eax
jne 0x47cdee
push str.MsgPlus.SoundPack
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x20]
lea edx, [eax + eax + 2]
push edx
push str.MsgPlus.SoundPack
push 1
push ebx
push 0x4ab684
push edi
call esi
cmp edi, ebx
je 0x47cdeb
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x20]
push eax
mov eax, str.MsgPlus.SoundPack
mov ecx, SysReAllocString
call fcn.0047d750
test eax, eax
jne 0x47ce39
push str.Messenger_Plus__Sound_Pack
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x20]
lea ecx, [eax + eax + 2]
push ecx
push str.Messenger_Plus__Sound_Pack
push 1
push ebx
push 0x4ab684
push edi
call esi
cmp edi, ebx
je 0x47ce36
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea edx, [ebp - 0x20]
push edx
mov eax, str.MsgPlus.SoundPackDefaultIcon
mov ecx, SysReAllocString
call fcn.0047d750
test eax, eax
jne 0x47cedd
lea eax, [ebp - 0x10]
push eax
call fcn.0041b8b0
mov byte [ebp - 4], 7
mov ecx, dword [0x4d2d94]
push ecx
push str._sMPTools.exe_3
lea edi, [ebp - 0x10]
call fcn.00417250
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x20]
xor ecx, ecx
add esp, 8
cmp eax, ebx
setne cl
mov dword [ebp - 0x14], eax
cmp ecx, ebx
je 0x47ceaa
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0x14]
push edx
push eax
push 1
push ebx
push 0x4ab684
push edi
call esi
mov eax, dword [ebp - 0x10]
cmp edi, ebx
je 0x47cebb
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], ebx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47cedd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x20]
push ecx
mov eax, str.MsgPlus.SoundPack_shellopencommand
mov ecx, SysReAllocString
call fcn.0047d750
test eax, eax
jne 0x47cf80
lea edx, [ebp - 0x10]
push edx
call fcn.0041b8b0
mov byte [ebp - 4], 8
mov eax, dword [0x4d2d94]
push eax
push str.__sMPTools.exe___ImportSoundPack___1_
lea edi, [ebp - 0x10]
call fcn.00417250
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x20]
xor ecx, ecx
add esp, 8
cmp eax, ebx
setne cl
mov dword [ebp - 0x14], eax
cmp ecx, ebx
je 0x47cf4d
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x14]
lea ecx, [eax + eax + 2]
push ecx
push edx
push 1
push ebx
push 0x4ab684
push edi
call esi
mov eax, dword [ebp - 0x10]
cmp edi, ebx
je 0x47cf5e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], ebx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47cf80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x20]
push ecx
mov eax, str..pld
mov ecx, SysReAllocString
call fcn.0047d750
test eax, eax
jne 0x47cfcb
push str.MsgPlus.PrefPack
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x20]
lea edx, [eax + eax + 2]
push edx
push str.MsgPlus.PrefPack
push 1
push ebx
push 0x4ab684
push edi
call esi
cmp edi, ebx
je 0x47cfc8
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x20]
push eax
mov eax, str.MsgPlus.PrefPack
mov ecx, SysReAllocString
call fcn.0047d750
test eax, eax
jne 0x47d016
push str.Exported_Preferences_Pack
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x20]
lea ecx, [eax + eax + 2]
push ecx
push str.Exported_Preferences_Pack
push 1
push ebx
push 0x4ab684
push edi
call esi
cmp edi, ebx
je 0x47d013
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea edx, [ebp - 0x20]
push edx
mov eax, str.MsgPlus.PrefPackDefaultIcon
mov ecx, SysReAllocString
call fcn.0047d750
test eax, eax
jne 0x47d0ba
lea eax, [ebp - 0x10]
push eax
call fcn.0041b8b0
mov byte [ebp - 4], 9
mov ecx, dword [0x4d2d94]
push ecx
push str._sMPTools.exe_1
lea edi, [ebp - 0x10]
call fcn.00417250
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x20]
xor ecx, ecx
add esp, 8
cmp eax, ebx
setne cl
mov dword [ebp - 0x14], eax
cmp ecx, ebx
je 0x47d087
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0x14]
push edx
push eax
push 1
push ebx
push 0x4ab684
push edi
call esi
mov eax, dword [ebp - 0x10]
cmp edi, ebx
je 0x47d098
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], ebx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47d0ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x20]
push ecx
mov eax, str.MsgPlus.PrefPack_shellopencommand
mov ecx, SysReAllocString
call fcn.0047d750
test eax, eax
jne 0x47d161
lea edx, [ebp - 0x10]
push edx
call fcn.0041b8b0
mov byte [ebp - 4], 0xa
mov eax, dword [0x4d2d94]
push eax
push str.__sMPTools.exe___ImportPrefs___1_
lea edi, [ebp - 0x10]
call fcn.00417250
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x20]
xor ecx, ecx
add esp, 8
cmp eax, ebx
setne cl
mov dword [ebp - 0x14], eax
cmp ecx, ebx
je 0x47d12a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x14]
lea ecx, [eax + eax + 2]
push ecx
push edx
push 1
push ebx
push 0x4ab684
push edi
call esi
mov eax, dword [ebp - 0x10]
cmp edi, ebx
je 0x47d13d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 0x20], edi
add eax, 0xfffffff0
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47d164
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x47d164
mov edi, dword [ebp - 0x20]
push ebx
push ebx
push ebx
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
cmp edi, ebx
je 0x47d17d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret