Function at 0x180002010
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 [0x18000d040]
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 0x18000224c
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 0x18000223c
cmp dword [rbp - 0x49], 0x1000
jne 0x180002236
mov eax, dword [rbp - 0x41]
add eax, 0xfffe0000
test eax, 0xfffdffff
jne 0x180002236
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 0x180002161
cmp rbx, r14
ja 0x18000227d
cmp rbx, 0x1000
jb 0x180002133
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x180002283
call fcn.180007764
test rax, rax
je 0x180002276
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x18000213e
mov rcx, rbx
call fcn.180007764
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 0x180002165
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 0x1800021f8
xor ebx, ebx
cmp qword [rbp - 9], rdi
je 0x1800021f3
test rdi, rdi
je 0x1800021b9
mov rax, rsi
mov rdx, r14
sub rdx, rsi
add rdx, rbx
movzx ecx, byte [rdx + rax]
cmp byte [rax], cl
jne 0x1800021e4
inc rax
mov rcx, rax
sub rcx, rsi
cmp rcx, rdi
jb 0x1800021a3
mov rcx, qword [rbp - 0x69]
add rcx, rbx
mov qword [rbp - 0x79], rcx
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x1800021d8
mov qword [rdx], rcx
add qword [r15 + 8], 8
jmp 0x1800021e4
lea r8, [rbp - 0x79]
mov rcx, r15
call fcn.1800073c0
inc rbx
mov rax, qword [rbp - 9]
sub rax, rdi
cmp rbx, rax
jb 0x180002192
mov rbx, qword [rsp + 0x38]
test r14, r14
je 0x18000222c
sub r12, r14
mov rax, r14
cmp r12, 0x1000
jb 0x180002221
add r12, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002276
mov rdx, r12
mov rcx, r14
call fcn.180007730
movabs r14, 0x7fffffffffffffff
add r13, qword [rbp - 0x51]
jmp 0x180002242
mov eax, dword [rbp - 0x35]
add r13, rax
cmp r13, qword [rbp - 0x29]
jb 0x1800020a0
mov rax, r15
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.180007710
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.1800071e0
int3
call fcn.180001680
int3