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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x44a044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x30f]
push 0
push eax
mov byte [ebp - 0x310], 0
call fcn.00427f40
lea ecx, [ebp - 0x310]
push ecx
push 0x48cf90
call fcn.0040d3c0
push 0x103
lea edx, [ebp - 0x20b]
push 0
push edx
mov dword [ebp - 0x318], 0
mov byte [ebp - 0x20c], 0
call fcn.00427f40
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.00427f40
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0x310]
push ecx
lea edx, [ebp - 0x20c]
push str._swmcEncryption7.exe___1_decrypt
push edx
call esi
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x108]
push str._swmcEncryption7.exe
push ecx
call esi
lea ebx, [ebp - 0x20c]
add esp, 0x44
lea eax, [ebx + 1]
jmp 0x40c780
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x40c780
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea edx, [ebp - 0x318]
push edx
sub ebx, eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x43f1c4
push SysReAllocString
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40c949
mov ecx, dword [ebp - 0x314]
push ebx
push str.WinMaster7_File
push 1
push 0
push 0x43c326
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x314]
push edx
call esi
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x314]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str..wm7eDefaultIcon
push SysReAllocString
call edi
test eax, eax
jne 0x40c83a
push ebx
lea edx, [ebp - 0x108]
push edx
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x43c326
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x314]
push ecx
call esi
lea edx, [ebp - 0x318]
push edx
lea eax, [ebp - 0x314]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str..wm7e_shell
push SysReAllocString
call edi
test eax, eax
jne 0x40c8f7
mov ecx, dword [ebp - 0x314]
push ecx
call esi
lea edx, [ebp - 0x318]
push edx
lea eax, [ebp - 0x314]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str..wm7eShellopen
push SysReAllocString
call edi
test eax, eax
jne 0x40c8f7
mov ecx, dword [ebp - 0x314]
push ecx
call esi
lea edx, [ebp - 0x318]
push edx
lea eax, [ebp - 0x314]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str..wm7eShellopencommand
push SysReAllocString
call edi
test eax, eax
jne 0x40c8f7
mov edx, dword [ebp - 0x314]
push ebx
lea ecx, [ebp - 0x20c]
push ecx
push 1
push eax
push 0x43c326
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x314]
push eax
call esi
lea ecx, [ebp - 0x318]
push ecx
lea edx, [ebp - 0x314]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str..wm7eDefaultIcon
push SysReAllocString
call edi
test eax, eax
jne 0x40c949
mov ecx, dword [ebp - 0x314]
push ebx
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push 0x43c326
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x314]
push edx
call esi
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x314]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x43f22c
push SysReAllocString
call edi
test eax, eax
jne 0x40cafc
mov edx, dword [ebp - 0x314]
push ebx
push str.WinMaster7_File
push 1
push eax
push 0x43c326
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x314]
push eax
call esi
lea ecx, [ebp - 0x318]
push ecx
lea edx, [ebp - 0x314]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str..wsefDefaultIcon
push SysReAllocString
call edi
test eax, eax
jne 0x40c9ee
mov ecx, dword [ebp - 0x314]
push ebx
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push 0x43c326
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x314]
push edx
call esi
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x314]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str..wsef_shell
push SysReAllocString
call edi
test eax, eax
jne 0x40caab
mov edx, dword [ebp - 0x314]
push edx
call esi
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x314]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str..wsefShellopen
push SysReAllocString
call edi
test eax, eax
jne 0x40caab
mov edx, dword [ebp - 0x314]
push edx
call esi
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x314]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str..wsefShellopencommand
push SysReAllocString
call edi
test eax, eax
jne 0x40caab
push ebx
lea edx, [ebp - 0x20c]
push edx
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x43c326
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x314]
push ecx
call esi
lea edx, [ebp - 0x318]
push edx
lea eax, [ebp - 0x314]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str..wsefDefaultIcon
push SysReAllocString
call edi
test eax, eax
jne 0x40cafc
mov edx, dword [ebp - 0x314]
push ebx
lea ecx, [ebp - 0x108]
push ecx
push 1
push eax
push 0x43c326
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x314]
push eax
call esi
lea ecx, [ebp - 0x318]
push ecx
lea edx, [ebp - 0x314]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x43f284
push SysReAllocString
call edi
test eax, eax
jne 0x40ccaf
push ebx
push str.WinMaster7_File
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x43c326
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x314]
push ecx
call esi
lea edx, [ebp - 0x318]
push edx
lea eax, [ebp - 0x314]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str..jm7eDefaultIcon
push SysReAllocString
call edi
test eax, eax
jne 0x40cba0
mov edx, dword [ebp - 0x314]
push ebx
lea ecx, [ebp - 0x108]
push ecx
push 1
push eax
push 0x43c326
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x314]
push eax
call esi
lea ecx, [ebp - 0x318]
push ecx
lea edx, [ebp - 0x314]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str..jm7e_shell
push SysReAllocString
call edi
test eax, eax
jne 0x40cc5e
mov eax, dword [ebp - 0x314]
push eax
call esi
lea ecx, [ebp - 0x318]
push ecx
lea edx, [ebp - 0x314]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str..jm7eShellopen
push SysReAllocString
call edi
test eax, eax
jne 0x40cc5e
mov eax, dword [ebp - 0x314]
push eax
call esi
lea ecx, [ebp - 0x318]
push ecx
lea edx, [ebp - 0x314]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str..jm7eShellopencommand
push SysReAllocString
call edi
test eax, eax
jne 0x40cc5e
mov ecx, dword [ebp - 0x314]
push ebx
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push 0x43c326
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x314]
push edx
call esi
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x314]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str..jm7eDefaultIcon
push SysReAllocString
call edi
test eax, eax
jne 0x40ccaf
push ebx
lea edx, [ebp - 0x108]
push edx
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x43c326
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x314]
push ecx
call esi
lea edx, [ebp - 0x318]
push edx
lea eax, [ebp - 0x314]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x43f2dc
push SysReAllocString
call edi
test eax, eax
jne 0x40ce78
mov ecx, dword [ebp - 0x314]
push ebx
push str.WinMaster7_File
push 1
push eax
push 0x43c326
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x314]
push edx
call esi
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x314]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str..jsefDefaultIcon
push SysReAllocString
call edi
test eax, eax
jne 0x40cd53
push ebx
lea edx, [ebp - 0x108]
push edx
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x43c326
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x314]
push ecx
call esi
lea edx, [ebp - 0x318]
push edx
lea eax, [ebp - 0x314]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str..jsef_shell
push SysReAllocString
call edi
test eax, eax
jne 0x40ce10
mov ecx, dword [ebp - 0x314]
push ecx
call esi
lea edx, [ebp - 0x318]
push edx
lea eax, [ebp - 0x314]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str..jsefShellopen
push SysReAllocString
call edi
test eax, eax
jne 0x40ce10
mov ecx, dword [ebp - 0x314]
push ecx
call esi
lea edx, [ebp - 0x318]
push edx
lea eax, [ebp - 0x314]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str..jsefShellopencommand
push SysReAllocString
call edi
test eax, eax
jne 0x40ce10
mov edx, dword [ebp - 0x314]
push ebx
lea ecx, [ebp - 0x20c]
push ecx
push 1
push eax
push 0x43c326
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x314]
push eax
call esi
lea ecx, [ebp - 0x318]
push ecx
lea edx, [ebp - 0x314]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str..jsefDefaultIcon
push SysReAllocString
call edi
test eax, eax
jne 0x40ce78
mov ecx, dword [ebp - 0x314]
push ebx
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push 0x43c326
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x314]
push edx
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421294
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00421294
mov esp, ebp
pop ebp
ret