Function at 0x43df5b
Capabilities:
Persist via default file association registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453aa2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xeac
mov dword [ebp - 0xea4], ecx
mov ecx, dword [ebp - 0xea4]
call fcn.0043ff04
cmp eax, 1
jne 0x43dfb0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 0xea4]
call fcn.0043eb9e
jmp 0x43eb8e
mov dword [ebp - 0x86c], 0
lea ecx, [ebp - 0x658]
call fcn.00450010
mov dword [ebp - 4], 0
mov dword [ebp - 0x644], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x868]
call sub.MFC42u.DLL_CString::CString_2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x864]
call sub.MFC42u.DLL_CString::CString_2
mov byte [ebp - 4], 2
cmp dword [ebp + 0x10], 0
jne 0x43e094
push 0
lea ecx, [ebp - 0x18]
push ecx
push 4
push 0x467988
push 1
push 0x80000001
mov ecx, dword [ebp - 0xea4]
call fcn.0043dc91
cmp dword [ebp - 0x18], 0
jne 0x43e06c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x864]
call sub.MFC42u.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x868]
call sub.MFC42u.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x658]
call fcn.0045004f
jmp 0x43eb8e
mov dword [ebp - 0x14], 0
push 0
lea edx, [ebp - 0x14]
push edx
push 4
push 0x4679b4
push 1
push 0x80000001
mov ecx, dword [ebp - 0xea4]
call fcn.0043dc91
jmp 0x43e09a
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
push 0x4679e4
push 0x467a00
lea ecx, [ebp - 0x868]
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea edx, [ebp - 0xa84]
push edx
push 1
push 0
lea ecx, [ebp - 0x868]
call fcn.00402b00
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43e10e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x864]
call sub.MFC42u.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x868]
call sub.MFC42u.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x658]
call fcn.0045004f
jmp 0x43eb8e
mov ax, word [ebp + 8]
push eax
lea ecx, [ebp - 0x658]
call fcn.004502b0
push 0
push 0
lea ecx, [ebp - 0x220]
push ecx
push 0
push 1
push 0x1b60
lea ecx, [ebp - 0x658]
call fcn.00450079
push 0x104
lea edx, [ebp - 0x640]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x104
lea eax, [ebp - 0xc8c]
push eax
lea ecx, [ebp - 0x640]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov dword [ebp - 0xa80], 0
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x430], 0x104
lea edx, [ebp - 0x430]
push edx
lea eax, [ebp - 0x640]
push eax
lea ecx, [ebp - 0x434]
push ecx
push 0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x42c]
push eax
mov ecx, dword [ebp - 0xa80]
push ecx
mov edx, dword [ebp - 0xa84]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0xa7c], eax
cmp dword [ebp - 0xa7c], 0x103
je 0x43eb21
cmp dword [ebp - 0xa7c], 0
jne 0x43eb21
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x434], 4
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x430]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
lea eax, [ebp - 0x42c]
push eax
mov ecx, dword [ebp - 0xa84]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43e220
jmp 0x43eac0
cmp dword [ebp - 0x430], 1
je 0x43e22e
jmp 0x43eac0
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43e46c
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x644], 0
jne 0x43e386
push 0
push str.CtDetctu.exe
lea ecx, [ebp - 0xe98]
push ecx
mov ecx, dword [ebp - 0xea4]
call fcn.0043fe33
mov dword [ebp - 0xea8], eax
mov edx, dword [ebp - 0xea8]
mov dword [ebp - 0xeac], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xeac]
call fcn.00402b00
push eax
lea eax, [ebp - 0x860]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe98]
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x860]
push ecx
mov ecx, dword [ebp - 0xea4]
call fcn.0043fde3
test eax, eax
je 0x43e386
push ecx
mov ecx, esp
mov dword [ebp - 0xe9c], esp
lea edx, [ebp - 0x860]
push edx
call fcn.00451084
mov dword [ebp - 0xeb0], eax
lea eax, [ebp - 0xea0]
push eax
call fcn.0043fc0e
add esp, 8
mov dword [ebp - 0xeb4], eax
mov ecx, dword [ebp - 0xeb4]
mov dword [ebp - 0xeb8], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xeb8]
push edx
lea ecx, [ebp - 0x868]
call sub.MFC42u.DLL_CString::operator_1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xea0]
call sub.MFC42u.DLL_CString::CString
push 0x104
lea ecx, [ebp - 0x868]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x868]
call sub.MFC42u.DLL_CString::ReleaseBuffer
push 0x467a74
lea ecx, [ebp - 0x868]
call fcn.004510de
push 0
lea ecx, [ebp - 0x868]
call fcn.00402b00
push eax
mov ecx, dword [ebp - 0xea4]
call fcn.0043fd4d
mov dword [ebp - 0x644], eax
mov word [ebp - 0xa74], 0
lea eax, [ebp - 0xa78]
push eax
push 1
push 0
push 0x467a90
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43e410
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x434], 0x104
lea ecx, [ebp - 0x434]
push ecx
lea edx, [ebp - 0xa74]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0
mov ecx, dword [ebp - 0xa78]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x467a9c
lea edx, [ebp - 0xa74]
push edx
call fcn.00408640
add esp, 8
test eax, eax
je 0x43e403
mov word [ebp - 0xa74], 0
mov eax, dword [ebp - 0xa78]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x644], 0
je 0x43e458
push 0x467abc
mov ecx, dword [ebp - 0x644]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x438], eax
push str.AssociateAsAutoplayAudioPalyer
mov edx, dword [ebp - 0x644]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x224], eax
call dword [ebp - 0x438]
test eax, eax
jne 0x43e458
jmp 0x43e6f0
push 0x467aec
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x43e473
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x42c]
push ecx
lea ecx, [ebp - 0x864]
call sub.MFC42u.DLL_CString::operator_2
lea edx, [ebp - 0x42c]
push edx
push 0x467af4
lea eax, [ebp - 0x640]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0xa78]
push ecx
push 1
push 0
lea edx, [ebp - 0x640]
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43e4d0
mov word [ebp - 0xa74], 0
jmp 0x43e6f0
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x434], 0x104
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x860]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0
mov eax, dword [ebp - 0xa78]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43e523
mov word [ebp - 0xa74], 0
mov ecx, dword [ebp - 0xa78]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43e6f0
lea edx, [ebp - 0x860]
push edx
lea eax, [ebp - 0xa74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x467afc
lea ecx, [ebp - 0xa74]
push ecx
call fcn.00408640
add esp, 8
test eax, eax
je 0x43e558
mov word [ebp - 0xa74], 0
mov edx, dword [ebp - 0xa78]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x860]
push eax
push 0x467b1c
lea ecx, [ebp - 0x42c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0xa78]
push edx
push 1
push 0
lea eax, [ebp - 0x42c]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43e5a7
jmp 0x43e6f0
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x434], 0x104
lea ecx, [ebp - 0x434]
push ecx
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0
mov ecx, dword [ebp - 0xa78]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43e5f1
mov edx, dword [ebp - 0xa78]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43e6f0
mov eax, dword [ebp - 0xa78]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x42c]
push ecx
call dword [sym.imp.MSVCRT.dll__wcslwr]
add esp, 4
push 0x467b48
lea edx, [ebp - 0x42c]
push edx
call fcn.00408640
add esp, 8
test eax, eax
jne 0x43e62b
jmp 0x43e6f0
lea eax, [ebp - 0x860]
push eax
push 0x467b60
lea ecx, [ebp - 0x42c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0xa78]
push edx
push 1
push 0
lea eax, [ebp - 0x42c]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43e66d
jmp 0x43e6f0
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x434], 0x104
lea ecx, [ebp - 0x434]
push ecx
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0
mov ecx, dword [ebp - 0xa78]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43e6b4
mov edx, dword [ebp - 0xa78]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43e6f0
mov eax, dword [ebp - 0xa78]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x42c]
push ecx
call dword [sym.imp.MSVCRT.dll__wcslwr]
add esp, 4
push str.ctcmsu.exe
lea edx, [ebp - 0x42c]
push edx
call fcn.00408640
add esp, 8
test eax, eax
jne 0x43e6eb
jmp 0x43e6f0
jmp 0x43eac0
cmp dword [ebp - 0x14], 0
je 0x43e790
cmp dword [ebp - 0x10], 1
jne 0x43e714
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x640]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x104
lea edx, [ebp - 0x860]
push edx
push 0x37de
call fcn.00404110
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x640]
push eax
lea ecx, [ebp - 0x860]
push ecx
lea edx, [ebp - 0xe94]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x104
lea eax, [ebp - 0x860]
push eax
push 0x3751
call fcn.00404110
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x24
lea ecx, [ebp - 0x860]
push ecx
lea edx, [ebp - 0xe94]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x43e790
jmp 0x43eac0
cmp dword [ebp - 0x10], 1
jne 0x43e7d1
cmp dword [ebp - 0x438], 0
je 0x43e7b8
call dword [ebp - 0x438]
test eax, eax
jne 0x43e7b8
cmp dword [ebp - 0x224], 0
je 0x43e7b8
call dword [ebp - 0x224]
mov dword [ebp - 0x10], 0
push 0x467ba4
lea ecx, [ebp - 0x640]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x10], 0
jne 0x43eab1
push 0
lea edx, [ebp - 0xa78]
push edx
push 0
push 2
push 0
push 0
push 0
lea eax, [ebp - 0x640]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea ecx, [ebp - 0x640]
push ecx
push str.Media_Source_U_sFile
lea edx, [ebp - 0x42c]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x42c]
push edx
push 1
push 0
push 0
mov eax, dword [ebp - 0xa78]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0xa74]
and ecx, 0xffff
test ecx, ecx
je 0x43e887
lea edx, [ebp - 0xa74]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0xa74]
push ecx
push 1
push 0
push 0x467bdc
mov edx, dword [ebp - 0xa78]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xa78]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x42c]
push ecx
push str._sShellOpenCommand
lea edx, [ebp - 0x640]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
lea eax, [ebp - 0xa78]
push eax
push 0
push 2
push 0
push 0
push 0
lea ecx, [ebp - 0x640]
push ecx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea edx, [ebp - 0xc8c]
push edx
push str.__s___PlayNow____L_
lea eax, [ebp - 0x860]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x860]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x860]
push eax
push 1
push 0
push 0
mov ecx, dword [ebp - 0xa78]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0xa78]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x42c]
push eax
push str._sShellPlayCommand
lea ecx, [ebp - 0x640]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
lea edx, [ebp - 0xa78]
push edx
push 0
push 2
push 0
push 0
push 0
lea eax, [ebp - 0x640]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea ecx, [ebp - 0x860]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x860]
push eax
push 1
push 0
push 0
mov ecx, dword [ebp - 0xa78]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0xa78]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x42c]
push eax
push str._sDefaultIcon
lea ecx, [ebp - 0x640]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
lea edx, [ebp - 0xa78]
push edx
push 0
push 2
push 0
push 0
push 0
lea eax, [ebp - 0x640]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea ecx, [ebp - 0xc8c]
push ecx
push str._s__130
lea edx, [ebp - 0x860]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x860]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x860]
push edx
push 1
push 0
push 0
mov eax, dword [ebp - 0xa78]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0xa78]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea edx, [ebp - 0xa78]
push edx
push 0
push 2
push 0
push 0
push 0
lea eax, [ebp - 0x42c]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea ecx, [ebp - 0x864]
call fcn.00402b00
push eax
lea ecx, [ebp - 0x860]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x860]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x860]
push ecx
push 1
push 0
push 0
mov edx, dword [ebp - 0xa78]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xa78]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x86c]
add ecx, 1
mov dword [ebp - 0x86c], ecx
mov edx, dword [ebp - 0xa80]
add edx, 1
mov dword [ebp - 0xa80], edx
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x430], 0x104
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x640]
push ecx
lea edx, [ebp - 0x434]
push edx
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x42c]
push ecx
mov edx, dword [ebp - 0xa80]
push edx
mov eax, dword [ebp - 0xa84]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0xa7c], eax
jmp 0x43e1c1
mov ecx, dword [ebp - 0xa84]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x644], 0
je 0x43eb44
mov edx, dword [ebp - 0x644]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x86c], 0
jle 0x43eb5e
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x864]
call sub.MFC42u.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x868]
call sub.MFC42u.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x658]
call fcn.0045004f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10