Function at 0x403be8
Capabilities:
Check os version
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
push esi
lea eax, [ebp - 0x18]
xor esi, esi
push eax
mov dword [ebp - 0x18], esi
call fcn.00403ae1
cmp dword [ebp - 0x18], esi
pop ecx
mov dword [ebp - 0x10], eax
je 0x403e44
push ebx
lea eax, [ebp - 0x170]
push edi
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 0x170], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x403ca9
cmp dword [ebp - 0x160], 2
jne 0x403ca9
cmp dword [ebp - 0x16c], 6
jb 0x403ca9
cmp dword [ebp - 0x10], esi
mov dword [ebp - 8], 1
je 0x403ca9
push 0x3c
lea eax, [ebp - 0x5c]
pop edi
push edi
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], 0x40
mov dword [ebp - 0x50], str.open
mov dword [ebp - 0x4c], str.net.exe
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x48], str.stop_IDMWFP
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x403ca9
push 0xbb8
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 8]
push 1
push dword [ebp + 8]
call fcn.004036a0
lea eax, [ebp - 0x20]
push eax
call sub.MSVCRT.dll_time
mov eax, dword [ebp - 0x20]
add esp, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
mov ebx, 0xf003f
push eax
push ebx
push esi
mov edi, 0x80000002
push str.SoftwareInternet_Download_Manager
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403d1a
push 4
lea eax, [ebp - 0xc]
pop ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
push eax
push ebx
push esi
push str.InstallStatus
mov dword [ebp - 0xc], 3
push dword [ebp - 4]
call edi
lea eax, [ebp - 0x14]
push ebx
push eax
push ebx
push esi
push str.updtTime
jmp 0x403ded
lea eax, [ebp - 4]
push esi
push eax
push esi
push ebx
push esi
push 0x41c4f4
push esi
push str.SOFTWAREInternet_Download_Manager
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x403d92
xor eax, eax
cmp dword [ebp - 0x10], esi
push 4
setne al
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 4
push esi
push str.AdvIntDriverEnabled2
push dword [ebp - 4]
call edi
lea eax, [ebp - 0x1c]
push 4
push eax
push 4
push esi
push str.InstallStatus
push dword [ebp - 4]
mov dword [ebp - 0x1c], 3
call edi
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push esi
push str.updtTime
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00403110
neg eax
sbb eax, eax
mov ecx, str.SYSTEMCurrentControlSetServicesIDMWFP
and eax, 0x100
add eax, ebx
cmp dword [ebp - 8], esi
jne 0x403db1
mov ecx, str.SYSTEMCurrentControlSetServicesIDMTDI
lea edx, [ebp - 4]
push edx
push eax
push esi
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403dfb
cmp dword [ebp - 0x10], esi
je 0x403dd8
cmp dword [ebp - 8], esi
setne al
inc eax
mov dword [ebp - 0xc], eax
jmp 0x403ddf
mov dword [ebp - 0xc], 3
lea eax, [ebp - 0xc]
push 4
push eax
push 4
push esi
push str.Start
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], esi
pop edi
pop ebx
jne 0x403e10
cmp dword [ebp - 8], esi
je 0x403e44
push esi
push esi
push str.stop_IDMWFP
jmp 0x403e33
cmp dword [ebp - 8], esi
je 0x403e44
cmp dword [ebp - 0x16c], 0xa
jae 0x403e2c
push dword [ebp + 8]
push 1
call fcn.0040314e
pop ecx
pop ecx
jmp 0x403e44
push esi
push esi
push str.start_IDMWFP
push 0x416594
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
leave
ret