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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x67a4f8
push 0x5c19b0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x454
call fcn.005bc520
mov eax, dword [0x68a300]
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 - 0x41c], 0
xor edi, edi
mov dword [ebp - 0x42c], edi
push 0x648234
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call esi
mov dword [ebp - 0x40c], eax
push 0x648244
call esi
mov dword [ebp - 0x408], eax
push 0x648254
call esi
mov dword [ebp - 0x424], eax
xor ecx, ecx
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x3fc], ecx
mov dword [ebp - 0x404], 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 0x583a74
push 0x648264
push eax
call esi
mov dword [ebp - 0x414], eax
push 0x648278
push dword [ebp - 0x424]
call esi
mov edx, eax
mov dword [ebp - 0x418], edx
mov ecx, dword [ebp - 0x414]
test ecx, ecx
je 0x583b23
test edx, edx
je 0x583b23
lea eax, [ebp - 0x400]
push eax
push 0
push 0
push 0x64828c
push 0
call ecx
test eax, eax
jne 0x583ad2
mov eax, 8
call fcn.005bc520
movsd xmm0, qword [0x6484a0]
movsd qword [esp], xmm0
push 0xd8
push dword [ebp - 0x400]
call fcn.0053e100
add esp, 0x10
push dword [ebp - 0x400]
call dword [ebp - 0x418]
lea eax, [ebp - 0x400]
push eax
push 0
push 0
push 0x6482b0
push 0
mov eax, dword [ebp - 0x414]
call eax
test eax, eax
jne 0x583b23
mov eax, 8
call fcn.005bc520
movsd xmm0, qword [0x648498]
movsd qword [esp], xmm0
push 0x44
push dword [ebp - 0x400]
call fcn.0053e100
add esp, 0x10
push dword [ebp - 0x400]
call dword [ebp - 0x418]
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x583b34
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x40c]
test eax, eax
je 0x583b76
push 0x6482cc
push eax
call esi
mov dword [ebp - 0x420], eax
push 0x6482e4
push dword [ebp - 0x40c]
call esi
mov dword [ebp - 0x3fc], eax
push 0x6482f4
push dword [ebp - 0x40c]
call esi
mov ecx, eax
mov dword [ebp - 0x404], ecx
jmp 0x583b78
xor ecx, ecx
mov eax, dword [ebp - 0x420]
test eax, eax
je 0x583c73
cmp dword [ebp - 0x3fc], edi
je 0x583c73
test ecx, ecx
je 0x583c73
push 0xf0000000
push 1
push 0
push 0
lea ecx, [ebp - 0x41c]
push ecx
call eax
test eax, eax
je 0x583c01
lea eax, [ebp - 0x5c]
push eax
push 0x40
push dword [ebp - 0x41c]
call dword [ebp - 0x3fc]
test eax, eax
je 0x583bf3
mov eax, 8
call fcn.005bc520
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0x40
lea eax, [ebp - 0x5c]
push eax
call fcn.0053e100
add esp, 0x10
mov edi, 1
mov dword [ebp - 0x42c], edi
push 0
push dword [ebp - 0x41c]
call dword [ebp - 0x404]
push 0
push 0x16
push 0x648308
push 0
lea eax, [ebp - 0x41c]
push eax
mov ecx, dword [ebp - 0x420]
call ecx
test eax, eax
je 0x583c73
lea eax, [ebp - 0x5c]
push eax
push 0x40
push dword [ebp - 0x41c]
call dword [ebp - 0x3fc]
test eax, eax
je 0x583c65
mov eax, 8
call fcn.005bc520
movsd xmm0, qword [0x6484a8]
movsd qword [esp], xmm0
push 0x40
lea eax, [ebp - 0x5c]
push eax
call fcn.0053e100
add esp, 0x10
mov edi, 1
mov dword [ebp - 0x42c], edi
push 0
push dword [ebp - 0x41c]
call dword [ebp - 0x404]
mov eax, dword [ebp - 0x40c]
test eax, eax
je 0x583c84
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.0052f6e0
test eax, eax
jne 0x583d95
push 0x648364
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x404], eax
test eax, eax
je 0x583d95
push 0x648370
push eax
call esi
mov dword [ebp - 0x410], eax
push 0x648384
push dword [ebp - 0x404]
call esi
mov dword [ebp - 0x428], eax
push 0x648394
push dword [ebp - 0x404]
call esi
mov esi, eax
mov eax, dword [ebp - 0x410]
test eax, eax
je 0x583d0f
call eax
mov dword [ebp - 0x410], eax
mov eax, 8
call fcn.005bc520
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 4
lea eax, [ebp - 0x410]
push eax
call fcn.0053e100
add esp, 0x10
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x583d50
mov dword [ebp - 0x70], 0x14
lea ecx, [ebp - 0x70]
push ecx
call eax
test eax, eax
je 0x583d50
mov eax, 8
call fcn.005bc520
movsd xmm0, qword [0x648470]
movsd qword [esp], xmm0
push dword [ebp - 0x70]
lea eax, [ebp - 0x70]
push eax
call fcn.0053e100
add esp, 0x10
test esi, esi
je 0x583d89
push 0xbf
call esi
mov dword [ebp - 0x430], eax
mov eax, 8
call fcn.005bc520
movsd xmm0, qword [0x60e090]
movsd qword [esp], xmm0
push 4
lea eax, [ebp - 0x430]
push eax
call fcn.0053e100
add esp, 0x10
push dword [ebp - 0x404]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x58428f
xor esi, esi
mov dword [ebp - 0x3fc], esi
mov dword [ebp - 0x414], esi
push 0x6483a4
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x404], eax
push 0x6483c0
push dword [ebp - 0x408]
call esi
mov dword [ebp - 0x448], eax
push 0x6483d8
push dword [ebp - 0x408]
call esi
mov dword [ebp - 0x420], eax
push 0x6483e4
push dword [ebp - 0x408]
call esi
mov dword [ebp - 0x418], eax
push 0x6483f0
push dword [ebp - 0x408]
call esi
mov dword [ebp - 0x424], eax
push 0x648400
push dword [ebp - 0x408]
call esi
mov dword [ebp - 0x40c], eax
push 0x648410
push dword [ebp - 0x408]
call esi
mov dword [ebp - 0x43c], eax
push 0x648420
push dword [ebp - 0x408]
call esi
mov dword [ebp - 0x434], eax
push 0x648430
push dword [ebp - 0x408]
call esi
mov dword [ebp - 0x438], eax
push 0x648440
push dword [ebp - 0x408]
call esi
mov dword [ebp - 0x428], eax
push 0x648450
push dword [ebp - 0x408]
call esi
mov dword [ebp - 0x410], eax
push 0x648460
push dword [ebp - 0x408]
call esi
mov ecx, eax
mov dword [ebp - 0x440], ecx
mov eax, dword [ebp - 0x404]
test eax, eax
je 0x584283
cmp dword [ebp - 0x420], 0
je 0x584283
cmp dword [ebp - 0x418], 0
je 0x584283
cmp dword [ebp - 0x424], 0
je 0x584283
cmp dword [ebp - 0x40c], 0
je 0x584283
cmp dword [ebp - 0x43c], 0
je 0x584283
cmp dword [ebp - 0x434], 0
je 0x584283
cmp dword [ebp - 0x438], 0
je 0x584283
cmp dword [ebp - 0x428], 0
je 0x584283
cmp dword [ebp - 0x410], 0
je 0x584283
test ecx, ecx
je 0x584283
push 0
push 0xf
call eax
mov esi, eax
mov dword [ebp - 0x400], esi
cmp esi, 0xffffffff
je 0x584283
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x6c], 0x10
test edi, edi
je 0x583f5f
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 0x5840d1
mov esi, 0x2a
mov dword [ebp - 0x404], esi
lea ecx, [ecx]
mov eax, 8
call fcn.005bc520
movsd xmm0, qword [0x648478]
movsd qword [esp], xmm0
push dword [ebp - 0x6c]
lea eax, [ebp - 0x6c]
push eax
call fcn.0053e100
add esp, 0x10
wait
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x46c], xmm0
movdqu 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 - 0x420]
test eax, eax
je 0x584065
mov esi, 0x50
mov dword [ebp - 0x444], esi
jmp 0x584000
mov eax, 8
call fcn.005bc520
movsd xmm0, qword [0x648480]
movsd qword [esp], xmm0
push dword [ebp - 0x46c]
lea eax, [ebp - 0x46c]
push eax
call fcn.0053e100
add esp, 0x10
lea eax, [ebp - 0x46c]
push eax
call dword [ebp - 0x418]
test eax, eax
je 0x58405f
test edi, edi
je 0x584054
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x3fc]
cmp eax, 0x3e8
jae 0x58405f
dec esi
mov dword [ebp - 0x444], esi
test esi, esi
jg 0x584000
mov esi, dword [ebp - 0x404]
wait
mov dword [ebp - 4], 0xfffffffe
jmp 0x58409e
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x400]
call dword [ebp - 0x40c]
test eax, eax
je 0x5840d1
test edi, edi
je 0x5840c9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x3fc]
cmp eax, 0x3e8
jae 0x5840d1
test esi, esi
jg 0x583f80
mov dword [ebp - 0x1d4], 0x128
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
test edi, edi
je 0x5840ed
call esi
mov dword [ebp - 0x3fc], eax
lea eax, [ebp - 0x1d4]
push eax
push dword [ebp - 0x400]
call dword [ebp - 0x43c]
test eax, eax
je 0x58415a
mov eax, 8
call fcn.005bc520
movsd xmm0, qword [0x648490]
movsd qword [esp], xmm0
push dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d4]
push eax
call fcn.0053e100
add esp, 0x10
lea eax, [ebp - 0x1d4]
push eax
push dword [ebp - 0x400]
call dword [ebp - 0x434]
test eax, eax
je 0x58415a
test edi, edi
je 0x584104
call esi
sub eax, dword [ebp - 0x3fc]
cmp eax, 0x3e8
jb 0x584104
mov dword [ebp - 0x8c], 0x1c
test edi, edi
je 0x584170
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 0x5841e6
jmp 0x584190
mov eax, 8
call fcn.005bc520
movsd xmm0, qword [0x648488]
movsd qword [esp], xmm0
push dword [ebp - 0x8c]
lea eax, [ebp - 0x8c]
push eax
call fcn.0053e100
add esp, 0x10
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x400]
call dword [ebp - 0x428]
test eax, eax
je 0x5841e6
test edi, edi
je 0x584190
call esi
sub eax, dword [ebp - 0x3fc]
cmp eax, 0x3e8
jb 0x584190
mov dword [ebp - 0x3f8], 0x224
test edi, edi
je 0x5841fc
call esi
mov dword [ebp - 0x3fc], eax
lea eax, [ebp - 0x3f8]
push eax
push dword [ebp - 0x400]
call dword [ebp - 0x410]
test eax, eax
je 0x584269
mov eax, 8
call fcn.005bc520
movsd xmm0, qword [0x648490]
movsd qword [esp], xmm0
push dword [ebp - 0x3f8]
lea eax, [ebp - 0x3f8]
push eax
call fcn.0053e100
add esp, 0x10
lea eax, [ebp - 0x3f8]
push eax
push dword [ebp - 0x400]
call dword [ebp - 0x440]
test eax, eax
je 0x584269
test edi, edi
je 0x584213
call esi
sub eax, dword [ebp - 0x3fc]
cmp eax, 0x3e8
jb 0x584213
mov eax, dword [ebp - 0x448]
push dword [ebp - 0x400]
test eax, eax
je 0x58427d
call eax
jmp 0x584283
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.00584320
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.005bc520
movsd xmm0, qword [0x60e090]
movsd qword [esp], xmm0
push 0x20
lea eax, [ebp - 0xac]
push eax
call fcn.0053e100
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x430], eax
mov eax, 8
call fcn.005bc520
movsd xmm0, qword [0x60e090]
movsd qword [esp], xmm0
push 4
lea eax, [ebp - 0x430]
push eax
call fcn.0053e100
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.005ba7b4
mov esp, ebp
pop ebp
ret