Function at 0x140012570
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14001e040]
xor rax, rsp
mov qword [rbp + 0x168], rax
mov r13, rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], rdx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov dword [rbp + 0x50], 0x96e096d2
mov dword [rbp + 0x54], 0x96fe96f6
mov dword [rbp + 0x58], 0x96ef96ee
mov dword [rbp + 0x5c], 0x96fb96b3
mov dword [rbp + 0x60], 0x96c596e7
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], r14w
mov dword [rsp + 0x30], 4
lea edx, [r14 + 0xa]
lea rcx, [rbp + 0xb0]
call fcn.140007a40
mov r8d, r14d
mov qword [rbp + 0xc0], r14
mov ebx, r14d
mov edi, 0x6969
movabs r15, 0x4ec4ec4ec4ec4ec5
nop dword [rax + rax]
mov rax, r15
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx eax, bx
sub ax, cx
sub ax, di
xor ax, word [rbp + rbx*2 + 0x50]
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw r9d, xmm0, 0
mov rcx, qword [rbp + 0xc8]
cmp r8, rcx
jae 0x1400126a9
lea rax, [r8 + 1]
mov qword [rbp + 0xc0], rax
lea rax, [rbp + 0xb0]
cmp rcx, 7
cmova rax, qword [rbp + 0xb0]
mov word [rax + r8*2], r9w
mov word [rax + r8*2 + 2], r14w
jmp 0x1400126b5
lea rcx, [rbp + 0xb0]
call fcn.140007bc0
inc rbx
cmp rbx, 0xa
jae 0x1400126ca
mov r8, qword [rbp + 0xc0]
jmp 0x140012640
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x70]
call fcn.140011f10
mov rdx, rax
call fcn.140011580
mov ebx, eax
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test ebx, ebx
jne 0x1400128f2
mov rdi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movdqa xmm0, xmmword [0x140017ef0]
movdqu xmmword [rbp + 0x50], xmm0
mov dword [rbp + 0x60], 0x777c647f
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], 0xf
mov byte [rbp + 0x70], bl
mov dword [rsp + 0x30], 0x12
lea edx, [rbx + 0x14]
lea rcx, [rbp + 0x70]
call fcn.140007550
mov r8, r14
mov qword [rbp + 0x80], r14
mov rbx, r14
nop word [rax + rax]
mov rax, r15
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, bx
sub dx, cx
add dx, 0xd
movsx eax, byte [rbp + rbx + 0x50]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw r9d, xmm0, 0
mov rcx, qword [rbp + 0x88]
cmp r8, rcx
jae 0x1400127c6
lea rax, [r8 + 1]
mov qword [rbp + 0x80], rax
lea rax, [rbp + 0x70]
cmp rcx, 0xf
cmova rax, qword [rbp + 0x70]
mov byte [rax + r8], r9b
mov byte [rax + r8 + 1], 0
jmp 0x1400127cf
lea rcx, [rbp + 0x70]
call fcn.1400076a0
inc rbx
cmp rbx, 0x14
jae 0x1400127e4
mov r8, qword [rbp + 0x80]
jmp 0x140012760
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x80]
mov rcx, rdi
call fcn.140008830
lea rdx, [0x140007160]
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]
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140012856
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012851
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012851
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], r14
xor r8d, r8d
lea rdx, [0x1400176f1]
mov rcx, r13
call fcn.140007810
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 7
jbe 0x1400128bf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400128ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012f78
call fcn.1400147c4
mov rax, r13
mov rcx, qword [rbp + 0x168]
xor rcx, rsp
call fcn.140014330
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
mov byte [rbp + 0xd0], 0
mov dword [rbp + 0xd4], r14d
movups xmmword [rbp + 0xd8], xmm0
movups xmmword [rbp + 0xe8], xmm0
movups xmmword [rbp + 0xf8], xmm0
mov qword [rbp + 0x108], r14
movdqu xmmword [rbp + 0x110], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x120], xmm1
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
lea rcx, [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov qword [rbp + 0x108], rsi
mov byte [rbp + 0xd0], 1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x34]
call fcn.140012f90
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], 0xf
mov byte [rbp + 0x70], 0
mov dword [rsp + 0x30], 0x42
mov edx, 0xfe
lea rcx, [rbp + 0x70]
call fcn.140007550
mov r8, r14
mov qword [rbp + 0x80], r14
mov rbx, r14
mov rax, r15
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, bx
sub dx, cx
add dx, 0x30
movsx eax, byte [rdi + rbx]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw r9d, xmm0, 0
mov rcx, qword [rbp + 0x88]
cmp r8, rcx
jae 0x140012a35
lea rax, [r8 + 1]
mov qword [rbp + 0x80], rax
lea rax, [rbp + 0x70]
cmp rcx, 0xf
cmova rax, qword [rbp + 0x70]
mov byte [rax + r8], r9b
mov byte [rax + r8 + 1], 0
jmp 0x140012a3e
lea rcx, [rbp + 0x70]
call fcn.1400076a0
inc rbx
cmp rbx, 0xfe
jae 0x140012a56
mov r8, qword [rbp + 0x80]
jmp 0x1400129d0
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x50]
call fcn.1400065a0
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1400134f0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r14
mov qword [rbp + 0xa8], 0xf
mov byte [rbp + 0x90], 0
mov edx, 0xff
mov r9d, edx
lea rcx, [rbp + 0x90]
call fcn.140007d70
cmp qword [rbp + 0xa0], 0
jbe 0x140012f7f
lea r8, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova r8, qword [rbp + 0x90]
lea rax, [rbp + 0x160]
mov qword [rsp + 0x20], rax
mov r9d, 0xff
lea rdx, [rbx + 0x55]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], 0
mov dword [rsp + 0x30], 0x122
movdqa xmm0, xmmword [str.________........2222222277777777DDDDDDDDmmmmmmmmpppppppptttttttt]
pextrw edi, xmm0, 0
mov qword [rbp + 0x60], 1
lea rax, [rbp + 0x50]
mov byte [rax], dil
mov byte [rax + 1], 0
movdqa xmm0, xmmword [0x140017e80]
pextrw ebx, xmm0, 0
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x68]
cmp rcx, rdx
jae 0x140012b65
lea rax, [rcx + 1]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x50]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x50]
mov byte [rax + rcx], bl
mov byte [rax + rcx + 1], 0
jmp 0x140012b72
movzx r9d, bl
lea rcx, [rbp + 0x50]
call fcn.1400076a0
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x68]
cmp rcx, rdx
jae 0x140012b9e
lea rax, [rcx + 1]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x50]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x50]
mov byte [rax + rcx], bl
mov byte [rax + rcx + 1], 0
jmp 0x140012bab
movzx r9d, bl
lea rcx, [rbp + 0x50]
call fcn.1400076a0
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x68]
cmp rcx, rdx
jae 0x140012bd8
lea rax, [rcx + 1]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x50]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x50]
mov byte [rax + rcx], dil
mov byte [rax + rcx + 1], 0
jmp 0x140012be5
movzx r9d, dil
lea rcx, [rbp + 0x50]
call fcn.1400076a0
movdqa xmm0, xmmword [0x140017e90]
pextrw r9d, xmm0, 0
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x68]
cmp rcx, rdx
jae 0x140012c20
lea rax, [rcx + 1]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x50]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x50]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140012c29
lea rcx, [rbp + 0x50]
call fcn.1400076a0
movdqa xmm0, xmmword [0x140017ea0]
pextrw r9d, xmm0, 0
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x68]
cmp rcx, rdx
jae 0x140012c64
lea rax, [rcx + 1]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x50]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x50]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140012c6e
lea rcx, [rbp + 0x50]
call fcn.1400076a0
nop
lea rsi, [rbp + 0x50]
mov r15, qword [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rsi, r15
lea r12, [rbp + 0x90]
mov rdx, qword [rbp + 0x90]
mov rcx, qword [rbp + 0xa8]
cmp rcx, 0xf
cmova r12, rdx
mov rdi, qword [rbp + 0x60]
mov r14, qword [rbp + 0xa0]
cmp rdi, r14
ja 0x140012d22
mov rax, r14
sub rax, rdi
test rdi, rdi
jne 0x140012cbd
xor esi, esi
mov ebx, esi
jmp 0x140012d2b
lea r13, [r12 + rax]
movsx edx, byte [rsi]
lea r8, [r13 + 1]
sub r8, r12
mov rcx, r12
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140012d0f
nop dword [rax + rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140012d4c
inc rbx
lea r8, [r13 + 1]
sub r8, rbx
movsx edx, byte [rsi]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140012ce0
mov rcx, qword [rbp + 0xa8]
mov r13, qword [rsp + 0x38]
mov rdx, qword [rbp + 0x90]
mov rbx, 0xffffffffffffffff
xor esi, esi
cmp rbx, r14
ja 0x140012d64
mov qword [rbp + 0xa0], rbx
lea rax, [rbp + 0x90]
cmp rcx, 0xf
cmova rax, rdx
mov byte [rax + rbx], 0
jmp 0x140012db3
sub rbx, r12
mov rcx, qword [rbp + 0xa8]
mov r13, qword [rsp + 0x38]
mov rdx, qword [rbp + 0x90]
jmp 0x140012d29
mov rdi, rbx
sub rdi, r14
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x140012da1
mov qword [rbp + 0xa0], rbx
lea rbx, [rbp + 0x90]
cmp rcx, 0xf
cmova rbx, rdx
add rbx, r14
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rdi + rbx], 0
jmp 0x140012db3
mov r9, rdi
mov rdx, rdi
lea rcx, [rbp + 0x90]
call fcn.140007d70
movups xmm0, xmmword [rbp + 0x90]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbp + 0xa0]
movups xmmword [r13 + 0x10], xmm1
mov qword [rbp + 0xa0], rsi
mov edx, 0xf
mov qword [rbp + 0xa8], rdx
mov byte [rbp + 0x90], 0
mov rax, qword [rbp + 0x68]
cmp rax, rdx
jbe 0x140012e29
lea rdx, [rax + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140012e1a
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012e1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400147c4
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x140012e66
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012e61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012e61
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
mov qword [rbp + 0xa0], rsi
mov qword [rbp + 0xa8], 0xf
mov byte [rbp + 0x90], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140012ec1
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012ebb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012ebb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
nop
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x140012f2f
mov rax, qword [rbp + 0x128]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012f18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012f18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
mov qword [rbp + 0x118], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x120], xmm0
mov rdx, qword [rbp + 0xc8]
cmp rdx, 7
jbe 0x1400128bf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400128ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400128ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140006e50
int3