Function at 0x1400a8db7
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1a8
cmp qword [rcx + 0x80], 0
jne 0x1400a9413
mov ebx, edx
mov r14, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x170]
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call sub.KERNEL32.dll_GetSystemInfo
xor esi, esi
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x2f], bl
mov qword [rsp + 0x50], r14
jb 0x1400a8ecf
mov dword [rsp + 0x30], eax
mov ecx, 4
mov edx, 0x50
call fcn.14003cf80
test rax, rax
je 0x1400a9431
mov r8, rax
lea rax, [rsp + 0x38]
mov qword [rax], r8
mov qword [rax + 8], 5
mov eax, 0x80000000
xor edi, edi
xor r13d, r13d
mov r9d, dword [rsp + 0x30]
mov qword [rsp + 0x48], rdi
test r13b, 1
jne 0x1400a8edf
cmp eax, r9d
ja 0x1400a8edf
setae r13b
mov r14d, eax
adc r14d, 0
xor ecx, ecx
mov rbx, rbx
cpuid
xchg rbx, rbx
mov r15d, ecx
mov ebp, edx
mov r12d, eax
cmp rdi, qword [rsp + 0x40]
jne 0x1400a8eab
lea rcx, [rsp + 0x38]
mov rdx, rdi
call fcn.1400a6c72
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
shl rdi, 4
mov dword [r8 + rdi], r12d
mov dword [r8 + rdi + 4], ebx
mov dword [r8 + rdi + 8], r15d
mov dword [r8 + rdi + 0xc], ebp
mov rdi, qword [rsp + 0x48]
inc rdi
mov eax, r14d
jmp 0x1400a8e5b
mov r12d, 1
xor r13d, r13d
xor edi, edi
jmp 0x1400a904f
xor r12d, r12d
mov ecx, 0x30
xor edx, edx
call fcn.1400da6cb
lea rbx, [rsp + 0xc8]
mov qword [rbx], rax
mov qword [rbx + 8], rdx
and qword [rbx + 0x10], 0
mov r15, qword [rsp + 0x38]
shl rdi, 4
add rdi, r15
mov eax, 2
mov r14d, 5
test r12b, 1
je 0x1400a8f2e
test r14, r14
je 0x1400a8f8f
cmp r15, rdi
je 0x1400a8f8f
dec r14
jmp 0x1400a8f52
cmp r14, rax
jbe 0x1400a8f8f
mov rcx, rdi
sub rcx, r15
shr rcx, 4
cmp rcx, rax
jbe 0x1400a8f8f
mov rcx, rax
not rcx
add r14, rcx
shl rax, 4
add r15, rax
lea r13, [r15 + 0x10]
mov edx, dword [r15]
mov rcx, rbx
call fcn.1400a9442
mov edx, dword [r15 + 4]
mov rcx, rbx
call fcn.1400a9442
mov edx, dword [r15 + 8]
mov rcx, rbx
call fcn.1400a9442
mov edx, dword [r15 + 0xc]
mov rcx, rbx
call fcn.1400a9442
mov r12b, 1
mov r15, r13
xor eax, eax
jmp 0x1400a8f19
mov rbx, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0xd8]
xor r8d, r8d
mov r14, qword [rsp + 0x50]
cmp rdx, r8
je 0x1400a8fb8
cmp byte [rbx + r8], 0
je 0x1400a8fbb
inc r8
jmp 0x1400a8fa7
mov r8, rdx
mov rcx, rbx
call fcn.1400a9487
mov r8, rdx
lea rdi, [rsp + 0x110]
mov rcx, rdi
mov rdx, rax
call fcn.140032630
cmp qword [rdi], 0
je 0x1400a8fec
mov r12d, 1
xor r13d, r13d
xor edi, edi
jmp 0x1400a9022
mov rbx, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x120]
mov rcx, rdi
xor edx, edx
call fcn.1400da6cb
mov r12, rax
mov r13, rdx
mov rcx, rax
mov rdx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rbx, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0xd0]
mov rcx, rbx
call fcn.1400a3071
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x1400a904f
shl r8, 4
mov rcx, qword [rsp + 0x38]
mov edx, 4
call fcn.140038d62
lea rax, [r14 + 0x70]
mov qword [rsp + 0x70], rax
xor eax, eax
xor ecx, ecx
mov rbx, rbx
cpuid
xchg rbx, rbx
mov ebp, edx
mov r14d, ecx
mov ecx, 0xc
xor edx, edx
call fcn.1400da6cb
lea r15, [rsp + 0xc8]
mov qword [r15], rax
mov qword [r15 + 8], rdx
and qword [r15 + 0x10], 0
mov rcx, r15
mov edx, ebx
call fcn.1400a9442
mov rcx, r15
mov edx, ebp
call fcn.1400a9442
mov rcx, r15
mov edx, r14d
call fcn.1400a9442
mov rcx, qword [r15]
mov rdx, qword [r15 + 0x10]
cmp rdx, rsi
je 0x1400a90bf
cmp byte [rcx + rsi], 0
je 0x1400a90c2
inc rsi
jmp 0x1400a90af
mov rsi, rdx
mov r8, rsi
call fcn.1400a9487
mov r8, rdx
lea rsi, [rsp + 0x110]
mov rcx, rsi
mov rdx, rax
call fcn.140032630
cmp qword [rsi], 0
je 0x1400a910d
movsx rax, word [rsp + 0x170]
cmp rax, 0xe
ja 0x1400a911f
lea rcx, [0x140121a10]
mov rsi, qword [rcx + rax*8]
lea rcx, [0x140121a88]
mov r15, qword [rcx + rax*8]
jmp 0x1400a912b
mov r15, qword [rsp + 0x118]
mov rsi, qword [rsp + 0x120]
jmp 0x1400a912b
lea r15, [0x140120459]
mov esi, 7
mov rcx, rsi
xor edx, edx
call fcn.1400da6cb
mov rbx, rax
mov r14, rdx
mov rcx, rax
mov rdx, r15
mov r8, rsi
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0xd0]
call fcn.1400a3071
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa0], rdi
mov esi, dword [rsp + 0x190]
cmp byte [rsp + 0x2f], 0
je 0x1400a91ba
lea rdi, [rsp + 0xa8]
mov rcx, rdi
mov rdx, rsi
call fcn.1400a94af
mov rax, qword [rdi]
mov qword [rsp + 0x30], rax
mov r13, qword [rdi + 0x10]
jmp 0x1400a91e4
mov rcx, rsi
mov dl, 1
call fcn.1400a6917
mov qword [rsp + 0x30], rax
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rdx
mov qword [rsp + 0xb8], rsi
mov r13, rsi
inc rsi
imul rdi, rsi, 0x70
mov ecx, 8
mov rdx, rdi
call fcn.14003cf80
test rax, rax
je 0x1400a9427
mov rbp, rax
lea rax, [rsp + 0x58]
mov qword [rax], rbp
mov qword [rax + 8], rsi
and qword [rax + 0x10], 0
shl r13, 3
xor r14d, r14d
lea r15, [rsp + 0xc8]
mov ebx, 1
test r13, r13
je 0x1400a9382
mov qword [rsp + 0xc0], rbx
lea rax, [0x140120470]
mov qword [rsp + 0xc8], rax
mov eax, 1
mov qword [rsp + 0xd0], rax
and qword [rsp + 0xe8], 0
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0x38], rcx
lea rcx, [fcn.1400311c0]
mov qword [rsp + 0x40], rcx
lea rsi, [rsp + 0x38]
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0x158]
mov rdx, r15
call fcn.1400a2fcd
mov rcx, rsi
lea rdx, [rsp + 0x78]
call fcn.140008e30
mov rcx, r15
lea rdx, [rsp + 0x90]
call fcn.140008e30
mov rax, qword [rsp + 0x30]
mov r12, qword [rax + rbx*8 - 8]
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x120], rax
movups xmm0, xmmword [rsp + 0x158]
movaps xmmword [rsp + 0x110], xmm0
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x128]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rcx], xmm0
mov rax, qword [rsp + 0xd8]
mov qword [rcx + 0x28], rax
movups xmm0, xmmword [rsp + 0xc8]
movups xmmword [rcx + 0x18], xmm0
mov ecx, 9
mov rdi, r15
lea rsi, [rsp + 0x110]
rep movsq qword [rdi], qword [rsi]
cmp r14, qword [rsp + 0x60]
jne 0x1400a9346
lea rcx, [rsp + 0x58]
mov rdx, r14
call fcn.1400a6bbf
mov rbp, qword [rsp + 0x58]
mov r14, qword [rsp + 0x68]
imul rax, r14, 0x70
lea rdi, [rax + rbp]
mov ecx, 9
mov rsi, r15
rep movsq qword [rdi], qword [rsi]
and qword [rbp + rax + 0x48], 0
mov qword [rbp + rax + 0x60], r12
and dword [rbp + rax + 0x68], 0
mov r14, qword [rsp + 0x68]
inc r14
mov qword [rsp + 0x68], r14
inc rbx
add r13, 0xfffffffffffffff8
jmp 0x1400a9229
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x120], rax
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rsp + 0x110], xmm0
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
call fcn.1400a6980
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
call fcn.1400a3071
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
call fcn.1400a3071
mov rsi, qword [rsp + 0x70]
mov rcx, rsi
call fcn.1400a6d22
mov rcx, rsi
call fcn.1400a6da9
mov rax, qword [rsp + 0x120]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x110]
movups xmmword [rsi], xmm0
mov al, byte [rsp + 0x2f]
mov rcx, qword [rsp + 0x50]
mov byte [rcx + 0x88], al
add rsp, 0x1a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov rdx, rdi
jmp 0x1400a943b
mov ecx, 4
mov edx, 0x50
call fcn.140007810
ud2