Function at 0x180189630
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.1801384e0
sub rsp, rax
movaps xmmword [rsp + 0x860], xmm6
movaps xmmword [rsp + 0x850], xmm7
mov rax, qword [0x18033f448]
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, [0x180356820]
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 0x1801896e8
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 0x180189772
test r15, r15
je 0x180189772
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 0x180189735
movsd xmm2, qword [0x1802d34e8]
mov edx, 0xd8
mov rcx, qword [rsp + 0x40]
call fcn.18014b260
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 0x180189772
movsd xmm2, qword [0x1802d34e0]
lea edx, [rax + 0x44]
mov rcx, qword [rsp + 0x40]
call fcn.18014b260
mov rcx, qword [rsp + 0x40]
call r15
test rbx, rbx
je 0x180189780
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test r14, r14
je 0x1801897c0
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 0x1801897c6
mov r15, rdi
mov r12, rdi
test r12, r12
je 0x1801898a2
test r15, r15
je 0x1801898a2
test r13, r13
je 0x1801898a2
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 0x18018983a
lea r8, [rsp + 0x800]
mov edx, ebx
mov rcx, qword [rsp + 0x48]
call r15
test eax, eax
je 0x180189830
xorps xmm2, xmm2
mov edx, ebx
lea rcx, [rsp + 0x800]
call fcn.18014b260
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 0x1801898a2
lea r8, [rsp + 0x800]
mov edx, ebx
mov rcx, qword [rsp + 0x48]
call r15
test eax, eax
je 0x180189898
xorps xmm2, xmm2
cvtsi2sd xmm2, rbx
test rbx, rbx
jns 0x180189884
addsd xmm2, qword [0x1802d34f0]
mov edx, ebx
lea rcx, [rsp + 0x800]
call fcn.18014b260
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 0x1801898c3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.18013d060
test eax, eax
jne 0x1801899ad
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x1801899ad
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 0x180189941
call r12
mov qword [rsp + 0x60], rax
xorps xmm2, xmm2
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.18014b260
test r14, r14
je 0x18018997c
mov dword [rsp + 0x100], 0x18
lea rcx, [rsp + 0x100]
call r14
test eax, eax
je 0x18018997c
movsd xmm2, qword [0x1802d34b8]
mov edx, dword [rsp + 0x100]
lea rcx, [rsp + 0x100]
call fcn.18014b260
test r15, r15
je 0x1801899a4
mov ecx, 0xbf
call r15
mov dword [rsp + 0x38], eax
movsd xmm2, qword [0x18024c4c8]
mov edx, 4
lea rcx, [rsp + 0x38]
call fcn.18014b260
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r15, qword [rsp + 0x30]
test r15, r15
je 0x180189eb6
mov dword [rsp + 0x54], edi
lea rdx, [0x1803569d0]
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, [0x180356a88]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
lea rdx, [0x180356a98]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb8], rax
test r14, r14
je 0x180189eab
cmp qword [rsp + 0x78], rdi
je 0x180189eab
test r12, r12
je 0x180189eab
test rbx, rbx
je 0x180189eab
test r15, r15
je 0x180189eab
cmp qword [rsp + 0x88], rdi
je 0x180189eab
mov r15, qword [rsp + 0x80]
test r15, r15
je 0x180189eab
cmp qword [rsp + 0x90], rdi
je 0x180189eab
cmp qword [rsp + 0x98], rdi
je 0x180189eab
cmp qword [rsp + 0x60], rdi
je 0x180189eab
test rax, rax
je 0x180189eab
xor edx, edx
lea ecx, [rdx + 0xf]
call r14
mov r14, rax
mov qword [rsp + 0xa8], rax
cmp rax, 0xffffffffffffffff
je 0x180189eab
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x130], rdi
mov qword [rsp + 0x138], rdi
mov qword [rsp + 0x120], 0x20
test esi, esi
je 0x180189bb0
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 0x180189d21
mov r15d, 0x2a
mov dword [rsp + 0x50], r15d
movsd xmm6, qword [0x1802d34c8]
nop dword [rax + rax]
movsd xmm2, qword [0x1802d34c0]
mov edx, dword [rsp + 0x120]
lea rcx, [rsp + 0x120]
call fcn.18014b260
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 0x180189cb3
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.18014b260
lea rcx, [rsp + 0xc8]
call r12
test eax, eax
je 0x180189cb3
test esi, esi
je 0x180189ca9
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jae 0x180189cb3
dec ebx
mov dword [rsp + 0x68], ebx
test ebx, ebx
jg 0x180189c70
jmp 0x180189ce6
lea rdx, [rsp + 0x120]
mov rcx, r14
call qword [rsp + 0xb0]
test eax, eax
je 0x180189d19
test r13d, r13d
je 0x180189d10
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jae 0x180189d19
test r15d, r15d
jg 0x180189be0
mov r15, qword [rsp + 0x80]
mov dword [rsp + 0x180], 0x238
test r13d, r13d
je 0x180189d39
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea rdx, [rsp + 0x180]
mov rcx, r14
call qword [rsp + 0x88]
movsd xmm6, qword [0x1802d34d8]
test eax, eax
je 0x180189d9c
mov ebx, dword [rsp + 0x70]
nop dword [rax + rax]
movaps xmm2, xmm6
mov edx, dword [rsp + 0x180]
lea rcx, [rsp + 0x180]
call fcn.18014b260
lea rdx, [rsp + 0x180]
mov rcx, r14
call r15
test eax, eax
je 0x180189d9c
test ebx, ebx
je 0x180189d60
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x180189d60
mov dword [rsp + 0x100], 0x1c
test r13d, r13d
je 0x180189db4
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 0x180189e1f
movsd xmm7, qword [0x1802d34d0]
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.18014b260
lea rdx, [rsp + 0x100]
mov rcx, r14
call r13
test eax, eax
je 0x180189e1c
test ebx, ebx
je 0x180189de0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x180189de0
mov r13d, ebx
mov dword [rsp + 0x3c0], 0x438
test r13d, r13d
je 0x180189e37
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 0x180189e91
mov ebx, dword [rsp + 0x40]
mov rsi, qword [rsp + 0xb8]
movaps xmm2, xmm6
mov edx, dword [rsp + 0x3c0]
lea rcx, [rsp + 0x3c0]
call fcn.18014b260
lea rdx, [rsp + 0x3c0]
mov rcx, r14
call rsi
test eax, eax
je 0x180189e91
test ebx, ebx
je 0x180189e56
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x180189e56
mov rax, qword [rsp + 0xc0]
mov rcx, r14
test rax, rax
je 0x180189ea5
call rax
jmp 0x180189eab
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.180189f50
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
movsd xmm2, qword [0x18024c4c8]
mov edx, 0x38
lea rcx, [rsp + 0x140]
call fcn.18014b260
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x38], eax
movsd xmm2, qword [0x18024c4c8]
mov edx, 4
lea rcx, [rsp + 0x38]
call fcn.18014b260
mov eax, 1
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.18013f0f0
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