Function at 0x41a140
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x830]
sub esp, 0x830
push 0xffffffffffffffff
push 0x61c1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp + 0x82c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00419ef0
test eax, eax
jne 0x41a29e
push 0x3c
push ebx
lea eax, [ebp - 0x5c]
push eax
call fcn.005f8cb0
add esp, 0xc
mov dword [ebp - 0x5c], 0x3c
mov dword [ebp - 0x58], 0x40
mov dword [ebp - 0x50], str.open
call fcn.00445c40
test eax, eax
je 0x41a2fa
mov eax, dword [0x70f66c]
cmp eax, ebx
jne 0x41a1d0
mov eax, 0x70f670
push eax
push 0x652f44
lea ecx, [ebp + 0x624]
push ecx
call fcn.0040fac0
add esp, 0xc
lea edx, [ebp + 0x624]
push edx
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call esi
cmp eax, 0xffffffff
jne 0x41a20a
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 2
je 0x41a306
mov dword [ebp], ebx
mov dword [ebp + 8], ebx
xor eax, eax
mov word [ebp + 4], ax
mov byte [ebp - 4], 1
cmp dword [ebp + 0x838], ebx
mov eax, str._installdriver
jne 0x41a22c
mov eax, str._uninstdriver
push ebx
push eax
lea ecx, [ebp + 0x624]
push ecx
push 0x650bf0
lea ecx, [ebp]
call fcn.00402300
push 0x44
push ebx
lea edx, [ebp - 0xa0]
push edx
call fcn.005f8cb0
add esp, 0xc
mov dword [ebp - 0xa0], 0x44
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp]
cmp eax, ebx
jne 0x41a276
lea eax, [ebp + 4]
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0xa0]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41a2c7
mov byte [ebp - 4], bl
lea ecx, [ebp]
call fcn.004011f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x82c]
xor ecx, ebp
call fcn.005f85e7
add ebp, 0x830
mov esp, ebp
pop ebp
ret 4
push 0x1388
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x20]
push ecx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov edx, dword [ebp - 0x1c]
push edx
call esi
mov byte [ebp - 4], bl
lea ecx, [ebp]
call fcn.004011f0
mov eax, 1
jmp 0x41a2a0
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x70f66c]
cmp eax, ebx
jne 0x41a314
mov eax, 0x70f670
push str.idmtdi32.sys
push eax
push 0x651f3c
lea eax, [ebp + 0x624]
push eax
call fcn.0040fac0
add esp, 0x10
mov eax, dword [0x70f66c]
cmp eax, ebx
jne 0x41a33c
mov eax, 0x70f670
push str.idmtdi.inf
push eax
push 0x651f3c
lea ecx, [ebp + 0x41c]
push ecx
call fcn.0040fac0
add esp, 0x10
lea edx, [ebp + 0x624]
push edx
call esi
cmp eax, 0xffffffff
jne 0x41a36f
call edi
cmp eax, 2
je 0x41a29e
lea eax, [ebp + 0x41c]
push eax
call esi
cmp eax, 0xffffffff
jne 0x41a388
call edi
cmp eax, 2
je 0x41a29e
cmp dword [ebp + 0x838], ebx
je 0x41a3a2
lea ecx, [ebp + 0x41c]
push ecx
push str.SETUPAPI.DLL_InstallHinfSection_DefaultInstall_128__s
lea edx, [ebp + 0xc]
push edx
jmp 0x41a3b2
lea eax, [ebp + 0x41c]
push eax
push str.SETUPAPI.DLL_InstallHinfSection_DefaultUninstall_128__s
lea ecx, [ebp + 0xc]
push ecx
call fcn.0040fac0
add esp, 0xc
mov dword [ebp - 0x4c], str.RUNDLL32.EXE
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x54], eax
lea edx, [ebp + 0xc]
mov dword [ebp - 0x48], edx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41a3f7
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
jmp 0x41a2a0