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

Disassembly:
push ebp
lea ebp, [esp - 0x474]
mov eax, 0x474
call fcn.004ae7f0
push 0xfffffffffffffffe
push 0x5f12f0
push 0x4af1e0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x70
call fcn.004ae7f0
mov eax, dword [0x5f7448]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x470], 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 - 0x38], 0
xor edi, edi
mov dword [ebp - 0x50], edi
mov dword [ebp + 0x34c], 0x94
lea eax, [ebp + 0x34c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
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 - 0x20], eax
push str.NETAPI32.DLL
call ebx
mov dword [ebp - 0x40], eax
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
xor edx, edx
mov dword [ebp - 0x34], edx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x541b92
push str.NetStatisticsGet
push eax
call ebx
mov dword [ebp - 0x2c], eax
push str.NetApiBufferFree
push dword [ebp - 0x40]
call ebx
mov edx, eax
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x541c26
test edx, edx
je 0x541c26
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push str.LanmanWorkstation
push 0
call ecx
test eax, eax
jne 0x541be4
mov eax, 8
call fcn.004ae7f0
movsd xmm0, qword [0x5c24e0]
movsd qword [esp], xmm0
push 0xd8
push dword [ebp - 0x1c]
call fcn.004f89a0
add esp, 0x10
push dword [ebp - 0x1c]
call dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push str.LanmanServer
push 0
mov eax, dword [ebp - 0x2c]
call eax
test eax, eax
jne 0x541c26
mov eax, 8
call fcn.004ae7f0
movsd xmm0, qword [0x5c24d8]
movsd qword [esp], xmm0
push 0x44
push dword [ebp - 0x1c]
call fcn.004f89a0
add esp, 0x10
push dword [ebp - 0x1c]
call dword [ebp - 0x34]
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x541c34
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x541c5d
push str.CryptAcquireContextW
push esi
call ebx
mov dword [ebp - 0x30], eax
push str.CryptGenRandom
push esi
call ebx
mov dword [ebp - 0x24], eax
push 0x5c2334
push esi
call ebx
mov ecx, eax
mov dword [ebp - 0x28], ecx
jmp 0x541c5f
xor ecx, ecx
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x541d39
cmp dword [ebp - 0x24], edi
je 0x541d39
test ecx, ecx
je 0x541d39
push 0xf0000000
push 1
push 0
push 0
lea ecx, [ebp - 0x38]
push ecx
call eax
test eax, eax
je 0x541cd6
lea eax, [ebp + 0x430]
push eax
push 0x40
push dword [ebp - 0x38]
call dword [ebp - 0x24]
test eax, eax
je 0x541cce
mov eax, 8
call fcn.004ae7f0
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0x40
lea eax, [ebp + 0x430]
push eax
call fcn.004f89a0
add esp, 0x10
mov edi, 1
mov dword [ebp - 0x50], edi
push 0
push dword [ebp - 0x38]
call dword [ebp - 0x28]
push 0
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x30]
call ecx
test eax, eax
je 0x541d39
lea eax, [ebp + 0x430]
push eax
push 0x40
push dword [ebp - 0x38]
call dword [ebp - 0x24]
test eax, eax
je 0x541d31
mov eax, 8
call fcn.004ae7f0
movsd xmm0, qword [0x5c24e8]
movsd qword [esp], xmm0
push 0x40
lea eax, [ebp + 0x430]
push eax
call fcn.004f89a0
add esp, 0x10
mov edi, 1
mov dword [ebp - 0x50], edi
push 0
push dword [ebp - 0x38]
call dword [ebp - 0x28]
test esi, esi
je 0x541d44
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp + 0x35c], 2
jne 0x541d5a
call fcn.004e53f0
test eax, eax
jne 0x541e59
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x541e59
push str.GetForegroundWindow
push esi
call ebx
mov dword [ebp - 0x3c], eax
push str.GetCursorInfo
push esi
call ebx
mov dword [ebp - 0x44], eax
push str.GetQueueStatus
push esi
call ebx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x541dbc
call eax
mov dword [ebp - 0x3c], eax
mov eax, 8
call fcn.004ae7f0
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 4
lea eax, [ebp - 0x3c]
push eax
call fcn.004f89a0
add esp, 0x10
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x541e1c
cmp dword [ebp + 0x35c], 2
jne 0x541dd5
cmp dword [ebp + 0x350], 5
jb 0x541e1c
test eax, eax
je 0x541e1c
mov dword [ebp + 0x41c], 0x14
lea ecx, [ebp + 0x41c]
push ecx
call eax
test eax, eax
je 0x541e1c
mov eax, 8
call fcn.004ae7f0
movsd xmm0, qword [0x5c24b0]
movsd qword [esp], xmm0
push dword [ebp + 0x41c]
lea eax, [ebp + 0x41c]
push eax
call fcn.004f89a0
add esp, 0x10
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x541e52
push 0xbf
call eax
mov dword [ebp - 0x4c], eax
mov eax, 8
call fcn.004ae7f0
movsd xmm0, qword [0x5a6358]
movsd qword [esp], xmm0
push 4
lea eax, [ebp - 0x4c]
push eax
call fcn.004f89a0
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x20], 0
je 0x542260
xor esi, esi
mov dword [ebp - 0x24], esi
push 0x5c23e4
mov esi, dword [ebp - 0x20]
push esi
call ebx
mov dword [ebp - 0x28], eax
push str.CloseToolhelp32Snapshot
push esi
call ebx
mov dword [ebp - 0x58], eax
push str.Heap32First
push esi
call ebx
mov dword [ebp - 0x40], eax
push str.Heap32Next
push esi
call ebx
mov dword [ebp - 0x30], eax
push str.Heap32ListFirst
push esi
call ebx
mov esi, eax
mov dword [ebp - 0x5c], esi
push str.Heap32ListNext
push dword [ebp - 0x20]
call ebx
mov dword [ebp - 0x34], eax
push 0x5c2450
push dword [ebp - 0x20]
call ebx
mov dword [ebp - 0x2c], eax
push 0x5c2460
push dword [ebp - 0x20]
call ebx
mov dword [ebp - 0x54], eax
push str.Thread32First
push dword [ebp - 0x20]
call ebx
mov dword [ebp - 0x48], eax
push str.Thread32Next
push dword [ebp - 0x20]
call ebx
mov dword [ebp - 0x44], eax
push str.Module32First
push dword [ebp - 0x20]
call ebx
mov dword [ebp - 0x3c], eax
push str.Module32Next
push dword [ebp - 0x20]
call ebx
mov ecx, eax
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x542257
cmp dword [ebp - 0x40], 0
je 0x542257
cmp dword [ebp - 0x30], 0
je 0x542257
test esi, esi
je 0x542257
cmp dword [ebp - 0x34], 0
je 0x542257
cmp dword [ebp - 0x2c], 0
je 0x542257
cmp dword [ebp - 0x54], 0
je 0x542257
cmp dword [ebp - 0x48], 0
je 0x542257
cmp dword [ebp - 0x44], 0
je 0x542257
cmp dword [ebp - 0x3c], 0
je 0x542257
test ecx, ecx
je 0x542257
push 0
push 0xf
call eax
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, 0xffffffff
je 0x542257
xorps xmm0, xmm0
movq qword [ebp + 0x420], xmm0
movq qword [ebp + 0x428], xmm0
mov dword [ebp + 0x420], 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
test edi, edi
je 0x541fac
call ebx
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x420]
push eax
push esi
call dword [ebp - 0x5c]
test eax, eax
je 0x5420f9
mov esi, 0x2a
mov dword [ebp - 0x28], esi
jmp 0x541fd0
mov eax, 8
call fcn.004ae7f0
movsd xmm0, qword [0x5c24b8]
movsd qword [esp], xmm0
push dword [ebp + 0x420]
lea eax, [ebp + 0x420]
push eax
call fcn.004f89a0
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 + 0x428]
push dword [ebp + 0x424]
lea eax, [ebp - 0x88]
push eax
call dword [ebp - 0x40]
test eax, eax
je 0x5420a6
mov esi, 0x50
mov dword [ebp - 0x64], esi
mov eax, 8
call fcn.004ae7f0
movsd xmm0, qword [0x5c24c0]
movsd qword [esp], xmm0
push dword [ebp - 0x88]
lea eax, [ebp - 0x88]
push eax
call fcn.004f89a0
add esp, 0x10
lea eax, [ebp - 0x88]
push eax
call dword [ebp - 0x30]
test eax, eax
je 0x5420a3
test edi, edi
je 0x54209b
call ebx
sub eax, dword [ebp - 0x24]
cmp eax, 0x3e8
jae 0x5420a3
dec esi
mov dword [ebp - 0x64], esi
test esi, esi
jg 0x542051
mov esi, dword [ebp - 0x28]
wait
mov dword [ebp - 4], 0xfffffffe
jmp 0x5420d0
lea eax, [ebp + 0x420]
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x34]
test eax, eax
je 0x5420f9
test edi, edi
je 0x5420f1
call ebx
sub eax, dword [ebp - 0x24]
cmp eax, 0x3e8
jae 0x5420f9
test esi, esi
jg 0x541fd0
mov dword [ebp + 0x224], 0x128
test edi, edi
je 0x54210d
call ebx
mov esi, eax
jmp 0x542110
mov esi, dword [ebp - 0x24]
lea eax, [ebp + 0x224]
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x2c]
test eax, eax
je 0x54216d
mov eax, 8
call fcn.004ae7f0
movsd xmm0, qword [0x5c24d0]
movsd qword [esp], xmm0
push dword [ebp + 0x224]
lea eax, [ebp + 0x224]
push eax
call fcn.004f89a0
add esp, 0x10
lea eax, [ebp + 0x224]
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x54]
test eax, eax
je 0x54216d
test edi, edi
je 0x542121
call ebx
sub eax, esi
cmp eax, 0x3e8
jb 0x542121
mov dword [ebp + 0x400], 0x1c
test edi, edi
je 0x54217f
call ebx
mov esi, eax
lea eax, [ebp + 0x400]
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x48]
test eax, eax
je 0x5421dc
mov eax, 8
call fcn.004ae7f0
movsd xmm0, qword [0x5c24c8]
movsd qword [esp], xmm0
push dword [ebp + 0x400]
lea eax, [ebp + 0x400]
push eax
call fcn.004f89a0
add esp, 0x10
lea eax, [ebp + 0x400]
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x44]
test eax, eax
je 0x5421dc
test edi, edi
je 0x542190
call ebx
sub eax, esi
cmp eax, 0x3e8
jb 0x542190
mov dword [ebp], 0x224
test edi, edi
je 0x5421eb
call ebx
mov esi, eax
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x3c]
test eax, eax
je 0x542243
lea esp, [esp]
mov eax, 8
call fcn.004ae7f0
movsd xmm0, qword [0x5c24d0]
movsd qword [esp], xmm0
push dword [ebp]
lea eax, [ebp]
push eax
call fcn.004f89a0
add esp, 0x10
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x60]
test eax, eax
je 0x542243
test edi, edi
je 0x542200
call ebx
sub eax, esi
cmp eax, 0x3e8
jb 0x542200
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x1c]
test eax, eax
je 0x542251
call eax
jmp 0x542257
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.005422f0
lea eax, [ebp + 0x3e0]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.004ae7f0
movsd xmm0, qword [0x5a6358]
movsd qword [esp], xmm0
push 0x20
lea eax, [ebp + 0x3e0]
push eax
call fcn.004f89a0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x4c], eax
mov eax, 8
call fcn.004ae7f0
movsd xmm0, qword [0x5a6358]
movsd qword [esp], xmm0
push 4
lea eax, [ebp - 0x4c]
push eax
call fcn.004f89a0
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 + 0x470]
xor ecx, ebp
call fcn.004adbd4
lea esp, [ebp + 0x474]
pop ebp
ret