Function at 0x491420
Capabilities:
Check for time delay via gettickcount
Check os version
Get memory capacity
Link many functions at runtime

Disassembly:
push ebp
lea ebp, [esp - 0x424]
mov eax, 0x424
call fcn.00474480
push 0xfffffffffffffffe
push 0x519148
push 0x473a90
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0xbc
call fcn.00474480
mov eax, dword [0x51f620]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x420], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp + 0x34c], 0x94
lea eax, [ebp + 0x34c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push str.ADVAPI32.DLL
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call ebx
mov dword [ebp - 0x2c], eax
push str.KERNEL32.DLL
call ebx
mov edi, eax
mov dword [ebp - 0x6c], edi
push str.NETAPI32.DLL
call ebx
mov ebx, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x38], esi
cmp ebx, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x4914e5
push str.NetStatisticsGet
push ebx
call esi
mov dword [ebp - 0x1c], eax
push str.NetApiBufferFree
push ebx
call esi
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x1c], 0
je 0x491574
cmp dword [ebp - 0x38], 0
je 0x491574
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0
push str.LanmanWorkstation
push 0
call dword [ebp - 0x1c]
test eax, eax
jne 0x491536
mov eax, 8
call fcn.00474480
fld qword [0x4f1018]
fstp qword [esp]
push 0xd8
mov edx, dword [ebp - 0x20]
push edx
call fcn.00491c60
add esp, 0x10
mov eax, dword [ebp - 0x20]
push eax
call dword [ebp - 0x38]
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0
push str.LanmanServer
push 0
call dword [ebp - 0x1c]
test eax, eax
jne 0x491574
mov eax, 8
call fcn.00474480
fld qword [0x4f0ff0]
fstp qword [esp]
push 0x44
mov edx, dword [ebp - 0x20]
push edx
call fcn.00491c60
add esp, 0x10
mov eax, dword [ebp - 0x20]
push eax
call dword [ebp - 0x38]
test ebx, ebx
je 0x49157f
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x2c], 0
je 0x4915a9
push str.CryptAcquireContextW
mov ebx, dword [ebp - 0x2c]
push ebx
call esi
mov dword [ebp - 0x24], eax
push str.CryptGenRandom
push ebx
call esi
mov dword [ebp - 0x34], eax
push str.CryptReleaseContext
push ebx
call esi
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x24], 0
je 0x491680
cmp dword [ebp - 0x34], 0
je 0x491680
cmp dword [ebp - 0x30], 0
je 0x491680
push 0xf0000000
push 1
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
mov ebx, dword [ebp - 0x24]
call ebx
test eax, eax
je 0x491623
lea edx, [ebp + 0x3e0]
push edx
push 0x40
mov eax, dword [ebp - 0x3c]
push eax
call dword [ebp - 0x34]
test eax, eax
je 0x49161a
mov eax, 8
call fcn.00474480
fldz
fstp qword [esp]
push 0x40
lea ecx, [ebp + 0x3e0]
push ecx
call fcn.00491c60
add esp, 0x10
mov dword [ebp - 0x28], 1
push 0
mov edx, dword [ebp - 0x3c]
push edx
call dword [ebp - 0x30]
push 0
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea eax, [ebp - 0x3c]
push eax
call ebx
test eax, eax
je 0x491680
lea ecx, [ebp + 0x3e0]
push ecx
push 0x40
mov edx, dword [ebp - 0x3c]
push edx
call dword [ebp - 0x34]
test eax, eax
je 0x491677
mov eax, 8
call fcn.00474480
fld qword [0x4f0f50]
fstp qword [esp]
push 0x40
lea eax, [ebp + 0x3e0]
push eax
call fcn.00491c60
add esp, 0x10
mov dword [ebp - 0x28], 1
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 0
je 0x491690
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp + 0x35c], 2
jne 0x4916a6
call fcn.00495d20
test eax, eax
jne 0x49178c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x49178c
push 0x4f0f38
push ebx
call esi
mov dword [ebp - 0x24], eax
push str.GetCursorInfo
push ebx
call esi
mov dword [ebp - 0x2c], eax
push 0x4f0f18
push ebx
call esi
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x24], 0
je 0x491705
call dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
mov eax, 8
call fcn.00474480
fldz
fstp qword [esp]
push 4
lea eax, [ebp - 0x40]
push eax
call fcn.00491c60
add esp, 0x10
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x491757
cmp dword [ebp + 0x35c], 2
jne 0x49171e
cmp dword [ebp + 0x350], 5
jb 0x491757
test eax, eax
je 0x491757
mov dword [ebp - 0x5c], 0x14
lea ecx, [ebp - 0x5c]
push ecx
call dword [ebp - 0x2c]
test eax, eax
je 0x491757
mov eax, 8
call fcn.00474480
fld qword [0x4f0f10]
fstp qword [esp]
mov edx, dword [ebp - 0x5c]
push edx
lea eax, [ebp - 0x5c]
push eax
call fcn.00491c60
add esp, 0x10
cmp dword [ebp - 0x30], 0
je 0x491785
push 0xbf
call dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, 8
call fcn.00474480
fld1
fstp qword [esp]
push 4
lea ecx, [ebp - 0x44]
push ecx
call fcn.00491c60
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x491b8d
mov dword [ebp - 0x1c], 0
push 0x4f0ef0
push edi
call esi
mov ebx, eax
push str.CloseToolhelp32Snapshot
push edi
call esi
mov dword [ebp - 0x70], eax
push str.Heap32First
push edi
call esi
mov dword [ebp - 0x2c], eax
push str.Heap32Next
push edi
call esi
mov dword [ebp - 0x30], eax
push str.Heap32ListFirst
push edi
call esi
mov dword [ebp - 0x24], eax
push str.Heap32ListNext
push edi
call esi
mov dword [ebp - 0x34], eax
push str.Process32First
push edi
call esi
mov dword [ebp - 0x38], eax
push str.Process32Next
push edi
call esi
mov dword [ebp - 0x60], eax
push 0x4f0e70
push edi
call esi
mov dword [ebp - 0x64], eax
push 0x4f0e60
push edi
call esi
mov dword [ebp - 0x48], eax
push str.Module32First
push edi
call esi
mov dword [ebp - 0x68], eax
push 0x4f0e40
push edi
call esi
mov dword [ebp - 0x40], eax
test ebx, ebx
je 0x491b86
cmp dword [ebp - 0x2c], 0
je 0x491b86
cmp dword [ebp - 0x30], 0
je 0x491b86
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x491b86
cmp dword [ebp - 0x34], 0
je 0x491b86
cmp dword [ebp - 0x38], 0
je 0x491b86
cmp dword [ebp - 0x60], 0
je 0x491b86
cmp dword [ebp - 0x64], 0
je 0x491b86
cmp dword [ebp - 0x48], 0
je 0x491b86
cmp dword [ebp - 0x68], 0
je 0x491b86
test eax, eax
je 0x491b86
push 0
push 0xf
call ebx
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
je 0x491b86
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x58], 0x10
cmp dword [ebp - 0x28], eax
je 0x4918be
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x58]
push edx
mov ebx, dword [ebp - 0x20]
push ebx
call esi
test eax, eax
je 0x491a07
mov dword [ebp - 0x24], 0x2a
jmp 0x4918e0
mov eax, 8
call fcn.00474480
fld qword [0x4f0e38]
fstp qword [esp]
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00491c60
add esp, 0x10
wait
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x98], 0x24
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp - 0x98]
push ecx
call dword [ebp - 0x2c]
test eax, eax
je 0x4919b8
mov ebx, 0x50
mov dword [ebp - 0x74], ebx
mov esi, dword [ebp - 0x1c]
mov eax, 8
call fcn.00474480
fld qword [0x4f0e30]
fstp qword [esp]
mov edx, dword [ebp - 0x98]
push edx
lea eax, [ebp - 0x98]
push eax
call fcn.00491c60
add esp, 0x10
lea ecx, [ebp - 0x98]
push ecx
call dword [ebp - 0x30]
test eax, eax
je 0x4919b5
cmp dword [ebp - 0x28], 0
je 0x4919ad
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x3e8
jae 0x4919b5
dec ebx
mov dword [ebp - 0x74], ebx
test ebx, ebx
jg 0x491961
mov ebx, dword [ebp - 0x20]
wait
mov dword [ebp - 4], 0xfffffffe
jmp 0x4919db
lea edx, [ebp - 0x58]
push edx
push ebx
call dword [ebp - 0x34]
test eax, eax
je 0x491a07
cmp dword [ebp - 0x28], 0
je 0x4919fd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1c]
cmp eax, 0x3e8
jae 0x491a07
cmp dword [ebp - 0x24], 0
jg 0x4918e0
mov dword [ebp + 0x224], 0x128
cmp dword [ebp - 0x28], 0
je 0x491a20
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x224]
push eax
push ebx
call dword [ebp - 0x38]
test eax, eax
je 0x491a87
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x60]
mov eax, 8
call fcn.00474480
fld qword [0x4f0e28]
fstp qword [esp]
mov ecx, dword [ebp + 0x224]
push ecx
lea edx, [ebp + 0x224]
push edx
call fcn.00491c60
add esp, 0x10
lea eax, [ebp + 0x224]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call esi
test eax, eax
je 0x491a84
cmp dword [ebp - 0x28], 0
je 0x491a35
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x3e8
jb 0x491a35
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0xb4], 0x1c
cmp dword [ebp - 0x28], 0
je 0x491aa0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0xb4]
push edx
push ebx
call dword [ebp - 0x64]
test eax, eax
je 0x491b07
mov ebx, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, 8
call fcn.00474480
fld qword [0x4f0e20]
fstp qword [esp]
mov eax, dword [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xb4]
push ecx
call fcn.00491c60
add esp, 0x10
lea edx, [ebp - 0xb4]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [ebp - 0x48]
test eax, eax
je 0x491b04
cmp dword [ebp - 0x28], 0
je 0x491ab8
call esi
sub eax, ebx
cmp eax, 0x3e8
jb 0x491ab8
mov ebx, dword [ebp - 0x20]
mov dword [ebp], 0x224
cmp dword [ebp - 0x28], 0
je 0x491b1d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp]
push ecx
push ebx
call dword [ebp - 0x68]
test eax, eax
je 0x491b74
mov esi, dword [ebp - 0x40]
lea esp, [esp]
mov eax, 8
call fcn.00474480
fld qword [0x4f0e28]
fstp qword [esp]
mov edx, dword [ebp]
push edx
lea eax, [ebp]
push eax
call fcn.00491c60
add esp, 0x10
lea ecx, [ebp]
push ecx
push ebx
call esi
test eax, eax
je 0x491b74
cmp dword [ebp - 0x28], 0
je 0x491b30
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1c]
cmp eax, 0x3e8
jb 0x491b30
mov eax, dword [ebp - 0x70]
push ebx
test eax, eax
je 0x491b80
call eax
jmp 0x491b86
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.004913a0
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.00474480
fld1
fstp qword [esp]
push 0x20
lea eax, [ebp - 0xd4]
push eax
call fcn.00491c60
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x44], eax
mov eax, 8
call fcn.00474480
fld1
fstp qword [esp]
push 4
lea ecx, [ebp - 0x44]
push ecx
call fcn.00491c60
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x420]
xor ecx, ebp
call fcn.0046d9d8
add ebp, 0x424
mov esp, ebp
pop ebp
ret