Function at 0x1800102f0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x180064040]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov rdi, rcx
test rcx, rcx
jne 0x1800103ad
lea rdx, str.Internal_error:_invalid_process_handle.
lea rcx, [rbp - 0x68]
call fcn.18001abc0
nop
mov rcx, rax
call fcn.18000c7b0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x180010381
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001037c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800105e1
call fcn.18001c7c8
movdqa xmm0, xmmword [0x180052e60]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
lea rax, vtable.std::exception.0
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x60]
call fcn.18001e234
xor eax, eax
jmp 0x1800104fe
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
mov rbx, qword [rsp + 0x70]
xor esi, esi
lea r9d, [rsi + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x180010487
nop
cmp dword [rsp + 0x58], 0x1000
jne 0x18001045d
test dword [rsp + 0x5c], 0x100
jne 0x18001045d
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x42c
lea r8, [rbp - 0x30]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jle 0x18001057f
cmp qword [rsp + 0x30], 0x42c
jne 0x180010526
mov rax, qword [rbx]
cmp rax, qword [0x180052df8]
jne 0x18001045d
mov rax, qword [rbx + 8]
cmp rax, qword [0x180052e00]
je 0x1800104f8
mov rbx, qword [rsp + 0x50]
add rbx, qword [rsp + 0x38]
mov r9d, 0x30
lea r8, [rsp + 0x38]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
jne 0x1800103f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x1800104fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.VirtualQueryEx_failed:__d.
lea rcx, [rbp - 0x68]
call fcn.18001abc0
nop
mov rcx, rax
call fcn.18000c7b0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x180010381
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001037c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800105e7
jmp 0x18001037c
mov rsi, rbx
mov rax, rsi
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.18001c3d0
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rdx, str.Failed_to_read_correct_number_of_bytes_from_proces.
lea rcx, [rbp - 0x68]
call fcn.18001abc0
nop
mov rcx, rax
call fcn.18000c7b0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x180010381
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001037c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800105ed
jmp 0x18001037c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_read_memory_from_proces:__d.
lea rcx, [rbp - 0x68]
call fcn.18001abc0
nop
mov rcx, rax
call fcn.18000c7b0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x180010381
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001037c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800105f3
jmp 0x18001037c
call fcn.1800232b4
int3
call fcn.1800232b4
int3
call fcn.1800232b4
int3
call fcn.1800232b4
int3