Function at 0x140002420
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x14006b680]
xor rax, rsp
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
mov rdi, rcx
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x140002487
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x14006c828]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1400024c5
cmp rsi, r14
jb 0x1400024bd
cmp rsi, r15
jae 0x1400024bd
cmp qword [rsi + 8], 0
jne 0x1400026c7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1400024a8
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x140002569
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x14000255b
nop word [rax + rax]
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000255b
cmp dword [rsp + 0x40], 0x10000
je 0x1400025fb
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x14000255b
sub rbx, rbp
cmp rbx, r14
jae 0x140002510
nop dword [rax + rax]
test rsi, rsi
jne 0x140002670
cmp rdi, r15
ja 0x1400026af
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1400026af
nop dword [rax]
nop dword [rax + rax]
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rdi
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400026af
cmp dword [rsp + 0x40], 0x10000
je 0x14000263c
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1400025a0
jmp 0x1400026af
nop dword [rax + rax]
test rbx, rbx
je 0x14000255b
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x140002670
cmp rbx, r14
jae 0x1400024f0
jmp 0x140002569
nop dword [rax]
test rdi, rdi
je 0x1400026af
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x140002670
cmp rdi, r15
jbe 0x140002572
jmp 0x1400026af
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x140002680
mov rax, qword [0x14006c828]
mov qword [rsi], rax
mov qword [0x14006c828], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14001e390
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret