Function at 0x1400a2390
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, 0x168
cmp qword [rcx + 0x80], 0
jne 0x1400a2c7b
mov r13d, edx
mov rdi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x150], xmm0
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x130], xmm0
lea rcx, [rsp + 0x130]
call sub.kernel32.dll_GetSystemInfo
movzx r12d, word [rsp + 0x130]
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x27], r13b
mov qword [rsp + 0x108], rdi
jb 0x1400a2597
mov esi, eax
mov qword [rsp + 0x28], r12
movzx eax, byte [0x14024d119]
xor r12d, r12d
mov edx, 0x50
xor ecx, ecx
call fcn.140082900
test rax, rax
je 0x1400a2cbd
mov r8, rax
mov qword [rsp + 0x30], 5
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
mov ebx, 0x80000000
mov r13d, 0x80000000
nop word [rax + rax]
cmp ebx, esi
adc r13d, 0
mov eax, ebx
xor ecx, ecx
mov rdi, rbx
cpuid
xchg rbx, rdi
mov ebp, ecx
mov r14d, edx
mov r15d, eax
cmp r12, qword [rsp + 0x30]
jne 0x1400a2495
lea rcx, [rsp + 0x30]
call fcn.1400a1e10
mov r8, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
shl r12, 4
mov dword [r8 + r12], r15d
mov dword [r8 + r12 + 4], edi
mov dword [r8 + r12 + 8], ebp
mov dword [r8 + r12 + 0xc], r14d
mov r12, qword [rsp + 0x40]
inc r12
mov qword [rsp + 0x40], r12
cmp ebx, esi
jae 0x1400a24c5
mov ebx, r13d
cmp r13d, esi
jbe 0x1400a2460
movzx eax, byte [0x14024d119]
mov edx, 0x30
xor ecx, ecx
call fcn.140082900
test rax, rax
je 0x1400a2cbd
mov rsi, rax
mov qword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
cmp r12, 3
movzx r13d, byte [rsp + 0x27]
jb 0x1400a25e5
mov rdi, qword [rsp + 0x38]
shl r12, 4
add r12, rdi
mov edx, dword [rdi + 0x20]
lea rsi, [rsp + 0x50]
mov rcx, rsi
call fcn.1400a2cf0
mov edx, dword [rdi + 0x24]
mov rcx, rsi
call fcn.1400a2cf0
mov edx, dword [rdi + 0x28]
mov rcx, rsi
call fcn.1400a2cf0
add rdi, 0x2c
xor ebx, ebx
nop word cs:[rax + rax]
mov edx, dword [rdi + rbx]
mov rcx, rsi
call fcn.1400a2cf0
cmp rbx, 0x20
je 0x1400a25ab
lea r14, [rdi + rbx]
add r14, 4
cmp r14, r12
je 0x1400a25ab
mov edx, dword [r14]
mov rcx, rsi
call fcn.1400a2cf0
mov edx, dword [r14 + 4]
mov rcx, rsi
call fcn.1400a2cf0
mov edx, dword [r14 + 8]
mov rcx, rsi
call fcn.1400a2cf0
add rbx, 0x10
jmp 0x1400a2550
mov eax, 1
mov qword [rsp + 0x28], rax
xor edi, edi
xor r14d, r14d
jmp 0x1400a2651
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1400a25e5
xor r8d, r8d
mov r12, qword [rsp + 0x28]
nop word cs:[rax + rax]
cmp byte [rsi + r8], 0
je 0x1400a2cb4
inc r8
cmp rax, r8
jne 0x1400a25d0
jmp 0x1400a25ec
xor eax, eax
mov r12, qword [rsp + 0x28]
mov r8, rax
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.140019b30
cmp qword [rsp + 0xa0], 0
je 0x1400a280b
mov eax, 1
mov qword [rsp + 0x28], rax
xor edi, edi
xor r14d, r14d
cmp qword [rsp + 0x50], 0
je 0x1400a2636
mov rcx, qword [0x14024d108]
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
cmp qword [rsp + 0x30], 0
je 0x1400a2651
mov r8, qword [rsp + 0x38]
mov rcx, qword [0x14024d108]
xor edx, edx
call sub.kernel32.dll_HeapFree
xor eax, eax
xor ecx, ecx
mov rbp, rbx
cpuid
xchg rbx, rbp
mov esi, ecx
mov ebx, edx
movzx eax, byte [0x14024d119]
mov edx, 0xc
xor ecx, ecx
call fcn.140082900
test rax, rax
je 0x1400a2cbd
mov qword [rsp + 0x50], 0xc
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
lea r15, [rsp + 0x50]
mov rcx, r15
mov edx, ebp
call fcn.1400a2cf0
mov rcx, r15
mov edx, ebx
call fcn.1400a2cf0
mov rcx, r15
mov edx, esi
call fcn.1400a2cf0
mov rsi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x1400a26ec
xor eax, eax
nop dword [rax + rax]
cmp byte [rsi + rax], 0
je 0x1400a26e0
inc rax
cmp r8, rax
jne 0x1400a26d0
jmp 0x1400a26ec
cmp rax, r8
mov r8, rax
ja 0x1400a2cbd
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.140019b30
cmp qword [rsp + 0xa0], 0
mov qword [rsp + 0x100], rdi
je 0x1400a272e
cmp r12w, 0xe
ja 0x1400a2773
lea rax, [0x14020c020]
mov rbx, qword [rax + r12*8]
lea rax, case.0x14006a31b.462
mov rdi, qword [rax + r12*8]
jmp 0x1400a277f
mov rdi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
test rbx, rbx
sete bpl
je 0x1400a2c8f
js 0x1400a2cbd
movzx eax, byte [0x14024d119]
xor ecx, ecx
mov rdx, rbx
call fcn.140082900
test rax, rax
je 0x1400a2cbd
mov r15, rax
jmp 0x1400a2c95
lea rdi, case.0x14006a31b.473
mov ebx, 7
movzx eax, byte [0x14024d119]
xor ecx, ecx
mov rdx, rbx
call fcn.140082900
test rax, rax
je 0x1400a2cbd
mov r15, rax
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call sub.msvcrt.dll_memcpy
xor ebp, ebp
cmp qword [rsp + 0x50], 0
je 0x1400a27c5
mov rcx, qword [0x14024d108]
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
mov esi, dword [rsp + 0x150]
test r13b, r13b
je 0x1400a27e6
lea rcx, [rsp + 0xe8]
mov rdx, rsi
call fcn.1400a2db0
jmp 0x1400a286e
test rsi, rsi
je 0x1400a284f
lea rdx, [rsi*8]
mov ecx, 8
call fcn.140082900
test rax, rax
je 0x1400a2cbd
mov rcx, rsi
jmp 0x1400a2856
mov rbx, qword [rsp + 0xa8]
mov r14, qword [rsp + 0xb0]
test r14, r14
je 0x1400a2cbf
js 0x1400a2cbd
movzx eax, byte [0x14024d119]
xor ecx, ecx
mov rdx, r14
call fcn.140082900
test rax, rax
je 0x1400a2cbd
mov rcx, rax
mov rdi, r14
jmp 0x1400a2cc6
mov eax, 8
xor ecx, ecx
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rsi
mov dword [rsp + 0x4c], ebp
mov qword [rsp + 0x98], r15
inc rsi
imul rdx, rsi, 0x70
movzx eax, byte [0x14024d119]
xor ecx, ecx
call fcn.140082900
test rax, rax
je 0x1400a2cbd
mov r13, rax
movabs r12, 0x8000000000000000
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
mov rbp, qword [rsp + 0xf8]
test rbp, rbp
je 0x1400a2b20
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x110], rax
shl rbp, 3
mov edi, 1
xor r15d, r15d
jmp 0x1400a2967
imul rax, r15, 0x70
mov rcx, qword [rsp + 0x90]
mov qword [r13 + rax + 0x40], rcx
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movaps xmm2, xmmword [rsp + 0x70]
movaps xmm3, xmmword [rsp + 0x80]
movups xmmword [r13 + rax + 0x30], xmm3
movups xmmword [r13 + rax + 0x20], xmm2
movups xmmword [r13 + rax + 0x10], xmm1
movups xmmword [r13 + rax], xmm0
movabs r12, 0x8000000000000000
mov qword [r13 + rax + 0x48], r12
mov qword [r13 + rax + 0x60], rsi
mov dword [r13 + rax + 0x68], 0
mov r15, qword [rsp + 0x40]
inc r15
mov qword [rsp + 0x40], r15
inc rdi
add rbp, 0xfffffffffffffff8
je 0x1400a2b20
mov qword [rsp + 0x118], rdi
lea rax, [rsp + 0x118]
mov qword [rsp + 0x120], rax
lea rax, [0x14001a6b0]
mov qword [rsp + 0x128], rax
lea rax, [0x1401d0830]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x120]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x50]
call fcn.14000eef0
test rbx, rbx
je 0x1400a2a10
js 0x1400a2cbd
movzx eax, byte [0x14024d119]
xor ecx, ecx
mov rdx, rbx
call fcn.140082900
test rax, rax
je 0x1400a2cbd
mov rsi, rax
mov r12, rbx
jmp 0x1400a2a18
xor r12d, r12d
mov esi, 1
mov rcx, rsi
mov rdx, qword [rsp + 0x98]
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], rbx
test r14, r14
je 0x1400a2a70
js 0x1400a2cbd
movzx eax, byte [0x14024d119]
xor ecx, ecx
mov rdx, r14
call fcn.140082900
test rax, rax
je 0x1400a2cbd
mov rsi, rax
mov r12, r14
jmp 0x1400a2a78
mov esi, 1
xor r12d, r12d
mov rcx, rsi
mov rdx, qword [rsp + 0x28]
mov r8, r14
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xe0], r14
mov rax, qword [rsp + 0x110]
mov rsi, qword [rax + rdi*8 - 8]
movups xmm0, xmmword [rsp + 0xa0]
movups xmm1, xmmword [rsp + 0xb0]
movups xmm2, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x70], xmm2
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], r14
cmp r15, qword [rsp + 0x30]
jne 0x1400a28f0
lea rcx, [rsp + 0x30]
call fcn.1400a20a0
mov r13, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
jmp 0x1400a28f0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xe8], 0
je 0x1400a2b68
mov r8, qword [rsp + 0xf0]
mov rcx, qword [0x14024d108]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [rsp + 0x100], 0
movzx ebp, byte [rsp + 0x27]
mov r14, qword [rsp + 0x108]
je 0x1400a2b93
mov rcx, qword [0x14024d108]
xor edx, edx
mov r8, qword [rsp + 0x28]
call sub.kernel32.dll_HeapFree
cmp byte [rsp + 0x4c], 0
jne 0x1400a2bb0
mov rcx, qword [0x14024d108]
xor edx, edx
mov r8, qword [rsp + 0x98]
call sub.kernel32.dll_HeapFree
lea rsi, [r14 + 0x70]
mov rdi, qword [r14 + 0x80]
test rdi, rdi
je 0x1400a2c45
mov rbx, qword [r14 + 0x78]
add rbx, 0x50
jmp 0x1400a2bd9
add rbx, 0x70
dec rdi
je 0x1400a2c45
cmp qword [rbx - 0x50], 0
je 0x1400a2bf2
mov r8, qword [rbx - 0x48]
mov rcx, qword [0x14024d108]
xor edx, edx
call sub.kernel32.dll_HeapFree
mov rax, qword [rbx - 8]
cmp rax, r12
je 0x1400a2c11
test rax, rax
je 0x1400a2c11
mov r8, qword [rbx]
mov rcx, qword [0x14024d108]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [rbx - 0x38], 0
je 0x1400a2c2a
mov r8, qword [rbx - 0x30]
mov rcx, qword [0x14024d108]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [rbx - 0x20], 0
je 0x1400a2bd0
mov r8, qword [rbx - 0x18]
mov rcx, qword [0x14024d108]
xor edx, edx
call sub.kernel32.dll_HeapFree
jmp 0x1400a2bd0
cmp qword [rsi], 0
je 0x1400a2c5d
mov r8, qword [r14 + 0x78]
mov rcx, qword [0x14024d108]
xor edx, edx
call sub.kernel32.dll_HeapFree
mov rax, qword [rsp + 0xb0]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [rsi], xmm0
mov byte [r14 + 0x88], bpl
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15d, 1
mov rcx, r15
mov rdx, rdi
mov r8, rbx
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x50], 0
jne 0x1400a27b4
jmp 0x1400a27c5
cmp r8, rax
jbe 0x1400a25ef
ud2
mov ecx, 1
xor edi, edi
mov qword [rsp + 0x28], rcx
mov rdx, rbx
mov r8, r14
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x50], 0
jne 0x1400a2625
jmp 0x1400a2636