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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
mov eax, 0x870
call fcn.1802cf310
sub rsp, rax
movaps xmmword [rsp + 0x860], xmm6
movaps xmmword [rsp + 0x850], xmm7
mov rax, qword [0x18058aed8]
xor rax, rsp
mov qword [rsp + 0x840], rax
xor edi, edi
mov qword [rsp + 0x48], rdi
mov esi, edi
lea rcx, str.ADVAPI32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r14, rax
lea rcx, [0x1805a22b0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x30], rax
lea rcx, str.NETAPI32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
mov r13d, edi
mov r12d, edi
mov r15d, edi
test rax, rax
je 0x180320618
lea rdx, str.NetStatisticsGet
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
lea rdx, str.NetApiBufferFree
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test r12, r12
je 0x1803206a2
test r15, r15
je 0x1803206a2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LanmanWorkstation
xor ecx, ecx
call r12
test eax, eax
jne 0x180320665
movsd xmm2, qword [0x18046e008]
mov edx, 0xd8
mov rcx, qword [rsp + 0x40]
call fcn.1802e2190
mov rcx, qword [rsp + 0x40]
call r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LanmanServer
xor ecx, ecx
call r12
test eax, eax
jne 0x1803206a2
movsd xmm2, qword [0x18046e000]
lea edx, [rax + 0x44]
mov rcx, qword [rsp + 0x40]
call fcn.1802e2190
mov rcx, qword [rsp + 0x40]
call r15
test rbx, rbx
je 0x1803206b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test r14, r14
je 0x1803206f0
lea rdx, str.CryptAcquireContextW
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
lea rdx, str.CryptGenRandom
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.CryptReleaseContext
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
jmp 0x1803206f6
mov r15, rdi
mov r12, rdi
test r12, r12
je 0x1803207d2
test r15, r15
je 0x1803207d2
test r13, r13
je 0x1803207d2
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call r12
mov ebx, 0x40
test eax, eax
je 0x18032076a
lea r8, [rsp + 0x800]
mov edx, ebx
mov rcx, qword [rsp + 0x48]
call r15
test eax, eax
je 0x180320760
xorps xmm2, xmm2
mov edx, ebx
lea rcx, [rsp + 0x800]
call fcn.1802e2190
lea esi, [rbx - 0x3f]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call r13
mov dword [rsp + 0x20], edi
mov r9d, socket
lea r8, str.Intel_Hardware_Cryptographic_Service_Provider
xor edx, edx
lea rcx, [rsp + 0x48]
call r12
test eax, eax
je 0x1803207d2
lea r8, [rsp + 0x800]
mov edx, ebx
mov rcx, qword [rsp + 0x48]
call r15
test eax, eax
je 0x1803207c8
xorps xmm2, xmm2
cvtsi2sd xmm2, rbx
test rbx, rbx
jns 0x1803207b4
addsd xmm2, qword [0x18046e010]
mov edx, ebx
lea rcx, [rsp + 0x800]
call fcn.1802e2190
mov esi, 1
xor edx, edx
mov rcx, qword [rsp + 0x48]
call r13
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x74], esi
mov dword [rsp + 0x40], esi
mov r13d, esi
mov dword [rsp + 0x58], esi
test r14, r14
je 0x1803207f3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.1802d3f90
test eax, eax
jne 0x1803208dd
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x1803208dd
lea rdx, str.GetForegroundWindow
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
lea rdx, str.GetCursorInfo
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, str.GetQueueStatus
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test r12, r12
je 0x180320871
call r12
mov qword [rsp + 0x60], rax
xorps xmm2, xmm2
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.1802e2190
test r14, r14
je 0x1803208ac
mov dword [rsp + 0x100], 0x18
lea rcx, [rsp + 0x100]
call r14
test eax, eax
je 0x1803208ac
movsd xmm2, qword [0x18046dfd8]
mov edx, dword [rsp + 0x100]
lea rcx, [rsp + 0x100]
call fcn.1802e2190
test r15, r15
je 0x1803208d4
mov ecx, 0xbf
call r15
mov dword [rsp + 0x38], eax
movsd xmm2, qword [0x1803e33b8]
mov edx, 4
lea rcx, [rsp + 0x38]
call fcn.1802e2190
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r15, qword [rsp + 0x30]
test r15, r15
je 0x180320de6
mov dword [rsp + 0x54], edi
lea rdx, [0x1805a2460]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, str.CloseToolhelp32Snapshot
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xc0], rax
lea rdx, str.Heap32First
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
lea rdx, str.Heap32Next
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
mov qword [rsp + 0xa0], rax
lea rdx, str.Heap32ListFirst
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.Heap32ListNext
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
mov qword [rsp + 0xb0], rax
lea rdx, str.Process32First
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x88], rax
lea rdx, str.Process32Next
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
lea rdx, str.Thread32First
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], rax
lea rdx, str.Thread32Next
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
lea rdx, [0x1805a2518]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
lea rdx, [0x1805a2528]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb8], rax
test r14, r14
je 0x180320ddb
cmp qword [rsp + 0x78], rdi
je 0x180320ddb
test r12, r12
je 0x180320ddb
test rbx, rbx
je 0x180320ddb
test r15, r15
je 0x180320ddb
cmp qword [rsp + 0x88], rdi
je 0x180320ddb
mov r15, qword [rsp + 0x80]
test r15, r15
je 0x180320ddb
cmp qword [rsp + 0x90], rdi
je 0x180320ddb
cmp qword [rsp + 0x98], rdi
je 0x180320ddb
cmp qword [rsp + 0x60], rdi
je 0x180320ddb
test rax, rax
je 0x180320ddb
xor edx, edx
lea ecx, [rdx + 0xf]
call r14
mov r14, rax
mov qword [rsp + 0xa8], rax
cmp rax, 0xffffffffffffffff
je 0x180320ddb
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x130], rdi
mov qword [rsp + 0x138], rdi
mov qword [rsp + 0x120], 0x20
test esi, esi
je 0x180320ae0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [rsp + 0x54], eax
lea rdx, [rsp + 0x120]
mov rcx, r14
call rbx
test eax, eax
je 0x180320c51
mov r15d, 0x2a
mov dword [rsp + 0x50], r15d
movsd xmm6, qword [0x18046dfe8]
nop dword [rax + rax]
movsd xmm2, qword [0x18046dfe0]
mov edx, dword [rsp + 0x120]
lea rcx, [rsp + 0x120]
call fcn.1802e2190
nop
xor eax, eax
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0xc8], 0x38
mov r8, qword [rsp + 0x130]
mov edx, dword [rsp + 0x128]
lea rcx, [rsp + 0xc8]
call qword [rsp + pe_nt_image_headers64]
test eax, eax
je 0x180320be3
mov ebx, 0x50
mov dword [rsp + 0x68], ebx
nop dword [rax + rax]
movaps xmm2, xmm6
mov edx, dword [rsp + 0xc8]
lea rcx, [rsp + 0xc8]
call fcn.1802e2190
lea rcx, [rsp + 0xc8]
call r12
test eax, eax
je 0x180320be3
test esi, esi
je 0x180320bd9
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jae 0x180320be3
dec ebx
mov dword [rsp + 0x68], ebx
test ebx, ebx
jg 0x180320ba0
jmp 0x180320c16
lea rdx, [rsp + 0x120]
mov rcx, r14
call qword [rsp + 0xb0]
test eax, eax
je 0x180320c49
test r13d, r13d
je 0x180320c40
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jae 0x180320c49
test r15d, r15d
jg 0x180320b10
mov r15, qword [rsp + 0x80]
mov dword [rsp + 0x180], 0x238
test r13d, r13d
je 0x180320c69
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea rdx, [rsp + 0x180]
mov rcx, r14
call qword [rsp + 0x88]
movsd xmm6, qword [0x18046dff8]
test eax, eax
je 0x180320ccc
mov ebx, dword [rsp + 0x70]
nop dword [rax + rax]
movaps xmm2, xmm6
mov edx, dword [rsp + 0x180]
lea rcx, [rsp + 0x180]
call fcn.1802e2190
lea rdx, [rsp + 0x180]
mov rcx, r14
call r15
test eax, eax
je 0x180320ccc
test ebx, ebx
je 0x180320c90
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x180320c90
mov dword [rsp + 0x100], 0x1c
test r13d, r13d
je 0x180320ce4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea rdx, [rsp + 0x100]
mov rcx, r14
call qword [rsp + 0x90]
test eax, eax
je 0x180320d4f
movsd xmm7, qword [0x18046dff0]
mov ebx, dword [rsp + 0x74]
mov r13, qword [rsp + 0x98]
nop
movaps xmm2, xmm7
mov edx, dword [rsp + 0x100]
lea rcx, [rsp + 0x100]
call fcn.1802e2190
lea rdx, [rsp + 0x100]
mov rcx, r14
call r13
test eax, eax
je 0x180320d4c
test ebx, ebx
je 0x180320d10
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x180320d10
mov r13d, ebx
mov dword [rsp + 0x3c0], 0x438
test r13d, r13d
je 0x180320d67
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea rdx, [rsp + 0x3c0]
mov rcx, r14
call qword [rsp + 0x60]
test eax, eax
je 0x180320dc1
mov ebx, dword [rsp + 0x40]
mov rsi, qword [rsp + 0xb8]
movaps xmm2, xmm6
mov edx, dword [rsp + 0x3c0]
lea rcx, [rsp + 0x3c0]
call fcn.1802e2190
lea rdx, [rsp + 0x3c0]
mov rcx, r14
call rsi
test eax, eax
je 0x180320dc1
test ebx, ebx
je 0x180320d86
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x180320d86
mov rax, qword [rsp + 0xc0]
mov rcx, r14
test rax, rax
je 0x180320dd5
call rax
jmp 0x180320ddb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.180320e80
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
movsd xmm2, qword [0x1803e33b8]
mov edx, 0x38
lea rcx, [rsp + 0x140]
call fcn.1802e2190
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x38], eax
movsd xmm2, qword [0x1803e33b8]
mov edx, 4
lea rcx, [rsp + 0x38]
call fcn.1802e2190
mov eax, 1
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1802d6020
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
ret