Function at 0x140002340
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 r15, r9
mov qword [rbp - 0x79], r9
mov rdi, rdx
mov r14, 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 0x140002573
movabs rsi, 0x7fffffffffffffff
mov r9d, 0x30
lea r8, [rbp - 0x69]
mov rdx, r13
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x140002563
cmp dword [rbp - 0x49], 0x1000
jne 0x14000255d
mov eax, dword [rbp - 0x41]
add eax, 0xfffe0000
test eax, 0xfffdffff
jne 0x14000255d
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 0x140002481
cmp rbx, rsi
ja 0x1400025a4
cmp rbx, 0x1000
jb 0x140002453
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x1400025aa
call fcn.140006a40
test rax, rax
je 0x14000259d
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000245e
mov rcx, rbx
call fcn.140006a40
mov rsi, rax
mov qword [rbp - 1], rsi
lea r12, [rbx + rsi]
mov qword [rbp + 0xf], r12
mov r8, rbx
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 7], r12
mov rbx, qword [rbp - 0x51]
jmp 0x140002485
mov rsi, qword [rbp - 1]
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, rsi
mov rdx, qword [rbp - 0x69]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000251f
xor ebx, ebx
mov rax, qword [rbp - 9]
add rax, 0xfffffffffffffff6
je 0x14000251f
mov r15, rsi
sub r15, rdi
nop word [rax + rax]
mov rax, rdi
lea rdx, [r15 + rbx]
movzx ecx, byte [rax + rdx]
cmp byte [rax], cl
jne 0x14000250b
inc rax
mov rcx, rax
sub rcx, rdi
cmp rcx, 0xa
jb 0x1400024c7
mov rcx, qword [rbp - 0x69]
add rcx, rbx
mov qword [rsp + 0x38], rcx
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x1400024fe
mov qword [rdx], rcx
add qword [r14 + 8], 8
jmp 0x14000250b
lea r8, [rsp + 0x38]
mov rcx, r14
call fcn.140006680
inc rbx
mov rax, qword [rbp - 9]
add rax, 0xfffffffffffffff6
cmp rbx, rax
jb 0x1400024c0
mov r15, qword [rbp - 0x79]
test rsi, rsi
je 0x140002553
sub r12, rsi
mov rax, rsi
cmp r12, 0x1000
jb 0x140002548
add r12, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000259d
mov rdx, r12
mov rcx, rsi
call fcn.140006cbc
movabs rsi, 0x7fffffffffffffff
add r13, qword [rbp - 0x51]
jmp 0x140002569
mov eax, dword [rbp - 0x35]
add r13, rax
cmp r13, qword [rbp - 0x29]
jb 0x1400023c0
mov rax, r14
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140006a20
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.140006450
int3
call fcn.1400019b0
int3