Function at 0x1400b6880
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
push r15
sub rsp, 0x60
mov rax, qword [0x1402bb040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 + 8], rbx
mov r15, rdx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x18], r12
movzx r12d, cl
mov qword [r11 - 0x20], r13
xor r13d, r13d
cmp byte [0x1402c6010], r13b
mov qword [r11 - 0x28], r14
je 0x1400b6918
movzx eax, word [0x1402c6012]
xor r9d, r9d
mov rdx, qword [0x1402c5938]
mov ecx, 8
lea r8d, [rax + rax*2]
shl r8d, 4
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x1400b6a18
movzx eax, word [0x1402c6012]
xor edx, edx
mov rsi, qword [0x1402c5938]
mov rcx, rsi
lea r8, [rax + rax*2]
shl r8, 4
call fcn.14020c410
jmp 0x1400b6a1f
movzx edx, word [0x1402c6014]
movzx ebp, r13w
mov word [rsp + 0x30], r13w
cmp r13w, dx
jae 0x1400b6a18
mov rsi, qword [0x1402c5938]
movzx eax, r13w
movzx r8d, r13w
movzx r9d, r13w
mov r14d, 0xffff
nop dword [rax]
mov rcx, qword [0x1402c6018]
test rcx, rcx
je 0x1400b6990
movzx ebx, r13w
cmp ax, r14w
jne 0x1400b697f
cmp r13w, dx
jae 0x1400b6997
movzx eax, dx
nop
add bx, word [rcx]
lea rcx, [rcx + 2]
sub rax, 1
jne 0x1400b6970
jmp 0x1400b6997
nop
cmp r8w, dx
jae 0x1400b6997
movzx eax, r9w
movzx ebx, word [rcx + rax*2]
jmp 0x1400b6997
movzx ebx, word [0x1402c6012]
movzx eax, bp
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x28], r13
mov r8d, 2
lea rdi, [rax + rax*2]
movzx eax, bx
add rdi, rdi
lea ecx, [rax + rax*2]
shl ecx, 4
lea r9, [rsi + rdi*8]
mov dword [rsp + 0x20], ecx
mov ecx, 8
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov rsi, qword [0x1402c5938]
test eax, eax
jns 0x1400b69ee
movzx eax, bx
lea rcx, [rsi + rdi*8]
xor edx, edx
lea r8, [rax + rax*2]
shl r8, 4
call fcn.14020c410
movzx eax, word [rsp + 0x30]
add bp, bx
movzx edx, word [0x1402c6014]
inc ax
mov word [rsp + 0x30], ax
movzx r8d, ax
movzx r9d, ax
cmp ax, dx
jb 0x1400b6950
jmp 0x1400b6a1f
mov rsi, qword [0x1402c5938]
movzx ecx, word [0x1402c6012]
xorps xmm0, xmm0
movups xmmword [0x1402cb0e0], xmm0
movups xmmword [0x1402cb0f0], xmm0
movups xmmword [0x1402cb100], xmm0
test ecx, ecx
je 0x1400b6bea
mov rax, qword [0x1402c5c50]
lea r10, [rsi + 8]
mov rsi, qword [0x1402c5c10]
mov ebx, ecx
mov r14, qword [0x1402c5c60]
mov rbp, rsi
mov r8, qword [0x1402c5c30]
sub rbp, r14
mov r11, qword [0x1402c5c48]
lea r9, [rax + 8]
sub r14, rax
sub rsi, rax
sub r11, r8
nop dword [rax]
nop dword [rax + rax]
mov rax, qword ds:[r10 - 8]
lea rdx, [r14 + r9]
sub qword [r10], rax
mov rax, qword [r10 + 0x10]
add qword [0x1402cb0f8], rax
mov rax, qword [r10 - 8]
add qword [0x1402cb0e0], rax
mov eax, dword [r10 + 0x20]
add dword [0x1402cb108], eax
mov rax, qword [r10 + 0x18]
add qword [0x1402cb100], rax
mov rax, qword [r10]
add qword [0x1402cb0e8], rax
mov rax, qword [r10 + 8]
add qword [0x1402cb0f0], rax
mov rax, qword [r10]
sub rax, qword [r9 + r14 - 8]
mov qword [rdx], rax
mov rax, qword [r10]
mov qword [r9 + r14 - 8], rax
mov rax, qword [r10 + 8]
sub rax, qword [r9 - 8]
mov qword [r9], rax
mov rax, qword [r10 + 8]
mov qword [r9 - 8], rax
mov rdi, qword [r10 - 8]
sub rdi, qword [r9 + rsi - 8]
mov qword [rdx + rbp], rdi
mov rax, qword [r10 - 8]
mov qword [r9 + rsi - 8], rax
test r12b, r12b
je 0x1400b6bd1
mov rcx, qword [r9]
mov rdx, qword [rdx]
add rcx, rdi
add rcx, rdx
je 0x1400b6bca
xorps xmm1, xmm1
test rcx, rcx
js 0x1400b6b4c
cvtsi2ss xmm1, rcx
jmp 0x1400b6b61
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
xorps xmm0, xmm0
test rdx, rdx
js 0x1400b6b70
cvtsi2ss xmm0, rdx
jmp 0x1400b6b85
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, xmm1
movss dword [r8 + r11], xmm0
xorps xmm0, xmm0
mov rcx, qword [r9]
test rcx, rcx
js 0x1400b6baa
cvtsi2ss xmm0, rcx
divss xmm0, xmm1
movss dword [r8], xmm0
jmp 0x1400b6bd1
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, xmm1
movss dword [r8], xmm0
jmp 0x1400b6bd1
mov dword [r8 + r11], r13d
mov dword [r8], r13d
add r10, 0x30
add r8, 4
add r9, 0x10
sub rbx, 1
jne 0x1400b6a90
mov rax, qword [0x1402cb0e8]
mov r14, qword ss:[rsp + 0x40]
mov r9, rax
sub r9, qword [0x1402cb140]
mov r13, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
mov qword [0x1402cb140], rax
mov rax, qword [0x1402cb0f0]
mov r8, rax
mov qword [0x1402cb148], r9
sub r8, qword [0x1402cb130]
mov qword [0x1402cb130], rax
mov rax, qword [0x1402cb0e0]
mov rcx, rax
mov qword [0x1402cb138], r8
sub rcx, qword [0x1402cb0d0]
mov qword [0x1402cb0d8], rcx
mov qword [0x1402cb0d0], rax
lea rdx, [rcx + r8]
add rdx, r9
test r12b, r12b
mov r12, qword [rsp + 0x50]
je 0x1400b6d37
test rdx, rdx
je 0x1400b6d23
xorps xmm1, xmm1
js 0x1400b6c9b
cvtsi2ss xmm1, rdx
jmp 0x1400b6cb3
mov rax, rdx
mov rcx, rdx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm1, rcx
addss xmm1, xmm1
xorps xmm0, xmm0
test r9, r9
js 0x1400b6cc2
cvtsi2ss xmm0, r9
jmp 0x1400b6cd8
mov rax, r9
and r9d, 1
shr rax, 1
or rax, r9
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, xmm1
movss dword [0x1402c5c68], xmm0
xorps xmm0, xmm0
test r8, r8
js 0x1400b6cff
cvtsi2ss xmm0, r8
divss xmm0, xmm1
movss dword [0x1402c5f50], xmm0
jmp 0x1400b6d37
mov rax, r8
and r8d, 1
shr rax, 1
or rax, r8
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, xmm1
movss dword [0x1402c5f50], xmm0
jmp 0x1400b6d37
mov dword [0x1402c5c68], 0
mov dword [0x1402c5f50], 0
mov qword [r15], rdx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401e5e40
add rsp, 0x60
pop r15
ret