Function at 0x401510
Capabilities:
Delete file
Enumerate files on windows
Get common file path
Read .ini file

Disassembly:
sub esp, 0x4d8
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x110]
push 0x32
push eax
mov dword [esp + 0x3b0], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x110]
push ecx
lea edx, [esp + 0x14]
push str._sdriverseTouch.sys
push edx
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call ebp
lea ecx, [esp + 0x110]
lea edx, [esp + 0x10]
push ecx
push str._sdriversUsbTouch.sys
push edx
call ebx
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call ebp
lea ecx, [esp + 0x110]
lea edx, [esp + 0x10]
push ecx
push str._sdriverseTouch.inf
push edx
call ebx
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call ebp
lea ecx, [esp + 0x110]
lea edx, [esp + 0x10]
push ecx
push str._sdriversUsbTouch.inf
push edx
call ebx
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call ebp
lea ecx, [esp + 0x110]
push 0x32
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.Inf_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x110]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x110]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push str._soem.inf
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x3a8]
lea eax, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x3b0], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4017dd
lea ecx, [esp + 0x3d4]
lea edx, [esp + 0x110]
push ecx
push edx
lea eax, [esp + 0x18]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edi, str.eTurbo
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x210]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2a8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x210]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push 0x100
push edx
push 0x405618
push eax
push str.Strings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x40173e
mov edi, str.ProviderName
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x210]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2a8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x210]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push 0x100
push edx
push 0x405618
push eax
push str.Strings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4017c6
lea ecx, [esp + 0x2a8]
push ecx
call fcn.00402680
lea edx, [esp + 0x2ac]
push str.eturbotouch_inc.
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0xc
test eax, eax
jne 0x4017c6
jmp 0x401765
lea ecx, [esp + 0x2a8]
push ecx
call fcn.00402680
lea edx, [esp + 0x2ac]
push str.eturbotouch_inc
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0xc
test eax, eax
jne 0x4017c6
lea eax, [esp + 0x3a8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [esp + 0x10]
push ecx
call ebp
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub edx, 3
mov edi, 0x4051d8
mov byte [ecx + edx], al
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
lea ecx, [esp + 0x3a8]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40163a
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4d8
ret