Function at 0x407ae0
Capabilities:
Copy file
Create process on windows
Get common file path
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x459630
push eax
mov dword fs:[0], esp
sub esp, 0x740
lea eax, [esp + 0x434]
push ebx
push ebp
push esi
push 0x105
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
lea ecx, [esp + 0x440]
push ecx
lea edx, [esp + 0x548]
push str._sdriversmpfilt.sys
push edx
call ebp
add esp, 0xc
lea eax, [esi + 0x3db8]
lea ecx, [esp + 0x10]
push str.driversmpfilt.sys
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea edx, [esp + 0x544]
push 1
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ebx, dword [sym.imp.KERNEL32.dll_WinExec]
push 0
push str.SerialTrayIcon.exe
call ebx
mov eax, dword [0x497620]
test eax, eax
jne 0x407c49
push 0x4973b8
lea ecx, [esp + 0x18]
call fcn.0045822c
push 0x4973b4
lea ecx, [esp + 0x14]
mov dword [esp + 0x758], 0
call fcn.0045822c
lea ecx, [esp + 0x14]
mov byte [esp + 0x754], 1
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
cmp eax, 4
jne 0x407c03
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], 4
jne 0x407c03
push eax
push ecx
lea eax, [esp + 0x650]
push str.LoadDrv.exe_install__s_s
push eax
call ebp
mov eax, dword [esp + 0x76c]
add esp, 0x10
test eax, eax
je 0x407c03
lea ecx, [esp + 0x648]
push 0
push ecx
call ebx
cmp dword [esi + 0x3cc8], 2
jne 0x407c15
push 0
push str.FC_WinK.exe
call ebx
lea edx, [esp + 0x14]
mov ecx, 0x497624
push edx
call fcn.004581c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x754], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x754], 0xffffffff
lea ecx, [esp + 0x14]
jmp 0x40840d
push edi
push 0x4970cc
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_2
push str.058f6387
lea ecx, [esp + 0x24]
mov dword [esp + 0x75c], 2
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x34]
mov byte [esp + 0x758], 3
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax - 8]
cmp eax, 8
jne 0x407cc5
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x34]
push ecx
push str.LoadDrv.exe_install__s
push edx
call ebp
mov eax, dword [esp + 0x76c]
add esp, 0xc
test eax, eax
je 0x407cc5
lea eax, [esp + 0x34]
push 0
push eax
call ebx
mov ecx, dword [0x4971e8]
lea edx, [esp + 0x138]
push ecx
push 0x104
lea eax, [esp + 0x244]
push edx
push eax
push str.IgnoreVIDPID
push str.IGNORE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x138]
push 0x492acc
push ecx
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
lea ecx, [esp + 0x10]
mov esi, eax
call sub.MFC42.DLL_CString::CString_1
push esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x75c], 4
call fcn.004581ae
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
mov edx, dword [esp + 0x10]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
cmp dword [edx - 8], 8
jne 0x407d77
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x34]
push eax
push str.LoadDrv.exe_install__s
push ecx
call ebp
mov eax, dword [esp + 0x76c]
add esp, 0xc
test eax, eax
je 0x407d77
lea edx, [esp + 0x34]
push 0
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0x492acc
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x75c], 5
call fcn.004581c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x758], 4
call sub.MFC42.DLL_CString::CString
push 0x4973b4
lea edx, [esp + 0x1c]
push 0x4973b8
push edx
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
mov bl, 6
push eax
push edx
mov byte [esp + 0x764], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x75c], 7
call fcn.004581c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x758], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x758], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x4971e8]
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
push ecx
push str.VIDPID
push str.ALREADY_LOAD
call ebx
test esi, esi
je 0x407f9b
push 0x492acc
push 0
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
mov ebp, eax
lea ecx, [esp + 0x10]
push ebp
call fcn.004581ae
mov eax, dword [esp + 0x10]
mov esi, 0x4970cc
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x407e7c
test cl, cl
je 0x407e78
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x407e7c
add eax, 2
add esi, 2
test cl, cl
jne 0x407e58
xor eax, eax
jmp 0x407e81
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407f95
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], 8
jne 0x407ed9
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push str.LoadDrv.exe_install__s
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x34]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [0x4971e8]
lea edx, [esp + 0x340]
push ecx
push 0x104
lea eax, [esp + 0x244]
push edx
push eax
push str.VIDPID
push str.ALREADY_LOAD
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push 0x492acc
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x75c], 8
call fcn.004581c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x758], 4
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
lea ecx, [esp + 0x340]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x75c], 9
call fcn.004581c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x758], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x4971e8]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push str.VIDPID
push str.ALREADY_LOAD
call ebx
test ebp, ebp
jne 0x407e33
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
push 0x4973b8
lea ecx, [esp + 0x2c]
call fcn.0045822c
push 0x4973b4
lea ecx, [esp + 0x28]
mov byte [esp + 0x75c], 0xa
call fcn.0045822c
lea ecx, [esp + 0x28]
mov byte [esp + 0x758], 0xb
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::MakeLower
mov edx, dword [esp + 0x28]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [edx - 8]
mov ebx, 4
cmp eax, ebx
jne 0x40803b
mov eax, dword [esp + 0x24]
cmp dword [eax - 8], ebx
jne 0x40803b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0x3c]
push str.LoadDrv.exe_install__s_s
push eax
call ebp
mov eax, dword [esp + 0x770]
add esp, 0x10
test eax, eax
je 0x40803b
lea ecx, [esp + 0x34]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [0x4971e8]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edx
lea eax, [esp + 0x13c]
push 0x104
lea ecx, [esp + 0x244]
push eax
push ecx
push str.InsertVidPid
push str.IGNORE
mov byte [esp + 0x770], 0xc
call esi
lea edx, [esp + 0x138]
lea ecx, [esp + 0x1c]
push edx
call fcn.004581ae
mov eax, dword [esp + 0x1c]
mov eax, dword [eax - 8]
test eax, eax
je 0x4080c7
cmp eax, 8
jne 0x4080c7
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x34]
push ecx
push str.LoadDrv.exe_install__s
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x34]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [0x4971e8]
lea edx, [esp + 0x340]
push ecx
push 0x104
lea eax, [esp + 0x244]
push edx
push eax
push str.VIDPID
push str.ALREADY_LOAD
call esi
lea ecx, [esp + 0x340]
push 0x492acc
push ecx
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
mov ebp, eax
lea ecx, [esp + 0x10]
push ebp
call fcn.004581ae
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
mov edi, dword [esp + 0x10]
mov esi, 0x4970cc
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x408149
test cl, cl
je 0x408145
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x408149
add eax, 2
add esi, 2
test cl, cl
jne 0x408125
xor eax, eax
jmp 0x40814e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x408280
mov esi, dword [0x497624]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x408182
test cl, cl
je 0x40817e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x408182
add eax, 2
add esi, 2
test cl, cl
jne 0x40815e
xor eax, eax
jmp 0x408187
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4081b4
lea eax, [esp + 0x10]
mov ecx, 0x497624
push eax
call fcn.004581c0
mov ecx, dword [0x497624]
mov eax, dword [ecx - 8]
mov ecx, 0x497624
add eax, 0xfffffffc
push eax
push ebx
call sub.MFC42.DLL_CString::Delete
jmp 0x4081c3
push 0x4970cc
mov ecx, 0x497624
call fcn.004581ae
test ebp, ebp
je 0x408280
mov bl, 0xd
push 0x492acc
push 0
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
mov edi, eax
lea ecx, [esp + 0x10]
push edi
call fcn.004581ae
mov eax, dword [esp + 0x10]
mov esi, 0x4970cc
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x408216
test cl, cl
je 0x408212
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x408216
add eax, 2
add esi, 2
test cl, cl
jne 0x4081f2
xor eax, eax
jmp 0x40821b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x408280
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0x497624
push ecx
call sub.MFC42.DLL_operator
push eax
mov ecx, 0x497624
mov byte [esp + 0x75c], bl
call fcn.004581c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x758], 0xc
call sub.MFC42.DLL_CString::CString
mov edx, dword [0x497624]
push 4
mov ecx, 0x497624
mov eax, dword [edx - 8]
add eax, 0xfffffffc
push eax
call sub.MFC42.DLL_CString::Delete
test edi, edi
jne 0x4081cd
mov eax, dword [esp + 0x20]
mov esi, 0x4970cc
pop edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4082b2
test cl, cl
je 0x4082ae
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4082b2
add eax, 2
add esi, 2
test cl, cl
jne 0x40828a
xor eax, eax
jmp 0x4082b7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40830c
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push 0x497624
push ecx
call sub.MFC42.DLL_operator
push eax
mov ecx, 0x497624
mov byte [esp + 0x758], 0xe
call fcn.004581c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x754], 0xc
call sub.MFC42.DLL_CString::CString
mov edx, dword [0x497624]
push 4
mov ecx, 0x497624
mov eax, dword [edx - 8]
add eax, 0xfffffffc
push eax
call sub.MFC42.DLL_CString::Delete
mov eax, dword [0x4971e8]
lea ecx, [esp + 0x134]
push eax
push 0x104
lea edx, [esp + 0x240]
push ecx
push edx
push str.InsertVidPid
push str.IGNORE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x134]
lea ecx, [esp + 0x18]
push eax
call fcn.004581ae
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4083a9
cmp eax, 8
jne 0x4083a9
lea edx, [esp + 0x18]
lea eax, [esp + 0x28]
push edx
push 0x497624
push eax
call sub.MFC42.DLL_operator
push eax
mov ecx, 0x497624
mov byte [esp + 0x758], 0xf
call fcn.004581c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x754], 0xc
call sub.MFC42.DLL_CString::CString
mov ecx, dword [0x497624]
push 4
mov eax, dword [ecx - 8]
mov ecx, 0x497624
add eax, 0xfffffffc
push eax
call sub.MFC42.DLL_CString::Delete
lea ecx, [esp + 0x18]
mov byte [esp + 0x754], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x754], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x754], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x754], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x754], 2
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x754], 0xffffffff
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x74c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74c
ret 4