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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x446044]
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.00426670
lea ecx, [ebp - 0x310]
push ecx
push 0xca0380
call fcn.0040ae50
push 0x103
lea edx, [ebp - 0x20b]
push 0
push edx
mov dword [ebp - 0x318], 0
mov byte [ebp - 0x20c], 0
call fcn.00426670
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.00426670
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 0x409a70
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x409a70
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 0x43aee4
push SysReAllocString
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x409c39
mov ecx, dword [ebp - 0x314]
push ebx
push str.WinMaster7_File
push 1
push 0
push 0x4389a0
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 0x409b2a
push ebx
lea edx, [ebp - 0x108]
push edx
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x4389a0
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 0x409be7
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 0x409be7
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 0x409be7
mov edx, dword [ebp - 0x314]
push ebx
lea ecx, [ebp - 0x20c]
push ecx
push 1
push eax
push 0x4389a0
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 0x409c39
mov ecx, dword [ebp - 0x314]
push ebx
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push 0x4389a0
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 0x43af4c
push SysReAllocString
call edi
test eax, eax
jne 0x409dec
mov edx, dword [ebp - 0x314]
push ebx
push str.WinMaster7_File
push 1
push eax
push 0x4389a0
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 0x409cde
mov ecx, dword [ebp - 0x314]
push ebx
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push 0x4389a0
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 0x409d9b
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 0x409d9b
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 0x409d9b
push ebx
lea edx, [ebp - 0x20c]
push edx
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x4389a0
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 0x409dec
mov edx, dword [ebp - 0x314]
push ebx
lea ecx, [ebp - 0x108]
push ecx
push 1
push eax
push 0x4389a0
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 0x43afa4
push SysReAllocString
call edi
test eax, eax
jne 0x409f9f
push ebx
push str.WinMaster7_File
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x4389a0
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 0x409e90
mov edx, dword [ebp - 0x314]
push ebx
lea ecx, [ebp - 0x108]
push ecx
push 1
push eax
push 0x4389a0
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 0x409f4e
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 0x409f4e
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 0x409f4e
mov ecx, dword [ebp - 0x314]
push ebx
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push 0x4389a0
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 0x409f9f
push ebx
lea edx, [ebp - 0x108]
push edx
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x4389a0
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 0x43affc
push SysReAllocString
call edi
test eax, eax
jne 0x40a168
mov ecx, dword [ebp - 0x314]
push ebx
push str.WinMaster7_File
push 1
push eax
push 0x4389a0
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 0x40a043
push ebx
lea edx, [ebp - 0x108]
push edx
push 1
push eax
mov eax, dword [ebp - 0x314]
push 0x4389a0
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 0x40a100
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 0x40a100
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 0x40a100
mov edx, dword [ebp - 0x314]
push ebx
lea ecx, [ebp - 0x20c]
push ecx
push 1
push eax
push 0x4389a0
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 0x40a168
mov ecx, dword [ebp - 0x314]
push ebx
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push 0x4389a0
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.0041e7be
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.0041e7be
mov esp, ebp
pop ebp
ret