Function at 0x1400ad3b0
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, 0x158
cmp qword [rcx + 0x80], 0
jne 0x1400addcd
mov r12d, edx
mov r13, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x130], xmm0
movaps xmmword [rsp + 0x120], xmm0
lea rcx, [rsp + 0x120]
call sub.KERNEL32.dll_GetSystemInfo
movsx r15, word [rsp + 0x120]
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x2f], r12b
mov qword [rsp + 0x100], r13
jb 0x1400ad5fb
mov edi, eax
movzx eax, byte [0x1401d21e9]
mov rcx, qword [0x1401d2138]
test rcx, rcx
jne 0x1400ad45c
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400ade64
mov rcx, rax
mov qword [0x1401d2138], rax
xor esi, esi
mov r8d, 0x50
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400ade64
mov r8, rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 5
mov qword [rsp + 0x40], 0
mov ebp, 0x80000000
mov r13d, 0x80000000
nop
cmp ebp, edi
adc r13d, 0
xor ecx, ecx
mov eax, ebp
mov rbx, rbx
cpuid
xchg rbx, rbx
mov r15d, ecx
mov r14d, edx
mov r12d, eax
cmp rsi, qword [rsp + 0x38]
jne 0x1400ad4d9
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.1400b37c0
mov r8, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rax, rsi
shl rax, 4
inc rsi
mov dword [r8 + rax], r12d
mov dword [r8 + rax + 4], ebx
mov dword [r8 + rax + 8], r15d
mov dword [r8 + rax + 0xc], r14d
mov qword [rsp + 0x40], rsi
cmp ebp, edi
jae 0x1400ad507
mov ebp, r13d
cmp r13d, edi
jbe 0x1400ad4a0
movzx eax, byte [0x1401d21e9]
mov rcx, qword [0x1401d2138]
test rcx, rcx
jne 0x1400ad532
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400ade75
mov rcx, rax
mov qword [0x1401d2138], rax
mov r8d, 0x30
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400ade75
mov rbx, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x30
mov qword [rsp + 0x60], 0
mov r15, qword [rsp + 0x30]
cmp rsi, 3
jb 0x1400ad635
shl rsi, 4
add rsi, r15
mov edx, dword [r15 + 0x20]
lea rdi, [rsp + 0x50]
mov rcx, rdi
call fcn.1400b3700
mov edx, dword [r15 + 0x24]
mov rcx, rdi
call fcn.1400b3700
mov edx, dword [r15 + 0x28]
mov rcx, rdi
call fcn.1400b3700
lea rbx, [r15 + 0x2c]
xor r14d, r14d
nop dword [rax + rax]
mov edx, dword [rbx + r14]
mov rcx, rdi
call fcn.1400b3700
cmp r14, 0x20
je 0x1400ad608
lea r12, [rbx + r14]
add r12, 4
cmp r12, rsi
je 0x1400ad608
mov edx, dword [r12]
mov rcx, rdi
call fcn.1400b3700
mov edx, dword [r12 + 4]
mov rcx, rdi
call fcn.1400b3700
mov edx, dword [r12 + 8]
mov rcx, rdi
call fcn.1400b3700
add r14, 0x10
jmp 0x1400ad5b0
mov r14d, 1
xor edi, edi
jmp 0x1400ad69e
mov rbx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x1400ad635
xor r8d, r8d
movzx r12d, byte [rsp + 0x2f]
cmp byte [rbx + r8], 0
je 0x1400addec
inc r8
cmp rdx, r8
jne 0x1400ad620
jmp 0x1400ad63d
xor edx, edx
movzx r12d, byte [rsp + 0x2f]
mov r8, rdx
lea rcx, [rsp + 0xa0]
mov rdx, rbx
call fcn.1400072d0
cmp qword [rsp + 0xa0], 0
je 0x1400ad90a
mov r14d, 1
xor edi, edi
cmp qword [rsp + 0x58], 0
je 0x1400ad680
mov rcx, qword [0x1401d2138]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x38], 0
je 0x1400ad699
mov rcx, qword [0x1401d2138]
xor edx, edx
mov r8, r15
call sub.KERNEL32.dll_HeapFree
mov r15, qword [rsp + 0x48]
xor ecx, ecx
xor eax, eax
mov rbp, rbx
cpuid
xchg rbx, rbp
mov esi, ecx
mov ebx, edx
movzx eax, byte [0x1401d21e9]
mov rcx, qword [0x1401d2138]
test rcx, rcx
jne 0x1400ad6d9
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400ade53
mov rcx, rax
mov qword [0x1401d2138], rax
mov r8d, 0xc
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400ade53
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0xc
mov qword [rsp + 0x60], 0
lea r14, [rsp + 0x50]
mov rcx, r14
mov edx, ebp
call fcn.1400b3700
mov rcx, r14
mov edx, ebx
call fcn.1400b3700
mov rcx, r14
mov edx, esi
call fcn.1400b3700
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x1400ad76c
xor ecx, ecx
nop word cs:[rax + rax]
cmp byte [rsi + rcx], 0
je 0x1400ad760
inc rcx
cmp r8, rcx
jne 0x1400ad750
jmp 0x1400ad76c
cmp rcx, r8
ja 0x1400ade86
mov r8, rcx
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.1400072d0
cmp qword [rsp + 0xa0], 0
je 0x1400ad7c7
cmp r15w, 0xe
ja 0x1400ad828
lea rax, [0x140196b88]
mov rcx, r15
mov r15, qword [rax + r15*8]
lea rax, [0x140196c00]
mov rbx, qword [rax + rcx*8]
movzx eax, byte [0x1401d21e9]
mov rcx, qword [0x1401d2138]
test rcx, rcx
jne 0x1400ad860
jmp 0x1400ad848
mov rbx, qword [rsp + 0xa8]
mov r15, qword [rsp + 0xb0]
test r15, r15
je 0x1400adde1
js 0x1400ade2e
movzx eax, byte [0x1401d21e9]
mov rcx, qword [0x1401d2138]
test rcx, rcx
jne 0x1400ad811
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400ade35
mov rcx, rax
mov qword [0x1401d2138], rax
xor edx, edx
mov r8, r15
call sub.KERNEL32.dll_HeapAlloc
mov r14, rax
test rax, rax
jne 0x1400ad876
jmp 0x1400ade35
lea rbx, [0x14015afd9]
mov r15d, 7
movzx eax, byte [0x1401d21e9]
mov rcx, qword [0x1401d2138]
test rcx, rcx
jne 0x1400ad860
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400ade35
mov rcx, rax
mov qword [0x1401d2138], rax
xor edx, edx
mov r8, r15
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400ade35
mov r14, rax
mov rcx, r14
mov rdx, rbx
mov r8, r15
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x58], 0
je 0x1400ad89d
mov rcx, qword [0x1401d2138]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
mov esi, dword [rsp + 0x140]
test r12b, r12b
je 0x1400ad8be
lea rcx, [rsp + 0xe8]
mov rdx, rsi
call fcn.1400b3880
jmp 0x1400ad992
test rsi, rsi
je 0x1400ad975
lea rbx, [rsi*8]
mov rcx, qword [0x1401d2138]
test rcx, rcx
jne 0x1400ad8f3
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400ade44
mov rcx, rax
mov qword [0x1401d2138], rax
mov edx, 8
mov r8, rbx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
jne 0x1400ad97a
jmp 0x1400ade44
mov rsi, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
test rdi, rdi
je 0x1400ade09
js 0x1400ade2e
movzx eax, byte [0x1401d21e9]
mov rcx, qword [0x1401d2138]
test rcx, rcx
jne 0x1400ad950
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400ad966
mov rcx, rax
mov qword [0x1401d2138], rax
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapAlloc
mov r14, rax
test rax, rax
jne 0x1400ade0f
mov ecx, 1
mov rdx, rdi
call fcn.1400034d0
ud2
mov eax, 8
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0xf8], rsi
inc rsi
imul rbx, rsi, 0x70
movzx eax, byte [0x1401d21e9]
mov rcx, qword [0x1401d2138]
test rcx, rcx
jne 0x1400ad9c4
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400ade44
mov rcx, rax
mov qword [0x1401d2138], rax
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400ade44
mov r13, rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 0
mov rbx, qword [rsp + 0xf8]
test rbx, rbx
je 0x1400adc7c
mov rsi, qword [rsp + 0xe8]
shl rbx, 3
mov r12d, 1
xor ebp, ebp
jmp 0x1400ada9a
imul rax, rbp, 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
mov qword [r13 + rax + 0x48], 0
movups xmm0, xmmword [rsp + 0xa0]
movups xmmword [r13 + rax + 0x50], xmm0
mov qword [r13 + rax + 0x60], r14
mov dword [r13 + rax + 0x68], 0
inc rbp
mov qword [rsp + 0x40], rbp
inc r12
add rbx, 0xfffffffffffffff8
je 0x1400adc7c
mov qword [rsp + 0x108], r12
lea rax, [rsp + 0x108]
mov qword [rsp + 0x110], rax
lea rax, [fcn.140005de0]
mov qword [rsp + 0x118], rax
lea rax, str.CPU
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x110]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x50]
call fcn.140003b00
mov r14d, 1
test r15, r15
je 0x1400adb59
js 0x1400ade2e
movzx eax, byte [0x1401d21e9]
mov rax, qword [0x1401d2138]
test rax, rax
jne 0x1400adb40
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400ade35
mov qword [0x1401d2138], rax
mov rcx, rax
xor edx, edx
mov r8, r15
call sub.KERNEL32.dll_HeapAlloc
mov r14, rax
test rax, rax
je 0x1400ade35
mov rcx, r14
mov rdx, qword [rsp + 0x48]
mov r8, r15
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xb8], r14
mov qword [rsp + 0xc0], r15
mov qword [rsp + 0xc8], r15
test rdi, rdi
je 0x1400adbd0
js 0x1400ade2e
movzx eax, byte [0x1401d21e9]
mov rax, qword [0x1401d2138]
test rax, rax
jne 0x1400adbb4
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400ad966
mov qword [0x1401d2138], rax
mov rcx, rax
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapAlloc
mov r14, rax
test rax, rax
jne 0x1400adbd6
jmp 0x1400ad966
mov r14d, 1
mov rcx, r14
mov rdx, qword [rsp + 0x98]
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], rdi
mov r14, qword [rsi + r12*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], rdi
cmp rbp, qword [rsp + 0x38]
jne 0x1400ada20
lea rcx, [rsp + 0x30]
mov rdx, rbp
call fcn.1400b3a70
mov r13, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
jmp 0x1400ada20
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 + 0xf0], 0
je 0x1400adcc4
mov r8, qword [rsp + 0xe8]
mov rcx, qword [0x1401d2138]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
test rdi, rdi
movzx ebp, byte [rsp + 0x2f]
mov r14, qword [rsp + 0x100]
je 0x1400adcec
mov rcx, qword [0x1401d2138]
xor edx, edx
mov r8, qword [rsp + 0x98]
call sub.KERNEL32.dll_HeapFree
test r15, r15
je 0x1400add04
mov rcx, qword [0x1401d2138]
xor edx, edx
mov r8, qword [rsp + 0x48]
call sub.KERNEL32.dll_HeapFree
mov rsi, qword [r14 + 0x70]
mov rdi, qword [r14 + 0x80]
test rdi, rdi
je 0x1400add93
lea rbx, [rsi + 0x50]
jmp 0x1400add29
add rbx, 0x70
dec rdi
je 0x1400add93
cmp qword [rbx - 0x48], 0
je 0x1400add42
mov r8, qword [rbx - 0x50]
mov rcx, qword [0x1401d2138]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov r8, qword [rbx - 8]
test r8, r8
je 0x1400add5f
cmp qword [rbx], 0
je 0x1400add5f
mov rcx, qword [0x1401d2138]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rbx - 0x30], 0
je 0x1400add78
mov r8, qword [rbx - 0x38]
mov rcx, qword [0x1401d2138]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rbx - 0x18], 0
je 0x1400add20
mov r8, qword [rbx - 0x20]
mov rcx, qword [0x1401d2138]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x1400add20
lea rdi, [r14 + 0x70]
cmp qword [r14 + 0x78], 0
je 0x1400addaf
mov rcx, qword [0x1401d2138]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rsp + 0xb0]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [rdi], xmm0
mov byte [r14 + 0x88], bpl
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14d, 1
jmp 0x1400ad876
cmp r8, rdx
jbe 0x1400ad640
lea rax, [0x14015b050]
mov rcx, r8
mov r8, rax
call fcn.140006660
ud2
mov r14d, 1
mov rcx, r14
mov rdx, rsi
mov r8, rdi
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x58], 0
jne 0x1400ad66f
jmp 0x1400ad680
call fcn.140003490
ud2
mov ecx, 1
mov rdx, r15
call fcn.1400034d0
ud2
mov ecx, 8
mov rdx, rbx
call fcn.1400034d0
ud2
mov ecx, 1
mov edx, 0xc
call fcn.1400034d0
ud2
mov ecx, 4
mov edx, 0x50
call fcn.1400034d0
ud2
mov ecx, 1
mov edx, 0x30
call fcn.1400034d0
ud2
lea rax, [0x14015b068]
mov rdx, r8
mov r8, rax
call fcn.140006660
ud2