Function at 0x41e320
Capabilities:
Check if file exists
Check os version
Create process on windows
Get common file path
Get file attributes
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1084]
mov eax, 0x1084
call fcn.00621970
push 0xffffffffffffffff
push 0x644356
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x1080], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp + 0xf70], esi
mov dword [ebp + 0xf78], esi
xor eax, eax
mov word [ebp + 0xf74], ax
mov byte [ebp - 4], 1
mov dword [ebp + 0xed0], 0x94
lea ecx, [ebp + 0xed0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x41e44a
cmp dword [ebp + 0xee0], 2
jne 0x41e44a
mov ecx, 1
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 0xed4]
cmp eax, 6
jb 0x41e3ce
mov dword [ebp - 0x2c], ecx
cmp eax, 5
jne 0x41e3de
cmp dword [ebp + 0xed8], esi
jne 0x41e3de
mov dword [ebp - 0x30], ecx
mov eax, dword [0x75dc58]
cmp eax, esi
jne 0x41e3ec
mov eax, 0x75dc5c
push esi
push str.Uninstall.exe
push eax
push 0x678de0
lea ecx, [ebp + 0xf70]
call fcn.00402330
push 0x3c
push esi
lea edx, [ebp - 0x70]
push edx
call fcn.00620920
add esp, 0xc
mov dword [ebp - 0x70], 0x3c
mov dword [ebp - 0x6c], 0x40
mov dword [ebp - 0x64], str.open
mov eax, dword [ebp + 0xf70]
cmp eax, esi
jne 0x41e437
lea eax, [ebp + 0xf74]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x50], esi
mov esi, dword [ebp - 0x1c]
xor ecx, ecx
mov ebx, dword [ebp + 0x108c]
test ebx, ebx
setne cl
mov dword [ebp - 0x28], ecx
test esi, esi
mov eax, str.EnableDriver
jne 0x41e468
mov eax, str.AdvancedIntegration
push 4
lea edx, [ebp - 0x28]
push edx
push 4
push 0
push eax
mov eax, dword [0x75dbe4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [edi + 0x1c], ebx
test ebx, ebx
je 0x41e816
test esi, esi
je 0x41e78c
xor ebx, ebx
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, edi
call fcn.004101d0
mov esi, eax
neg esi
sbb esi, esi
inc esi
xor eax, eax
cmp dword [ebp - 0x14], ebx
sete al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x2c], ebx
je 0x41e58b
mov eax, dword [ebp + 0xf70]
test eax, eax
jne 0x41e4cd
lea eax, [ebp + 0xf74]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41e557
mov eax, dword [ebp + 0xf70]
test eax, eax
jne 0x41e4e9
lea eax, [ebp + 0xf74]
push 0
push eax
mov ecx, edi
call fcn.00416340
test al, al
je 0x41e557
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x5c], str._instdriv
jne 0x41e513
mov dword [ebp - 0x5c], str._startdriv
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41e54f
mov ebx, 1
mov dword [ebp - 0x20], ebx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41e5b6
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
jmp 0x41e5b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41e5b6
push 0
push 0x1437
push 0x111
mov eax, dword [0x75e284]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x30
mov ecx, dword [0x75f308]
push ecx
mov edx, dword [0x75f544]
push edx
push 0
call fcn.00472fb0
add esp, 0x10
jmp 0x41e5b6
test eax, eax
je 0x41e59c
push 1
mov ecx, edi
call fcn.0041a4f0
mov ebx, eax
jmp 0x41e5a1
mov ebx, 1
mov dword [ebp - 0x20], ebx
mov ecx, edi
test esi, esi
je 0x41e5b1
call fcn.00416580
jmp 0x41e5b6
call fcn.00410110
xor esi, esi
push esi
push 0x1437
push 0x111
mov eax, dword [0x75e284]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
cmp ebx, esi
je 0x41e5dc
mov dword [ebp - 0x18], 1
jmp 0x41e5fd
mov dword [ebp - 0x28], esi
push 4
lea ecx, [ebp - 0x28]
push ecx
push 4
push esi
push str.EnableDriver
mov edx, dword [0x75dbe4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [edi + 0x1c], esi
xor eax, eax
cmp ebx, esi
setne al
mov dword [ebp - 0x24], eax
push 4
lea ecx, [ebp - 0x24]
push ecx
push 4
push esi
push str.lastintres
mov edx, dword [0x75dbe4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp ebx, esi
je 0x41e664
push 1
mov ecx, edi
call fcn.0041b880
push 0
push 0
mov ecx, edi
call fcn.00416e50
push 0
push 0
mov ecx, edi
call fcn.00416ef0
push 0
push 0
mov ecx, edi
call fcn.0041ccc0
push 0
push 0
mov ecx, edi
call fcn.00416eb0
push 1
mov ecx, edi
call fcn.00414e20
mov ebx, dword [ebp + 0x108c]
cmp dword [ebp - 0x18], 0
je 0x41e74c
xor esi, esi
mov dword [ebp - 0x34], esi
test ebx, ebx
jne 0x41e6ed
push ebx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.netApps
mov edx, dword [0x75dbe4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41e6c4
push 9
push str.turn_off
push 1
push eax
push str.00002action
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x50004
mov edx, dword [0x75f058]
push edx
mov eax, dword [0x75f054]
push eax
push 0
call fcn.00472fb0
add esp, 0x10
cmp eax, 6
jne 0x41e6ed
mov esi, 1
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x30], 0
je 0x41e6fa
mov dword [ebp - 0x1c], 0
test esi, esi
je 0x41e72a
cmp dword [ebp - 0x1c], 0
je 0x41e93c
push 0
lea ecx, [ebp]
call fcn.0052d5d0
mov byte [ebp - 4], 4
lea ecx, [ebp]
call fcn.005f647d
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.00414f90
cmp dword [ebp - 0x1c], 0
jne 0x41e74c
push 0x50030
mov eax, dword [0x75f01c]
push eax
mov ecx, dword [0x75f070]
push ecx
push 0
call fcn.00472fb0
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xf70]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1080]
xor ecx, ebp
call fcn.0062023e
add ebp, 0x1084
mov esp, ebp
pop ebp
ret 4
push 0x104
lea eax, [ebp + 0xf7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x41e74c
lea ecx, [ebp - 0x14]
call fcn.00402510
mov byte [ebp - 4], 2
push str.idmmbc.dll
lea ecx, [ebp + 0xf7c]
push ecx
push 0x67bc94
lea edx, [ebp - 0x14]
push edx
call fcn.00402f80
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp + 0xf64]
call fcn.00406fb0
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xf64]
test eax, eax
jne 0x41e7ee
lea eax, [ebp + 0xf68]
push eax
mov ecx, edi
call fcn.0041c000
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xf64]
call fcn.00401210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00402580
jmp 0x41e74c
test esi, esi
je 0x41e92c
push 0x75d9f4
mov ecx, edi
call fcn.004101d0
mov dword [0x75d9f8], eax
cmp dword [ebp - 0x2c], 0
je 0x41e901
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 0xf70]
test eax, eax
jne 0x41e850
lea eax, [ebp + 0xf74]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41e8cd
mov eax, dword [ebp + 0xf70]
test eax, eax
jne 0x41e86c
lea eax, [ebp + 0xf74]
push 0
push eax
mov ecx, edi
call fcn.00416340
test al, al
je 0x41e8cd
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x5c], str._stopdriv
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41e8c5
mov dword [ebp - 0x18], 1
push 0xffffffffffffffff
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41e90f
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x18], edx
jmp 0x41e90f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41e90f
push 0
push 0x1437
push 0x111
mov eax, dword [0x75e284]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x30
mov ecx, dword [0x75f308]
push ecx
mov edx, dword [0x75f544]
push edx
push 0
call fcn.00472fb0
add esp, 0x10
jmp 0x41e90f
mov dword [ebp - 0x18], 1
mov ecx, edi
call fcn.004167a0
push 0
push 0x1437
push 0x111
mov eax, dword [0x75e284]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x41e66a
lea ecx, [edi + 4]
call fcn.0040ebf0
mov dword [ebp - 0x18], eax
jmp 0x41e66a
mov dword [ebp - 0x14], 1
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push str.NeedSnRpAfRb
mov edx, dword [0x75dbe4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x41e730