Function at 0x1004a370
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 0xffffffffffffffff
push 0x100acd48
push 0x10084260
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x4a0
call fcn.10084230
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x1c], esi
push str.ADVAPI32.DLL
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call edi
mov dword [ebp - 0xa0], eax
push str.KERNEL32.DLL
call edi
mov ebx, eax
mov dword [ebp - 0x9c], ebx
push str.NETAPI32.DLL
call edi
mov edi, eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x94], esi
cmp edi, esi
je 0x1004a416
push str.NetStatisticsGet
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x98], eax
push str.NetApiBufferFree
push edi
call esi
mov dword [ebp - 0x94], eax
jmp 0x1004a41c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x1004a4bb
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x1004a4bb
lea eax, [ebp - 0xac]
push eax
push 0
push 0
push str.LanmanWorkstation
push 0
call dword [ebp - 0x98]
test eax, eax
jne 0x1004a47b
push 0x40468000
push eax
push 0xd4
mov ecx, dword [ebp - 0xac]
push ecx
call fcn.100284e0
add esp, 0x10
mov edx, dword [ebp - 0xac]
push edx
call dword [ebp - 0x94]
lea eax, [ebp - 0xac]
push eax
push 0
push 0
push str.LanmanServer
push 0
call dword [ebp - 0x98]
test eax, eax
jne 0x1004a4bb
push 0x40310000
push eax
push 0x44
mov ecx, dword [ebp - 0xac]
push ecx
call fcn.100284e0
add esp, 0x10
mov edx, dword [ebp - 0xac]
push edx
call dword [ebp - 0x94]
test edi, edi
je 0x1004a4c6
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x1004a4f9
push str.CryptAcquireContextW
mov edi, eax
push edi
call esi
mov dword [ebp - 0x48], eax
push str.CryptGenRandom
push edi
call esi
mov dword [ebp - 0xa4], eax
push str.CryptReleaseContext
push edi
call esi
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x1004a5ce
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x1004a5ce
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x1004a5ce
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x44]
push eax
mov edi, dword [ebp - 0x48]
call edi
test eax, eax
je 0x1004a577
lea ecx, [ebp - 0x88]
push ecx
push 0x40
mov edx, dword [ebp - 0x44]
push edx
call dword [ebp - 0xa4]
test eax, eax
je 0x1004a56b
push 0
push 0
push 0x40
lea eax, [ebp - 0x88]
push eax
call fcn.100284e0
add esp, 0x10
mov dword [ebp - 0x1c], 1
push 0
mov ecx, dword [ebp - 0x44]
push ecx
call dword [ebp - 0xa8]
push 0
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea edx, [ebp - 0x44]
push edx
call edi
test eax, eax
je 0x1004a5ce
lea eax, [ebp - 0x88]
push eax
push 0x40
mov ecx, dword [ebp - 0x44]
push ecx
call dword [ebp - 0xa4]
test eax, eax
je 0x1004a5c2
push 0x40500000
push 0
push 0x40
lea edx, [ebp - 0x88]
push edx
call fcn.100284e0
add esp, 0x10
mov dword [ebp - 0x1c], 1
push 0
mov eax, dword [ebp - 0x44]
push eax
call dword [ebp - 0xa8]
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x1004a5e1
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x1004a5fb
call fcn.10027ea0
test eax, eax
jne 0x1004a6fa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x90], eax
test eax, eax
je 0x1004a6fa
push str.GetForegroundWindow
mov edx, eax
push edx
call esi
mov edi, eax
push str.GetCursorInfo
mov eax, dword [ebp - 0x90]
push eax
call esi
mov dword [ebp - 0xb4], eax
push str.GetQueueStatus
mov ecx, dword [ebp - 0x90]
push ecx
call esi
mov dword [ebp - 0xb8], eax
test edi, edi
je 0x1004a669
call edi
mov dword [ebp - 0xbc], eax
push 0
push 0
push 4
lea edx, [ebp - 0xbc]
push edx
call fcn.100284e0
add esp, 0x10
mov edi, dword [ebp - 0xb4]
test edi, edi
je 0x1004a6c4
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x1004a68c
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jae 0x1004a68c
xor edi, edi
test edi, edi
je 0x1004a6c4
mov dword [ebp - 0xd0], 0x14
lea eax, [ebp - 0xd0]
push eax
call edi
test eax, eax
je 0x1004a6c4
push 0x40000000
push 0
mov ecx, dword [ebp - 0xd0]
push ecx
lea edx, [ebp - 0xd0]
push edx
call fcn.100284e0
add esp, 0x10
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x1004a6ed
push 0xbf
call eax
mov dword [ebp - 0x20], eax
push 0x3ff00000
push 0
push 4
lea eax, [ebp - 0x20]
push eax
call fcn.100284e0
add esp, 0x10
mov ecx, dword [ebp - 0x90]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x1004ab57
mov dword [ebp - 0x254], 0
push 0x100acbbc
push ebx
call esi
mov edi, eax
push str.CloseToolhelp32Snapshot
push ebx
call esi
mov dword [ebp - 0x1fc], eax
push str.Heap32First
push ebx
call esi
mov dword [ebp - 0x258], eax
push str.Heap32Next
push ebx
call esi
mov dword [ebp - 0x224], eax
push str.Heap32ListFirst
push ebx
call esi
mov dword [ebp - 0x244], eax
push str.Heap32ListNext
push ebx
call esi
mov dword [ebp - 0x230], eax
push 0x100acb5c
push ebx
call esi
mov dword [ebp - 0x204], eax
push 0x100acb4c
push ebx
call esi
mov dword [ebp - 0x22c], eax
push str.Thread32First
push ebx
call esi
mov dword [ebp - 0x228], eax
push str.Thread32Next
push ebx
call esi
mov dword [ebp - 0x248], eax
push 0x100acb1c
push ebx
call esi
mov dword [ebp - 0x24c], eax
push 0x100acb0c
push ebx
call esi
mov dword [ebp - 0x200], eax
test edi, edi
je 0x1004ab50
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x1004ab50
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x1004ab50
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x1004ab50
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x1004ab50
mov eax, dword [ebp - 0x204]
test eax, eax
je 0x1004ab50
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x1004ab50
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x1004ab50
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x1004ab50
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x1004ab50
mov eax, dword [ebp - 0x200]
test eax, eax
je 0x1004ab50
push 0
push 0xf
call edi
mov esi, eax
mov dword [ebp - 0x250], esi
cmp esi, 0xffffffff
je 0x1004ab50
xor edx, edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x240], 0x10
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1004a896
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [ebp - 0x254], edi
jmp 0x1004a89c
mov edi, dword [ebp - 0x254]
lea eax, [ebp - 0x240]
push eax
push esi
call dword [ebp - 0x244]
test eax, eax
je 0x1004a9eb
mov dword [ebp - 0x4a8], 0x2a
push 0x40080000
push 0
mov ecx, dword [ebp - 0x240]
push ecx
lea edx, [ebp - 0x240]
push edx
call fcn.100284e0
add esp, 0x10
wait
mov dword [ebp - 4], 0
mov ecx, 9
xor eax, eax
lea edi, [ebp - 0x4a4]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x4a4], 0x24
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x4a4]
push edx
call dword [ebp - 0x258]
test eax, eax
je 0x1004a97f
mov edi, 0x50
mov dword [ebp - 0x4ac], edi
mov esi, dword [ebp - 0x254]
push 0x40140000
push 0
mov eax, dword [ebp - 0x4a4]
push eax
lea ecx, [ebp - 0x4a4]
push ecx
call fcn.100284e0
add esp, 0x10
lea edx, [ebp - 0x4a4]
push edx
call dword [ebp - 0x224]
test eax, eax
je 0x1004a979
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1004a96e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x3e8
jae 0x1004a979
dec edi
mov dword [ebp - 0x4ac], edi
test edi, edi
jg 0x1004a92a
mov esi, dword [ebp - 0x250]
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x1004a9ab
lea eax, [ebp - 0x240]
push eax
push esi
call dword [ebp - 0x230]
test eax, eax
je 0x1004a9e5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1004a9d7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x254]
cmp eax, 0x3e8
jae 0x1004a9e5
mov eax, dword [ebp - 0x4a8]
test eax, eax
jg 0x1004a8bc
mov edi, dword [ebp - 0x254]
mov dword [ebp - 0x1f8], 0x128
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1004aa04
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea ecx, [ebp - 0x1f8]
push ecx
push esi
call dword [ebp - 0x204]
test eax, eax
je 0x1004aa5b
push 0x40220000
push 0
mov edx, dword [ebp - 0x1f8]
push edx
lea eax, [ebp - 0x1f8]
push eax
call fcn.100284e0
add esp, 0x10
lea ecx, [ebp - 0x1f8]
push ecx
push esi
call dword [ebp - 0x22c]
test eax, eax
je 0x1004aa5b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1004aa16
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x1004aa16
mov dword [ebp - 0x220], 0x1c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1004aa74
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea edx, [ebp - 0x220]
push edx
push esi
call dword [ebp - 0x228]
test eax, eax
je 0x1004aacb
push 0x40180000
push 0
mov eax, dword [ebp - 0x220]
push eax
lea ecx, [ebp - 0x220]
push ecx
call fcn.100284e0
add esp, 0x10
lea edx, [ebp - 0x220]
push edx
push esi
call dword [ebp - 0x248]
test eax, eax
je 0x1004aacb
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1004aa86
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x1004aa86
mov dword [ebp - 0x480], 0x224
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1004aae4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea eax, [ebp - 0x480]
push eax
push esi
call dword [ebp - 0x24c]
test eax, eax
je 0x1004ab3b
push 0x40220000
push 0
mov ecx, dword [ebp - 0x480]
push ecx
lea edx, [ebp - 0x480]
push edx
call fcn.100284e0
add esp, 0x10
lea eax, [ebp - 0x480]
push eax
push esi
call dword [ebp - 0x200]
test eax, eax
je 0x1004ab3b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1004aaf6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x1004aaf6
mov eax, dword [ebp - 0x1fc]
test eax, eax
push esi
je 0x1004ab4a
call eax
jmp 0x1004ab50
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x100c2950]
test eax, eax
je 0x1004ab96
lea ecx, [ebp - 0x4b8]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1004ab78
mov dword [0x100c2950], eax
jmp 0x1004ab8d
push 0
push 0
push 8
lea edx, [ebp - 0x4b8]
push edx
call fcn.100284e0
add esp, 0x10
mov eax, dword [0x100c2950]
test eax, eax
jne 0x1004abb7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4b0], eax
push 0
push 0
push 4
lea eax, [ebp - 0x4b0]
push eax
call fcn.100284e0
add esp, 0x10
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push 0x3ff00000
push 0
push 0x20
lea edx, [ebp - 0x40]
push edx
call fcn.100284e0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x20], eax
push 0x3ff00000
push 0
push 4
lea eax, [ebp - 0x20]
push eax
call fcn.100284e0
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret