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

Disassembly:
push 0xffffffffffffffff
push 0x4a6d3a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x740
push ebx
push ebp
push esi
lea eax, [esp + 0x440]
mov esi, ecx
push 0x105
push eax
mov dword [esp + 0x30], esi
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 + 0x3dc4]
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 0
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 [0x4e5fc8]
test eax, eax
jne 0x407d42
push 0x4e5db8
lea ecx, [esp + 0x18]
call fcn.004a57ee
push 0x4e5db4
lea ecx, [esp + 0x14]
mov dword [esp + 0x758], 0
call fcn.004a57ee
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 0x407cf7
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], 4
jne 0x407cf7
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 0x407cf7
lea ecx, [esp + 0x648]
push 0
push ecx
call ebx
cmp dword [esi + 0x3cc8], 2
jne 0x407d09
push 0
push str.AmWinK.exe
call ebx
lea edx, [esp + 0x14]
mov ecx, 0x4e5fcc
push edx
call fcn.004a5776
lea ecx, [esp + 0x10]
mov byte [esp + 0x754], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x754], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x408413
push edi
push 0x4e5a9c
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x4e5bb8]
lea ecx, [esp + 0x138]
push eax
push 0x104
lea edx, [esp + 0x244]
push ecx
push edx
push str.IgnoreVIDPID
push str.IGNORE
mov dword [esp + 0x770], 2
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x138]
push 0x4dfbf0
push eax
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], 3
call fcn.004a5764
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 ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
cmp eax, 8
jne 0x407e0f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x34]
push edx
push str.LoadDrv.exe_install__s
push eax
call ebp
mov eax, dword [esp + 0x76c]
add esp, 0xc
test eax, eax
je 0x407e0f
lea ecx, [esp + 0x34]
push 0
push ecx
call ebx
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push 0x4dfbf0
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x75c], 4
call fcn.004a5776
lea ecx, [esp + 0x14]
mov byte [esp + 0x758], 3
call sub.MFC42.DLL_CString::CString
push 0x4e5db4
lea ecx, [esp + 0x1c]
push 0x4e5db8
push ecx
call sub.MFC42.DLL_operator
lea edx, [esp + 0x10]
mov bl, 5
push edx
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x760], bl
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x75c], 6
call fcn.004a5776
lea ecx, [esp + 0x14]
mov byte [esp + 0x758], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x758], 3
call sub.MFC42.DLL_CString::CString
mov ecx, dword [0x4e5bb8]
mov edx, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ecx
push edx
push str.VIDPID
push str.ALREADY_LOAD
call ebx
test esi, esi
je 0x408034
push 0x4dfbf0
push 0
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
mov ebp, eax
lea ecx, [esp + 0x10]
push ebp
call fcn.004a5764
mov eax, dword [esp + 0x10]
mov esi, 0x4e5a9c
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x407f15
test cl, cl
je 0x407f11
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x407f15
add eax, 2
add esi, 2
test cl, cl
jne 0x407ef1
xor eax, eax
jmp 0x407f1a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40802e
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 0x407f72
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 [0x4e5bb8]
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 0x4dfbf0
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x75c], 7
call fcn.004a5776
lea ecx, [esp + 0x14]
mov byte [esp + 0x758], 3
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], 8
call fcn.004a5776
lea ecx, [esp + 0x18]
mov byte [esp + 0x758], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x4e5bb8]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push str.VIDPID
push str.ALREADY_LOAD
call ebx
test ebp, ebp
jne 0x407ecc
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
push 0x4e5db8
lea ecx, [esp + 0x24]
call fcn.004a57ee
push 0x4e5db4
lea ecx, [esp + 0x28]
mov byte [esp + 0x75c], 9
call fcn.004a57ee
lea ecx, [esp + 0x20]
mov byte [esp + 0x758], 0xa
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::MakeLower
mov edx, dword [esp + 0x20]
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 0x4080d4
mov eax, dword [esp + 0x24]
cmp dword [eax - 8], ebx
jne 0x4080d4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
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 0x4080d4
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 [0x4e5bb8]
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], 0xb
call esi
lea edx, [esp + 0x138]
lea ecx, [esp + 0x1c]
push edx
call fcn.004a5764
mov eax, dword [esp + 0x1c]
mov eax, dword [eax - 8]
test eax, eax
je 0x408160
cmp eax, 8
jne 0x408160
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 [0x4e5bb8]
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 0x4dfbf0
push ecx
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
mov ebp, eax
lea ecx, [esp + 0x10]
push ebp
call fcn.004a5764
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
mov edi, dword [esp + 0x10]
mov esi, 0x4e5a9c
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4081e2
test cl, cl
je 0x4081de
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4081e2
add eax, 2
add esi, 2
test cl, cl
jne 0x4081be
xor eax, eax
jmp 0x4081e7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x408319
mov esi, dword [0x4e5fcc]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40821b
test cl, cl
je 0x408217
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40821b
add eax, 2
add esi, 2
test cl, cl
jne 0x4081f7
xor eax, eax
jmp 0x408220
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40824d
lea eax, [esp + 0x10]
mov ecx, 0x4e5fcc
push eax
call fcn.004a5776
mov ecx, dword [0x4e5fcc]
mov eax, dword [ecx - 8]
mov ecx, 0x4e5fcc
add eax, 0xfffffffc
push eax
push ebx
call sub.MFC42.DLL_CString::Delete
jmp 0x40825c
push 0x4e5a9c
mov ecx, 0x4e5fcc
call fcn.004a5764
test ebp, ebp
je 0x408319
mov bl, 0xc
push 0x4dfbf0
push 0
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
mov edi, eax
lea ecx, [esp + 0x10]
push edi
call fcn.004a5764
mov eax, dword [esp + 0x10]
mov esi, 0x4e5a9c
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4082af
test cl, cl
je 0x4082ab
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4082af
add eax, 2
add esi, 2
test cl, cl
jne 0x40828b
xor eax, eax
jmp 0x4082b4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x408319
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0x4e5fcc
push ecx
call sub.MFC42.DLL_operator
push eax
mov ecx, 0x4e5fcc
mov byte [esp + 0x75c], bl
call fcn.004a5776
lea ecx, [esp + 0x14]
mov byte [esp + 0x758], 0xb
call sub.MFC42.DLL_CString::CString
mov edx, dword [0x4e5fcc]
push 4
mov ecx, 0x4e5fcc
mov eax, dword [edx - 8]
add eax, 0xfffffffc
push eax
call sub.MFC42.DLL_CString::Delete
test edi, edi
jne 0x408266
mov eax, dword [0x4e5bb8]
lea ecx, [esp + 0x138]
push eax
push 0x104
lea edx, [esp + 0x244]
push ecx
push edx
push str.InsertVidPid
push str.IGNORE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x138]
lea ecx, [esp + 0x1c]
push eax
call fcn.004a5764
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, dword [ecx - 8]
test eax, eax
je 0x4083b7
cmp eax, 8
jne 0x4083b7
lea edx, [esp + 0x18]
lea eax, [esp + 0x2c]
push edx
push 0x4e5fcc
push eax
call sub.MFC42.DLL_operator
push eax
mov ecx, 0x4e5fcc
mov byte [esp + 0x758], 0xd
call fcn.004a5776
lea ecx, [esp + 0x2c]
mov byte [esp + 0x754], 0xb
call sub.MFC42.DLL_CString::CString
mov ecx, dword [0x4e5fcc]
push 4
mov eax, dword [ecx - 8]
mov ecx, 0x4e5fcc
add eax, 0xfffffffc
push eax
call sub.MFC42.DLL_CString::Delete
lea ecx, [esp + 0x18]
mov byte [esp + 0x754], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x754], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x754], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x754], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x754], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.00407af0
mov ecx, dword [esp + 0x74c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74c
ret 4