Function at 0x1400a937b
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 0x1400a99d7
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 0x1400a9493
mov dword [rsp + 0x30], eax
mov ecx, 4
mov edx, 0x50
call fcn.14003d4c0
test rax, rax
je 0x1400a99f5
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 0x1400a94a3
cmp eax, r9d
ja 0x1400a94a3
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 0x1400a946f
lea rcx, [rsp + 0x38]
mov rdx, rdi
call fcn.1400a7236
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 0x1400a941f
mov r12d, 1
xor r13d, r13d
xor edi, edi
jmp 0x1400a9613
xor r12d, r12d
mov ecx, 0x30
xor edx, edx
call fcn.1400dadff
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 0x1400a94f2
test r14, r14
je 0x1400a9553
cmp r15, rdi
je 0x1400a9553
dec r14
jmp 0x1400a9516
cmp r14, rax
jbe 0x1400a9553
mov rcx, rdi
sub rcx, r15
shr rcx, 4
cmp rcx, rax
jbe 0x1400a9553
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.1400a9a06
mov edx, dword [r15 + 4]
mov rcx, rbx
call fcn.1400a9a06
mov edx, dword [r15 + 8]
mov rcx, rbx
call fcn.1400a9a06
mov edx, dword [r15 + 0xc]
mov rcx, rbx
call fcn.1400a9a06
mov r12b, 1
mov r15, r13
xor eax, eax
jmp 0x1400a94dd
mov rbx, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0xd8]
xor r8d, r8d
mov r14, qword [rsp + 0x50]
cmp rdx, r8
je 0x1400a957c
cmp byte [rbx + r8], 0
je 0x1400a957f
inc r8
jmp 0x1400a956b
mov r8, rdx
mov rcx, rbx
call fcn.1400a9a4b
mov r8, rdx
lea rdi, [rsp + 0x110]
mov rcx, rdi
mov rdx, rax
call fcn.140032c60
cmp qword [rdi], 0
je 0x1400a95b0
mov r12d, 1
xor r13d, r13d
xor edi, edi
jmp 0x1400a95e6
mov rbx, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x120]
mov rcx, rdi
xor edx, edx
call fcn.1400dadff
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.1400a3651
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x1400a9613
shl r8, 4
mov rcx, qword [rsp + 0x38]
mov edx, 4
call fcn.140039392
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.1400dadff
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.1400a9a06
mov rcx, r15
mov edx, ebp
call fcn.1400a9a06
mov rcx, r15
mov edx, r14d
call fcn.1400a9a06
mov rcx, qword [r15]
mov rdx, qword [r15 + 0x10]
cmp rdx, rsi
je 0x1400a9683
cmp byte [rcx + rsi], 0
je 0x1400a9686
inc rsi
jmp 0x1400a9673
mov rsi, rdx
mov r8, rsi
call fcn.1400a9a4b
mov r8, rdx
lea rsi, [rsp + 0x110]
mov rcx, rsi
mov rdx, rax
call fcn.140032c60
cmp qword [rsi], 0
je 0x1400a96d1
movsx rax, word [rsp + 0x170]
cmp rax, 0xe
ja 0x1400a96e3
lea rcx, [0x1401150a0]
mov rsi, qword [rcx + rax*8]
lea rcx, [0x140115118]
mov r15, qword [rcx + rax*8]
jmp 0x1400a96ef
mov r15, qword [rsp + 0x118]
mov rsi, qword [rsp + 0x120]
jmp 0x1400a96ef
lea r15, [0x140113ae9]
mov esi, 7
mov rcx, rsi
xor edx, edx
call fcn.1400dadff
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.1400a3651
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 0x1400a977e
lea rdi, [rsp + 0xa8]
mov rcx, rdi
mov rdx, rsi
call fcn.1400a9a73
mov rax, qword [rdi]
mov qword [rsp + 0x30], rax
mov r13, qword [rdi + 0x10]
jmp 0x1400a97a8
mov rcx, rsi
mov dl, 1
call fcn.1400a6edb
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.14003d4c0
test rax, rax
je 0x1400a99eb
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 0x1400a9946
mov qword [rsp + 0xc0], rbx
lea rax, [0x140113b00]
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.1400317f0]
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.1400a35ad
mov rcx, rsi
lea rdx, [rsp + 0x78]
call fcn.140008d80
mov rcx, r15
lea rdx, [rsp + 0x90]
call fcn.140008d80
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 0x1400a990a
lea rcx, [rsp + 0x58]
mov rdx, r14
call fcn.1400a7183
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 0x1400a97ed
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.1400a6f44
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
call fcn.1400a3651
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
call fcn.1400a3651
mov rsi, qword [rsp + 0x70]
mov rcx, rsi
call fcn.1400a72e6
mov rcx, rsi
call fcn.1400a736d
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 0x1400a99ff
mov ecx, 4
mov edx, 0x50
call fcn.140007760
ud2