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

Disassembly:
sub esp, 0x418
push ebx
push ebp
push esi
mov esi, dword [esp + 0x428]
push edi
mov edi, ecx
push esi
call fcn.00401000
add esp, 4
mov ebp, eax
mov ecx, edi
mov dword [esp + 0x10], ebp
push esi
call fcn.00401810
test ebp, ebp
je 0x401629
mov eax, dword [esp + 0x430]
test eax, eax
jne 0x4010e4
mov eax, dword [ebp + 4]
test eax, eax
jne 0x4010e4
push esi
mov ecx, edi
call fcn.004019d0
test eax, eax
jne 0x401629
mov dl, byte [0x405b38]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x325]
mov byte [esp + 0x324], dl
mov byte [esp + 0x18], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x11c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11d]
mov byte [esp + 0x220], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x221]
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
push str.MPCPlayer
stosb byte es:[edi], al
push str._s._s
lea eax, [esp + 0x128]
push 0x103
push eax
call ebx
add esp, 0x14
lea ecx, [esp + 0x11c]
push ecx
push 0x80000000
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
push 0
lea edx, [esp + 0x328]
push 0x104
push edx
push eax
call fcn.00402850
mov eax, dword [ebp + 0x14]
add esp, 0x10
lea ecx, [esp + 0x220]
mov dword [esp + 0x14], eax
push esi
push str.fenglei
push str._s_s
push 0x103
push ecx
call ebx
lea edi, [esp + 0x234]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
mov ebp, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
dec ecx
lea edx, [esp + 0x220]
push ecx
push edx
push 1
push 0x405b38
push esi
push 0x80000000
call ebp
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x18]
test edx, edx
je 0x40121d
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 1
push str.Content_Type
push esi
push 0x80000000
call ebp
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x1c]
test edx, edx
je 0x401245
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 1
push str.CLSID
push esi
push 0x80000000
call ebp
mov edx, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [edx + 0xc]
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x220]
push ecx
push edx
push 1
push 0x405b38
push eax
push 0x80000000
call ebp
mov eax, dword [esp + 0x14]
test eax, eax
je 0x401295
lea ecx, [esp + 0x14]
push 4
push ecx
push 4
lea edx, [esp + 0x22c]
push str.EditFlags
push edx
push 0x80000000
call ebp
lea eax, [esp + 0x220]
lea ecx, [esp + 0x11c]
push eax
push str._sDefaultIcon
push 0x103
push ecx
call ebx
mov edx, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esp + 0x324]
mov eax, dword [edx + 0x10]
lea edx, [esp + 0x18]
push eax
push ecx
push str._sExtIcon_s
push 0x103
push edx
call ebx
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x18]
push ecx
push eax
push 1
lea ecx, [esp + 0x128]
push 0x405b38
push ecx
push 0x80000000
call ebp
lea edx, [esp + 0x220]
lea eax, [esp + 0x11c]
push edx
push str._s_shell
push 0x103
push eax
call ebx
mov edi, str.Open
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Open
push 1
lea ecx, [esp + 0x128]
push 0x405b38
push ecx
push 0x80000000
call ebp
lea edx, [esp + 0x220]
lea eax, [esp + 0x11c]
push edx
push str._s_shellPlay
push 0x103
push eax
call ebx
mov edi, 0x405968
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x11c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 1
push 0x405b38
push edx
push 0x80000000
call ebp
lea eax, [esp + 0x220]
lea ecx, [esp + 0x11c]
push eax
push str._s_shellPlaycommand
push 0x103
push ecx
call ebx
add esp, 0x10
lea edx, [esp + 0x324]
lea eax, [esp + 0x18]
push edx
push str.__s_fenglei.exe___add____1_
push 0x103
push eax
call ebx
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 1
push 0x405b38
push edx
push 0x80000000
call ebp
lea eax, [esp + 0x220]
lea ecx, [esp + 0x11c]
push eax
push str._s_shell_fladd
push 0x103
push ecx
call ebx
add esp, 0x10
lea edx, [esp + 0x11c]
push edx
push 0x80000000
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
lea eax, [esp + 0x220]
lea ecx, [esp + 0x11c]
push eax
push str._s_shellOpen
push 0x103
push ecx
call ebx
mov edi, 0x405900
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x11c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 1
push 0x405b38
push edx
push 0x80000000
call ebp
lea eax, [esp + 0x220]
lea ecx, [esp + 0x11c]
push eax
push str._s_shellOpencommand
push 0x103
push ecx
call ebx
add esp, 0x10
lea edx, [esp + 0x324]
lea eax, [esp + 0x18]
push edx
push str.__s_fenglei.exe_____1_
push 0x103
push eax
call ebx
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 1
push 0x405b38
push edx
push 0x80000000
call ebp
mov esi, dword [esp + 0x42c]
mov edi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push 0x4055a0
push esi
call edi
add esp, 8
test eax, eax
je 0x401555
push str..rmvb
push esi
call edi
add esp, 8
test eax, eax
jne 0x401629
lea eax, [esp + 0x220]
lea ecx, [esp + 0x11c]
push eax
push str._s_shell_flrm
push 0x103
push ecx
call ebx
mov edi, 0x4058a0
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x11c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 1
push 0x405b38
push edx
push 0x80000000
call ebp
lea eax, [esp + 0x220]
lea ecx, [esp + 0x11c]
push eax
push str._s_shell_flrmcommand
push 0x103
push ecx
call ebx
add esp, 0x10
lea edx, [esp + 0x324]
lea eax, [esp + 0x18]
push edx
push str.__s_fenglei.exe___rm____1_
push 0x103
push eax
call ebx
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 1
push 0x405b38
push edx
push 0x80000000
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x418
ret 8