Function at 0x140002310
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, r9
mov qword [rsp + 0x38], rbx
mov rdi, r8
mov rsi, rdx
mov r15, rcx
mov qword [rbp - 0x71], rcx
mov dword [rsp + 0x30], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov dword [rsp + 0x30], 1
lea rcx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r13, qword [rbp - 0x31]
cmp r13, qword [rbp - 0x29]
jae 0x14000254c
movabs r14, 0x7fffffffffffffff
nop dword [rax]
nop dword [rax + rax]
mov r9d, 0x30
lea r8, [rbp - 0x69]
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x14000253c
cmp dword [rbp - 0x49], 0x1000
jne 0x140002536
mov eax, dword [rbp - 0x41]
add eax, 0xfffe0000
test eax, 0xfffdffff
jne 0x140002536
xorps xmm0, xmm0
mov rbx, qword [rbp - 0x51]
movdqu xmmword [rbp - 1], xmm0
xor r12d, r12d
mov qword [rbp + 0xf], r12
test rbx, rbx
je 0x140002461
cmp rbx, r14
ja 0x14000257d
cmp rbx, 0x1000
jb 0x140002433
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140002583
call fcn.1400061b0
test rax, rax
je 0x140002576
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14000243e
mov rcx, rbx
call fcn.1400061b0
mov r14, rax
mov qword [rbp - 1], r14
lea r12, [rbx + r14]
mov qword [rbp + 0xf], r12
mov r8, rbx
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 7], r12
mov rbx, qword [rbp - 0x51]
jmp 0x140002465
mov r14, qword [rbp - 1]
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, r14
mov rdx, qword [rbp - 0x69]
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400024f8
xor ebx, ebx
cmp qword [rbp - 9], rdi
je 0x1400024f3
test rdi, rdi
je 0x1400024b9
mov rax, rsi
mov rdx, r14
sub rdx, rsi
add rdx, rbx
movzx ecx, byte [rdx + rax]
cmp byte [rax], cl
jne 0x1400024e4
inc rax
mov rcx, rax
sub rcx, rsi
cmp rcx, rdi
jb 0x1400024a3
mov rcx, qword [rbp - 0x69]
add rcx, rbx
mov qword [rbp - 0x79], rcx
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x1400024d8
mov qword [rdx], rcx
add qword [r15 + 8], 8
jmp 0x1400024e4
lea r8, [rbp - 0x79]
mov rcx, r15
call fcn.140005ef0
inc rbx
mov rax, qword [rbp - 9]
sub rax, rdi
cmp rbx, rax
jb 0x140002492
mov rbx, qword [rsp + 0x38]
test r14, r14
je 0x14000252c
sub r12, r14
mov rax, r14
cmp r12, 0x1000
jb 0x140002521
add r12, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002576
mov rdx, r12
mov rcx, r14
call fcn.14000642c
movabs r14, 0x7fffffffffffffff
add r13, qword [rbp - 0x51]
jmp 0x140002542
mov eax, dword [rbp - 0x35]
add r13, rax
cmp r13, qword [rbp - 0x29]
jb 0x1400023a0
mov rax, r15
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140006190
mov rbx, qword [rsp + 0x128]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005cc0
int3
call fcn.140001980
int3