Function at 0x140001650
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], 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 [0x14000c010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r13, r8
mov r12, rdx
mov qword [rbp - 0x79], rdx
mov rdi, 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]
xor r14d, r14d
cmp qword [rbp - 0x29], r14
jbe 0x1400018f7
movabs rbx, 0x4000000040000045
movabs rsi, 0x7fffffffffffffff
nop dword [rax]
mov r9d, 0x30
lea r8, [rbp - 0x69]
mov rdx, r14
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x1400018e6
cmp dword [rbp - 0x49], 0x1000
jne 0x1400018e0
mov ecx, dword [rbp - 0x45]
lea eax, [rcx - 2]
cmp eax, 0x3e
ja 0x14000171d
bt rbx, rax
jb 0x140001729
cmp ecx, 0x80
jne 0x1400018e0
xorps xmm0, xmm0
mov rbx, qword [rbp - 0x51]
movdqu xmmword [rbp - 9], xmm0
xor r15d, r15d
mov qword [rbp + 7], r15
test rbx, rbx
je 0x1400017aa
cmp rbx, rsi
ja 0x140001928
cmp rbx, 0x1000
jb 0x14000177c
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14000192e
call fcn.140006160
test rax, rax
je 0x140001921
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140001787
mov rcx, rbx
call fcn.140006160
mov rsi, rax
mov qword [rbp - 9], rsi
lea r15, [rsi + rbx]
mov qword [rbp + 7], r15
mov r8, rbx
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 1], r15
mov rbx, qword [rbp - 0x51]
jmp 0x1400017ae
mov rsi, qword [rbp - 9]
lea rax, [rbp + 0xf]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, rsi
mov rdx, r14
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140001888
mov rdx, qword [rbp + 0xf]
lea rax, [rdx - 0x10]
test rax, rax
je 0x140001888
mov rbx, r14
mov r12, rsi
sub r12, r14
nop dword [rax + rax]
mov rax, qword [r12 + rbx]
cmp rax, qword [r13]
jne 0x14000186e
mov rax, qword [r12 + rbx + 8]
cmp rax, qword [r13 + 8]
jne 0x14000186e
mov qword [rsp + 0x38], rbx
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14000181e
mov qword [rdx], rbx
add qword [rdi + 8], 8
jmp 0x14000182b
lea r8, [rsp + 0x38]
mov rcx, rdi
call fcn.140005f30
lea rdx, str.Hex_pattern_found_at_address:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005710
lea rdx, [0x140001300]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [0x1400058e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdx, qword [rbp + 0xf]
inc rbx
mov rcx, rbx
sub rcx, r14
lea rax, [rdx - 0x10]
cmp rcx, rax
jb 0x1400017f0
mov r12, qword [rbp - 0x79]
test rsi, rsi
je 0x1400018cc
sub r15, rsi
mov rax, rsi
cmp r15, 0x1000
jb 0x1400018b1
add r15, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001921
mov rdx, r15
mov rcx, rsi
call fcn.14000619c
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
mov qword [rbp + 7], 0
movabs rsi, 0x7fffffffffffffff
movabs rbx, 0x4000000040000045
add r14, qword [rbp - 0x51]
jmp 0x1400018ed
add r14, 0x1000
cmp r14, qword [rbp - 0x29]
jb 0x1400016e0
mov rax, rdi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140006140
mov rbx, qword [rsp + 0x130]
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.140005bb0
int3
call fcn.140001180
int3