Function at 0x140001300
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x14000a008]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rbx, r8
mov r14, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x48], 1
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 + 0x48], 1
mov r8d, edx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x1400013a2
lea rdx, str.Failed_to_open_the_Handle.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004450
mov rcx, rax
lea rdx, [0x140004620]
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]
jmp 0x140001908
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r12, qword [rbp - 0x58]
mov qword [rsp + 0x58], r12
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x50], rax
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.140003950
nop
lea rdi, [rbp - 0x10]
mov r8, qword [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rdi, r8
lea rcx, [rbp - 0x10]
cmovae rcx, r8
mov rsi, qword [rbp]
add rsi, rcx
lea rbx, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rbx, r8
cmp rbx, rsi
je 0x140001414
sub rdi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rdi + rbx], al
inc rbx
cmp rbx, rsi
jne 0x140001400
mov rsi, qword [rsp + 0x50]
cmp r12, rsi
jae 0x1400018b1
movabs r15, 0x7fffffffffffffff
nop dword [rax]
mov r9d, 0x30
lea r8, [rsp + 0x70]
mov rdx, r12
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x1400018b1
cmp dword [rbp - 0x70], 0x1000
jne 0x14000189f
mov eax, dword [rbp - 0x6c]
cmp eax, 1
je 0x14000189f
cmp eax, 0x100
je 0x14000189f
mov rdi, qword [rbp - 0x78]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
xor ebx, ebx
mov qword [rbp + 0x20], rbx
test rdi, rdi
je 0x1400014f5
cmp rdi, r15
ja 0x14000193e
cmp rdi, 0x1000
jb 0x1400014c6
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140001938
call fcn.140005690
test rax, rax
je 0x1400018fb
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x1400014d1
mov rcx, rdi
call fcn.140005690
mov r15, rax
mov qword [rsp + 0x40], r15
mov qword [rbp + 0x10], r15
lea rbx, [r15 + rdi]
mov qword [rbp + 0x20], rbx
mov r8, rdi
xor edx, edx
mov rcx, r15
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x18], rbx
jmp 0x140001502
mov rbx, qword [rbp + 0x18]
mov r15, qword [rbp + 0x10]
mov qword [rsp + 0x40], r15
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, r15
mov rdx, qword [rsp + 0x70]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000185d
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
cmp r15, rbx
jne 0x140001555
mov ecx, eax
mov qword [rbp - 0x20], rax
mov r13d, 0xf
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], al
jmp 0x14000162e
sub rbx, r15
movabs rcx, 0x7fffffffffffffff
cmp rbx, rcx
ja 0x140001932
mov qword [rbp - 0x18], 0xf
cmp rbx, 0x10
jae 0x140001596
mov qword [rbp - 0x20], rbx
mov r8, rbx
mov rdx, r15
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x30], 0
jmp 0x140001626
mov rdi, rbx
or rdi, 0xf
cmp rdi, rcx
jbe 0x1400015a7
mov rdi, rcx
jmp 0x1400015b4
cmp rdi, 0x16
mov ecx, 0x16
cmovb rdi, rcx
mov rcx, rdi
add rcx, 1
mov rdx, 0xffffffffffffffff
cmovb rcx, rdx
cmp rcx, 0x1000
jb 0x1400015fb
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001944
mov rcx, rax
call fcn.140005690
test rax, rax
je 0x1400018f4
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140001608
test rcx, rcx
je 0x140001605
call fcn.140005690
mov rsi, rax
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rdi
mov r8, rbx
mov rdx, r15
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov rcx, qword [rbp - 0x20]
mov r13, qword [rbp - 0x18]
lea rdi, [rbp - 0x30]
cmp r13, 0x10
setae al
mov r8, qword [rbp - 0x30]
mov qword [rsp + 0x30], r8
cmovae rdi, r8
lea rdx, [rbp - 0x30]
test al, al
je 0x140001657
mov rbx, r8
lea rsi, [rcx + r8]
jmp 0x14000165f
lea rsi, [rcx + rdx]
lea rbx, [rbp - 0x30]
cmp rbx, rsi
je 0x14000168c
sub rdi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx + rdi], al
inc rbx
cmp rbx, rsi
jne 0x140001667
mov r13, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x30]
mov qword [rsp + 0x30], r8
lea rsi, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rsi, qword [rbp - 0x10]
lea r12, [rbp - 0x30]
cmp r13, 0x10
cmovae r12, r8
mov rdi, qword [rbp]
cmp rdi, rcx
ja 0x140001817
sub rcx, rdi
test rdi, rdi
jne 0x1400016c2
xor ebx, ebx
jmp 0x140001740
lea r14, [r12 + rcx]
movsx r15d, byte [rsi]
lea r8, [r14 + 1]
sub r8, r12
mov edx, r15d
mov rcx, r12
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140001808
nop dword [rax + rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140001724
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov edx, r15d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1400016f0
jmp 0x140001808
sub rbx, r12
cmp rbx, 0xffffffffffffffff
je 0x140001808
mov r14, qword [rsp + 0x38]
nop word [rax + rax]
mov rcx, qword [rsp + 0x70]
add rcx, rbx
mov qword [rsp + 0x30], rcx
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x140001761
mov qword [rdx], rcx
add qword [r14 + 8], 8
jmp 0x14000176e
lea r8, [rsp + 0x30]
mov rcx, r14
call fcn.1400054c0
inc rbx
lea rsi, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rsi, qword [rbp - 0x10]
lea r12, [rbp - 0x30]
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x30], rax
mov r13, qword [rbp - 0x18]
cmp r13, 0x10
cmovae r12, rax
mov rdi, qword [rbp]
mov rax, qword [rbp - 0x20]
cmp rdi, rax
ja 0x140001808
sub rax, rdi
cmp rbx, rax
ja 0x140001808
test rdi, rdi
je 0x1400017fe
lea r14, [rax + r12]
lea rcx, [r12 + rbx]
movsx r15d, byte [rsi]
lea r8, [r14 + 1]
sub r8, rcx
mov edx, r15d
call sub.VCRUNTIME140.dll_memchr
test rax, rax
mov rbx, rax
je 0x140001808
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400017f6
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov rcx, rbx
jmp 0x1400017c5
sub rbx, r12
mov r14, qword [rsp + 0x38]
cmp rbx, 0xffffffffffffffff
jne 0x140001740
mov r8, qword [rsp + 0x30]
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x38]
cmp r13, 0x10
jb 0x14000184e
lea rdx, [r13 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x140001846
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400018f4
mov rcx, r8
call fcn.14000579c
mov rsi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
test r15, r15
je 0x140001895
mov rcx, qword [rbp + 0x20]
sub rcx, r15
mov rax, r15
cmp rcx, 0x1000
jb 0x14000188a
add rcx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400018fb
mov rdx, rcx
mov rcx, r15
call fcn.14000579c
movabs r15, 0x7fffffffffffffff
add r12, qword [rbp - 0x78]
mov qword [rsp + 0x58], r12
cmp r12, rsi
jb 0x140001430
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x140001908
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001902
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001902
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14000579c
nop
mov rax, r14
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140005670
mov rbx, qword [rsp + 0x198]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400011a0
nop
call fcn.140001100
int3
call fcn.1400052e0
nop
call fcn.140001100
int3