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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x448044]
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.004279d0
lea ecx, [ebp - 0x310]
push ecx
push 0x48b008
call fcn.0040b550
push 0x103
lea edx, [ebp - 0x20b]
push 0
push edx
mov dword [ebp - 0x318], 0
mov byte [ebp - 0x20c], 0
call fcn.004279d0
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.004279d0
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 0x40a190
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x40a190
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 0x43c844
push SysReAllocString
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40a359
mov ecx, dword [ebp - 0x314]
push ebx
push str.WinMaster7_File
push 1
push 0
push 0x439a00
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 0x40a24a
push ebx
lea edx, [ebp - 0x108]
push edx
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x439a00
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 0x40a307
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 0x40a307
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 0x40a307
mov edx, dword [ebp - 0x314]
push ebx
lea ecx, [ebp - 0x20c]
push ecx
push 1
push eax
push 0x439a00
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 0x40a359
mov ecx, dword [ebp - 0x314]
push ebx
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push 0x439a00
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 0x43c8ac
push SysReAllocString
call edi
test eax, eax
jne 0x40a50c
mov edx, dword [ebp - 0x314]
push ebx
push str.WinMaster7_File
push 1
push eax
push 0x439a00
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 0x40a3fe
mov ecx, dword [ebp - 0x314]
push ebx
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push 0x439a00
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 0x40a4bb
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 0x40a4bb
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 0x40a4bb
push ebx
lea edx, [ebp - 0x20c]
push edx
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x439a00
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 0x40a50c
mov edx, dword [ebp - 0x314]
push ebx
lea ecx, [ebp - 0x108]
push ecx
push 1
push eax
push 0x439a00
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 0x43c904
push SysReAllocString
call edi
test eax, eax
jne 0x40a6bf
push ebx
push str.WinMaster7_File
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x439a00
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 0x40a5b0
mov edx, dword [ebp - 0x314]
push ebx
lea ecx, [ebp - 0x108]
push ecx
push 1
push eax
push 0x439a00
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 0x40a66e
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 0x40a66e
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 0x40a66e
mov ecx, dword [ebp - 0x314]
push ebx
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push 0x439a00
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 0x40a6bf
push ebx
lea edx, [ebp - 0x108]
push edx
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x439a00
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 0x43c95c
push SysReAllocString
call edi
test eax, eax
jne 0x40a888
mov ecx, dword [ebp - 0x314]
push ebx
push str.WinMaster7_File
push 1
push eax
push 0x439a00
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 0x40a763
push ebx
lea edx, [ebp - 0x108]
push edx
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x439a00
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 0x40a820
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 0x40a820
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 0x40a820
mov edx, dword [ebp - 0x314]
push ebx
lea ecx, [ebp - 0x20c]
push ecx
push 1
push eax
push 0x439a00
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 0x40a888
mov ecx, dword [ebp - 0x314]
push ebx
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push 0x439a00
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.0041fb1e
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.0041fb1e
mov esp, ebp
pop ebp
ret