Function at 0x180057870
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 - 0x30]
sub rsp, 0x130
mov rax, qword [0x18010e080]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rbx, r8
mov r13, rcx
mov qword [rsp + 0x60], 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 r12, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x18005790d
lea rdx, str.Failed_to_open_the_process.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1800021b0
lea rdx, [0x180005880]
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]
jmp 0x180057dad
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x60]
mov qword [rsp + 0x58], r14
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x50], rax
mov rdx, rbx
lea rcx, [rbp - 0x18]
call fcn.180001fe0
nop
lea rdi, [rbp - 0x18]
mov r8, qword [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rdi, r8
lea rcx, [rbp - 0x18]
cmova rcx, r8
mov rsi, qword [rbp - 8]
add rsi, rcx
lea rbx, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rbx, r8
cmp rbx, rsi
je 0x180057984
sub rdi, rbx
nop dword [rax + rax]
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 0x180057970
mov rsi, qword [rsp + 0x50]
cmp r14, rsi
jae 0x180057d56
movabs r15, 0x7fffffffffffffff
nop dword [rax]
mov r9d, Ordinal_50
lea r8, [rsp + 0x68]
mov rdx, r14
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x180057d56
cmp dword [rbp - 0x78], 0x1000
jne 0x180057d44
mov eax, dword [rbp - 0x74]
cmp eax, 1
je 0x180057d44
cmp eax, 0x100
je 0x180057d44
mov rbx, qword [rbp - 0x80]
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
xor edi, edi
mov qword [rbp + 0x18], rdi
test rbx, rbx
je 0x180057a65
cmp rbx, r15
ja 0x180057dd7
cmp rbx, 0x1000
jb 0x180057a36
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x180057ddd
call fcn.1800cd390
test rax, rax
je 0x180057da0
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x180057a41
mov rcx, rbx
call fcn.1800cd390
mov r15, rax
mov qword [rsp + 0x38], r15
mov qword [rbp + 8], r15
lea rdi, [rbx + r15]
mov qword [rbp + 0x18], rdi
mov r8, rbx
xor edx, edx
mov rcx, r15
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x10], rdi
jmp 0x180057a72
mov rdi, qword [rbp + 0x10]
mov r15, qword [rbp + 8]
mov qword [rsp + 0x38], r15
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, r15
mov rdx, qword [rsp + 0x68]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180057d02
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xor eax, eax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
cmp r15, rdi
jne 0x180057ac1
mov ecx, eax
mov qword [rbp - 0x28], rax
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x20], rbx
mov byte [rbp - 0x38], al
jmp 0x180057adb
sub rdi, r15
mov r8, rdi
mov rdx, r15
lea rcx, [rbp - 0x38]
call fcn.180002380
mov rcx, qword [rbp - 0x28]
mov rbx, qword [rbp - 0x20]
lea rdi, [rbp - 0x38]
cmp rbx, 0xf
seta al
mov r8, qword [rbp - 0x38]
mov qword [rsp + 0x30], r8
cmova rdi, r8
lea rdx, [rbp - 0x38]
test al, al
je 0x180057b04
mov rbx, r8
lea rsi, [rcx + r8]
jmp 0x180057b0c
lea rsi, [rcx + rdx]
lea rbx, [rbp - 0x38]
cmp rbx, rsi
je 0x180057b35
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 0x180057b14
mov rcx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x38]
mov qword [rsp + 0x30], r8
lea rsi, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rsi, qword [rbp - 0x18]
lea r14, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova r14, r8
mov rdi, qword [rbp - 8]
cmp rdi, rcx
ja 0x180057cbd
sub rcx, rdi
test rdi, rdi
jne 0x180057b69
xor ebx, ebx
jmp 0x180057bd1
lea r15, [r14 + rcx]
movsx r12d, byte [rsi]
lea r8, [r15 + 1]
sub r8, r14
mov edx, r12d
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x180057cae
nop
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180057bc4
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov edx, r12d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x180057b90
jmp 0x180057cae
sub rbx, r14
cmp rbx, 0xffffffffffffffff
je 0x180057cae
mov rcx, qword [rsp + 0x68]
add rcx, rbx
mov qword [rsp + 0x30], rcx
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13 + 0x10]
je 0x180057bf2
mov qword [rdx], rcx
add qword [r13 + 8], 8
jmp 0x180057bff
lea r8, [rsp + 0x30]
mov rcx, r13
call fcn.180063890
inc rbx
lea rsi, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rsi, qword [rbp - 0x18]
lea r12, [rbp - 0x38]
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x30], rax
cmp qword [rbp - 0x20], 0xf
cmova r12, rax
mov rdi, qword [rbp - 8]
mov rax, qword [rbp - 0x28]
cmp rdi, rax
ja 0x180057cae
sub rax, rdi
cmp rbx, rax
ja 0x180057cae
test rdi, rdi
je 0x180057ca4
lea r14, [r12 + rax]
lea rcx, [r12 + rbx]
movsx r15d, byte [rsi]
lea r8, [r14 + 1]
sub r8, rcx
mov edx, r15d
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x180057cae
nop dword [rax]
nop word [rax + rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180057ca1
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 0x180057c70
jmp 0x180057cae
sub rbx, r12
cmp rbx, 0xffffffffffffffff
jne 0x180057bd1
mov r12, qword [rsp + 0x40]
mov r8, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
mov rcx, qword [rbp - 0x20]
cmp rcx, 0xf
jbe 0x180057cf8
lea rdx, [rcx + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x180057cf0
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057d99
mov rcx, r8
call fcn.1800cd3cc
mov rsi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
test r15, r15
je 0x180057d3a
mov rcx, qword [rbp + 0x18]
sub rcx, r15
mov rax, r15
cmp rcx, 0x1000
jb 0x180057d2f
add rcx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057da0
mov rdx, rcx
mov rcx, r15
call fcn.1800cd3cc
movabs r15, 0x7fffffffffffffff
add r14, qword [rbp - 0x80]
mov qword [rsp + 0x58], r14
cmp r14, rsi
jb 0x1800579a0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x180057dad
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057da7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180057da7
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.1800cd3cc
nop
mov rax, r13
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.1800cd370
mov rbx, qword [rsp + 0x188]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180002480
nop
call fcn.180001dc0
int3