Function at 0x14012d420
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, 0x890
call fcn.1401ef830
sub rsp, rax
movaps xmmword [rsp + 0x880], xmm6
movaps xmmword [rsp + 0x870], xmm7
mov rax, qword [0x140310170]
xor rax, rsp
mov qword [rsp + 0x860], rax
xor edi, edi
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x30], edi
lea rcx, str.ADVAPI32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
lea rcx, [0x140345cd0]
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 r13d, edi
mov r12d, edi
mov r15d, edi
mov r14d, edi
test rax, rax
je 0x14012d4dd
lea rdx, str.NetStatisticsGet
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.NetApiBufferFree
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test r15, r15
je 0x14012d567
test r14, r14
je 0x14012d567
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LanmanWorkstation
xor ecx, ecx
call r15
test eax, eax
jne 0x14012d52a
movsd xmm2, qword [0x1402d8388]
mov edx, 0xd8
mov rcx, qword [rsp + 0x48]
call fcn.1400a4390
mov rcx, qword [rsp + 0x48]
call r14
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LanmanServer
xor ecx, ecx
call r15
test eax, eax
jne 0x14012d567
movsd xmm2, qword [0x1402d8378]
lea edx, [rax + 0x44]
mov rcx, qword [rsp + 0x48]
call fcn.1400a4390
mov rcx, qword [rsp + 0x48]
call r14
test rbx, rbx
je 0x14012d575
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rsi, rsi
je 0x14012d5b5
lea rdx, str.CryptAcquireContextW
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, str.CryptGenRandom
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
lea rdx, str.CryptReleaseContext
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
jmp 0x14012d5b8
mov r14, rdi
test r14, r14
je 0x14012d69c
test r13, r13
je 0x14012d69c
test r12, r12
je 0x14012d69c
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 0x14012d631
lea r8, [rsp + 0x820]
mov edx, ebx
mov rcx, qword [rsp + 0x50]
call r13
test eax, eax
je 0x14012d627
xorps xmm2, xmm2
mov edx, ebx
lea rcx, [rsp + 0x820]
call fcn.1400a4390
mov dword [rsp + 0x30], 1
xor edx, edx
mov rcx, qword [rsp + 0x50]
call r12
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 0x14012d69c
lea r8, [rsp + 0x820]
mov edx, ebx
mov rcx, qword [rsp + 0x50]
call r13
test eax, eax
je 0x14012d692
xorps xmm2, xmm2
cvtsi2sd xmm2, rbx
test rbx, rbx
jns 0x14012d67b
addsd xmm2, qword [0x1402d83a8]
mov edx, ebx
lea rcx, [rsp + 0x820]
call fcn.1400a4390
mov dword [rsp + 0x30], 1
xor edx, edx
mov rcx, qword [rsp + 0x50]
call r12
mov r13d, dword [rsp + 0x30]
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x74], r13d
mov dword [rsp + 0x70], r13d
mov dword [rsp + 0x6c], r13d
test rsi, rsi
je 0x14012d6c3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.1400c2330
test eax, eax
jne 0x14012d886
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14012d886
lea rdx, str.GetForegroundWindow
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, 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 rsi, rsi
je 0x14012d7ad
call rsi
mov qword [rsp + 0x60], rax
mov rax, qword [0x14036bc48]
test rax, rax
jne 0x14012d794
cmp qword [0x14036be78], rdi
je 0x14012d781
lea edx, [rax + 1]
lea rcx, [0x14036be78]
call fcn.14012e5e0
mov rcx, rax
test rax, rax
je 0x14012d775
mov rax, qword [rax + 0x38]
mov qword [0x14036bc48], rax
test rax, rax
jne 0x14012d77c
call fcn.1400c1e20
jmp 0x14012d781
mov rax, qword [0x14036bc48]
test rcx, rcx
jne 0x14012d78f
lea rax, [0x140332138]
mov qword [0x14036bc48], rax
test rax, rax
je 0x14012d7ad
mov r8, qword [rax + 0x18]
test r8, r8
je 0x14012d7ad
xorps xmm2, xmm2
mov edx, 8
lea rcx, [rsp + 0x60]
call r8
test r14, r14
je 0x14012d7e8
mov dword [rsp + 0x140], Ordinal_30
lea rcx, [rsp + 0x140]
call r14
test eax, eax
je 0x14012d7e8
movsd xmm2, qword [0x1402d8348]
mov edx, dword [rsp + 0x140]
lea rcx, [rsp + 0x140]
call fcn.1400a4390
test r15, r15
je 0x14012d87d
mov ecx, 0xbf
call r15
mov dword [rsp + 0x40], eax
mov rax, qword [0x14036bc48]
test rax, rax
jne 0x14012d85f
cmp qword [0x14036be78], rdi
je 0x14012d84c
lea edx, [rax + 1]
lea rcx, [0x14036be78]
call fcn.14012e5e0
mov rcx, rax
test rax, rax
je 0x14012d840
mov rax, qword [rax + 0x38]
mov qword [0x14036bc48], rax
test rax, rax
jne 0x14012d847
call fcn.1400c1e20
jmp 0x14012d84c
mov rax, qword [0x14036bc48]
test rcx, rcx
jne 0x14012d85a
lea rax, [0x140332138]
mov qword [0x14036bc48], rax
test rax, rax
je 0x14012d87d
mov r8, qword [rax + 0x18]
test r8, r8
je 0x14012d87d
movsd xmm2, qword [0x1402d8340]
mov edx, 4
lea rcx, [rsp + 0x40]
call r8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r14, qword [rsp + 0x38]
test r14, r14
je 0x14012ddd6
mov dword [rsp + 0x58], edi
lea rdx, [0x140345e20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, str.CloseToolhelp32Snapshot
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xe0], rax
lea rdx, str.Heap32First
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
mov qword [rsp + 0xa0], rax
lea rdx, str.Heap32Next
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
mov qword [rsp + 0xa8], rax
lea rdx, str.Heap32ListFirst
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.Heap32ListNext
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
mov qword [rsp + 0xc0], 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 + 0x88], rax
lea rdx, str.Thread32First
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], rax
lea rdx, str.Thread32Next
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
lea rdx, [0x140345f30]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
lea rdx, [0x140345ef0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xd8], rax
test rsi, rsi
je 0x14012ddcb
test r15, r15
je 0x14012ddcb
test r12, r12
je 0x14012ddcb
test rbx, rbx
je 0x14012ddcb
test r14, r14
je 0x14012ddcb
cmp qword [rsp + 0x80], rdi
je 0x14012ddcb
cmp qword [rsp + 0x88], rdi
je 0x14012ddcb
cmp qword [rsp + 0x90], rdi
je 0x14012ddcb
cmp qword [rsp + 0x98], rdi
je 0x14012ddcb
cmp qword [rsp + 0x60], rdi
je 0x14012ddcb
test rax, rax
je 0x14012ddcb
xor edx, edx
lea ecx, [rdx + 0xf]
call rsi
mov rsi, rax
mov qword [rsp + 0xb0], rax
cmp rax, 0xffffffffffffffff
je 0x14012ddcb
xor eax, eax
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x120], reloc.WLDAP32.dll_Ordinal_32
test r13d, r13d
je 0x14012da8c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [rsp + 0x58], eax
mov r15, r13
mov qword [rsp + 0x78], r13
mov qword [rsp + 0xd0], r13
mov qword [rsp + 0xc8], r13
mov r14, r13
mov qword [rsp + 0xb8], r13
lea rdx, [rsp + 0x120]
mov rcx, rsi
call rbx
test eax, eax
je 0x14012dc24
mov r15d, Ordinal_46
mov dword [rsp + 0x30], r15d
movsd xmm6, qword [0x1402d8358]
nop word [rax + rax]
movsd xmm2, qword [0x1402d8350]
mov edx, dword [rsp + 0x120]
lea rcx, [rsp + 0x120]
call fcn.1400a4390
nop
xor eax, eax
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rax
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 + 0xe8], Ordinal_60
mov r8, qword [rsp + 0x130]
mov edx, dword [rsp + 0x128]
lea rcx, [rsp + 0xe8]
call qword [rsp + 0xa0]
test eax, eax
je 0x14012dbb4
mov ebx, 0x50
mov dword [rsp + 0x68], ebx
nop
movaps xmm2, xmm6
mov edx, dword [rsp + 0xe8]
lea rcx, [rsp + 0xe8]
call fcn.1400a4390
lea rcx, [rsp + 0xe8]
call r12
test eax, eax
je 0x14012dbb4
test r14, r14
je 0x14012dbaa
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jae 0x14012dbb4
dec ebx
mov dword [rsp + 0x68], ebx
test ebx, ebx
jg 0x14012db70
jmp 0x14012dbec
lea rdx, [rsp + 0x120]
mov rcx, rsi
call qword [rsp + 0xc0]
test eax, eax
je 0x14012dc1f
test r13d, r13d
je 0x14012dc16
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jae 0x14012dc1f
test r15d, r15d
jg 0x14012dae0
mov r15, qword [rsp + 0x78]
mov dword [rsp + 0x1a0], 0x238
cmp dword [rsp + 0x70], 0
je 0x14012dc3e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea rdx, [rsp + 0x1a0]
mov rcx, rsi
call qword [rsp + 0x80]
movsd xmm6, qword [0x1402d8368]
test eax, eax
je 0x14012dcb0
mov rbx, qword [rsp + 0xc8]
mov r15, qword [rsp + 0x88]
nop dword [rax]
movaps xmm2, xmm6
mov edx, dword [rsp + 0x1a0]
lea rcx, [rsp + 0x1a0]
call fcn.1400a4390
lea rdx, [rsp + 0x1a0]
mov rcx, rsi
call r15
test eax, eax
je 0x14012dcad
test rbx, rbx
je 0x14012dc70
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x14012dc70
mov r15, rbx
mov dword [rsp + 0x140], Ordinal_35
cmp dword [rsp + 0x74], 0
je 0x14012dcca
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea rdx, [rsp + 0x140]
mov rcx, rsi
call qword [rsp + 0x90]
test eax, eax
je 0x14012dd40
movsd xmm7, qword [0x1402d8360]
mov rbx, qword [rsp + 0xd0]
mov r15, qword [rsp + 0x98]
nop dword [rax + rax]
movaps xmm2, xmm7
mov edx, dword [rsp + 0x140]
lea rcx, [rsp + 0x140]
call fcn.1400a4390
lea rdx, [rsp + 0x140]
mov rcx, rsi
call r15
test eax, eax
je 0x14012dd3d
test rbx, rbx
je 0x14012dd00
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x14012dd00
mov r15, rbx
mov dword [rsp + 0x3e0], 0x438
cmp dword [rsp + 0x48], 0
je 0x14012dd5a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea rdx, [rsp + 0x3e0]
mov rcx, rsi
call qword [rsp + 0x60]
test eax, eax
je 0x14012ddb1
mov rbx, qword [rsp + 0xd8]
movaps xmm2, xmm6
mov edx, dword [rsp + 0x3e0]
lea rcx, [rsp + 0x3e0]
call fcn.1400a4390
lea rdx, [rsp + 0x3e0]
mov rcx, rsi
call rbx
test eax, eax
je 0x14012ddb1
test r15, r15
je 0x14012dd75
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x3e8
jb 0x14012dd75
mov rax, qword [rsp + 0xe0]
mov rcx, rsi
test rax, rax
je 0x14012ddc5
call rax
jmp 0x14012ddcb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.14012df40
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov rax, qword [0x14036bc48]
test rax, rax
jne 0x14012de4b
cmp qword [0x14036be78], rax
je 0x14012de38
lea edx, [rax + 1]
lea rcx, [0x14036be78]
call fcn.14012e5e0
mov rcx, rax
test rax, rax
je 0x14012de2c
mov rax, qword [rax + 0x38]
mov qword [0x14036bc48], rax
test rax, rax
jne 0x14012de33
call fcn.1400c1e20
jmp 0x14012de38
mov rax, qword [0x14036bc48]
test rcx, rcx
jne 0x14012de46
lea rax, [0x140332138]
mov qword [0x14036bc48], rax
test rax, rax
je 0x14012de6c
mov r8, qword [rax + 0x18]
test r8, r8
je 0x14012de6c
movsd xmm2, qword [0x1402d8340]
mov edx, Ordinal_60
lea rcx, [rsp + 0x160]
call r8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x40], eax
mov rax, qword [0x14036bc48]
test rax, rax
jne 0x14012ded8
cmp qword [0x14036be78], rax
je 0x14012dec5
lea edx, [rax + 1]
lea rcx, [0x14036be78]
call fcn.14012e5e0
mov rcx, rax
test rax, rax
je 0x14012deb9
mov rax, qword [rax + 0x38]
mov qword [0x14036bc48], rax
test rax, rax
jne 0x14012dec0
call fcn.1400c1e20
jmp 0x14012dec5
mov rax, qword [0x14036bc48]
test rcx, rcx
jne 0x14012ded3
lea rax, [0x140332138]
mov qword [0x14036bc48], rax
test rax, rax
je 0x14012def6
mov r8, qword [rax + 0x18]
test r8, r8
je 0x14012def6
movsd xmm2, qword [0x1402d8340]
mov edx, 4
lea rcx, [rsp + 0x40]
call r8
mov eax, 1
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.1401ef4e0
lea r11, [rsp + 0x890]
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