Function at 0x41edf0
Capabilities:
Create process on windows
Set registry value

Disassembly:
sub esp, 0x158
push ebx
push ebp
push esi
push edi
mov esi, ecx
call sub.MFC42.DLL_AfxGetModuleState
mov edi, dword [eax + 4]
push 1
mov ecx, esi
call sub.MFC42.DLL_CWnd::UpdateData
mov ecx, dword [esi + 0x6e4]
lea eax, [esi + 0x5d0]
push eax
call fcn.00416910
lea ecx, [esi + 0x628]
mov ebx, eax
push ecx
mov ecx, dword [esi + 0x6e8]
call fcn.00416910
test ebx, ebx
jne 0x41ee3b
test eax, eax
je 0x41ee40
mov eax, 1
push eax
push str.ControlsChanged
push 0x42ba90
mov ecx, edi
mov dword [esi + 0x6c8], eax
call sub.MFC42.DLL_CWinApp::WriteProfileInt
mov edx, dword [esi + 0x684]
mov ecx, edi
push edx
push str.ShowPlayback
push 0x42ba90
call sub.MFC42.DLL_CWinApp::WriteProfileInt
mov eax, dword [esi + 0x688]
mov ecx, edi
push eax
push str.ShowRecord
push 0x42ba90
call sub.MFC42.DLL_CWinApp::WriteProfileInt
mov ecx, dword [esi + 0x68c]
push ecx
push 0x42baf4
push 0x42ba90
mov ecx, edi
call sub.MFC42.DLL_CWinApp::WriteProfileInt
mov edx, dword [esi + 0x680]
mov ecx, edi
push edx
push 0x42bab8
push 0x42ba90
call sub.MFC42.DLL_CWinApp::WriteProfileInt
mov eax, dword [esi + 0x6a4]
mov ecx, edi
push eax
push 0x42bad0
push 0x42ba90
call sub.MFC42.DLL_CWinApp::WriteProfileInt
mov ecx, dword [esi + 0x6a8]
push ecx
push 0x42baac
push 0x42ba90
mov ecx, edi
call sub.MFC42.DLL_CWinApp::WriteProfileInt
mov eax, dword [esi + 0x6e0]
test eax, eax
je 0x41f0ba
mov edx, dword [esi + 0x69c]
mov eax, dword [esi + 0x6d4]
lea ebx, [esi + 0x69c]
xor ebp, ebp
cmp edx, eax
jne 0x41ef52
mov eax, dword [esi + 0x6a0]
mov ecx, dword [esi + 0x6d8]
cmp eax, ecx
jne 0x41ef52
mov ecx, dword [esi + 0x698]
mov eax, dword [esi + 0x6d0]
cmp ecx, eax
jne 0x41ef52
mov edx, dword [esi + 0x6ac]
mov eax, dword [esi + 0x6cc]
cmp edx, eax
jne 0x41ef52
mov eax, dword [esi + 0x6b8]
mov ecx, dword [esi + 0x6dc]
cmp eax, ecx
je 0x41f033
lea ecx, [esp + 0x10]
mov ebp, 1
push ecx
push str.SoftwareAnalog_DevicesSMax4PNPSettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x41effb
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
push ebx
push 4
push eax
push str.DetectOnStartup
push edx
call edi
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x698]
push 4
push eax
push 4
push 0
push str.DetectDevices
push ecx
call edi
mov eax, dword [esp + 0x10]
lea edx, [esi + 0x6a0]
push 4
push edx
push 4
push 0
push str.ShowDisconnect
push eax
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0x6ac]
push 4
push ecx
push 4
push 0
push str.AutoChangeSpkrConfig
push edx
call edi
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x6b8]
push 4
push eax
push 4
push 0
push str.Show_Connection_Wizard
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebx]
mov ecx, dword [esi + 0x6a0]
mov edx, dword [esi + 0x698]
mov dword [esi + 0x6d4], eax
mov eax, dword [esi + 0x6ac]
mov dword [esi + 0x6d8], ecx
mov ecx, dword [esi + 0x6b8]
mov dword [esi + 0x6d0], edx
mov dword [esi + 0x6cc], eax
mov dword [esi + 0x6dc], ecx
mov ecx, 0x432618
call fcn.004224e0
test eax, eax
je 0x41f057
test ebp, ebp
je 0x41f0ba
push 0
push 0
push 0x8066
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x41f0ba
mov eax, dword [esi + 0x698]
test eax, eax
je 0x41f0ba
lea edx, [esp + 0x68]
push 0x100
push edx
mov ecx, esi
call fcn.0041f160
test eax, eax
je 0x41f0ba
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x68]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push 0
push 8
push 0
push 0
push 0
push edx
push 0
mov dword [esp + 0x4c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0
mov ecx, 0x432618
call fcn.004226a0
mov ecx, dword [esi + 0x6f8]
test ecx, ecx
je 0x41f0d2
mov eax, dword [esi + 0x6b0]
push eax
push 0
call fcn.00417130
mov ecx, dword [esi + 0x6f8]
test ecx, ecx
je 0x41f0f3
cmp dword [esi + 0x6c0], 1
jle 0x41f0f3
mov edx, dword [esi + 0x6b4]
push edx
push 1
call fcn.00417130
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret