Function at 0x18000c260
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 [0x1800ef040]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rbx, r8
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x30], 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 + 0x30], 1
mov r8d, edx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x18000c7a1
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r15, qword [rbp - 0x68]
mov qword [rsp + 0x38], r15
mov r13, qword [rbp - 0x60]
mov qword [rsp + 0x50], r13
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.1800181e0
nop
lea rsi, [rbp - 0x20]
mov r8, qword [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rsi, r8
lea rcx, [rbp - 0x20]
cmova rcx, r8
mov r14, qword [rbp - 0x10]
add r14, rcx
lea rbx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rbx, r8
cmp rbx, r14
je 0x18000c34b
sub rsi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + rbx], al
inc rbx
cmp rbx, r14
jne 0x18000c337
cmp r15, r13
jae 0x18000c74a
movabs rbx, 0x7fffffffffffffff
nop
mov r9d, 0x30
lea r8, [rsp + 0x60]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x18000c74a
cmp dword [rbp - 0x80], 0x1000
jne 0x18000c737
mov eax, dword [rbp - 0x7c]
cmp eax, 1
je 0x18000c737
cmp eax, 0x100
je 0x18000c737
mov rsi, qword [rsp + 0x78]
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
xor r14d, r14d
mov qword [rbp + 0x10], r14
test rsi, rsi
je 0x18000c420
cmp rsi, rbx
ja 0x18000c7d7
cmp rsi, 0x1000
jb 0x18000c3fb
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x18000c7d1
call fcn.1800b5ef8
mov rcx, rax
test rax, rax
je 0x18000c794
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18000c403
mov rcx, rsi
call fcn.1800b5ef8
mov qword [rbp], rax
lea rbx, [rax + rsi]
mov qword [rbp + 0x10], rbx
mov r8, rsi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 8], rbx
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
mov r9, rsi
mov r8, qword [rbp]
mov rdx, qword [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18000c6f7
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], r14
mov r15, qword [rbp]
mov rbx, qword [rbp + 8]
cmp r15, rbx
jne 0x18000c47a
mov rcx, r14
mov qword [rbp - 0x30], rcx
mov esi, 0xf
mov qword [rbp - 0x28], rsi
mov byte [rbp - 0x40], cl
jmp 0x18000c554
sub rbx, r15
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x18000c7cb
cmp rbx, 0xf
ja 0x18000c4bb
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], 0xf
mov r8, rbx
mov rdx, r15
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x40], 0
jmp 0x18000c54c
mov rsi, rbx
or rsi, 0xf
cmp rsi, rax
jbe 0x18000c4da
mov rsi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x18000c506
cmp rsi, 0x16
mov eax, 0x16
cmovb rsi, rax
lea rcx, [rsi + 1]
test rcx, rcx
je 0x18000c52d
cmp rcx, 0x1000
jb 0x18000c525
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18000c7dd
mov rcx, rax
call fcn.1800b5ef8
test rax, rax
je 0x18000c78d
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x18000c52d
call fcn.1800b5ef8
mov r14, rax
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rsi
mov r8, rbx
mov rdx, r15
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + rbx], 0
mov rcx, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x28]
lea r14, [rbp - 0x40]
mov r15, qword [rbp - 0x40]
cmp rsi, 0xf
cmova r14, r15
lea r12, [rbp - 0x40]
cmova r12, r15
add r12, rcx
lea rbx, [rbp - 0x40]
cmp rsi, 0xf
cmova rbx, r15
cmp rbx, r12
je 0x18000c5a4
sub r14, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx + r14], al
inc rbx
cmp rbx, r12
jne 0x18000c583
mov rsi, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
mov r15, qword [rbp - 0x40]
lea r12, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova r12, qword [rbp - 0x20]
lea r13, [rbp - 0x40]
cmp rsi, 0xf
cmova r13, r15
mov r14, qword [rbp - 0x10]
cmp r14, rcx
ja 0x18000c6b1
sub rcx, r14
test r14, r14
jne 0x18000c5d7
xor ebx, ebx
jmp 0x18000c642
lea rax, [rcx + 1]
add rax, r13
mov qword [rsp + 0x40], rax
movsx edx, byte [r12]
mov r8, rax
sub r8, r13
mov rcx, r13
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x18000c6b1
mov r8, r14
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18000c639
inc rbx
mov r8, qword [rsp + 0x40]
sub r8, rbx
movsx edx, byte [r12]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x18000c602
jmp 0x18000c6b1
sub rbx, r13
cmp rbx, 0xffffffffffffffff
je 0x18000c6b1
mov rcx, qword [rsp + 0x60]
add rcx, rbx
mov qword [rsp + 0x40], rcx
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x18000c663
mov qword [rdx], rcx
add qword [rdi + 8], 8
jmp 0x18000c670
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.18001b2f0
lea r9, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova r9, qword [rbp - 0x20]
lea rcx, [rbp - 0x40]
mov r15, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x28]
cmp rsi, 0xf
cmova rcx, r15
lea r8, [rbx + 1]
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp - 0x30]
call fcn.180019ff0
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x18000c642
cmp rsi, 0xf
jbe 0x18000c6e8
lea rdx, [rsi + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x18000c6e0
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c78d
mov rcx, r15
call fcn.1800b5ef0
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x38]
mov rcx, qword [rbp]
test rcx, rcx
je 0x18000c72d
mov rdx, qword [rbp + 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c728
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c794
call fcn.1800b5ef0
movabs rbx, 0x7fffffffffffffff
add r15, qword [rsp + 0x78]
mov qword [rsp + 0x38], r15
cmp r15, r13
jb 0x18000c360
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x18000c7a1
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c79b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000c79b
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.1800b5ef0
nop
mov rax, rdi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1800b5ed0
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.180004890
nop
call fcn.1800047f0
int3
call fcn.18001add0
nop
call fcn.1800047f0
int3