Function at 0x140001320
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0x100
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x14000c010]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov r13, r8
mov r12, rdx
mov qword [rsp + 0x40], rdx
mov rdi, rcx
mov qword [rsp + 0x48], 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 - 0x61]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor r14d, r14d
cmp qword [rbp - 0x51], r14
jbe 0x1400015fa
movabs rbx, 0x4000000040000045
movabs rsi, 0x7fffffffffffffff
movss xmm6, dword [rbp + 0x7f]
movss xmm7, dword [0x140008b50]
mov r9d, 0x30
lea r8, [rsp + 0x50]
mov rdx, r14
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x1400015e9
cmp dword [rbp - 0x71], 0x1000
jne 0x1400015e3
mov ecx, dword [rbp - 0x6d]
lea eax, [rcx - 2]
cmp eax, 0x3e
ja 0x1400013ff
bt rbx, rax
jb 0x14000140b
cmp ecx, 0x80
jne 0x1400015e3
xorps xmm0, xmm0
mov rbx, qword [rbp - 0x79]
movdqu xmmword [rbp - 0x31], xmm0
xor r15d, r15d
mov qword [rbp - 0x21], r15
test rbx, rbx
je 0x14000148c
cmp rbx, rsi
ja 0x140001635
cmp rbx, 0x1000
jb 0x14000145e
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14000163b
call fcn.140006160
test rax, rax
je 0x14000162e
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140001469
mov rcx, rbx
call fcn.140006160
mov rsi, rax
mov qword [rbp - 0x31], rsi
lea r15, [rsi + rbx]
mov qword [rbp - 0x21], r15
mov r8, rbx
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x29], r15
mov rbx, qword [rbp - 0x79]
jmp 0x140001490
mov rsi, qword [rbp - 0x31]
lea rax, [rbp - 0x19]
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 0x14000158b
mov r9, qword [rbp - 0x19]
lea rax, [r9 - 0xc]
test rax, rax
je 0x14000158b
mov rbx, r14
mov r12, rsi
sub r12, r14
sub r12, r13
xor edx, edx
mov rcx, r13
lea r8, [r12 + rbx]
nop dword [rax]
mov eax, dword [r8 + rcx]
mov dword [rsp + 0x38], eax
movss xmm0, dword [rsp + 0x38]
subss xmm0, dword [rcx]
andps xmm0, xmm7
comiss xmm6, xmm0
jbe 0x140001570
inc rdx
add rcx, 4
cmp rdx, 3
jb 0x1400014e0
mov qword [rsp + 0x38], rbx
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140001520
mov qword [rdx], rbx
add qword [rdi + 8], 8
jmp 0x14000152d
lea r8, [rsp + 0x38]
mov rcx, rdi
call fcn.140005f30
lea rdx, str.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 r9, qword [rbp - 0x19]
inc rbx
mov rcx, rbx
sub rcx, r14
lea rax, [r9 - 0xc]
cmp rcx, rax
jb 0x1400014d0
mov r12, qword [rsp + 0x40]
test rsi, rsi
je 0x1400015cf
sub r15, rsi
mov rax, rsi
cmp r15, 0x1000
jb 0x1400015b4
add r15, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000162e
mov rdx, r15
mov rcx, rsi
call fcn.14000619c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], 0
movabs rsi, 0x7fffffffffffffff
movabs rbx, 0x4000000040000045
add r14, qword [rbp - 0x79]
jmp 0x1400015f0
add r14, 0x1000
cmp r14, qword [rbp - 0x51]
jb 0x1400013c1
mov rax, rdi
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.140006140
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
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