Function at 0x40186b
Capabilities:
Read .ini file

Disassembly:
jmp 0x4047c0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45342c
push eax
mov eax, dword [0x46b9a0]
mov dword fs:[0], esp
sub esp, 0x31c
test eax, eax
push ebx
push ebp
mov ebp, ecx
jne 0x4048a3
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov dword [esp + 0x32c], 0
call sub.MFC42.DLL_CString::CString_3
push 0x46b864
lea ecx, [esp + 0x14]
mov byte [esp + 0x330], 1
call sub.MFC42.DLL_CString::operator
push 0x46b860
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [0x46b740]
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
push ecx
push edx
lea eax, [esp + 0x24]
push str._sdriversLoadDrv.exe_ClearIgnoreHwID__s_s
push eax
call ebx
mov eax, dword [esp + 0x348]
add esp, 0x14
test eax, eax
je 0x40487e
lea ecx, [esp + 0x18]
push 1
push ecx
mov ecx, ebp
call fcn.0040105a
lea ecx, [esp + 0xc]
mov byte [esp + 0x32c], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x32c], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x404a90
mov edx, dword [0x46b73c]
push esi
push edi
push edx
lea eax, [esp + 0x128]
push 0x104
lea ecx, [esp + 0x230]
push eax
push ecx
push str.VIDPID
push str.ALREADY_LOAD
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x124]
push 0x4659e4
push edx
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
lea ecx, [esp + 0x10]
mov esi, eax
call sub.MFC42.DLL_CString::CString_3
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x338], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0x10]
mov ecx, dword [0x46b740]
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
push ecx
lea edx, [esp + 0x28]
push str._sdriversLoadDrv.exe_ClearIgnoreHwID__s
push edx
call ebx
add esp, 0x10
lea eax, [esp + 0x20]
mov ecx, ebp
push 1
push eax
call fcn.0040105a
test esi, esi
je 0x4049de
push 0x4659e4
push 0
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
mov edi, eax
lea ecx, [esp + 0x10]
push edi
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x10]
mov esi, 0x46b324
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x404990
test cl, cl
je 0x40498c
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x404990
add eax, 2
add esi, 2
test cl, cl
jne 0x40496c
xor eax, eax
jmp 0x404995
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4049de
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0x10]
mov ecx, dword [0x46b740]
push eax
push ecx
lea edx, [esp + 0x28]
push str._sdriversLoadDrv.exe_ClearIgnoreHwID__s
push edx
call ebx
add esp, 0x10
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x20]
push 1
push eax
mov ecx, ebp
call fcn.0040105a
test edi, edi
jne 0x404947
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x46b73c]
lea edx, [esp + 0x124]
push ecx
push 0x104
lea eax, [esp + 0x230]
push edx
push eax
push str.InsertVidPid
push str.IGNORE
mov byte [esp + 0x34c], 3
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x1c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
pop esi
je 0x404a70
push edx
mov edx, dword [0x46b740]
push edx
lea eax, [esp + 0x20]
push str._sdriversLoadDrv.exe_ClearIgnoreHwID__s
push eax
call ebx
add esp, 0x10
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x18]
push 1
push ecx
mov ecx, ebp
call fcn.0040105a
lea ecx, [esp + 0x14]
mov byte [esp + 0x32c], 2
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x32c], 0xffffffff
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
mov edx, dword [0x46b740]
lea eax, [esp + 0x18]
push edx
push str._sdriversLoadDrv.exe_UninstByIni
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x18]
push 1
push ecx
mov ecx, ebp
call fcn.0040105a
mov ecx, dword [esp + 0x324]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x328
ret 4