Function at 0x1400f5dc0
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 0x1400f66b5
mov r15d, 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]
xor ecx, ecx
mov eax, 0x80000000
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x27], r15b
mov qword [rsp + 0x110], rdi
jb 0x1400f5fc8
mov esi, eax
mov qword [rsp + 0x28], r12
movzx eax, byte [0x14017a148]
xor edi, edi
mov edx, 0x50
xor ecx, ecx
call fcn.1400dbb10
test rax, rax
je 0x1400f6716
mov r8, rax
mov qword [rsp + 0x30], 5
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
mov ebp, 0x80000000
mov r13d, 0x80000000
nop dword [rax]
cmp ebp, esi
adc r13d, 0
mov eax, ebp
xor ecx, ecx
mov rbx, rbx
cpuid
xchg rbx, rbx
mov r14d, ecx
mov r15d, edx
mov r12d, eax
cmp rdi, qword [rsp + 0x30]
jne 0x1400f5ec9
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.1400f6ab0
mov r8, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
shl rdi, 4
mov dword [r8 + rdi], r12d
mov dword [r8 + rdi + 4], ebx
mov dword [r8 + rdi + 8], r14d
mov dword [r8 + rdi + 0xc], r15d
mov rdi, qword [rsp + 0x40]
inc rdi
mov qword [rsp + 0x40], rdi
cmp ebp, esi
jae 0x1400f5ef9
mov ebp, r13d
cmp r13d, esi
jbe 0x1400f5e90
movzx eax, byte [0x14017a148]
mov edx, 0x30
xor ecx, ecx
call fcn.1400dbb10
test rax, rax
je 0x1400f6716
mov rsi, rax
mov qword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
cmp rdi, 3
jb 0x1400f5fdd
mov rbx, qword [rsp + 0x38]
shl rdi, 4
add rdi, rbx
mov edx, dword [rbx + 0x20]
lea rsi, [rsp + 0x50]
mov rcx, rsi
call fcn.1400f6720
mov edx, dword [rbx + 0x24]
mov rcx, rsi
call fcn.1400f6720
mov edx, dword [rbx + 0x28]
mov rcx, rsi
call fcn.1400f6720
add rbx, 0x2c
xor r14d, r14d
mov r12, qword [rsp + 0x28]
nop word [rax + rax]
mov edx, dword [rbx + r14]
mov rcx, rsi
call fcn.1400f6720
cmp r14, 0x20
je 0x1400f5fef
lea r15, [rbx + r14]
add r15, 4
cmp r15, rdi
je 0x1400f5fef
mov edx, dword [r15]
mov rcx, rsi
call fcn.1400f6720
mov edx, dword [r15 + 4]
mov rcx, rsi
call fcn.1400f6720
mov edx, dword [r15 + 8]
mov rcx, rsi
call fcn.1400f6720
add r14, 0x10
jmp 0x1400f5f80
mov eax, 1
mov qword [rsp + 0x28], rax
xor r13d, r13d
xor r14d, r14d
jmp 0x1400f609a
xor eax, eax
movzx r15d, byte [rsp + 0x27]
mov r12, qword [rsp + 0x28]
mov r8, rax
jmp 0x1400f6037
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1400f6021
xor r8d, r8d
movzx r15d, byte [rsp + 0x27]
nop word [rax + rax]
cmp byte [rsi + r8], 0
je 0x1400f602e
inc r8
cmp rax, r8
jne 0x1400f6010
jmp 0x1400f6029
xor eax, eax
movzx r15d, byte [rsp + 0x27]
mov r8, rax
jmp 0x1400f6037
cmp r8, rax
ja 0x1400f6716
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.14003cd10
cmp qword [rsp + 0xa0], 0
je 0x1400f625e
mov eax, 1
mov qword [rsp + 0x28], rax
xor r13d, r13d
xor r14d, r14d
cmp qword [rsp + 0x50], 0
je 0x1400f607f
mov rcx, qword [0x14017a0c0]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x30], 0
je 0x1400f609a
mov r8, qword [rsp + 0x38]
mov rcx, qword [0x14017a0c0]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
xor ecx, ecx
xor eax, eax
mov rbp, rbx
cpuid
xchg rbx, rbp
mov esi, ecx
mov ebx, edx
movzx eax, byte [0x14017a148]
mov edx, 0xc
xor ecx, ecx
call fcn.1400dbb10
test rax, rax
je 0x1400f6716
mov qword [rsp + 0x50], 0xc
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov edx, ebp
call fcn.1400f6720
mov rcx, rdi
mov edx, ebx
call fcn.1400f6720
mov rcx, rdi
mov edx, esi
call fcn.1400f6720
mov rsi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x1400f613c
xor eax, eax
nop word cs:[rax + rax]
cmp byte [rsi + rax], 0
je 0x1400f6130
inc rax
cmp r8, rax
jne 0x1400f6120
jmp 0x1400f613c
cmp rax, r8
mov r8, rax
ja 0x1400f6716
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.14003cd10
cmp qword [rsp + 0xa0], 0
je 0x1400f6179
cmp r12w, 0xe
ja 0x1400f61be
lea rax, [0x14016fa28]
mov rcx, r12
mov r12, qword [rax + r12*8]
lea rax, [0x14016faa0]
mov rbx, qword [rax + rcx*8]
jmp 0x1400f61cb
mov rbx, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xb0]
test r12, r12
sete bpl
je 0x1400f66c9
js 0x1400f6716
movzx eax, byte [0x14017a148]
xor ecx, ecx
mov rdx, r12
call fcn.1400dbb10
test rax, rax
je 0x1400f6716
mov rdi, rax
jmp 0x1400f66ce
lea rbx, [0x14016f36b]
mov r12d, 7
movzx eax, byte [0x14017a148]
xor ecx, ecx
mov rdx, r12
call fcn.1400dbb10
test rax, rax
je 0x1400f6716
mov rdi, rax
mov rcx, rax
mov rdx, rbx
mov r8, r12
call sub.msvcrt.dll_memcpy
xor ebp, ebp
cmp qword [rsp + 0x50], 0
je 0x1400f6211
mov rcx, qword [0x14017a0c0]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
mov esi, dword [rsp + 0x150]
test r15b, r15b
mov qword [rsp + 0x108], r13
je 0x1400f623a
lea rcx, [rsp + 0xf0]
mov rdx, rsi
call fcn.1400f67e0
jmp 0x1400f62c1
test rsi, rsi
je 0x1400f62a2
lea rdx, [rsi*8]
mov ecx, 8
call fcn.1400dbb10
mov rcx, rsi
test rax, rax
jne 0x1400f62a9
jmp 0x1400f6716
mov rbx, qword [rsp + 0xa8]
mov r14, qword [rsp + 0xb0]
test r14, r14
je 0x1400f66ed
js 0x1400f6716
movzx eax, byte [0x14017a148]
xor ecx, ecx
mov rdx, r14
call fcn.1400dbb10
test rax, rax
je 0x1400f6716
mov rcx, rax
mov r13, r14
jmp 0x1400f66f5
mov eax, 8
xor ecx, ecx
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rsi
mov dword [rsp + 0x4c], ebp
mov qword [rsp + 0x98], rdi
inc rsi
imul rdx, rsi, 0x70
movzx eax, byte [0x14017a148]
xor ecx, ecx
call fcn.1400dbb10
test rax, rax
je 0x1400f6716
mov r13, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
mov rbx, qword [rsp + 0x100]
test rbx, rbx
je 0x1400f6548
mov rbp, qword [rsp + 0xf8]
shl rbx, 3
mov r15d, 1
xor esi, esi
jmp 0x1400f63a7
imul rax, rsi, 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 rcx, 0x8000000000000000
mov qword [r13 + rax + 0x48], rcx
mov qword [r13 + rax + 0x60], rdi
mov dword [r13 + rax + 0x68], 0
mov rsi, qword [rsp + 0x40]
inc rsi
mov qword [rsp + 0x40], rsi
inc r15
add rbx, 0xfffffffffffffff8
je 0x1400f6548
mov qword [rsp + 0x118], r15
lea rax, [rsp + 0x118]
mov qword [rsp + 0x120], rax
lea rax, [0x14003bc30]
mov qword [rsp + 0x128], rax
lea rax, [0x14016f380]
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.140036fb0
mov edi, 1
test r12, r12
je 0x1400f6441
js 0x1400f6716
movzx eax, byte [0x14017a148]
xor ecx, ecx
mov rdx, r12
call fcn.1400dbb10
test rax, rax
je 0x1400f6716
mov rdi, rax
mov rcx, rdi
mov rdx, qword [rsp + 0x98]
mov r8, r12
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0xc8], r12
test r14, r14
je 0x1400f64a0
js 0x1400f6716
movzx eax, byte [0x14017a148]
xor ecx, ecx
mov rdx, r14
call fcn.1400dbb10
test rax, rax
je 0x1400f6716
mov rdi, rax
jmp 0x1400f64a5
mov edi, 1
mov rdx, qword [rsp + 0x28]
mov rcx, rdi
mov r8, r14
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], r14
mov rdi, qword [rbp + r15*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 rsi, qword [rsp + 0x30]
jne 0x1400f6330
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.1400f6b50
mov r13, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
jmp 0x1400f6330
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 0x1400f6590
mov r8, qword [rsp + 0xf8]
mov rcx, qword [0x14017a0c0]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x108], 0
movzx ebp, byte [rsp + 0x27]
mov r14, qword [rsp + 0x110]
je 0x1400f65bb
mov rcx, qword [0x14017a0c0]
xor edx, edx
mov r8, qword [rsp + 0x28]
call sub.KERNEL32.dll_HeapFree
cmp byte [rsp + 0x4c], 0
jne 0x1400f65d8
mov rcx, qword [0x14017a0c0]
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 0x1400f667f
mov rbx, qword [r14 + 0x78]
add rbx, 0x50
jmp 0x1400f6609
add rbx, 0x70
dec rdi
je 0x1400f667f
cmp qword [rbx - 0x50], 0
je 0x1400f6622
mov r8, qword [rbx - 0x48]
mov rcx, qword [0x14017a0c0]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rbx - 8]
movabs rcx, 0x8000000000000000
cmp rax, rcx
je 0x1400f664b
test rax, rax
je 0x1400f664b
mov r8, qword [rbx]
mov rcx, qword [0x14017a0c0]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rbx - 0x38], 0
je 0x1400f6664
mov r8, qword [rbx - 0x30]
mov rcx, qword [0x14017a0c0]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rbx - 0x20], 0
je 0x1400f6600
mov r8, qword [rbx - 0x18]
mov rcx, qword [0x14017a0c0]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x1400f6600
cmp qword [rsi], 0
je 0x1400f6697
mov r8, qword [r14 + 0x78]
mov rcx, qword [0x14017a0c0]
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 edi, 1
mov rcx, rdi
mov rdx, rbx
mov r8, r12
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x50], 0
jne 0x1400f6200
jmp 0x1400f6211
mov ecx, 1
xor r13d, r13d
mov qword [rsp + 0x28], rcx
mov rdx, rbx
mov r8, r14
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x50], 0
jne 0x1400f606e
jmp 0x1400f607f
ud2