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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10130850
push 0x100b0350
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x4a0
call fcn.100ab600
mov eax, dword [0x101401a0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x60], 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 - 0x20], 0
mov dword [ebp - 0x24], 0
push str.ADVAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0xa8], eax
push 0x10113034
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], 0
push str.NETAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xac], 0
cmp dword [ebp - 0x48], 0
je 0x1005cb4b
push str.NetStatisticsGet
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa4], eax
push str.NetApiBufferFree
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xa4], 0
je 0x1005cc02
cmp dword [ebp - 0xac], 0
je 0x1005cc02
lea edx, [ebp - 0xb0]
push edx
push 0
push 0
push str.LanmanWorkstation
push 0
call dword [ebp - 0xa4]
test eax, eax
jne 0x1005cbb5
mov eax, 8
call fcn.100ab600
fld qword [0x10112fd0]
fstp qword [esp]
push 0xd8
mov eax, dword [ebp - 0xb0]
push eax
call fcn.100247c0
add esp, 0x10
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [ebp - 0xac]
lea edx, [ebp - 0xb0]
push edx
push 0
push 0
push str.LanmanServer
push 0
call dword [ebp - 0xa4]
test eax, eax
jne 0x1005cc02
mov eax, 8
call fcn.100ab600
fld qword [0x10112fa8]
fstp qword [esp]
push 0x44
mov eax, dword [ebp - 0xb0]
push eax
call fcn.100247c0
add esp, 0x10
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [ebp - 0xac]
cmp dword [ebp - 0x48], 0
je 0x1005cc12
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0xa8], 0
je 0x1005cc5a
push str.CryptAcquireContextW
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x5c], eax
push str.CryptGenRandom
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x58], eax
push str.CryptReleaseContext
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x5c], 0
je 0x1005cd30
cmp dword [ebp - 0x58], 0
je 0x1005cd30
cmp dword [ebp - 0x4c], 0
je 0x1005cd30
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [ebp - 0x5c]
test eax, eax
je 0x1005ccd2
lea ecx, [ebp - 0xa0]
push ecx
push 0x40
mov edx, dword [ebp - 0x20]
push edx
call dword [ebp - 0x58]
test eax, eax
je 0x1005ccc9
mov eax, 8
call fcn.100ab600
fldz
fstp qword [esp]
push 0x40
lea eax, [ebp - 0xa0]
push eax
call fcn.100247c0
add esp, 0x10
mov dword [ebp - 0x24], 1
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call dword [ebp - 0x4c]
push 0
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea edx, [ebp - 0x20]
push edx
call dword [ebp - 0x5c]
test eax, eax
je 0x1005cd30
lea eax, [ebp - 0xa0]
push eax
push 0x40
mov ecx, dword [ebp - 0x20]
push ecx
call dword [ebp - 0x58]
test eax, eax
je 0x1005cd27
mov eax, 8
call fcn.100ab600
fld qword [0x10112f08]
fstp qword [esp]
push 0x40
lea edx, [ebp - 0xa0]
push edx
call fcn.100247c0
add esp, 0x10
mov dword [ebp - 0x24], 1
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [ebp - 0x4c]
cmp dword [ebp - 0xa8], 0
je 0x1005cd46
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x1005cd60
call fcn.10024160
test eax, eax
jne 0x1005ceb2
push 0x10112efc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x1005ceb2
push str.GetForegroundWindow
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xbc], eax
push str.GetCursorInfo
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xb4], eax
push 0x10112ec8
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xbc], 0
je 0x1005cdec
call dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov eax, 8
call fcn.100ab600
fldz
fstp qword [esp]
push 4
lea edx, [ebp - 0xc0]
push edx
call fcn.100247c0
add esp, 0x10
cmp dword [ebp - 0xb4], 0
je 0x1005ce27
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x1005ce27
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xffff
movzx eax, ax
and eax, 0xff
movzx ecx, al
cmp ecx, 5
jge 0x1005ce27
mov dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0
je 0x1005ce74
mov dword [ebp - 0xd4], 0x14
lea edx, [ebp - 0xd4]
push edx
call dword [ebp - 0xb4]
test eax, eax
je 0x1005ce74
mov eax, 8
call fcn.100ab600
fld qword [0x10112ec0]
fstp qword [esp]
mov eax, dword [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call fcn.100247c0
add esp, 0x10
cmp dword [ebp - 0xb8], 0
je 0x1005cea8
push 0xbf
call dword [ebp - 0xb8]
mov dword [ebp - 0x1c], eax
mov eax, 8
call fcn.100ab600
fld1
fstp qword [esp]
push 4
lea edx, [ebp - 0x1c]
push edx
call fcn.100247c0
add esp, 0x10
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x50], 0
je 0x1005d3e5
mov dword [ebp - 0xd8], 0
push 0x10112ea0
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24c], eax
push str.CloseToolhelp32Snapshot
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x250], eax
push str.Heap32First
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x230], eax
push str.Heap32Next
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x234], eax
push str.Heap32ListFirst
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x22c], eax
push str.Heap32ListNext
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x260], eax
push str.Process32First
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x258], eax
push str.Process32Next
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x4ac], eax
push str.Thread32First
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x228], eax
push str.Thread32Next
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x248], eax
push str.Module32First
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x25c], eax
push 0x10112df0
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x24c], 0
je 0x1005d3db
cmp dword [ebp - 0x230], 0
je 0x1005d3db
cmp dword [ebp - 0x234], 0
je 0x1005d3db
cmp dword [ebp - 0x22c], 0
je 0x1005d3db
cmp dword [ebp - 0x260], 0
je 0x1005d3db
cmp dword [ebp - 0x258], 0
je 0x1005d3db
cmp dword [ebp - 0x4ac], 0
je 0x1005d3db
cmp dword [ebp - 0x228], 0
je 0x1005d3db
cmp dword [ebp - 0x248], 0
je 0x1005d3db
cmp dword [ebp - 0x25c], 0
je 0x1005d3db
cmp dword [ebp - 0x254], 0
je 0x1005d3db
push 0
push 0xf
call dword [ebp - 0x24c]
mov dword [ebp - 0x4b0], eax
cmp dword [ebp - 0x4b0], 0xffffffff
je 0x1005d3db
push 0x10
push 0
lea ecx, [ebp - 0x244]
push ecx
call fcn.100ab9a0
add esp, 0xc
mov dword [ebp - 0x244], 0x10
cmp dword [ebp - 0x24], 0
je 0x1005d09d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xd8], eax
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x4b0]
push eax
call dword [ebp - 0x22c]
test eax, eax
je 0x1005d20c
mov dword [ebp - 0x4b4], 0x2a
mov eax, 8
call fcn.100ab600
fld qword [0x10112de8]
fstp qword [esp]
mov ecx, dword [ebp - 0x244]
push ecx
lea edx, [ebp - 0x244]
push edx
call fcn.100247c0
add esp, 0x10
wait
mov dword [ebp - 4], 0
push 0x24
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.100ab9a0
add esp, 0xc
mov dword [ebp - 0x224], 0x24
mov ecx, dword [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x240]
push edx
lea eax, [ebp - 0x224]
push eax
call dword [ebp - 0x230]
test eax, eax
je 0x1005d1a5
mov dword [ebp - 0x4b8], 0x50
mov eax, 8
call fcn.100ab600
fld qword [0x10112de0]
fstp qword [esp]
mov ecx, dword [ebp - 0x224]
push ecx
lea edx, [ebp - 0x224]
push edx
call fcn.100247c0
add esp, 0x10
lea eax, [ebp - 0x224]
push eax
call dword [ebp - 0x234]
test eax, eax
je 0x1005d1a5
cmp dword [ebp - 0x24], 0
je 0x1005d18d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xd8]
cmp eax, 0x3e8
jae 0x1005d1a5
mov ecx, dword [ebp - 0x4b8]
sub ecx, 1
mov dword [ebp - 0x4b8], ecx
cmp dword [ebp - 0x4b8], 0
jg 0x1005d13a
wait
mov dword [ebp - 4], 0xfffffffe
jmp 0x1005d1ce
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x4b0]
push ecx
call dword [ebp - 0x260]
test eax, eax
je 0x1005d20c
cmp dword [ebp - 0x24], 0
je 0x1005d1ff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xd8]
cmp eax, 0x3e8
jae 0x1005d20c
cmp dword [ebp - 0x4b4], 0
jg 0x1005d0c3
mov dword [ebp - 0x200], 0x128
cmp dword [ebp - 0x24], 0
je 0x1005d228
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xd8], eax
lea edx, [ebp - 0x200]
push edx
mov eax, dword [ebp - 0x4b0]
push eax
call dword [ebp - 0x258]
test eax, eax
je 0x1005d29a
mov eax, 8
call fcn.100ab600
fld qword [0x10112dd8]
fstp qword [esp]
mov ecx, dword [ebp - 0x200]
push ecx
lea edx, [ebp - 0x200]
push edx
call fcn.100247c0
add esp, 0x10
lea eax, [ebp - 0x200]
push eax
mov ecx, dword [ebp - 0x4b0]
push ecx
call dword [ebp - 0x4ac]
test eax, eax
je 0x1005d29a
cmp dword [ebp - 0x24], 0
je 0x1005d240
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xd8]
cmp eax, 0x3e8
jb 0x1005d240
mov dword [ebp - 0x27c], 0x1c
cmp dword [ebp - 0x24], 0
je 0x1005d2b6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xd8], eax
lea edx, [ebp - 0x27c]
push edx
mov eax, dword [ebp - 0x4b0]
push eax
call dword [ebp - 0x228]
test eax, eax
je 0x1005d328
mov eax, 8
call fcn.100ab600
fld qword [0x10112dd0]
fstp qword [esp]
mov ecx, dword [ebp - 0x27c]
push ecx
lea edx, [ebp - 0x27c]
push edx
call fcn.100247c0
add esp, 0x10
lea eax, [ebp - 0x27c]
push eax
mov ecx, dword [ebp - 0x4b0]
push ecx
call dword [ebp - 0x248]
test eax, eax
je 0x1005d328
cmp dword [ebp - 0x24], 0
je 0x1005d2ce
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xd8]
cmp eax, 0x3e8
jb 0x1005d2ce
mov dword [ebp - 0x4a8], 0x224
cmp dword [ebp - 0x24], 0
je 0x1005d344
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xd8], eax
lea edx, [ebp - 0x4a8]
push edx
mov eax, dword [ebp - 0x4b0]
push eax
call dword [ebp - 0x25c]
test eax, eax
je 0x1005d3b6
mov eax, 8
call fcn.100ab600
fld qword [0x10112dd8]
fstp qword [esp]
mov ecx, dword [ebp - 0x4a8]
push ecx
lea edx, [ebp - 0x4a8]
push edx
call fcn.100247c0
add esp, 0x10
lea eax, [ebp - 0x4a8]
push eax
mov ecx, dword [ebp - 0x4b0]
push ecx
call dword [ebp - 0x254]
test eax, eax
je 0x1005d3b6
cmp dword [ebp - 0x24], 0
je 0x1005d35c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xd8]
cmp eax, 0x3e8
jb 0x1005d35c
cmp dword [ebp - 0x250], 0
je 0x1005d3ce
mov edx, dword [ebp - 0x4b0]
push edx
call dword [ebp - 0x250]
jmp 0x1005d3db
mov eax, dword [ebp - 0x4b0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.1005d460
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.100ab600
fld1
fstp qword [esp]
push 0x20
lea eax, [ebp - 0x44]
push eax
call fcn.100247c0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x1c], eax
mov eax, 8
call fcn.100ab600
fld1
fstp qword [esp]
push 4
lea ecx, [ebp - 0x1c]
push ecx
call fcn.100247c0
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 - 0x60]
xor ecx, ebp
call fcn.100a1c30
mov esp, ebp
pop ebp
ret