Function at 0x6a5c80
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x188
cmp qword [rcx + 0x80], 0
jne 0x6a649f
mov ebp, edx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x170], xmm0
movaps xmmword [rsp + 0x160], xmm0
movaps xmmword [rsp + 0x150], xmm0
lea rcx, [rsp + 0x150]
call sub.kernel32.dll_GetSystemInfo
movzx r14d, word [rsp + 0x150]
xor ecx, ecx
mov eax, 0x80000000
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x2f], bpl
mov qword [rsp + 0x128], rsi
jb 0x6a5ea2
mov r15d, eax
mov qword [rsp + 0x70], r14
movzx eax, byte [0x0076d188]
xor r12d, r12d
mov edx, 0x50
xor ecx, ecx
call fcn.0069df80
test rax, rax
je 0x6a65b0
mov r8, rax
mov qword [rsp + 0x58], 5
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0
mov ebx, 0x80000000
mov r13, 0xffffffffffffffd0
mov edi, 0x80000000
mov dword [rsp + 0x78], r15d
nop word cs:[rax + rax]
cmp ebx, r15d
adc edi, 0
xor ecx, ecx
mov eax, ebx
mov r9, rbx
cpuid
xchg rbx, r9
mov dword [rsp + 0x30], r9d
mov ebp, ecx
mov r14d, edx
mov r15d, eax
cmp r12, qword [rsp + 0x58]
jne 0x6a5d95
lea rcx, [rsp + 0x58]
call fcn.005d7d40
mov r8, qword [rsp + 0x60]
inc r12
lea rsi, [r13 + 0x10]
mov dword [r8 + r13 + 0x30], r15d
mov eax, dword [rsp + 0x30]
mov dword [r8 + r13 + 0x34], eax
mov dword [r8 + r13 + 0x38], ebp
mov dword [r8 + r13 + 0x3c], r14d
mov qword [rsp + 0x68], r12
mov r15d, dword [rsp + 0x78]
cmp ebx, r15d
jae 0x6a5dcd
mov r13, rsi
mov ebx, edi
cmp edi, r15d
jbe 0x6a5d60
movzx eax, byte [0x0076d188]
mov edx, 0x30
xor ecx, ecx
call fcn.0069df80
test rax, rax
je 0x6a65bf
mov rbx, rax
mov qword [rsp + 0x38], 0x30
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov r15, qword [rsp + 0x60]
cmp r12, 3
jb 0x6a5ef5
mov edx, dword [r15 + 0x20]
lea rcx, [rsp + 0x38]
call fcn.006acd40
mov edx, dword [r15 + 0x24]
lea rcx, [rsp + 0x38]
call fcn.006acd40
mov edx, dword [r15 + 0x28]
lea rcx, [rsp + 0x38]
call fcn.006acd40
mov edx, dword [r15 + 0x2c]
lea rcx, [rsp + 0x38]
call fcn.006acd40
lea rdi, [r15 + 0x30]
mov rbx, 0xfffffffffffffffe
lea r14, [rsp + 0x38]
nop word [rax + rax]
test rbx, rbx
je 0x6a5eb8
test rsi, rsi
je 0x6a5eb8
mov edx, dword [rdi]
mov rcx, r14
call fcn.006acd40
mov edx, dword [rdi + 4]
mov rcx, r14
call fcn.006acd40
mov edx, dword [rdi + 8]
mov rcx, r14
call fcn.006acd40
mov edx, dword [rdi + 0xc]
add rdi, 0x10
inc rbx
add rsi, 0xfffffffffffffff0
mov rcx, r14
call fcn.006acd40
jmp 0x6a5e60
mov eax, 1
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [rsp + 0x30], rax
jmp 0x6a5f66
mov rbx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x6a5ef5
xor r8d, r8d
movzx ebp, byte [rsp + 0x2f]
mov r14, qword [rsp + 0x70]
nop word cs:[rax + rax]
cmp byte [rbx + r8], 0
je 0x6a6502
inc r8
cmp rdx, r8
jne 0x6a5ee0
jmp 0x6a5f01
xor edx, edx
movzx ebp, byte [rsp + 0x2f]
mov r14, qword [rsp + 0x70]
mov r8, rdx
lea rcx, [rsp + 0xb0]
mov rdx, rbx
call fcn.00570fb0
cmp qword [rsp + 0xb0], 0
je 0x6a64b3
mov eax, 1
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x38], 0
je 0x6a5f4d
mov rcx, qword [0x0076d128]
xor edx, edx
mov r8, rbx
call fcn.006d3c74
cmp qword [rsp + 0x58], 0
je 0x6a5f66
mov rcx, qword [0x0076d128]
xor edx, edx
mov r8, r15
call fcn.006d3c74
xor eax, eax
xor ecx, ecx
mov rbx, rbx
cpuid
xchg rbx, rbx
mov esi, ecx
mov edi, edx
movzx eax, byte [0x0076d188]
mov edx, 0xc
xor ecx, ecx
call fcn.0069df80
test rax, rax
je 0x6a6581
mov qword [rsp + 0x38], 0xc
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
lea rcx, [rsp + 0x38]
mov edx, ebx
call fcn.006acd40
lea rcx, [rsp + 0x38]
mov edx, edi
call fcn.006acd40
lea rcx, [rsp + 0x38]
mov edx, esi
call fcn.006acd40
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x6a5ffc
xor ecx, ecx
nop
cmp byte [rsi + rcx], 0
je 0x6a5ff0
inc rcx
cmp r8, rcx
jne 0x6a5fe0
jmp 0x6a5ffc
cmp rcx, r8
ja 0x6a65d0
mov r8, rcx
lea rcx, [rsp + 0xb0]
mov rdx, rsi
call fcn.00570fb0
cmp qword [rsp + 0xb0], 0
je 0x6a603a
cmp r14w, 0xe
ja 0x6a605c
shl r14d, 3
lea rax, [0x00731d50]
mov r15, qword [r14 + rax]
lea rax, [0x00731dc8]
mov rdi, qword [r14 + rax]
jmp 0x6a6069
mov rdi, qword [rsp + 0xb8]
mov r15, qword [rsp + 0xc0]
test r15, r15
je 0x6a64f8
jns 0x6a6069
xor ecx, ecx
jmp 0x6a65a6
lea rdi, [0x007281f9]
mov r15d, 7
movzx eax, byte [0x0076d188]
xor ecx, ecx
mov rdx, r15
call fcn.0069df80
test rax, rax
je 0x6a65a1
mov qword [rsp + 0x80], rax
mov rcx, rax
mov rdx, rdi
mov r8, r15
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x38], 0
je 0x6a60b2
mov rcx, qword [0x0076d128]
xor edx, edx
mov r8, rsi
call fcn.006d3c74
mov esi, dword [rsp + 0x170]
test bpl, bpl
mov qword [rsp + 0x78], r15
je 0x6a60d5
lea rcx, [rsp + 0x98]
mov rdx, rsi
call fcn.006acdf0
jmp 0x6a6123
test rsi, rsi
je 0x6a6106
lea rdi, [rsi*8]
mov ecx, 8
mov rdx, rdi
call fcn.0069df80
test rax, rax
jne 0x6a610b
mov ecx, 8
mov rdx, rdi
call fcn.00522e90
jmp 0x6a65f0
mov eax, 8
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rsi
inc rsi
imul rdi, rsi, 0x70
movzx eax, byte [0x0076d188]
xor ecx, ecx
mov rdx, rdi
call fcn.0069df80
test rax, rax
je 0x6a6592
mov rbp, rax
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rax
mov rsi, qword [rsp + 0xa8]
test rsi, rsi
je 0x6a63eb
shl rsi, 3
xor r13d, r13d
xor r14d, r14d
jmp 0x6a6212
mov rbp, qword [rsp + 0x60]
movups xmm0, xmmword [rsp + 0x110]
movups xmmword [rbp + r13 + 0x60], xmm0
movups xmm0, xmmword [rsp + 0x100]
movups xmmword [rbp + r13 + 0x50], xmm0
movups xmm0, xmmword [rsp + 0xf0]
movups xmmword [rbp + r13 + 0x40], xmm0
movups xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movups xmm2, xmmword [rsp + 0xd0]
movups xmm3, xmmword [rsp + 0xe0]
movups xmmword [rbp + r13 + 0x30], xmm3
movups xmmword [rbp + r13 + 0x20], xmm2
movups xmmword [rbp + r13 + 0x10], xmm1
movups xmmword [rbp + r13], xmm0
mov qword [rsp + 0x68], rdi
add r13, 0x70
mov r14, rdi
add rsi, 0xfffffffffffffff8
mov r15, qword [rsp + 0x78]
je 0x6a63eb
lea rdi, [r14 + 1]
mov qword [rsp + 0x138], rdi
lea rax, [rsp + 0x138]
mov qword [rsp + 0x140], rax
lea rax, [fcn.0056d550]
mov qword [rsp + 0x148], rax
lea rax, str.CPU
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], 1
mov qword [rsp + 0xd0], 0
lea rax, [rsp + 0x140]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], 1
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0xb0]
call fcn.005234b0
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov ebx, 1
mov r12d, 1
test r15, r15
je 0x6a62e9
js 0x6a657a
movzx eax, byte [0x0076d188]
xor ecx, ecx
mov rdx, r15
call fcn.0069df80
test rax, rax
je 0x6a656b
mov r12, rax
mov rcx, r12
mov rdx, qword [rsp + 0x80]
mov r8, r15
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x30], 0
je 0x6a6329
js 0x6a6561
movzx eax, byte [0x0076d188]
xor ecx, ecx
mov rdx, qword [rsp + 0x30]
call fcn.0069df80
test rax, rax
je 0x6a654d
mov rbx, rax
mov rcx, rbx
mov rdx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x30]
mov r8, r15
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + r14*8]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xe0], r15
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], r15
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0xb0], rcx
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0xb8], rcx
mov rcx, qword [rsp + 0x130]
mov qword [rsp + 0xc0], rcx
movabs rcx, 0x8000000000000000
mov qword [rsp + 0xf8], rcx
mov qword [rsp + 0x110], rax
mov dword [rsp + 0x118], 0
cmp r14, qword [rsp + 0x58]
jne 0x6a6195
lea rcx, [rsp + 0x58]
call fcn.006acfe0
jmp 0x6a6190
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0x98], 0
je 0x6a6433
mov rcx, qword [0x0076d128]
xor edx, edx
mov r8, qword [rsp + 0x88]
call fcn.006d3c74
cmp qword [rsp + 0x30], 0
movzx ebx, byte [rsp + 0x2f]
mov rdi, qword [rsp + 0x128]
je 0x6a645b
mov rcx, qword [0x0076d128]
xor edx, edx
mov r8, qword [rsp + 0x50]
call fcn.006d3c74
lea rsi, [rdi + 0x70]
test r15, r15
je 0x6a647a
mov rcx, qword [0x0076d128]
xor edx, edx
mov r8, qword [rsp + 0x80]
call fcn.006d3c74
mov rcx, rsi
call fcn.006a5b40
mov rax, qword [rsp + 0xc0]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [rsi], xmm0
mov byte [rdi + 0x88], bl
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
mov qword [rsp + 0x30], rcx
test rcx, rcx
je 0x6a6522
js 0x6a65e4
movzx eax, byte [0x0076d188]
xor ecx, ecx
mov rdx, qword [rsp + 0x30]
call fcn.0069df80
test rax, rax
jne 0x6a6527
mov ecx, 1
jmp 0x6a65e6
mov eax, 1
jmp 0x6a6083
cmp r8, rdx
jbe 0x6a5f04
lea rax, [0x00728270]
mov rcx, r8
mov r8, rax
call fcn.0056ddd0
jmp 0x6a65f0
mov eax, 1
mov qword [rsp + 0x50], rax
mov rcx, rax
mov rdx, rdi
mov r8, qword [rsp + 0x30]
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x38], 0
jne 0x6a5f3c
jmp 0x6a5f4d
mov ecx, 1
mov rdx, qword [rsp + 0x30]
call fcn.00522e90
jmp 0x6a65f0
call fcn.00522eb0
jmp 0x6a65f0
mov ecx, 1
mov rdx, r15
call fcn.00522e90
jmp 0x6a65f0
call fcn.00522eb0
jmp 0x6a65f0
mov ecx, 1
mov edx, 0xc
call fcn.00522e90
jmp 0x6a65f0
mov ecx, 8
mov rdx, rdi
call fcn.00522e90
jmp 0x6a65f0
mov ecx, 1
mov rdx, r15
call fcn.00522e90
jmp 0x6a65f0
mov ecx, 4
mov edx, 0x50
call fcn.00522e90
mov ecx, 1
mov edx, 0x30
call fcn.00522e90
jmp 0x6a65f0
lea rax, [0x00728288]
mov rdx, r8
mov r8, rax
call fcn.0056ddd0
jmp 0x6a65f0
xor ecx, ecx
mov rdx, qword [rsp + 0x30]
call fcn.00522e90
ud2