Function at 0x140157390
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.140187630
sub rsp, rax
movaps xmmword [rsp + 0x970], xmm6
movaps xmmword [rsp + 0x960], xmm7
mov rax, qword [0x140229498]
xor rax, rsp
mov qword [rsp + 0x950], rax
xor r12d, r12d
mov qword [rsp + 0x58], r12
mov esi, r12d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x170], 0x114
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rcx, str.ADVAPI32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
lea rcx, str.KERNEL32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x40], rax
lea rcx, str.NETAPI32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
mov r15, r12
mov r14, r12
mov r13, r12
test rax, rax
je 0x140157468
lea rdx, str.NetStatisticsGet
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
lea rdx, str.NetApiBufferFree
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r13, r13
je 0x1401574f2
test r12, r12
je 0x1401574f2
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LanmanWorkstation
xor ecx, ecx
call r13
test eax, eax
jne 0x1401574b5
movsd xmm2, qword [0x1401bee78]
mov edx, 0xd8
mov rcx, qword [rsp + 0x30]
call fcn.140144910
mov rcx, qword [rsp + 0x30]
call r12
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LanmanServer
xor ecx, ecx
call r13
test eax, eax
jne 0x1401574f2
movsd xmm2, qword [0x1401bee50]
lea edx, [rax + 0x44]
mov rcx, qword [rsp + 0x30]
call fcn.140144910
mov rcx, qword [rsp + 0x30]
call r12
test rbx, rbx
je 0x140157500
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rdi, rdi
je 0x140157540
lea rdx, [0x1401bee38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
lea rdx, [0x1401bee28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, [0x1401bee10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
jmp 0x140157543
mov r12, rsi
test r12, r12
je 0x140157632
test r15, r15
je 0x140157632
test r14, r14
je 0x140157632
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call r12
test eax, eax
je 0x1401575c0
lea r8, [rsp + 0x910]
mov ebx, 0x40
mov edx, ebx
mov rcx, qword [rsp + 0x58]
call r15
test eax, eax
je 0x1401575b4
xorpd xmm2, xmm2
mov edx, ebx
lea rcx, [rsp + 0x910]
call fcn.140144910
mov esi, 1
mov dword [rsp + 0x38], esi
xor edx, edx
mov rcx, qword [rsp + 0x58]
call r14
jmp 0x1401575c5
mov ebx, 0x40
mov dword [rsp + 0x20], 0
mov r9d, socket
lea r8, str.Intel_Hardware_Cryptographic_Service_Provider
xor edx, edx
lea rcx, [rsp + 0x58]
call r12
test eax, eax
je 0x140157632
lea r8, [rsp + 0x910]
mov edx, ebx
mov rcx, qword [rsp + 0x58]
call r15
test eax, eax
je 0x140157628
cvtsi2sd xmm2, rbx
test rbx, rbx
jns 0x140157610
addsd xmm2, qword [0x1401b4660]
mov edx, ebx
lea rcx, [rsp + 0x910]
call fcn.140144910
mov esi, 1
mov dword [rsp + 0x38], esi
xor edx, edx
mov rcx, qword [rsp + 0x58]
call r14
test rdi, rdi
je 0x140157640
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [rsp + 0x180], 2
jne 0x140157657
call fcn.140149740
test eax, eax
jne 0x14015774d
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14015774d
lea rdx, [0x1401bed78]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
lea rdx, str.GetCursorInfo
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rdx, [0x1401bed58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r13, r13
je 0x1401576c9
call r13
mov qword [rsp + 0x50], rax
xorpd xmm2, xmm2
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.140144910
test rdi, rdi
je 0x1401576e2
cmp dword [rsp + 0x180], 2
jne 0x1401576e2
cmp dword [rsp + 0x174], 5
jb 0x14015771c
test rdi, rdi
je 0x14015771c
mov dword [rsp + 0xb0], 0x18
lea rcx, [rsp + 0xb0]
call rdi
test eax, eax
je 0x14015771c
movsd xmm2, qword [0x1401bed50]
mov edx, dword [rsp + 0xb0]
lea rcx, [rsp + 0xb0]
call fcn.140144910
test r12, r12
je 0x140157744
mov ecx, 0xbf
call r12
mov dword [rsp + 0x48], eax
movsd xmm2, qword [0x1401b85f0]
mov edx, 4
lea rcx, [rsp + 0x48]
call fcn.140144910
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r15, qword [rsp + 0x40]
test r15, r15
je 0x140157c55
xor edi, edi
mov dword [rsp + 0x30], edi
lea rdx, str.CreateToolhelp32Snapshot
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 + 0x68], 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 + 0xd8], 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 + 0xe0], rax
lea rdx, str.Process32First
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
lea rdx, str.Process32Next
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
lea rdx, str.Thread32First
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x88], rax
lea rdx, str.Thread32Next
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
lea rdx, str.Module32First
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
lea rdx, [0x1401bec78]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xe8], rax
test r12, r12
je 0x140157c4a
test r13, r13
je 0x140157c4a
test r14, r14
je 0x140157c4a
test rbx, rbx
je 0x140157c4a
test r15, r15
je 0x140157c4a
cmp qword [rsp + 0x78], rdi
je 0x140157c4a
mov r13, qword [rsp + 0x70]
test r13, r13
je 0x140157c4a
cmp qword [rsp + 0x88], rdi
je 0x140157c4a
cmp qword [rsp + 0x80], rdi
je 0x140157c4a
cmp qword [rsp + 0x50], rdi
je 0x140157c4a
test rax, rax
je 0x140157c4a
xor edx, edx
lea ecx, [rdi + 0xf]
call r12
mov r12, rax
mov qword [rsp + 0xf0], rax
cmp rax, 0xffffffffffffffff
je 0x140157c4a
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 0x140157951
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x90]
mov rcx, r12
call rbx
test eax, eax
je 0x140157ac0
mov r13d, 0x2a
mov dword [rsp + 0x60], r13d
movsd xmm6, qword [0x1401bec70]
nop
nop
movsd xmm2, qword [0x1401bec68]
mov edx, dword [rsp + 0x90]
lea rcx, [rsp + 0x90]
call fcn.140144910
nop
xor eax, eax
mov qword [rsp + 0xf8], rax
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 + 0xf8], reloc.WS2_32.dll_getservbyport
mov r8, qword [rsp + 0xa0]
mov edx, dword [rsp + 0x98]
lea rcx, [rsp + 0xf8]
call qword [rsp + 0xd0]
test eax, eax
je 0x140157a55
mov ebx, 0x50
mov dword [rsp + 0x64], ebx
nop
movsd xmm2, xmm6
mov edx, dword [rsp + 0xf8]
lea rcx, [rsp + 0xf8]
call fcn.140144910
lea rcx, [rsp + 0xf8]
call r14
test eax, eax
je 0x140157a55
test esi, esi
je 0x140157a4a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jae 0x140157a55
sub ebx, 1
mov dword [rsp + 0x64], ebx
test ebx, ebx
jg 0x140157a10
jmp 0x140157a8d
lea rdx, [rsp + 0x90]
mov rcx, r12
call r15
test eax, eax
je 0x140157abb
test esi, esi
je 0x140157ab2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jae 0x140157abb
test r13d, r13d
jg 0x140157980
mov r13, qword [rsp + 0x70]
mov dword [rsp + 0x290], 0x238
test esi, esi
je 0x140157ad7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
movsxd rbx, esi
lea rdx, [rsp + 0x290]
mov rcx, r12
call qword [rsp + 0x78]
test eax, eax
je 0x140157b34
movsd xmm6, qword [0x1401bec60]
movsd xmm2, xmm6
mov edx, dword [rsp + 0x290]
lea rcx, [rsp + 0x290]
call fcn.140144910
lea rdx, [rsp + 0x290]
mov rcx, r12
call r13
test eax, eax
je 0x140157b3c
test esi, esi
je 0x140157af5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x140157af5
jmp 0x140157b3c
movsd xmm6, qword [0x1401bec60]
mov dword [rsp + 0xb0], 0x1c
test esi, esi
je 0x140157b53
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea rdx, [rsp + 0xb0]
mov rcx, r12
call qword [rsp + 0x88]
test eax, eax
je 0x140157bc1
movsd xmm7, qword [0x1401bec58]
mov rsi, qword [rsp + 0x80]
nop
nop
movsd xmm2, xmm7
mov edx, dword [rsp + 0xb0]
lea rcx, [rsp + 0xb0]
call fcn.140144910
lea rdx, [rsp + 0xb0]
mov rcx, r12
call rsi
test eax, eax
je 0x140157bbd
test rbx, rbx
je 0x140157b80
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x140157b80
mov esi, dword [rsp + 0x38]
mov dword [rsp + 0x4d0], 0x438
test esi, esi
je 0x140157bd8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea rdx, [rsp + 0x4d0]
mov rcx, r12
call qword [rsp + 0x50]
test eax, eax
je 0x140157c30
mov rsi, qword [rsp + 0xe8]
movsd xmm2, xmm6
mov edx, dword [rsp + 0x4d0]
lea rcx, [rsp + 0x4d0]
call fcn.140144910
lea rdx, [rsp + 0x4d0]
mov rcx, r12
call rsi
test eax, eax
je 0x140157c30
test rbx, rbx
je 0x140157bf3
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x140157bf3
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140157c41
mov rcx, r12
call rax
jmp 0x140157c4a
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [reloc.WS2_32.dll_accept]
test eax, eax
je 0x140157c8f
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x140157c76
mov dword [reloc.WS2_32.dll_accept], eax
jmp 0x140157c93
xorpd xmm2, xmm2
mov edx, 8
lea rcx, [rsp + 0x68]
call fcn.140144910
mov eax, dword [reloc.WS2_32.dll_accept]
test eax, eax
jne 0x140157cb0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x30], eax
xorpd xmm2, xmm2
mov edx, 4
lea rcx, [rsp + 0x30]
call fcn.140144910
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
movsd xmm6, qword [0x1401b85f0]
movsd xmm2, xmm6
mov edx, reloc.WS2_32.dll_getservbyport
lea rcx, [rsp + 0x130]
call fcn.140144910
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x48], eax
movsd xmm2, xmm6
mov edx, 4
lea rcx, [rsp + 0x48]
call fcn.140144910
mov eax, 1
mov rcx, qword [rsp + 0x950]
xor rcx, rsp
call fcn.14011f1c0
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