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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x63c770
push 0x4eeb50
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x454
call fcn.004ed3f0
mov eax, dword [0x640844]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], 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 - 0x410], 0
xor edi, edi
push str.ADVAPI32.DLL
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call esi
mov dword [ebp - 0x40c], eax
push str.KERNEL32.DLL
call esi
mov dword [ebp - 0x404], eax
push str.NETAPI32.DLL
call esi
mov dword [ebp - 0x424], eax
xor ecx, ecx
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x3fc], ecx
mov dword [ebp - 0x408], ecx
mov dword [ebp - 0x414], ecx
xor edx, edx
mov dword [ebp - 0x418], edx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5b992e
push str.NetStatisticsGet
push eax
call esi
mov dword [ebp - 0x414], eax
push str.NetApiBufferFree
push dword [ebp - 0x424]
call esi
mov edx, eax
mov dword [ebp - 0x418], edx
mov ecx, dword [ebp - 0x414]
test ecx, ecx
je 0x5b99dd
test edx, edx
je 0x5b99dd
lea eax, [ebp - 0x400]
push eax
push 0
push 0
push str.LanmanWorkstation
push 0
call ecx
test eax, eax
jne 0x5b998c
mov eax, 8
call fcn.004ed3f0
movsd xmm0, qword [0x61fb90]
movsd qword [esp], xmm0
push 0xd8
push dword [ebp - 0x400]
call fcn.00591b20
add esp, 0x10
push dword [ebp - 0x400]
call dword [ebp - 0x418]
lea eax, [ebp - 0x400]
push eax
push 0
push 0
push str.LanmanServer
push 0
mov eax, dword [ebp - 0x414]
call eax
test eax, eax
jne 0x5b99dd
mov eax, 8
call fcn.004ed3f0
movsd xmm0, qword [0x61fb88]
movsd qword [esp], xmm0
push 0x44
push dword [ebp - 0x400]
call fcn.00591b20
add esp, 0x10
push dword [ebp - 0x400]
call dword [ebp - 0x418]
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x5b99ee
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x40c]
test eax, eax
je 0x5b9a30
push str.CryptAcquireContextW
push eax
call esi
mov dword [ebp - 0x41c], eax
push 0x61f9d4
push dword [ebp - 0x40c]
call esi
mov dword [ebp - 0x3fc], eax
push 0x61f9e4
push dword [ebp - 0x40c]
call esi
mov ecx, eax
mov dword [ebp - 0x408], ecx
jmp 0x5b9a32
xor ecx, ecx
mov eax, dword [ebp - 0x41c]
test eax, eax
je 0x5b9b21
cmp dword [ebp - 0x3fc], edi
je 0x5b9b21
test ecx, ecx
je 0x5b9b21
push 0xf0000000
push 1
push 0
push 0
lea ecx, [ebp - 0x410]
push ecx
call eax
test eax, eax
je 0x5b9ab5
lea eax, [ebp - 0x5c]
push eax
push 0x40
push dword [ebp - 0x410]
call dword [ebp - 0x3fc]
test eax, eax
je 0x5b9aa7
mov eax, 8
call fcn.004ed3f0
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0x40
lea eax, [ebp - 0x5c]
push eax
call fcn.00591b20
add esp, 0x10
mov edi, 1
push 0
push dword [ebp - 0x410]
call dword [ebp - 0x408]
push 0
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea eax, [ebp - 0x410]
push eax
mov ecx, dword [ebp - 0x41c]
call ecx
test eax, eax
je 0x5b9b21
lea eax, [ebp - 0x5c]
push eax
push 0x40
push dword [ebp - 0x410]
call dword [ebp - 0x3fc]
test eax, eax
je 0x5b9b13
mov eax, 8
call fcn.004ed3f0
movsd xmm0, qword [0x61fb98]
movsd qword [esp], xmm0
push 0x40
lea eax, [ebp - 0x5c]
push eax
call fcn.00591b20
add esp, 0x10
mov edi, 1
push 0
push dword [ebp - 0x410]
call dword [ebp - 0x408]
mov dword [ebp - 0x440], edi
mov eax, dword [ebp - 0x40c]
test eax, eax
je 0x5b9b38
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.005700d0
test eax, eax
jne 0x5b9c49
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x408], eax
test eax, eax
je 0x5b9c49
push str.GetForegroundWindow
push eax
call esi
mov dword [ebp - 0x420], eax
push str.GetCursorInfo
push dword [ebp - 0x408]
call esi
mov dword [ebp - 0x428], eax
push str.GetQueueStatus
push dword [ebp - 0x408]
call esi
mov esi, eax
mov eax, dword [ebp - 0x420]
test eax, eax
je 0x5b9bc3
call eax
mov dword [ebp - 0x420], eax
mov eax, 8
call fcn.004ed3f0
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 4
lea eax, [ebp - 0x420]
push eax
call fcn.00591b20
add esp, 0x10
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x5b9c04
mov dword [ebp - 0x70], 0x14
lea ecx, [ebp - 0x70]
push ecx
call eax
test eax, eax
je 0x5b9c04
mov eax, 8
call fcn.004ed3f0
movsd xmm0, qword [0x61fb60]
movsd qword [esp], xmm0
push dword [ebp - 0x70]
lea eax, [ebp - 0x70]
push eax
call fcn.00591b20
add esp, 0x10
test esi, esi
je 0x5b9c3d
push 0xbf
call esi
mov dword [ebp - 0x42c], eax
mov eax, 8
call fcn.004ed3f0
movsd xmm0, qword [0x5e2ff0]
movsd qword [esp], xmm0
push 4
lea eax, [ebp - 0x42c]
push eax
call fcn.00591b20
add esp, 0x10
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x404]
test eax, eax
je 0x5ba12c
xor esi, esi
mov dword [ebp - 0x3fc], esi
mov dword [ebp - 0x414], esi
push 0x61fa94
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x408], eax
push str.CloseToolhelp32Snapshot
push dword [ebp - 0x404]
call esi
mov dword [ebp - 0x448], eax
push str.Heap32First
push dword [ebp - 0x404]
call esi
mov dword [ebp - 0x41c], eax
push str.Heap32Next
push dword [ebp - 0x404]
call esi
mov dword [ebp - 0x418], eax
push str.Heap32ListFirst
push dword [ebp - 0x404]
call esi
mov dword [ebp - 0x424], eax
push str.Heap32ListNext
push dword [ebp - 0x404]
call esi
mov dword [ebp - 0x40c], eax
push str.Process32First
push dword [ebp - 0x404]
call esi
mov dword [ebp - 0x430], eax
push str.Process32Next
push dword [ebp - 0x404]
call esi
mov dword [ebp - 0x434], eax
push 0x61fb20
push dword [ebp - 0x404]
call esi
mov dword [ebp - 0x438], eax
push 0x61fb30
push dword [ebp - 0x404]
call esi
mov dword [ebp - 0x428], eax
push str.Module32First
push dword [ebp - 0x404]
call esi
mov dword [ebp - 0x420], eax
push str.Module32Next
push dword [ebp - 0x404]
call esi
mov ecx, eax
mov dword [ebp - 0x444], ecx
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x5ba120
cmp dword [ebp - 0x41c], 0
je 0x5ba120
cmp dword [ebp - 0x418], 0
je 0x5ba120
cmp dword [ebp - 0x424], 0
je 0x5ba120
cmp dword [ebp - 0x40c], 0
je 0x5ba120
cmp dword [ebp - 0x430], 0
je 0x5ba120
cmp dword [ebp - 0x434], 0
je 0x5ba120
cmp dword [ebp - 0x438], 0
je 0x5ba120
cmp dword [ebp - 0x428], 0
je 0x5ba120
cmp dword [ebp - 0x420], 0
je 0x5ba120
test ecx, ecx
je 0x5ba120
push 0
push 0xf
call eax
mov esi, eax
mov dword [ebp - 0x400], esi
cmp esi, 0xffffffff
je 0x5ba120
xorps xmm0, xmm0
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x6c], 0x10
test edi, edi
je 0x5b9e12
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x6c]
push eax
push esi
call dword [ebp - 0x424]
test eax, eax
je 0x5b9f70
mov dword [ebp - 0x408], 0x2a
nop
mov eax, 8
call fcn.004ed3f0
movsd xmm0, qword [0x61fb68]
movsd qword [esp], xmm0
push dword [ebp - 0x6c]
lea eax, [ebp - 0x6c]
push eax
call fcn.00591b20
add esp, 0x10
wait
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x46c], xmm0
movups xmmword [ebp - 0x45c], xmm0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x46c], 0x24
push dword [ebp - 0x64]
push dword [ebp - 0x68]
lea eax, [ebp - 0x46c]
push eax
call dword [ebp - 0x41c]
test eax, eax
je 0x5b9f04
mov esi, 0x50
mov dword [ebp - 0x43c], esi
mov eax, 8
call fcn.004ed3f0
movsd xmm0, qword [0x61fb70]
movsd qword [esp], xmm0
push dword [ebp - 0x46c]
lea eax, [ebp - 0x46c]
push eax
call fcn.00591b20
add esp, 0x10
lea eax, [ebp - 0x46c]
push eax
call dword [ebp - 0x418]
test eax, eax
je 0x5b9f04
test edi, edi
je 0x5b9ef9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x3fc]
cmp eax, 0x3e8
jae 0x5b9f04
dec esi
mov dword [ebp - 0x43c], esi
test esi, esi
jg 0x5b9ea5
wait
mov dword [ebp - 4], 0xfffffffe
mov esi, dword [ebp - 0x3fc]
jmp 0x5b9f3c
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x400]
call dword [ebp - 0x40c]
test eax, eax
je 0x5b9f70
test edi, edi
je 0x5b9f63
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x3e8
jae 0x5b9f70
cmp dword [ebp - 0x408], 0
jg 0x5b9e30
mov dword [ebp - 0x1d4], pe_nt_image_headers32
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
test edi, edi
je 0x5b9f8c
call esi
mov dword [ebp - 0x3fc], eax
lea eax, [ebp - 0x1d4]
push eax
push dword [ebp - 0x400]
call dword [ebp - 0x430]
test eax, eax
je 0x5b9ff9
mov eax, 8
call fcn.004ed3f0
movsd xmm0, qword [0x61fb80]
movsd qword [esp], xmm0
push dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d4]
push eax
call fcn.00591b20
add esp, 0x10
lea eax, [ebp - 0x1d4]
push eax
push dword [ebp - 0x400]
call dword [ebp - 0x434]
test eax, eax
je 0x5b9ff9
test edi, edi
je 0x5b9fa3
call esi
sub eax, dword [ebp - 0x3fc]
cmp eax, 0x3e8
jb 0x5b9fa3
mov dword [ebp - 0x8c], 0x1c
test edi, edi
je 0x5ba00f
call esi
mov dword [ebp - 0x3fc], eax
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x400]
call dword [ebp - 0x438]
test eax, eax
je 0x5ba07c
mov eax, 8
call fcn.004ed3f0
movsd xmm0, qword [0x61fb78]
movsd qword [esp], xmm0
push dword [ebp - 0x8c]
lea eax, [ebp - 0x8c]
push eax
call fcn.00591b20
add esp, 0x10
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x400]
call dword [ebp - 0x428]
test eax, eax
je 0x5ba07c
test edi, edi
je 0x5ba026
call esi
sub eax, dword [ebp - 0x3fc]
cmp eax, 0x3e8
jb 0x5ba026
mov dword [ebp - 0x3f8], 0x224
test edi, edi
je 0x5ba092
call esi
mov dword [ebp - 0x3fc], eax
lea eax, [ebp - 0x3f8]
push eax
push dword [ebp - 0x400]
call dword [ebp - 0x420]
test eax, eax
je 0x5ba106
nop dword [eax]
mov eax, 8
call fcn.004ed3f0
movsd xmm0, qword [0x61fb80]
movsd qword [esp], xmm0
push dword [ebp - 0x3f8]
lea eax, [ebp - 0x3f8]
push eax
call fcn.00591b20
add esp, 0x10
lea eax, [ebp - 0x3f8]
push eax
push dword [ebp - 0x400]
call dword [ebp - 0x444]
test eax, eax
je 0x5ba106
test edi, edi
je 0x5ba0b0
call esi
sub eax, dword [ebp - 0x3fc]
cmp eax, 0x3e8
jb 0x5ba0b0
mov eax, dword [ebp - 0x448]
push dword [ebp - 0x400]
test eax, eax
je 0x5ba11a
call eax
jmp 0x5ba120
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x404]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.005ba1c0
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.004ed3f0
movsd xmm0, qword [0x5e2ff0]
movsd qword [esp], xmm0
push 0x20
lea eax, [ebp - 0xac]
push eax
call fcn.00591b20
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x42c], eax
mov eax, 8
call fcn.004ed3f0
movsd xmm0, qword [0x5e2ff0]
movsd qword [esp], xmm0
push 4
lea eax, [ebp - 0x42c]
push eax
call fcn.00591b20
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 - 0x1c]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret