Function at 0x100bac40
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.10123f80
push 0xfffffffffffffffe
push 0x101b8108
push 0x101275d0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x70
call fcn.10123f80
mov eax, dword [0x101c2520]
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
mov dword [ebp - 0x30], 0
xor edi, edi
mov dword [ebp - 0x4c], edi
push str.ADVAPI32.DLL
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call ebx
mov esi, eax
push str.KERNEL32.DLL
call ebx
mov dword [ebp - 0x24], eax
push str.NETAPI32.DLL
call ebx
mov dword [ebp - 0x40], eax
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x3c], ecx
xor edx, edx
mov dword [ebp - 0x38], edx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100bacfb
push str.NetStatisticsGet
push eax
call ebx
mov dword [ebp - 0x3c], eax
push str.NetApiBufferFree
push dword [ebp - 0x40]
call ebx
mov edx, eax
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x100bad8f
test edx, edx
je 0x100bad8f
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push str.LanmanWorkstation
push 0
call ecx
test eax, eax
jne 0x100bad4d
mov eax, 8
call fcn.10123f80
movsd xmm0, qword [0x1018dd60]
movsd qword [esp], xmm0
push 0xd8
push dword [ebp - 0x1c]
call fcn.10062e60
add esp, 0x10
push dword [ebp - 0x1c]
call dword [ebp - 0x38]
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push str.LanmanServer
push 0
mov eax, dword [ebp - 0x3c]
call eax
test eax, eax
jne 0x100bad8f
mov eax, 8
call fcn.10123f80
movsd xmm0, qword [0x1018dd58]
movsd qword [esp], xmm0
push 0x44
push dword [ebp - 0x1c]
call fcn.10062e60
add esp, 0x10
push dword [ebp - 0x1c]
call dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x100bad9d
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x100badc6
push str.CryptAcquireContextW
push esi
call ebx
mov dword [ebp - 0x34], eax
push str.CryptGenRandom
push esi
call ebx
mov dword [ebp - 0x28], eax
push 0x1018dbb4
push esi
call ebx
mov ecx, eax
mov dword [ebp - 0x20], ecx
jmp 0x100badc8
xor ecx, ecx
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x100baea2
cmp dword [ebp - 0x28], edi
je 0x100baea2
test ecx, ecx
je 0x100baea2
push 0xf0000000
push 1
push 0
push 0
lea ecx, [ebp - 0x30]
push ecx
call eax
test eax, eax
je 0x100bae3f
lea eax, [ebp + 0x39c]
push eax
push 0x40
push dword [ebp - 0x30]
call dword [ebp - 0x28]
test eax, eax
je 0x100bae37
mov eax, 8
call fcn.10123f80
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0x40
lea eax, [ebp + 0x39c]
push eax
call fcn.10062e60
add esp, 0x10
mov edi, 1
mov dword [ebp - 0x4c], edi
push 0
push dword [ebp - 0x30]
call dword [ebp - 0x20]
push 0
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
call ecx
test eax, eax
je 0x100baea2
lea eax, [ebp + 0x39c]
push eax
push 0x40
push dword [ebp - 0x30]
call dword [ebp - 0x28]
test eax, eax
je 0x100bae9a
mov eax, 8
call fcn.10123f80
movsd xmm0, qword [0x1018dd68]
movsd qword [esp], xmm0
push 0x40
lea eax, [ebp + 0x39c]
push eax
call fcn.10062e60
add esp, 0x10
mov edi, 1
mov dword [ebp - 0x4c], edi
push 0
push dword [ebp - 0x30]
call dword [ebp - 0x20]
test esi, esi
je 0x100baead
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x100baec7
call fcn.1006f040
test eax, eax
jne 0x100bafce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x100bafce
push str.GetForegroundWindow
push esi
call ebx
mov dword [ebp - 0x2c], eax
push str.GetCursorInfo
push esi
call ebx
mov dword [ebp - 0x20], eax
push str.GetQueueStatus
push esi
call ebx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100baf29
call eax
mov dword [ebp - 0x2c], eax
mov eax, 8
call fcn.10123f80
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 4
lea eax, [ebp - 0x2c]
push eax
call fcn.10062e60
add esp, 0x10
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x100baf91
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x100baf47
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x100baf91
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x100baf91
mov dword [ebp + 0x388], 0x14
lea ecx, [ebp + 0x388]
push ecx
call eax
test eax, eax
je 0x100baf91
mov eax, 8
call fcn.10123f80
movsd xmm0, qword [0x1018dd30]
movsd qword [esp], xmm0
push dword [ebp + 0x388]
lea eax, [ebp + 0x388]
push eax
call fcn.10062e60
add esp, 0x10
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x100bafc7
push 0xbf
call eax
mov dword [ebp - 0x48], eax
mov eax, 8
call fcn.10123f80
movsd xmm0, qword [0x101b5d68]
movsd qword [esp], xmm0
push 4
lea eax, [ebp - 0x48]
push eax
call fcn.10062e60
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x24], 0
je 0x100bb3d0
xor esi, esi
mov dword [ebp - 0x28], esi
push str.CreateToolhelp32Snapshot
mov esi, dword [ebp - 0x24]
push esi
call ebx
mov dword [ebp - 0x20], eax
push str.CloseToolhelp32Snapshot
push esi
call ebx
mov dword [ebp - 0x64], eax
push str.Heap32First
push esi
call ebx
mov dword [ebp - 0x40], eax
push str.Heap32Next
push esi
call ebx
mov dword [ebp - 0x34], eax
push str.Heap32ListFirst
push esi
call ebx
mov esi, eax
mov dword [ebp - 0x58], esi
push str.Heap32ListNext
push dword [ebp - 0x24]
call ebx
mov dword [ebp - 0x38], eax
push str.Process32First
push dword [ebp - 0x24]
call ebx
mov dword [ebp - 0x3c], eax
push str.Process32Next
push dword [ebp - 0x24]
call ebx
mov dword [ebp - 0x54], eax
push str.Thread32First
push dword [ebp - 0x24]
call ebx
mov dword [ebp - 0x50], eax
push str.Thread32Next
push dword [ebp - 0x24]
call ebx
mov dword [ebp - 0x44], eax
push str.Module32First
push dword [ebp - 0x24]
call ebx
mov dword [ebp - 0x2c], eax
push str.Module32Next
push dword [ebp - 0x24]
call ebx
mov ecx, eax
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x100bb3c7
cmp dword [ebp - 0x40], 0
je 0x100bb3c7
cmp dword [ebp - 0x34], 0
je 0x100bb3c7
test esi, esi
je 0x100bb3c7
cmp dword [ebp - 0x38], 0
je 0x100bb3c7
cmp dword [ebp - 0x3c], 0
je 0x100bb3c7
cmp dword [ebp - 0x54], 0
je 0x100bb3c7
cmp dword [ebp - 0x50], 0
je 0x100bb3c7
cmp dword [ebp - 0x44], 0
je 0x100bb3c7
cmp dword [ebp - 0x2c], 0
je 0x100bb3c7
test ecx, ecx
je 0x100bb3c7
push 0
push 0xf
call eax
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, 0xffffffff
je 0x100bb3c7
xorps xmm0, xmm0
movq qword [ebp + 0x38c], xmm0
movq qword [ebp + 0x394], xmm0
mov dword [ebp + 0x38c], 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
test edi, edi
je 0x100bb121
call ebx
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x38c]
push eax
push esi
call dword [ebp - 0x58]
test eax, eax
je 0x100bb269
mov esi, 0x2a
mov dword [ebp - 0x20], esi
lea esp, [esp]
mov eax, 8
call fcn.10123f80
movsd xmm0, qword [0x1018dd38]
movsd qword [esp], xmm0
push dword [ebp + 0x38c]
lea eax, [ebp + 0x38c]
push eax
call fcn.10062e60
add esp, 0x10
wait
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x88], xmm0
movq qword [ebp - 0x80], xmm0
movq qword [ebp - 0x78], xmm0
movq qword [ebp - 0x70], xmm0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x88], 0x24
push dword [ebp + 0x394]
push dword [ebp + 0x390]
lea eax, [ebp - 0x88]
push eax
call dword [ebp - 0x40]
test eax, eax
je 0x100bb216
mov esi, 0x50
mov dword [ebp - 0x60], esi
mov eax, 8
call fcn.10123f80
movsd xmm0, qword [0x1018dd40]
movsd qword [esp], xmm0
push dword [ebp - 0x88]
lea eax, [ebp - 0x88]
push eax
call fcn.10062e60
add esp, 0x10
lea eax, [ebp - 0x88]
push eax
call dword [ebp - 0x34]
test eax, eax
je 0x100bb213
test edi, edi
je 0x100bb20b
call ebx
sub eax, dword [ebp - 0x28]
cmp eax, 0x3e8
jae 0x100bb213
dec esi
mov dword [ebp - 0x60], esi
test esi, esi
jg 0x100bb1c1
mov esi, dword [ebp - 0x20]
wait
mov dword [ebp - 4], 0xfffffffe
jmp 0x100bb240
lea eax, [ebp + 0x38c]
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x38]
test eax, eax
je 0x100bb269
test edi, edi
je 0x100bb261
call ebx
sub eax, dword [ebp - 0x28]
cmp eax, 0x3e8
jae 0x100bb269
test esi, esi
jg 0x100bb140
mov dword [ebp + 0x224], 0x128
test edi, edi
je 0x100bb27d
call ebx
mov esi, eax
jmp 0x100bb280
mov esi, dword [ebp - 0x28]
lea eax, [ebp + 0x224]
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x3c]
test eax, eax
je 0x100bb2dd
mov eax, 8
call fcn.10123f80
movsd xmm0, qword [0x1018dd50]
movsd qword [esp], xmm0
push dword [ebp + 0x224]
lea eax, [ebp + 0x224]
push eax
call fcn.10062e60
add esp, 0x10
lea eax, [ebp + 0x224]
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x54]
test eax, eax
je 0x100bb2dd
test edi, edi
je 0x100bb291
call ebx
sub eax, esi
cmp eax, 0x3e8
jb 0x100bb291
mov dword [ebp + 0x36c], 0x1c
test edi, edi
je 0x100bb2ef
call ebx
mov esi, eax
lea eax, [ebp + 0x36c]
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x50]
test eax, eax
je 0x100bb34c
mov eax, 8
call fcn.10123f80
movsd xmm0, qword [0x1018dd48]
movsd qword [esp], xmm0
push dword [ebp + 0x36c]
lea eax, [ebp + 0x36c]
push eax
call fcn.10062e60
add esp, 0x10
lea eax, [ebp + 0x36c]
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x44]
test eax, eax
je 0x100bb34c
test edi, edi
je 0x100bb300
call ebx
sub eax, esi
cmp eax, 0x3e8
jb 0x100bb300
mov dword [ebp], 0x224
test edi, edi
je 0x100bb35b
call ebx
mov esi, eax
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x2c]
test eax, eax
je 0x100bb3b3
lea esp, [esp]
mov eax, 8
call fcn.10123f80
movsd xmm0, qword [0x1018dd50]
movsd qword [esp], xmm0
push dword [ebp]
lea eax, [ebp]
push eax
call fcn.10062e60
add esp, 0x10
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x5c]
test eax, eax
je 0x100bb3b3
test edi, edi
je 0x100bb370
call ebx
sub eax, esi
cmp eax, 0x3e8
jb 0x100bb370
mov eax, dword [ebp - 0x64]
push dword [ebp - 0x1c]
test eax, eax
je 0x100bb3c1
call eax
jmp 0x100bb3c7
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.100bb460
lea eax, [ebp + 0x34c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.10123f80
movsd xmm0, qword [0x101b5d68]
movsd qword [esp], xmm0
push 0x20
lea eax, [ebp + 0x34c]
push eax
call fcn.10062e60
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x48], eax
mov eax, 8
call fcn.10123f80
movsd xmm0, qword [0x101b5d68]
movsd qword [esp], xmm0
push 4
lea eax, [ebp - 0x48]
push eax
call fcn.10062e60
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.1012032b
lea esp, [ebp + 0x3e0]
pop ebp
ret