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

Disassembly:
push ebp
lea ebp, [esp - 0x3e0]
mov eax, 0x3e0
call fcn.100b6740
push 0xfffffffffffffffe
push 0x1020e450
push 0x100bc620
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x6c
call fcn.100b6740
mov eax, dword [0x102184e0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x3dc], 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
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 - 0x60], edi
push str.NETAPI32.DLL
call ebx
mov ebx, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x34], esi
cmp ebx, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x1016ce3e
push str.NetStatisticsGet
push ebx
call esi
mov dword [ebp - 0x1c], eax
push str.NetApiBufferFree
push ebx
call esi
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x1c], 0
je 0x1016cecd
cmp dword [ebp - 0x34], 0
je 0x1016cecd
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push str.LanmanWorkstation
push 0
call dword [ebp - 0x1c]
test eax, eax
jne 0x1016ce8f
mov eax, 8
call fcn.100b6740
fld qword [0x101f1c88]
fstp qword [esp]
push 0xd8
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.10102f60
add esp, 0x10
mov edx, dword [ebp - 0x24]
push edx
call dword [ebp - 0x34]
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push str.LanmanServer
push 0
call dword [ebp - 0x1c]
test eax, eax
jne 0x1016cecd
mov eax, 8
call fcn.100b6740
fld qword [0x101f1c60]
fstp qword [esp]
push 0x44
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.10102f60
add esp, 0x10
mov edx, dword [ebp - 0x24]
push edx
call dword [ebp - 0x34]
test ebx, ebx
je 0x1016ced8
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x2c], 0
je 0x1016cf02
push str.CryptAcquireContextW
mov ebx, dword [ebp - 0x2c]
push ebx
call esi
mov dword [ebp - 0x20], eax
push str.CryptGenRandom
push ebx
call esi
mov dword [ebp - 0x38], eax
push 0x101f1c24
push ebx
call esi
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x20], 0
je 0x1016cfd9
cmp dword [ebp - 0x38], 0
je 0x1016cfd9
cmp dword [ebp - 0x30], 0
je 0x1016cfd9
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x20]
call ebx
test eax, eax
je 0x1016cf7c
lea ecx, [ebp + 0x39c]
push ecx
push 0x40
mov edx, dword [ebp - 0x3c]
push edx
call dword [ebp - 0x38]
test eax, eax
je 0x1016cf73
mov eax, 8
call fcn.100b6740
fldz
fstp qword [esp]
push 0x40
lea eax, [ebp + 0x39c]
push eax
call fcn.10102f60
add esp, 0x10
mov dword [ebp - 0x28], 1
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [ebp - 0x30]
push 0
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea edx, [ebp - 0x3c]
push edx
call ebx
test eax, eax
je 0x1016cfd9
lea eax, [ebp + 0x39c]
push eax
push 0x40
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [ebp - 0x38]
test eax, eax
je 0x1016cfd0
mov eax, 8
call fcn.100b6740
fld qword [0x101f1bc0]
fstp qword [esp]
push 0x40
lea edx, [ebp + 0x39c]
push edx
call fcn.10102f60
add esp, 0x10
mov dword [ebp - 0x28], 1
push 0
mov eax, dword [ebp - 0x3c]
push eax
call dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 0
je 0x1016cfe9
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x1016d003
call fcn.10115390
test eax, eax
jne 0x1016d0fb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x1016d0fb
push str.GetForegroundWindow
push ebx
call esi
mov dword [ebp - 0x2c], eax
push str.GetCursorInfo
push ebx
call esi
mov dword [ebp - 0x20], eax
push 0x101f1b80
push ebx
call esi
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x2c], 0
je 0x1016d062
call dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov eax, 8
call fcn.100b6740
fldz
fstp qword [esp]
push 4
lea edx, [ebp - 0x40]
push edx
call fcn.10102f60
add esp, 0x10
cmp dword [ebp - 0x20], 0
je 0x1016d0c6
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x1016d07f
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x1016d0c6
cmp dword [ebp - 0x20], 0
je 0x1016d0c6
mov dword [ebp + 0x388], 0x14
lea eax, [ebp + 0x388]
push eax
call dword [ebp - 0x20]
test eax, eax
je 0x1016d0c6
mov eax, 8
call fcn.100b6740
fld qword [0x101f1b78]
fstp qword [esp]
mov ecx, dword [ebp + 0x388]
push ecx
lea edx, [ebp + 0x388]
push edx
call fcn.10102f60
add esp, 0x10
cmp dword [ebp - 0x30], 0
je 0x1016d0f4
push 0xbf
call dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, 8
call fcn.100b6740
fld1
fstp qword [esp]
push 4
lea eax, [ebp - 0x44]
push eax
call fcn.10102f60
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x1016d50d
mov dword [ebp - 0x1c], 0
push str.CreateToolhelp32Snapshot
push edi
call esi
mov ebx, eax
push str.CloseToolhelp32Snapshot
push edi
call esi
mov dword [ebp - 0x5c], 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 - 0x20], eax
push str.Heap32ListNext
push edi
call esi
mov dword [ebp - 0x38], eax
push str.Process32First
push edi
call esi
mov dword [ebp - 0x34], eax
push str.Process32Next
push edi
call esi
mov dword [ebp - 0x50], eax
push str.Thread32First
push edi
call esi
mov dword [ebp - 0x4c], eax
push str.Thread32Next
push edi
call esi
mov dword [ebp - 0x48], eax
push str.Module32First
push edi
call esi
mov dword [ebp - 0x54], eax
push 0x101f1aa8
push edi
call esi
mov dword [ebp - 0x40], eax
test ebx, ebx
je 0x1016d506
cmp dword [ebp - 0x2c], 0
je 0x1016d506
cmp dword [ebp - 0x30], 0
je 0x1016d506
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x1016d506
cmp dword [ebp - 0x38], 0
je 0x1016d506
cmp dword [ebp - 0x34], 0
je 0x1016d506
cmp dword [ebp - 0x50], 0
je 0x1016d506
cmp dword [ebp - 0x4c], 0
je 0x1016d506
cmp dword [ebp - 0x48], 0
je 0x1016d506
cmp dword [ebp - 0x54], 0
je 0x1016d506
test eax, eax
je 0x1016d506
push 0
push 0xf
call ebx
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x1016d506
xor eax, eax
mov dword [ebp + 0x38c], eax
mov dword [ebp + 0x390], eax
mov dword [ebp + 0x394], eax
mov dword [ebp + 0x398], eax
mov dword [ebp + 0x38c], 0x10
cmp dword [ebp - 0x28], eax
je 0x1016d23c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp + 0x38c]
push ecx
mov ebx, dword [ebp - 0x24]
push ebx
call esi
test eax, eax
je 0x1016d389
mov dword [ebp - 0x20], 0x2a
jmp 0x1016d260
mov eax, 8
call fcn.100b6740
fld qword [0x101f1aa0]
fstp qword [esp]
mov edx, dword [ebp + 0x38c]
push edx
lea eax, [ebp + 0x38c]
push eax
call fcn.10102f60
add esp, 0x10
wait
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x84], 0x24
mov ecx, dword [ebp + 0x394]
push ecx
mov edx, dword [ebp + 0x390]
push edx
lea eax, [ebp - 0x84]
push eax
call dword [ebp - 0x2c]
test eax, eax
je 0x1016d337
mov ebx, 0x50
mov dword [ebp - 0x58], ebx
mov esi, dword [ebp - 0x1c]
mov edi, edi
mov eax, 8
call fcn.100b6740
fld qword [0x101f1a98]
fstp qword [esp]
mov ecx, dword [ebp - 0x84]
push ecx
lea edx, [ebp - 0x84]
push edx
call fcn.10102f60
add esp, 0x10
lea eax, [ebp - 0x84]
push eax
call dword [ebp - 0x30]
test eax, eax
je 0x1016d334
cmp dword [ebp - 0x28], 0
je 0x1016d32c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x3e8
jae 0x1016d334
dec ebx
mov dword [ebp - 0x58], ebx
test ebx, ebx
jg 0x1016d2e0
mov ebx, dword [ebp - 0x24]
wait
mov dword [ebp - 4], 0xfffffffe
jmp 0x1016d35a
lea ecx, [ebp + 0x38c]
push ecx
push ebx
call dword [ebp - 0x38]
test eax, eax
je 0x1016d389
cmp dword [ebp - 0x28], 0
je 0x1016d37f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1c]
cmp eax, 0x3e8
jae 0x1016d389
cmp dword [ebp - 0x20], 0
jg 0x1016d260
mov dword [ebp + 0x224], 0x128
cmp dword [ebp - 0x28], 0
je 0x1016d3a2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea edx, [ebp + 0x224]
push edx
push ebx
call dword [ebp - 0x34]
test eax, eax
je 0x1016d409
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x50]
mov eax, 8
call fcn.100b6740
fld qword [0x101f1a90]
fstp qword [esp]
mov eax, dword [ebp + 0x224]
push eax
lea ecx, [ebp + 0x224]
push ecx
call fcn.10102f60
add esp, 0x10
lea edx, [ebp + 0x224]
push edx
mov eax, dword [ebp - 0x24]
push eax
call esi
test eax, eax
je 0x1016d406
cmp dword [ebp - 0x28], 0
je 0x1016d3b7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x3e8
jb 0x1016d3b7
mov ebx, dword [ebp - 0x24]
mov dword [ebp + 0x36c], 0x1c
cmp dword [ebp - 0x28], 0
je 0x1016d422
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp + 0x36c]
push ecx
push ebx
call dword [ebp - 0x4c]
test eax, eax
je 0x1016d489
mov ebx, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, 8
call fcn.100b6740
fld qword [0x101f1a88]
fstp qword [esp]
mov edx, dword [ebp + 0x36c]
push edx
lea eax, [ebp + 0x36c]
push eax
call fcn.10102f60
add esp, 0x10
lea ecx, [ebp + 0x36c]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [ebp - 0x48]
test eax, eax
je 0x1016d486
cmp dword [ebp - 0x28], 0
je 0x1016d43a
call esi
sub eax, ebx
cmp eax, 0x3e8
jb 0x1016d43a
mov ebx, dword [ebp - 0x24]
mov dword [ebp], 0x224
cmp dword [ebp - 0x28], 0
je 0x1016d49f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea eax, [ebp]
push eax
push ebx
call dword [ebp - 0x54]
test eax, eax
je 0x1016d4f4
mov esi, dword [ebp - 0x40]
mov edi, edi
mov eax, 8
call fcn.100b6740
fld qword [0x101f1a90]
fstp qword [esp]
mov ecx, dword [ebp]
push ecx
lea edx, [ebp]
push edx
call fcn.10102f60
add esp, 0x10
lea eax, [ebp]
push eax
push ebx
call esi
test eax, eax
je 0x1016d4f4
cmp dword [ebp - 0x28], 0
je 0x1016d4b0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1c]
cmp eax, 0x3e8
jb 0x1016d4b0
mov eax, dword [ebp - 0x5c]
push ebx
test eax, eax
je 0x1016d500
call eax
jmp 0x1016d506
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.1016cd10
lea ecx, [ebp + 0x34c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.100b6740
fld1
fstp qword [esp]
push 0x20
lea edx, [ebp + 0x34c]
push edx
call fcn.10102f60
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x44], eax
mov eax, 8
call fcn.100b6740
fld1
fstp qword [esp]
push 4
lea eax, [ebp - 0x44]
push eax
call fcn.10102f60
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 + 0x3dc]
xor ecx, ebp
call fcn.100b197c
lea esp, [ebp + 0x3e0]
pop ebp
ret