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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x43e044]
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.00422210
lea ecx, [ebp - 0x310]
push ecx
push 0xb5b1f0
call fcn.00409810
push 0x103
lea edx, [ebp - 0x20b]
push 0
push edx
mov dword [ebp - 0x318], 0
mov byte [ebp - 0x20c], 0
call fcn.00422210
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.00422210
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 0x408470
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x408470
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 str..wm7e
push SysReAllocString
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x408639
mov ecx, dword [ebp - 0x314]
push ebx
push str.WinMaster7_File
push 1
push 0
push 0x433740
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 0x40852a
push ebx
lea edx, [ebp - 0x108]
push edx
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x433740
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 0x4085e7
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 0x4085e7
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 0x4085e7
mov edx, dword [ebp - 0x314]
push ebx
lea ecx, [ebp - 0x20c]
push ecx
push 1
push eax
push 0x433740
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 0x408639
mov ecx, dword [ebp - 0x314]
push ebx
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push 0x433740
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
push SysReAllocString
call edi
test eax, eax
jne 0x4087ec
mov edx, dword [ebp - 0x314]
push ebx
push str.WinMaster7_File
push 1
push eax
push 0x433740
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 0x4086de
mov ecx, dword [ebp - 0x314]
push ebx
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push 0x433740
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 0x40879b
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 0x40879b
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 0x40879b
push ebx
lea edx, [ebp - 0x20c]
push edx
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x433740
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 0x4087ec
mov edx, dword [ebp - 0x314]
push ebx
lea ecx, [ebp - 0x108]
push ecx
push 1
push eax
push 0x433740
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
push SysReAllocString
call edi
test eax, eax
jne 0x40899f
push ebx
push str.WinMaster7_File
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x433740
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 0x408890
mov edx, dword [ebp - 0x314]
push ebx
lea ecx, [ebp - 0x108]
push ecx
push 1
push eax
push 0x433740
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 0x40894e
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 0x40894e
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 0x40894e
mov ecx, dword [ebp - 0x314]
push ebx
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push 0x433740
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 0x40899f
push ebx
lea edx, [ebp - 0x108]
push edx
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x433740
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
push SysReAllocString
call edi
test eax, eax
jne 0x408b68
mov ecx, dword [ebp - 0x314]
push ebx
push str.WinMaster7_File
push 1
push eax
push 0x433740
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 0x408a43
push ebx
lea edx, [ebp - 0x108]
push edx
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x433740
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 0x408b00
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 0x408b00
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 0x408b00
mov edx, dword [ebp - 0x314]
push ebx
lea ecx, [ebp - 0x20c]
push ecx
push 1
push eax
push 0x433740
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 0x408b68
mov ecx, dword [ebp - 0x314]
push ebx
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push 0x433740
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.0041a70e
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.0041a70e
mov esp, ebp
pop ebp
ret