Function at 0x180051e7c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
lea rbp, [rax - 0x28]
sub rsp, 0x110
mov rax, qword [0x1801170a0]
xor rax, rsp
mov qword [rbp], rax
lea rax, vtable.asmjit::_abi_1_10::JitRuntime.0
xor r15d, r15d
mov qword [0x1801223c8], rax
xorps xmm0, xmm0
mov eax, dword [0x180122284]
mov qword [0x1801223d0], r15
movups xmmword [0x1801223d8], xmm0
movups xmmword [0x1801223e8], xmm0
nop
test eax, eax
jne 0x180051f38
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x34]
dec eax
mov ecx, eax
shr ecx, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or eax, ecx
mov ecx, eax
shr ecx, 4
or ecx, eax
mov edx, ecx
shr edx, 8
or edx, ecx
mov eax, edx
shr eax, 0x10
or eax, edx
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x28]
mov qword [0x180122470], rax
lea eax, [r15 + 1]
xchg dword [0x180122284], eax
mov rbx, qword [0x180122470]
mov ecx, 0x98
mov rdi, rbx
shr rbx, 0x20
lea r13d, [rcx - 0x58]
call fcn.18008cd6c
mov r14, rax
test rax, rax
je 0x180051fcf
xorps xmm0, xmm0
lea rcx, [rax + 0x10]
movups xmmword [rax], xmm0
lea rsi, [rax + 0x60]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov qword [r14 + 0x40], r15
mov qword [r14 + 0x48], r15
mov qword [r14 + 0x50], rsi
mov qword [r14 + 0x58], 1
mov dword [r14], r15d
mov dword [r14 + 4], ebx
mov dword [r14 + 8], r13d
mov dword [r14 + 0xc], 0xcccccccc
mov dword [r14 + 0x38], edi
mov qword [rsi], r15
mov qword [rsi + 8], r15
bsf eax, r13d
mov qword [rsi + 0x10], r15
mov byte [rsi + 0x1e], al
mov dword [rsi + 0x18], r15d
mov word [rsi + 0x1c], r13w
mov byte [rsi + 0x1f], r15b
mov qword [rsi + 0x20], r15
mov qword [rsi + 0x28], r15
mov qword [rsi + 0x30], r15
mov qword [0x1801223f8], r14
jmp 0x180051fdd
lea rax, [0x1800dd240]
mov qword [0x1801223f8], rax
cmp dword [0x180122250], r15d
mov dword [rsp + 0x20], 0x1000002
mov dword [rsp + 0x24], 1
mov rax, qword [rsp + 0x20]
mov qword [0x1801223d0], rax
mov byte [0x1801223d5], 1
jne 0x1800520ae
xor edx, edx
lea rcx, [rsp + 0x62]
mov r8d, __WSAFDIsSet
call fcn.180081ce0
lea rcx, [rsp + 0x60]
mov word [rsp + 0x60], 2
call fcn.18005c4e4
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x50]
lea rcx, [0x180122070]
mov dword [rbp - 0x80], eax
mov edx, 0x80
lea rax, [rsp + 0x60]
mov dword [0x180122250], 1
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + rdx]
movups xmmword [rcx + 0x60], xmm0
movups xmm0, xmmword [rax + 0x70]
mov rax, qword [rax + rdx + 0x10]
movups xmmword [rcx + rdx - 0x10], xmm0
movups xmmword [rcx + rdx], xmm1
mov qword [rcx + rdx + 0x10], rax
movups xmm0, xmmword [0x1801220e8]
lea rax, [0x1801223c8]
movups xmm1, xmmword [0x1801220f8]
movups xmmword [0x1801223d8], xmm0
movups xmmword [0x1801223e8], xmm1
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.18007efe0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret