Function at 0x180018510
Capabilities:
Check os version
Get memory capacity
Link many functions at runtime

Disassembly:
push r14
mov eax, 0x970
call fcn.1800514e0
sub rsp, rax
movaps xmmword [rsp + 0x920], xmm8
mov rax, qword [0x18027ceb0]
xor rax, rsp
mov qword [rsp + 0x910], rax
mov qword [rsp + 0x980], rbx
mov qword [rsp + 0x988], rbp
xor r14d, r14d
mov qword [rsp + 0x990], rsi
mov qword [rsp + 0x968], rdi
mov qword [rsp + 0x960], r12
lea rcx, [rsp + 0x130]
mov qword [rsp + 0x950], r15
mov r12d, r14d
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x130], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rcx, str.ADVAPI32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rcx, str.KERNEL32.DLL
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rcx, str.NETAPI32.DLL
mov r15, rax
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov rdi, rax
je 0x180018682
lea rdx, str.NetStatisticsGet
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NetApiBufferFree
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rbp, rbp
mov rsi, rax
je 0x180018679
test rax, rax
je 0x180018679
lea rax, [rsp + 0x38]
lea rdx, str.LanmanWorkstation
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call rbp
test eax, eax
jne 0x18001863e
mov rcx, qword [rsp + 0x38]
movsd xmm2, qword [0x180079368]
mov edx, 0xd8
call fcn.1800047b0
mov rcx, qword [rsp + 0x38]
call rsi
lea rax, [rsp + 0x38]
lea rdx, str.LanmanServer
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call rbp
test eax, eax
jne 0x180018679
mov rcx, qword [rsp + 0x38]
movsd xmm2, qword [0x180079340]
lea edx, [rax + 0x44]
call fcn.1800047b0
mov rcx, qword [rsp + 0x38]
call rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
xorpd xmm8, xmm8
mov qword [rsp + 0x958], r13
je 0x1800187c3
lea rdx, str.CryptAcquireContextW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptGenRandom
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptReleaseContext
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rbp, rbp
mov rdi, rax
je 0x1800187ba
test rsi, rsi
je 0x1800187ba
test rax, rax
je 0x1800187ba
lea rcx, [rsp + 0x48]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0xf0000000
call rbp
mov r13d, 0x40
test eax, eax
je 0x18001874f
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x8d0]
mov edx, r13d
call rsi
test eax, eax
je 0x180018746
lea rcx, [rsp + 0x8d0]
movsd xmm2, xmm8
mov edx, r13d
call fcn.1800047b0
mov r12d, 1
mov dword [rsp + 0x30], r12d
mov rcx, qword [rsp + 0x48]
xor edx, edx
call rdi
lea r8, str.Intel_Hardware_Cryptographic_Service_Provider
lea rcx, [rsp + 0x48]
mov r9d, 0x16
xor edx, edx
mov dword [rsp + 0x20], r14d
call rbp
test eax, eax
je 0x1800187ba
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x8d0]
mov edx, r13d
call rsi
test eax, eax
je 0x1800187b1
test r13, r13
cvtsi2sd xmm2, r13
jns 0x180018796
addsd xmm2, qword [0x180079290]
lea rcx, [rsp + 0x8d0]
mov edx, r13d
call fcn.1800047b0
mov r12d, 1
mov dword [rsp + 0x30], r12d
mov rcx, qword [rsp + 0x48]
xor edx, edx
call rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [rsp + 0x140], 2
jne 0x1800187da
call fcn.180008f80
test eax, eax
jne 0x1800188be
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov rbx, rax
je 0x1800188be
lea rdx, str.GetForegroundWindow
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetCursorInfo
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x180079258]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rbp, rbp
mov rsi, rax
je 0x18001884c
call rbp
lea rcx, [rsp + 0x58]
movsd xmm2, xmm8
mov edx, 8
mov qword [rsp + 0x58], rax
call fcn.1800047b0
test rdi, rdi
je 0x18001888e
cmp dword [rsp + 0x140], 2
jne 0x180018865
cmp dword [rsp + 0x134], 5
jb 0x18001888e
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x78], 0x18
call rdi
test eax, eax
je 0x18001888e
mov edx, dword [rsp + 0x78]
movsd xmm2, qword [0x180079250]
lea rcx, [rsp + 0x78]
call fcn.1800047b0
test rsi, rsi
je 0x1800188b5
mov ecx, 0xbf
call rsi
lea rcx, [rsp + 0x40]
mov edx, 4
movsd xmm2, qword [0x180071800]
mov dword [rsp + 0x40], eax
call fcn.1800047b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test r15, r15
je 0x180018cc3
lea rdx, str.CreateToolhelp32Snapshot
mov rcx, r15
mov edi, r14d
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CloseToolhelp32Snapshot
mov rcx, r15
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Heap32First
mov rcx, r15
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Heap32Next
mov rcx, r15
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Heap32ListFirst
mov rcx, r15
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Heap32ListNext
mov rcx, r15
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Process32First
mov rcx, r15
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Process32Next
mov rcx, r15
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x50]
lea rdx, str.Thread32First
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x50]
lea rdx, str.Thread32Next
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x50]
lea rdx, str.Module32First
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x50]
lea rdx, [0x180079178]
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rsi, rsi
mov qword [rsp + 0x98], rax
je 0x180018cb5
test r14, r14
je 0x180018cb5
test rbp, rbp
je 0x180018cb5
test rbx, rbx
je 0x180018cb5
test r13, r13
je 0x180018cb5
cmp qword [rsp + 0x38], rdi
je 0x180018cb5
test r15, r15
je 0x180018cb5
cmp qword [rsp + 0x68], rdi
je 0x180018cb5
cmp qword [rsp + 0x70], rdi
je 0x180018cb5
cmp qword [rsp + 0x58], rdi
je 0x180018cb5
test rax, rax
je 0x180018cb5
xor edx, edx
lea ecx, [rdx + 0xf]
call rsi
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x180018cb5
test r12d, r12d
movaps xmmword [rsp + 0x940], xmm6
mov qword [rsp + 0xa0], 0x20
je 0x180018a69
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea edi, [rax + 0x3e8]
lea rdx, [rsp + 0xa0]
mov rcx, rsi
movaps xmmword [rsp + 0x930], xmm7
call rbx
test eax, eax
je 0x180018b3d
movsd xmm7, qword [0x180079170]
movsd xmm6, qword [0x180079168]
nop
nop
nop
mov edx, dword [rsp + 0xa0]
lea rcx, [rsp + 0xa0]
movsd xmm2, xmm7
call fcn.1800047b0
mov r8, qword [rsp + 0xb0]
mov edx, dword [rsp + 0xa8]
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0xc0], 0x38
call r14
test eax, eax
je 0x180018b1d
mov ebx, 0x50
nop
nop
nop
mov edx, dword [rsp + 0xc0]
lea rcx, [rsp + 0xc0]
movsd xmm2, xmm6
call fcn.1800047b0
lea rcx, [rsp + 0xc0]
call rbp
test eax, eax
je 0x180018b1d
sub ebx, 1
test ebx, ebx
jg 0x180018af0
lea rdx, [rsp + 0xa0]
mov rcx, rsi
call r13
test eax, eax
je 0x180018b3d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jb 0x180018aa0
test r12d, r12d
mov dword [rsp + 0x250], 0x238
je 0x180018b59
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea edi, [rax + 0x3e8]
lea rdx, [rsp + 0x250]
mov rcx, rsi
call qword [rsp + 0x38]
test eax, eax
movsd xmm6, qword [0x180079160]
je 0x180018bb4
nop
nop
nop
mov edx, dword [rsp + 0x250]
lea rcx, [rsp + 0x250]
movsd xmm2, xmm6
call fcn.1800047b0
lea rdx, [rsp + 0x250]
mov rcx, rsi
call r15
test eax, eax
je 0x180018bb4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jb 0x180018b80
test r12d, r12d
mov dword [rsp + 0x78], 0x1c
je 0x180018bcd
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea edi, [rax + 0x3e8]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call qword [rsp + 0x68]
test eax, eax
je 0x180018c20
movsd xmm7, qword [0x180079158]
mov r12, qword [rsp + 0x70]
nop
nop
mov edx, dword [rsp + 0x78]
lea rcx, [rsp + 0x78]
movsd xmm2, xmm7
call fcn.1800047b0
lea rdx, [rsp + 0x78]
mov rcx, rsi
call r12
test eax, eax
je 0x180018c1b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jb 0x180018bf0
mov r12d, dword [rsp + 0x30]
test r12d, r12d
movaps xmm7, xmmword [rsp + 0x930]
mov dword [rsp + 0x490], 0x438
je 0x180018c44
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea edi, [rax + 0x3e8]
lea rdx, [rsp + 0x490]
mov rcx, rsi
call qword [rsp + 0x58]
test eax, eax
je 0x180018c93
mov rbx, qword [rsp + 0x98]
nop
mov edx, dword [rsp + 0x490]
lea rcx, [rsp + 0x490]
movsd xmm2, xmm6
call fcn.1800047b0
lea rdx, [rsp + 0x490]
mov rcx, rsi
call rbx
test eax, eax
je 0x180018c93
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jb 0x180018c60
mov rax, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x940]
test rax, rax
je 0x180018cac
mov rcx, rsi
call rax
jmp 0x180018cb5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor r14d, r14d
cmp dword [0x18027f068], 0
mov r15, qword [rsp + 0x950]
mov r13, qword [rsp + 0x958]
mov r12, qword [rsp + 0x960]
mov rdi, qword [rsp + 0x968]
mov rsi, qword [rsp + 0x990]
mov rbp, qword [rsp + 0x988]
mov rbx, qword [rsp + 0x980]
je 0x180018d39
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x180018d1c
mov dword [0x18027f068], r14d
jmp 0x180018d39
lea rcx, [rsp + 0x60]
movsd xmm2, xmm8
mov edx, 8
call fcn.1800047b0
cmp dword [0x18027f068], 0
jne 0x180018d57
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rsp + 0x30]
movsd xmm2, xmm8
mov edx, 4
mov dword [rsp + 0x30], eax
call fcn.1800047b0
lea rcx, [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea rcx, [rsp + 0xf8]
mov edx, 0x38
movsd xmm2, qword [0x180071800]
call fcn.1800047b0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [rsp + 0x40]
movsd xmm2, qword [0x180071800]
mov edx, 4
mov dword [rsp + 0x40], eax
call fcn.1800047b0
mov eax, 1
mov rcx, qword [rsp + 0x910]
xor rcx, rsp
call fcn.18004fba0
movaps xmm8, xmmword [rsp + 0x920]
add rsp, 0x970
pop r14
ret