Function at 0x140006740
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x190
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, qword [0x140064040]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov qword [rbp - 0x58], r8
mov r14, rdx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov r8d, ecx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov qword [rbp - 0x68], rax
test rax, rax
jne 0x1400069d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 8]
call fcn.140008240
nop
movdqa xmm1, xmmword [0x14005a520]
movdqu xmmword [rsp + 0x70], xmm1
movdqa xmm2, xmmword [0x14005a1c0]
movdqu xmmword [rbp - 0x80], xmm2
mov dl, 0x3c
mov r8b, 0x37
mov r9b, 0x36
mov r10b, 0x69
mov r11b, 0x73
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
movd ecx, xmm1
xor al, cl
mov byte [rsp + 0x71], al
xor byte [rsp + 0x72], cl
xor byte [rsp + 0x73], cl
xor byte [rsp + 0x74], cl
xor byte [rsp + 0x75], cl
xor byte [rsp + 0x76], cl
xor byte [rsp + 0x77], cl
xor byte [rsp + 0x78], cl
xor byte [rsp + 0x79], cl
xor byte [rsp + 0x7a], cl
xor byte [rsp + 0x7b], cl
xor byte [rsp + 0x7c], cl
xor byte [rsp + 0x7d], cl
xor byte [rsp + 0x7e], cl
xor byte [rsp + 0x7f], cl
movd eax, xmm2
xor al, cl
mov byte [rbp - 0x80], al
xor byte [rbp - 0x7f], cl
xor byte [rbp - 0x7e], cl
xor byte [rbp - 0x7d], cl
xor byte [rbp - 0x7c], cl
xor byte [rbp - 0x7b], cl
xor byte [rbp - 0x7a], cl
xor byte [rbp - 0x79], cl
xor byte [rbp - 0x78], cl
xor byte [rbp - 0x77], cl
xor byte [rbp - 0x76], cl
xor byte [rbp - 0x75], cl
xor byte [rbp - 0x74], cl
xor byte [rbp - 0x73], cl
xor byte [rbp - 0x72], cl
xor byte [rbp - 0x71], cl
xor dl, cl
mov byte [rbp - 0x70], dl
xor r8b, cl
mov byte [rbp - 0x6f], r8b
xor r9b, cl
mov byte [rbp - 0x6e], r9b
xor r10b, cl
mov byte [rbp - 0x6d], r10b
xor r11b, cl
mov byte [rbp - 0x6c], r11b
mov byte [rbp - 0x6b], bl
lea rax, [rsp + 0x71]
mov r12, 0xffffffffffffffff
nop word [rax + rax]
inc r12
cmp byte [rax + r12], 0
jne 0x1400068a0
mov r9, r12
lea r8, [rsp + 0x71]
lea rcx, [rbp + 8]
call fcn.140006200
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x14000692a
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006925
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006925
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005178c
mov byte [rsp + 0x30], 0x54
mov al, 0x11
mov cl, 0x26
movzx edx, cl
mov r8b, 0x3b
movzx r9d, cl
xor r10d, r10d
xor al, 0x54
mov byte [rsp + 0x31], al
xor cl, 0x54
mov byte [rsp + 0x32], cl
xor dl, 0x54
mov byte [rsp + 0x33], dl
xor r8b, 0x54
mov byte [rsp + 0x34], r8b
xor r9b, 0x54
mov byte [rsp + 0x35], r9b
mov byte [rsp + 0x36], r10b
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
mov r9d, 0x10
lea r8, [rsp + 0x31]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140006e3f
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400069c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400069c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005178c
jmp 0x140006e3f
lea rcx, [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
mov qword [rbp - 0x60], rax
movabs rdi, 0x7fffffffffffffff
mov r12, 0xffffffffffffffff
movdqa xmm8, xmmword [0x14005a1d0]
movdqa xmm7, xmmword [0x14005a530]
movdqa xmm6, xmmword [0x14005a510]
nop dword [rax]
mov r9d, 0x30
lea r8, [rbp - 0x50]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x140006e17
cmp dword [rbp - 0x30], 0x1000
jne 0x140006e17
mov eax, dword [rbp - 0x2c]
cmp eax, 4
je 0x140006a4d
cmp eax, 0x40
jne 0x140006e17
xorps xmm0, xmm0
mov rbx, qword [rbp - 0x38]
movdqu xmmword [rbp + 8], xmm0
xor esi, esi
mov qword [rbp + 0x18], rsi
test rbx, rbx
je 0x140006acd
cmp rbx, rdi
ja 0x140006e8a
cmp rbx, 0x1000
jb 0x140006a9f
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140006e90
call fcn.140051510
test rax, rax
je 0x140006e83
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140006aaa
mov rcx, rbx
call fcn.140051510
mov rdi, rax
mov qword [rbp + 8], rdi
lea rsi, [rbx + rdi]
mov qword [rbp + 0x18], rsi
mov r8, rbx
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x10], rsi
mov rbx, qword [rbp - 0x38]
jmp 0x140006ad1
mov rdi, qword [rbp + 8]
mov r13, qword [rbp - 0x50]
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, rdi
mov rdx, r13
mov rbx, qword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140006dd5
xor ebx, ebx
mov rdx, qword [r14]
mov r8, qword [r14 + 8]
mov rax, rdx
sub rax, r8
add rax, qword [rbp]
je 0x140006dd1
sub r8, rdx
je 0x140006b4b
mov rax, rdx
mov r9, rdi
sub r9, rdx
add r9, rbx
nop word [rax + rax]
movzx ecx, byte [rax]
cmp byte [r9 + rax], cl
jne 0x140006db4
inc rax
mov rcx, rax
sub rcx, rdx
cmp rcx, r8
jb 0x140006b30
mov rax, qword [rbp - 0x58]
mov r8, qword [rax]
mov r9, qword [rax + 8]
sub r9, r8
lea rdx, [rbx + r13]
mov qword [rsp + 0x20], 0
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140006db4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140008240
or r15d, 1
movdqu xmmword [rsp + 0x38], xmm6
movdqu xmmword [rsp + 0x48], xmm7
movdqu xmmword [rsp + 0x58], xmm8
movdqa xmm0, xmm6
psrldq xmm0, 1
movd eax, xmm0
movd ecx, xmm6
xor al, cl
mov byte [rsp + 0x39], al
xor byte [rsp + 0x3a], cl
xor byte [rsp + 0x3b], cl
xor byte [rsp + 0x3c], cl
xor byte [rsp + 0x3d], cl
xor byte [rsp + 0x3e], cl
xor byte [rsp + 0x3f], cl
xor byte [rsp + 0x40], cl
xor byte [rsp + 0x41], cl
xor byte [rsp + 0x42], cl
xor byte [rsp + 0x43], cl
xor byte [rsp + 0x44], cl
xor byte [rsp + 0x45], cl
xor byte [rsp + 0x46], cl
xor byte [rsp + 0x47], cl
movd eax, xmm7
xor al, cl
mov byte [rsp + 0x48], al
xor byte [rsp + 0x49], cl
xor byte [rsp + 0x4a], cl
xor byte [rsp + 0x4b], cl
xor byte [rsp + 0x4c], cl
xor byte [rsp + 0x4d], cl
xor byte [rsp + 0x4e], cl
xor byte [rsp + 0x4f], cl
xor byte [rsp + 0x50], cl
xor byte [rsp + 0x51], cl
xor byte [rsp + 0x52], cl
xor byte [rsp + 0x53], cl
xor byte [rsp + 0x54], cl
xor byte [rsp + 0x55], cl
xor byte [rsp + 0x56], cl
xor byte [rsp + 0x57], cl
movd eax, xmm8
xor al, cl
mov byte [rsp + 0x58], al
xor byte [rsp + 0x59], cl
xor byte [rsp + 0x5a], cl
xor byte [rsp + 0x5b], cl
xor byte [rsp + 0x5c], cl
xor byte [rsp + 0x5d], cl
xor byte [rsp + 0x5e], cl
xor byte [rsp + 0x5f], cl
xor byte [rsp + 0x60], cl
xor byte [rsp + 0x61], cl
xor byte [rsp + 0x62], cl
xor byte [rsp + 0x63], cl
xor byte [rsp + 0x64], cl
xor byte [rsp + 0x65], cl
xor byte [rsp + 0x66], cl
xor byte [rsp + 0x67], cl
mov byte [rsp + 0x68], 0
lea rax, [rsp + 0x39]
mov r9, r12
nop word [rax + rax]
inc r9
cmp byte [rax + r9], 0
jne 0x140006c90
lea r8, [rsp + 0x39]
lea rcx, [rsp + 0x70]
call fcn.140006200
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xor ecx, ecx
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rcx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0xf
mov byte [rax], cl
or r15d, 2
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140006d17
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006d12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006e75
call fcn.14005178c
mov byte [rsp + 0x30], 0x62
mov al, 0x27
mov cl, 0x10
movzx edx, cl
mov r8b, 0xd
movzx r9d, cl
xor r10d, r10d
xor al, 0x62
mov byte [rsp + 0x31], al
xor cl, 0x62
mov byte [rsp + 0x32], cl
xor dl, 0x62
mov byte [rsp + 0x33], dl
xor r8b, 0x62
mov byte [rsp + 0x34], r8b
xor r9b, 0x62
mov byte [rsp + 0x35], r9b
mov byte [rsp + 0x36], r10b
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
mov r9d, 0x10
lea r8, [rsp + 0x31]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140006db4
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006daf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006e7c
call fcn.14005178c
inc rbx
mov rdx, qword [r14]
mov r8, qword [r14 + 8]
mov rax, rdx
sub rax, r8
add rax, qword [rbp]
cmp rbx, rax
jb 0x140006b15
mov rbx, qword [rbp - 0x68]
test rdi, rdi
je 0x140006e0d
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x140006e02
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006e83
mov rdx, rsi
mov rcx, rdi
call fcn.14005178c
movabs rdi, 0x7fffffffffffffff
mov rax, qword [rbp - 0x60]
add rax, qword [rbp - 0x38]
mov qword [rbp - 0x60], rax
movabs rcx, 0x7fffffffffff
cmp rax, rcx
jb 0x140006a10
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.1400514f0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
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]
int3
call fcn.1400061e0
int3
call fcn.140001310
int3