Function at 0x1400f7bd0
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, 0x118
cmp qword [rcx + 0x80], 0
jne 0x1400f85a7
mov r12d, edx
mov rbx, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
lea rcx, [rsp + 0xe0]
call sub.KERNEL32.dll_GetSystemInfo
movsx r15, word [rsp + 0xe0]
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x27], r12b
mov qword [rsp + 0xb0], rbx
jb 0x1400f7e18
mov esi, eax
movzx eax, byte [0x1401a4170]
mov rcx, qword [0x1401a4160]
test rcx, rcx
jne 0x1400f7c7c
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400f85ce
mov rcx, rax
mov qword [0x1401a4160], rax
xor edi, edi
mov r8d, 0x50
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400f85ce
mov r8, rax
mov qword [rsp + 0x28], 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, esi
adc r13d, 0
mov eax, ebp
xor ecx, ecx
mov rbx, rbx
cpuid
xchg rbx, rbx
mov r15d, ecx
mov r14d, edx
mov r12d, eax
cmp rdi, qword [rsp + 0x38]
jne 0x1400f7cf9
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.1400f8a50
mov r8, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
shl rdi, 4
mov dword [r8 + rdi], r12d
mov dword [r8 + rdi + 4], ebx
mov dword [r8 + rdi + 8], r15d
mov dword [r8 + rdi + 0xc], r14d
mov rdi, qword [rsp + 0x40]
inc rdi
mov qword [rsp + 0x40], rdi
cmp ebp, esi
jae 0x1400f7d29
mov ebp, r13d
cmp r13d, esi
jbe 0x1400f7cc0
movzx eax, byte [0x1401a4170]
mov rcx, qword [0x1401a4160]
test rcx, rcx
jne 0x1400f7d54
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400f85ce
mov rcx, rax
mov qword [0x1401a4160], rax
mov r8d, 0x30
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400f85ce
mov rsi, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], 0
cmp rdi, 3
jb 0x1400f7e29
mov rbx, qword [rsp + 0x30]
shl rdi, 4
add rdi, rbx
mov edx, dword [rbx + 0x20]
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.1400f8600
mov edx, dword [rbx + 0x24]
mov rcx, rsi
call fcn.1400f8600
mov edx, dword [rbx + 0x28]
mov rcx, rsi
call fcn.1400f8600
add rbx, 0x2c
xor r14d, r14d
movzx r12d, byte [rsp + 0x27]
nop dword [rax]
mov edx, dword [rbx + r14]
mov rcx, rsi
call fcn.1400f8600
cmp r14, 0x20
je 0x1400f7e33
lea r15, [rbx + r14]
add r15, 4
cmp r15, rdi
je 0x1400f7e33
mov edx, dword [r15]
mov rcx, rsi
call fcn.1400f8600
mov edx, dword [r15 + 4]
mov rcx, rsi
call fcn.1400f8600
mov edx, dword [r15 + 8]
mov rcx, rsi
call fcn.1400f8600
add r14, 0x10
jmp 0x1400f7dd0
mov edi, 1
xor eax, eax
mov qword [rsp + 0x28], rax
jmp 0x1400f7ec8
xor eax, eax
movzx r12d, byte [rsp + 0x27]
jmp 0x1400f7e67
mov rsi, qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400f7e65
xor r8d, r8d
mov r15, qword [rsp + 0x28]
nop word [rax + rax]
cmp byte [rsi + r8], 0
je 0x1400f85c5
inc r8
cmp rax, r8
jne 0x1400f7e50
jmp 0x1400f7e6c
xor eax, eax
mov r15, qword [rsp + 0x28]
mov r8, rax
lea rcx, [rsp + 0x60]
mov rdx, rsi
call fcn.140013510
cmp qword [rsp + 0x60], 0
je 0x1400f8144
mov edi, 1
xor eax, eax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x50], 0
je 0x1400f7ead
mov rcx, qword [0x1401a4160]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x38], 0
je 0x1400f7ec8
mov r8, qword [rsp + 0x30]
mov rcx, qword [0x1401a4160]
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 [0x1401a4170]
mov rcx, qword [0x1401a4160]
test rcx, rcx
jne 0x1400f7f03
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400f85ce
mov rcx, rax
mov qword [0x1401a4160], rax
mov r8d, 0xc
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400f85ce
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0xc
mov qword [rsp + 0x58], 0
lea r14, [rsp + 0x48]
mov rcx, r14
mov edx, ebp
call fcn.1400f8600
mov rcx, r14
mov edx, ebx
call fcn.1400f8600
mov rcx, r14
mov edx, esi
call fcn.1400f8600
mov r13, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x1400f7f8e
xor eax, eax
nop word cs:[rax + rax]
cmp byte [r13 + rax], 0
je 0x1400f7f82
inc rax
cmp r8, rax
jne 0x1400f7f70
jmp 0x1400f7f8e
cmp rax, r8
mov r8, rax
ja 0x1400f85ce
lea rcx, [rsp + 0x60]
mov rdx, r13
call fcn.140013510
cmp qword [rsp + 0x60], 0
je 0x1400f7fe0
cmp r15w, 0xe
ja 0x1400f803b
lea rax, [0x140198ab0]
mov rcx, qword [rax + r15*8]
lea rax, [0x140198b28]
mov rsi, qword [rax + r15*8]
mov r15, rcx
movzx eax, byte [0x1401a4170]
mov rcx, qword [0x1401a4160]
test rcx, rcx
jne 0x1400f8073
jmp 0x1400f805b
mov rsi, qword [rsp + 0x68]
mov r15, qword [rsp + 0x70]
test r15, r15
je 0x1400f85bb
js 0x1400f85ce
movzx eax, byte [0x1401a4170]
mov rcx, qword [0x1401a4160]
test rcx, rcx
jne 0x1400f8024
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400f85ce
mov rcx, rax
mov qword [0x1401a4160], rax
xor edx, edx
mov r8, r15
call sub.KERNEL32.dll_HeapAlloc
mov rbx, rax
test rax, rax
jne 0x1400f8089
jmp 0x1400f85ce
lea rsi, [0x140173a33]
mov r15d, 7
movzx eax, byte [0x1401a4170]
mov rcx, qword [0x1401a4160]
test rcx, rcx
jne 0x1400f8073
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400f85ce
mov rcx, rax
mov qword [0x1401a4160], rax
xor edx, edx
mov r8, r15
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400f85ce
mov rbx, rax
mov rcx, rbx
mov rdx, rsi
mov r8, r15
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x50], 0
je 0x1400f80b0
mov rcx, qword [0x1401a4160]
xor edx, edx
mov r8, r13
call sub.KERNEL32.dll_HeapFree
mov esi, dword [rsp + 0x100]
test r12b, r12b
je 0x1400f80f8
lea rcx, [rsp + 0x98]
mov rdx, rsi
call fcn.1400f86c0
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa8]
movzx eax, byte [0x1401a4170]
mov rcx, qword [0x1401a4160]
test rcx, rcx
jne 0x1400f81f9
jmp 0x1400f81e1
test rsi, rsi
je 0x1400f81ad
mov rcx, qword [0x1401a4160]
test rcx, rcx
jne 0x1400f8125
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400f85ce
mov rcx, rax
mov qword [0x1401a4160], rax
lea r8, [rsi*8]
mov edx, 8
call sub.KERNEL32.dll_HeapAlloc
mov r14, rax
test rax, rax
jne 0x1400f81b3
jmp 0x1400f85ce
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mov qword [rsp + 0x28], rcx
test rcx, rcx
je 0x1400f85d2
js 0x1400f85ce
movzx eax, byte [0x1401a4170]
mov rcx, qword [0x1401a4160]
test rcx, rcx
jne 0x1400f8190
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400f85ce
mov rcx, rax
mov qword [0x1401a4160], rax
xor edx, edx
mov r8, qword [rsp + 0x28]
call sub.KERNEL32.dll_HeapAlloc
mov rdi, rax
test rax, rax
jne 0x1400f85d7
jmp 0x1400f85ce
mov r14d, 8
mov qword [rsp + 0x98], r14
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rsi
mov r12, rsi
movzx eax, byte [0x1401a4170]
mov rcx, qword [0x1401a4160]
test rcx, rcx
jne 0x1400f81f9
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400f85ce
mov rcx, rax
mov qword [0x1401a4160], rax
inc rsi
imul r8, rsi, 0x70
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400f85ce
mov rbp, rax
mov qword [rsp + 0xb8], r14
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 0
test r12, r12
je 0x1400f845c
mov rsi, r12
shl rsi, 3
mov r13d, 1
xor r14d, r14d
jmp 0x1400f82d6
imul rax, r14, 0x70
movups xmm0, xmmword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
mov qword [rbp + rax + 0x10], rcx
movups xmmword [rbp + rax], xmm0
mov qword [rbp + rax + 0x18], rbx
mov qword [rbp + rax + 0x20], r15
mov qword [rbp + rax + 0x28], r15
mov qword [rbp + rax + 0x30], rsi
mov rcx, qword [rsp + 0x28]
mov qword [rbp + rax + 0x38], rcx
mov qword [rbp + rax + 0x40], rcx
mov qword [rbp + rax + 0x48], 0
mov qword [rbp + rax + 0x60], rdi
mov dword [rbp + rax + 0x68], 0
mov r14, qword [rsp + 0x40]
inc r14
mov qword [rsp + 0x40], r14
inc r13
mov rsi, qword [rsp + 0xc0]
add rsi, 0xfffffffffffffff8
mov rdi, r12
je 0x1400f845c
mov qword [rsp + 0xc8], r13
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
lea rax, [0x140011eb0]
mov qword [rsp + 0xd8], rax
lea rax, [0x140173a48]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 1
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.14000e400
mov ebx, 1
test r15, r15
je 0x1400f8394
js 0x1400f85ce
movzx eax, byte [0x1401a4170]
mov rax, qword [0x1401a4160]
test rax, rax
jne 0x1400f837b
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400f85ce
mov qword [0x1401a4160], rax
mov rcx, rax
xor edx, edx
mov r8, r15
call sub.KERNEL32.dll_HeapAlloc
mov rbx, rax
test rax, rax
je 0x1400f85ce
mov rcx, rbx
mov rdx, qword [rsp + 0x90]
mov r8, r15
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x28], 0
mov qword [rsp + 0xc0], rsi
je 0x1400f8410
js 0x1400f85ce
movzx eax, byte [0x1401a4170]
mov rax, qword [0x1401a4160]
test rax, rax
jne 0x1400f83e5
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400f85ce
mov qword [0x1401a4160], rax
mov rcx, rax
xor edx, edx
mov r8, qword [rsp + 0x28]
call sub.KERNEL32.dll_HeapAlloc
mov rsi, rax
test rax, rax
jne 0x1400f8415
jmp 0x1400f85ce
mov esi, 1
mov rcx, rsi
mov r12, rdi
mov rdx, rdi
mov r8, qword [rsp + 0x28]
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0xb8]
mov rdi, qword [rax + r13*8 - 8]
cmp r14, qword [rsp + 0x38]
jne 0x1400f8260
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.1400f8bc0
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
jmp 0x1400f8260
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0xa0], 0
je 0x1400f849b
mov r8, qword [rsp + 0x98]
mov rcx, qword [0x1401a4160]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x28], 0
movzx ebx, byte [rsp + 0x27]
mov r14, qword [rsp + 0xb0]
je 0x1400f84c1
mov rcx, qword [0x1401a4160]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
test r15, r15
je 0x1400f84dc
mov rcx, qword [0x1401a4160]
xor edx, edx
mov r8, qword [rsp + 0x90]
call sub.KERNEL32.dll_HeapFree
mov rsi, qword [r14 + 0x80]
test rsi, rsi
je 0x1400f8573
mov rdi, qword [r14 + 0x70]
add rdi, 0x50
jmp 0x1400f8509
add rdi, 0x70
dec rsi
je 0x1400f8573
cmp qword [rdi - 0x48], 0
je 0x1400f8522
mov r8, qword [rdi - 0x50]
mov rcx, qword [0x1401a4160]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov r8, qword [rdi - 8]
test r8, r8
je 0x1400f853f
cmp qword [rdi], 0
je 0x1400f853f
mov rcx, qword [0x1401a4160]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rdi - 0x30], 0
je 0x1400f8558
mov r8, qword [rdi - 0x38]
mov rcx, qword [0x1401a4160]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rdi - 0x18], 0
je 0x1400f8500
mov r8, qword [rdi - 0x20]
mov rcx, qword [0x1401a4160]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x1400f8500
lea rsi, [r14 + 0x70]
cmp qword [r14 + 0x78], 0
je 0x1400f858f
mov r8, qword [rsi]
mov rcx, qword [0x1401a4160]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi], xmm0
mov byte [r14 + 0x88], bl
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebx, 1
jmp 0x1400f8089
cmp r8, rax
jbe 0x1400f7e6f
ud2
mov edi, 1
mov rcx, rdi
mov rdx, rbx
mov r8, qword [rsp + 0x28]
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x50], 0
jne 0x1400f7e9c
jmp 0x1400f7ead