Function at 0x180057940
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, 0x860
call fcn.1801c83e0
sub rsp, rax
movaps xmmword [rsp + 0x850], xmm6
movaps xmmword [rsp + 0x840], xmm7
mov rax, qword [0x1802d1460]
xor rax, rsp
mov qword [rsp + 0x830], rax
xor edi, edi
mov qword [rsp + 0x50], rdi
mov esi, edi
mov dword [rsp + 0x30], edi
lea rcx, str.ADVAPI32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r12, rax
lea rcx, [0x1802b9d50]
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 r15d, edi
mov r14d, edi
mov r13d, edi
test rax, rax
je 0x1800579fc
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 0x180057a86
test r13, r13
je 0x180057a86
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 0x180057a49
movsd xmm2, qword [0x18021be30]
mov edx, 0xd8
mov rcx, qword [rsp + 0x40]
call fcn.180010360
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 0x180057a86
movsd xmm2, qword [0x18021be28]
lea edx, [rax + 0x44]
mov rcx, qword [rsp + 0x40]
call fcn.180010360
mov rcx, qword [rsp + 0x40]
call r13
test rbx, rbx
je 0x180057a94
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test r12, r12
je 0x180057ad4
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 0x180057ada
mov r13, rdi
mov r14, rdi
test r14, r14
je 0x180057bc2
test r13, r13
je 0x180057bc2
test r15, r15
je 0x180057bc2
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call r14
mov ebx, 0x40
test eax, eax
je 0x180057b55
lea r8, [rsp + 0x7f0]
mov edx, ebx
mov rcx, qword [rsp + 0x50]
call r13
test eax, eax
je 0x180057b4b
xorpd xmm2, xmm2
mov edx, ebx
lea rcx, [rsp + 0x7f0]
call fcn.180010360
mov esi, 1
mov dword [rsp + 0x30], esi
xor edx, edx
mov rcx, qword [rsp + 0x50]
call r15
mov dword [rsp + 0x20], edi
mov r9d, reloc.WS2_32.dll_shutdown
lea r8, str.Intel_Hardware_Cryptographic_Service_Provider
xor edx, edx
lea rcx, [rsp + 0x50]
call r14
test eax, eax
je 0x180057bc2
lea r8, [rsp + 0x7f0]
mov edx, ebx
mov rcx, qword [rsp + 0x50]
call r13
test eax, eax
je 0x180057bb8
pxor xmm2, xmm2
cvtsi2sd xmm2, rbx
test rbx, rbx
jns 0x180057ba0
addsd xmm2, qword [0x18026b2c0]
mov edx, ebx
lea rcx, [rsp + 0x7f0]
call fcn.180010360
mov esi, 1
mov dword [rsp + 0x30], esi
xor edx, edx
mov rcx, qword [rsp + 0x50]
call r15
test r12, r12
je 0x180057bd0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x180057bea
call fcn.18000c280
test eax, eax
jne 0x180057ce4
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x180057ce4
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 0x180057c5c
call r14
mov qword [rsp + 0x60], rax
xorpd xmm2, xmm2
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.180010360
test r12, r12
je 0x180057cb3
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x180057c78
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x180057cb3
test r12, r12
je 0x180057cb3
mov dword [rsp + 0x118], Ordinal_32
lea rcx, [rsp + 0x118]
call r12
test eax, eax
je 0x180057cb3
movsd xmm2, qword [0x18021be20]
mov edx, dword [rsp + 0x118]
lea rcx, [rsp + 0x118]
call fcn.180010360
test r13, r13
je 0x180057cdb
mov ecx, 0xbf
call r13
mov dword [rsp + 0x48], eax
movsd xmm2, qword [0x18026b278]
mov edx, 4
lea rcx, [rsp + 0x48]
call fcn.180010360
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r15, qword [rsp + 0x38]
test r15, r15
je 0x1800581e5
mov dword [rsp + 0x40], edi
lea rdx, [0x1802b9f00]
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 + 0xb8], rax
lea rdx, str.Heap32First
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
mov qword [rsp + 0x90], rax
lea rdx, str.Heap32Next
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
mov qword [rsp + 0xb0], 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 + 0xa8], rax
lea rdx, str.Process32First
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
lea rdx, str.Process32Next
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x88], rax
lea rdx, str.Thread32First
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
lea rdx, str.Thread32Next
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
lea rdx, [0x1802b9fb8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
lea rdx, [0x1802b9fc8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
test r12, r12
je 0x1800581da
test r13, r13
je 0x1800581da
test r14, r14
je 0x1800581da
test rbx, rbx
je 0x1800581da
test r15, r15
je 0x1800581da
cmp qword [rsp + 0x70], rdi
je 0x1800581da
mov r13, qword [rsp + 0x88]
test r13, r13
je 0x1800581da
cmp qword [rsp + 0x80], rdi
je 0x1800581da
cmp qword [rsp + 0x78], rdi
je 0x1800581da
cmp qword [rsp + 0x60], rdi
je 0x1800581da
test rax, rax
je 0x1800581da
xor edx, edx
lea ecx, [rdx + 0xf]
call r12
mov r12, rax
mov qword [rsp + 0xa0], rax
cmp rax, 0xffffffffffffffff
je 0x1800581da
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 + 0xf8], reloc.WLDAP32.dll_Ordinal_32
test esi, esi
je 0x180057ee9
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0xf8]
mov rcx, r12
call rbx
test eax, eax
je 0x180058051
mov r13d, Ordinal_46
mov dword [rsp + 0x58], r13d
movsd xmm6, qword [0x18021be18]
movsd xmm2, qword [0x18021be10]
mov edx, dword [rsp + 0xf8]
lea rcx, [rsp + 0xf8]
call fcn.180010360
nop
xor eax, eax
mov qword [rsp + 0xc0], rax
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 + 0xc0], gethostname
mov r8, qword [rsp + 0x108]
mov edx, dword [rsp + 0x100]
lea rcx, [rsp + 0xc0]
call qword [rsp + 0x90]
test eax, eax
je 0x180057fe4
mov ebx, 0x50
mov dword [rsp + 0x68], ebx
nop
movapd xmm2, xmm6
mov edx, dword [rsp + 0xc0]
lea rcx, [rsp + 0xc0]
call fcn.180010360
lea rcx, [rsp + 0xc0]
call r14
test eax, eax
je 0x180057fe4
test esi, esi
je 0x180057fda
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jae 0x180057fe4
dec ebx
mov dword [rsp + 0x68], ebx
test ebx, ebx
jg 0x180057fa0
jmp 0x18005801b
lea rdx, [rsp + 0xf8]
mov rcx, r12
call r15
test eax, eax
je 0x180058049
test esi, esi
je 0x180058040
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jae 0x180058049
test r13d, r13d
jg 0x180057f11
mov r13, qword [rsp + 0x88]
mov dword [rsp + 0x170], 0x238
test esi, esi
je 0x180058068
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
movsxd rbx, esi
lea rdx, [rsp + 0x170]
mov rcx, r12
call qword [rsp + reloc.WS2_32.dll_WSASetLastError]
movsd xmm6, qword [0x18021be08]
test eax, eax
je 0x1800580cd
nop word [rax + rax]
movapd xmm2, xmm6
mov edx, dword [rsp + 0x170]
lea rcx, [rsp + 0x170]
call fcn.180010360
lea rdx, [rsp + 0x170]
mov rcx, r12
call r13
test eax, eax
je 0x1800580cd
test esi, esi
je 0x180058090
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x180058090
mov dword [rsp + 0x118], Ordinal_32
test esi, esi
je 0x1800580e4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea rdx, [rsp + 0x118]
mov rcx, r12
call qword [rsp + 0x80]
test eax, eax
je 0x180058151
movsd xmm7, qword [0x18021be00]
mov rsi, qword [rsp + 0x78]
nop word [rax + rax]
movapd xmm2, xmm7
mov edx, dword [rsp + 0x118]
lea rcx, [rsp + 0x118]
call fcn.180010360
lea rdx, [rsp + 0x118]
mov rcx, r12
call rsi
test eax, eax
je 0x18005814d
test rbx, rbx
je 0x180058110
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x180058110
mov esi, dword [rsp + 0x30]
mov dword [rsp + 0x3b0], 0x438
test esi, esi
je 0x180058168
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea rdx, [rsp + 0x3b0]
mov rcx, r12
call qword [rsp + 0x60]
test eax, eax
je 0x1800581c0
mov rsi, qword [rsp + 0x98]
movapd xmm2, xmm6
mov edx, dword [rsp + 0x3b0]
lea rcx, [rsp + 0x3b0]
call fcn.180010360
lea rdx, [rsp + 0x3b0]
mov rcx, r12
call rsi
test eax, eax
je 0x1800581c0
test rbx, rbx
je 0x180058183
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x180058183
mov rax, qword [rsp + 0xb8]
mov rcx, r12
test rax, rax
je 0x1800581d4
call rax
jmp 0x1800581da
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.1800578d0
lea rcx, [rsp + 0x138]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
movsd xmm2, qword [0x18026b278]
mov edx, gethostname
lea rcx, [rsp + 0x138]
call fcn.180010360
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x48], eax
movsd xmm2, qword [0x18026b278]
mov edx, 4
lea rcx, [rsp + 0x48]
call fcn.180010360
mov eax, 1
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.1801c74b0
lea r11, [rsp + 0x860]
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