Function at 0x14000c230
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 [0x140160040]
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 0x14000c771
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.140082970
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 0x14000c31b
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 0x14000c307
cmp r15, r13
jae 0x14000c71a
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 0x14000c71a
cmp dword [rbp - 0x80], 0x1000
jne 0x14000c707
mov eax, dword [rbp - 0x7c]
cmp eax, 1
je 0x14000c707
cmp eax, 0x100
je 0x14000c707
mov rsi, qword [rsp + 0x78]
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
xor r14d, r14d
mov qword [rbp + 0x10], r14
test rsi, rsi
je 0x14000c3f0
cmp rsi, rbx
ja 0x14000c7a7
cmp rsi, 0x1000
jb 0x14000c3cb
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x14000c7a1
call fcn.140124cd8
mov rcx, rax
test rax, rax
je 0x14000c764
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000c3d3
mov rcx, rsi
call fcn.140124cd8
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 0x14000c6c7
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 0x14000c44a
mov rcx, r14
mov qword [rbp - 0x30], rcx
mov esi, 0xf
mov qword [rbp - 0x28], rsi
mov byte [rbp - 0x40], cl
jmp 0x14000c524
sub rbx, r15
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x14000c79b
cmp rbx, 0xf
ja 0x14000c48b
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 0x14000c51c
mov rsi, rbx
or rsi, 0xf
cmp rsi, rax
jbe 0x14000c4aa
mov rsi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x14000c4d6
cmp rsi, 0x16
mov eax, 0x16
cmovb rsi, rax
lea rcx, [rsi + 1]
test rcx, rcx
je 0x14000c4fd
cmp rcx, 0x1000
jb 0x14000c4f5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000c7ad
mov rcx, rax
call fcn.140124cd8
test rax, rax
je 0x14000c75d
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14000c4fd
call fcn.140124cd8
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 0x14000c574
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 0x14000c553
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 0x14000c681
sub rcx, r14
test r14, r14
jne 0x14000c5a7
xor ebx, ebx
jmp 0x14000c612
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 0x14000c681
mov r8, r14
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000c609
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 0x14000c5d2
jmp 0x14000c681
sub rbx, r13
cmp rbx, 0xffffffffffffffff
je 0x14000c681
mov rcx, qword [rsp + 0x60]
add rcx, rbx
mov qword [rsp + 0x40], rcx
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14000c633
mov qword [rdx], rcx
add qword [rdi + 8], 8
jmp 0x14000c640
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.140085f70
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.140084b60
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000c612
cmp rsi, 0xf
jbe 0x14000c6b8
lea rdx, [rsi + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x14000c6b0
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c75d
mov rcx, r15
call fcn.140124cd0
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x38]
mov rcx, qword [rbp]
test rcx, rcx
je 0x14000c6fd
mov rdx, qword [rbp + 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c6f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c764
call fcn.140124cd0
movabs rbx, 0x7fffffffffffffff
add r15, qword [rsp + 0x78]
mov qword [rsp + 0x38], r15
cmp r15, r13
jb 0x14000c330
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14000c771
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c76b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c76b
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.140124cd0
nop
mov rax, rdi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140124cb0
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.140004710
nop
call fcn.140004670
int3
call fcn.140085ad0
nop
call fcn.140004670
int3