Function at 0x140085740
Capabilities:
Check for time delay via gettickcount
Check os version
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, 0x980
call fcn.1400be0c0
sub rsp, rax
movaps xmmword [rsp + 0x970], xmm6
movaps xmmword [rsp + 0x960], xmm7
mov rax, qword [0x140197e90]
xor rax, rsp
mov qword [rsp + 0x950], rax
xor edi, edi
mov qword [rsp + 0x50], rdi
mov esi, edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x170], VarUI4FromDisp
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rcx, str.ADVAPI32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r12, rax
lea rcx, [0x140189c10]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x38], rax
lea rcx, str.NETAPI32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
mov r15, rdi
mov r14, rdi
mov r13, rdi
test rax, rax
je 0x140085815
lea rdx, str.NetStatisticsGet
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, str.NetApiBufferFree
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test r14, r14
je 0x14008589f
test r13, r13
je 0x14008589f
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LanmanWorkstation
xor ecx, ecx
call r14
test eax, eax
jne 0x140085862
movsd xmm2, qword [0x14011d878]
mov edx, 0xd8
mov rcx, qword [rsp + 0x40]
call fcn.140061940
mov rcx, qword [rsp + 0x40]
call r13
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LanmanServer
xor ecx, ecx
call r14
test eax, eax
jne 0x14008589f
movsd xmm2, qword [0x14011d870]
lea edx, [rax + 0x44]
mov rcx, qword [rsp + 0x40]
call fcn.140061940
mov rcx, qword [rsp + 0x40]
call r13
test rbx, rbx
je 0x1400858ad
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test r12, r12
je 0x1400858ed
lea rdx, str.CryptAcquireContextW
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, str.CryptGenRandom
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
lea rdx, str.CryptReleaseContext
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
jmp 0x1400858f3
mov r13, rdi
mov r14, rdi
test r14, r14
je 0x1400859e2
test r13, r13
je 0x1400859e2
test r15, r15
je 0x1400859e2
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call r14
test eax, eax
je 0x140085970
lea r8, [rsp + 0x910]
mov ebx, 0x40
mov edx, ebx
mov rcx, qword [rsp + 0x50]
call r13
test eax, eax
je 0x140085964
xorpd xmm2, xmm2
mov edx, ebx
lea rcx, [rsp + 0x910]
call fcn.140061940
mov esi, 1
mov dword [rsp + 0x30], esi
xor edx, edx
mov rcx, qword [rsp + 0x50]
call r15
jmp 0x140085975
mov ebx, 0x40
mov dword [rsp + 0x20], edi
mov r9d, 0x16
lea r8, str.Intel_Hardware_Cryptographic_Service_Provider
xor edx, edx
lea rcx, [rsp + 0x50]
call r14
test eax, eax
je 0x1400859e2
lea r8, [rsp + 0x910]
mov edx, ebx
mov rcx, qword [rsp + 0x50]
call r13
test eax, eax
je 0x1400859d8
pxor xmm2, xmm2
cvtsi2sd xmm2, rbx
test rbx, rbx
jns 0x1400859c0
addsd xmm2, qword [0x140134fc0]
mov edx, ebx
lea rcx, [rsp + 0x910]
call fcn.140061940
mov esi, 1
mov dword [rsp + 0x30], esi
xor edx, edx
mov rcx, qword [rsp + 0x50]
call r15
test r12, r12
je 0x1400859f0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [rsp + 0x180], 2
jne 0x140085a07
call fcn.140061270
test eax, eax
jne 0x140085afe
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x140085afe
lea rdx, str.GetForegroundWindow
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, str.GetCursorInfo
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
lea rdx, str.GetQueueStatus
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test r14, r14
je 0x140085a79
call r14
mov qword [rsp + 0x60], rax
xorpd xmm2, xmm2
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.140061940
test r12, r12
je 0x140085a92
cmp dword [rsp + 0x180], 2
jne 0x140085a92
cmp dword [rsp + 0x174], 5
jb 0x140085acd
test r12, r12
je 0x140085acd
mov dword [rsp + 0xb0], 0x18
lea rcx, [rsp + 0xb0]
call r12
test eax, eax
je 0x140085acd
movsd xmm2, qword [0x14011d868]
mov edx, dword [rsp + 0xb0]
lea rcx, [rsp + 0xb0]
call fcn.140061940
test r13, r13
je 0x140085af5
mov ecx, 0xbf
call r13
mov dword [rsp + 0x48], eax
movsd xmm2, qword [0x140134f80]
mov edx, 4
lea rcx, [rsp + 0x48]
call fcn.140061940
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r15, qword [rsp + 0x38]
test r15, r15
je 0x140086009
mov dword [rsp + 0x40], edi
lea rdx, [0x140189dc0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
lea rdx, str.CloseToolhelp32Snapshot
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xd8], rax
lea rdx, str.Heap32First
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
mov qword [rsp + 0xd0], rax
lea rdx, str.Heap32Next
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
mov qword [rsp + 0xe8], 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 + 0xf8], rax
lea rdx, str.Process32First
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
lea rdx, str.Process32Next
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
lea rdx, str.Thread32First
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
lea rdx, str.Thread32Next
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x88], rax
lea rdx, [0x140189e78]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
lea rdx, [0x140189e88]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xf0], rax
test r12, r12
je 0x140085ffe
test r13, r13
je 0x140085ffe
test r14, r14
je 0x140085ffe
test rbx, rbx
je 0x140085ffe
test r15, r15
je 0x140085ffe
cmp qword [rsp + 0x80], rdi
je 0x140085ffe
mov r13, qword [rsp + 0x78]
test r13, r13
je 0x140085ffe
cmp qword [rsp + 0x70], rdi
je 0x140085ffe
cmp qword [rsp + 0x88], rdi
je 0x140085ffe
cmp qword [rsp + 0x60], rdi
je 0x140085ffe
test rax, rax
je 0x140085ffe
xor edx, edx
lea ecx, [rdx + 0xf]
call r12
mov r12, rax
mov qword [rsp + 0xe0], rax
cmp rax, 0xffffffffffffffff
je 0x140085ffe
xor eax, eax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x90], 0x20
test esi, esi
je 0x140085d03
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x90]
mov rcx, r12
call rbx
test eax, eax
je 0x140085e6e
mov r13d, 0x2a
mov dword [rsp + 0x58], r13d
movsd xmm6, qword [0x14011d860]
nop dword [rax + rax]
movsd xmm2, qword [0x140134f88]
mov edx, dword [rsp + 0x90]
lea rcx, [rsp + 0x90]
call fcn.140061940
nop
xor eax, eax
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x100], 0x38
mov r8, qword [rsp + 0xa0]
mov edx, dword [rsp + 0x98]
lea rcx, [rsp + 0x100]
call qword [rsp + 0xd0]
test eax, eax
je 0x140085e04
mov ebx, 0x50
mov dword [rsp + 0x68], ebx
nop
movapd xmm2, xmm6
mov edx, dword [rsp + 0x100]
lea rcx, [rsp + 0x100]
call fcn.140061940
lea rcx, [rsp + 0x100]
call r14
test eax, eax
je 0x140085e04
test esi, esi
je 0x140085dfa
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jae 0x140085e04
dec ebx
mov dword [rsp + 0x68], ebx
test ebx, ebx
jg 0x140085dc0
jmp 0x140085e3b
lea rdx, [rsp + 0x90]
mov rcx, r12
call r15
test eax, eax
je 0x140085e69
test esi, esi
je 0x140085e60
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jae 0x140085e69
test r13d, r13d
jg 0x140085d30
mov r13, qword [rsp + 0x78]
mov dword [rsp + 0x290], 0x238
test esi, esi
je 0x140085e85
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
movsxd rbx, esi
lea rdx, [rsp + 0x290]
mov rcx, r12
call qword [rsp + 0x80]
test eax, eax
je 0x140085eef
movsd xmm6, qword [0x14011d858]
nop word [rax + rax]
movapd xmm2, xmm6
mov edx, dword [rsp + 0x290]
lea rcx, [rsp + 0x290]
call fcn.140061940
lea rdx, [rsp + 0x290]
mov rcx, r12
call r13
test eax, eax
je 0x140085ef7
test esi, esi
je 0x140085eb0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x140085eb0
jmp 0x140085ef7
movsd xmm6, qword [0x14011d858]
mov dword [rsp + 0xb0], 0x1c
test esi, esi
je 0x140085f0e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea rdx, [rsp + 0xb0]
mov rcx, r12
call qword [rsp + 0x70]
test eax, eax
je 0x140085f72
movsd xmm7, qword [0x14011d850]
mov rsi, qword [rsp + 0x88]
movapd xmm2, xmm7
mov edx, dword [rsp + 0xb0]
lea rcx, [rsp + 0xb0]
call fcn.140061940
lea rdx, [rsp + 0xb0]
mov rcx, r12
call rsi
test eax, eax
je 0x140085f6e
test rbx, rbx
je 0x140085f31
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x140085f31
mov esi, dword [rsp + 0x30]
mov dword [rsp + 0x4d0], 0x438
test esi, esi
je 0x140085f89
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea rdx, [rsp + 0x4d0]
mov rcx, r12
call qword [rsp + 0x60]
test eax, eax
je 0x140085fe1
mov rsi, qword [rsp + 0xf0]
movapd xmm2, xmm6
mov edx, dword [rsp + 0x4d0]
lea rcx, [rsp + 0x4d0]
call fcn.140061940
lea rdx, [rsp + 0x4d0]
mov rcx, r12
call rsi
test eax, eax
je 0x140085fe1
test rbx, rbx
je 0x140085fa4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x140085fa4
mov rax, qword [rsp + 0xd8]
test rax, rax
je 0x140085ff5
mov rcx, r12
call rax
jmp 0x140085ffe
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.1400856d0
lea rcx, [rsp + 0x138]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
movsd xmm6, qword [0x140134f80]
movapd xmm2, xmm6
mov edx, 0x38
lea rcx, [rsp + 0x138]
call fcn.140061940
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x48], eax
movapd xmm2, xmm6
mov edx, 4
lea rcx, [rsp + 0x48]
call fcn.140061940
mov eax, 1
mov rcx, qword [rsp + 0x950]
xor rcx, rsp
call fcn.1400b9010
lea r11, [rsp + 0x980]
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