Function at 0x140198b30
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rbx, rcx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], r8
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor r12d, r12d
mov edi, r12d
mov dword [rsp + 0x20], r12d
mov esi, r12d
mov r14d, r12d
mov dword [rsp + 0x24], r12d
mov eax, dword [rsp + 0xb0]
mov dword [rbx], eax
xor eax, eax
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], eax
movaps xmm7, xmmword [0x140450440]
movups xmmword [rsp + 0xf0], xmm7
movaps xmm6, xmmword [0x140450450]
movups xmmword [rsp + 0x100], xmm6
mov eax, dword [rsp + 0xb4]
sub eax, 0x1e6
je 0x140198be2
cmp eax, 0x64
je 0x140198bda
mov r15d, r12d
jmp 0x140198be8
mov r15d, 2
jmp 0x140198be8
mov r15d, 1
mov dword [rsp + 0x28], r15d
mov r13d, r12d
mov dword [rsp + 0x3c], r12d
mov ebx, r12d
mov dword [rsp + 0x40], ebx
movdqa xmm0, xmmword [0x140450430]
movdqu xmmword [rsp + 0x58], xmm0
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0xe4]
cmp eax, 0x24a
je 0x140198c34
cmp eax, 0x21d8
je 0x140198c34
mov eax, 0xffffffff
jmp 0x140198c4d
xor eax, eax
xor ecx, ecx
cpuid
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], ebx
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x64], edx
mov ebx, r12d
cmp eax, 1
jl 0x140198c78
mov eax, 1
xor ecx, ecx
cpuid
mov r13d, edx
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], ebx
mov ebx, ecx
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x54], edx
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x40], ecx
mov eax, r13d
and eax, 0x10
test al, al
je 0x140198c8d
mov edi, 0x4000
mov esi, edi
mov dword [rsp + 0x20], edi
bt r13d, 0xf
jae 0x140198cc1
bts esi, 0xc
bts edi, 0xc
mov dword [rsp + 0x20], edi
mov eax, r13d
and eax, 1
test al, al
je 0x140198cc1
bts esi, 0xd
bts edi, 0xd
mov dword [rsp + 0x20], edi
mov r15d, 3
mov dword [rsp + 0x28], r15d
bt r13d, 0x17
jae 0x140198cd6
or esi, 0x10
mov r14d, 0x10
mov dword [rsp + 0x24], r14d
mov dword [rsp + 0x30], r12d
call sub.ErrorReport.dll_ErrorReport_StartTrapBypass
bt r13d, 0x19
jae 0x140198d5e
or esi, 0x20
mov dword [rsp + 0x38], esi
mov r12d, 1
mov dword [rsp + 0x30], r12d
or r14d, 0x20
mov dword [rsp + 0x24], r14d
jmp 0x140198d3e
test r12d, r12d
je 0x140198d46
or edi, 0x20
test dil, 0x20
je 0x140198d5e
mov eax, 5
cmp r15d, 4
cmove r15d, eax
mov dword [rsp + 0x28], r15d
test r12d, r12d
je 0x140198dba
test dil, 0x20
je 0x140198dba
bts esi, 0x11
mov dword [rsp + 0x38], esi
bts edi, 0x11
mov dword [rsp + 0x20], edi
stmxcsr dword [rsp + 0x2c]
mov eax, dword [rsp + 0x2c]
or eax, 0x8040
mov dword [rsp + 0x2c], eax
ldmxcsr dword [rsp + 0x2c]
jmp 0x140198dba
call sub.ErrorReport.dll_ErrorReport_EndTrapBypass
bt r13d, 0x1a
jae 0x140198de8
or esi, 0x40
test r12d, r12d
je 0x140198dd5
or r14d, 0x40
or edi, 0x40
test dil, 0x40
je 0x140198de8
mov eax, 6
cmp r15d, 5
cmove r15d, eax
mov eax, ebx
and eax, 1
test al, al
je 0x140198df5
bts esi, 7
test r12d, r12d
je 0x140198dff
bts r14d, 7
mov eax, r14d
and eax, esi
test al, al
jns 0x140198e0c
bts edi, 7
bt ebx, 9
jae 0x140198e16
bts esi, 8
test r12d, r12d
je 0x140198e20
bts r14d, 8
mov eax, r14d
and eax, esi
bt eax, 8
jae 0x140198e2f
bts edi, 8
bt ebx, 0x13
jae 0x140198e39
bts esi, 9
test r12d, r12d
je 0x140198e43
bts r14d, 9
mov eax, r14d
and eax, esi
bt eax, 9
jae 0x140198e52
bts edi, 9
bt ebx, 0x14
jae 0x140198e5c
bts esi, 0xa
test r12d, r12d
je 0x140198e66
bts r14d, 0xa
mov eax, r14d
and eax, esi
bt eax, 0xa
jae 0x140198e75
bts edi, 0xa
bt ebx, 0x1c
jae 0x140198e7f
bts esi, 0xb
mov rcx, qword [rsp + 0x68]
mov dword [rcx], esi
mov rcx, qword [rsp + 0x70]
mov dword [rcx], r14d
or r15d, edi
mov eax, r15d
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.14039bbb0
movaps xmm6, xmmword [rsp + 0x130]
movaps xmm7, xmmword [rsp + 0x120]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret