Function at 0x1400b5960
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
push r15
sub rsp, 0x60
mov rax, qword [0x1402bf040]
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 [0x1402ca9b8], r13b
mov qword [r11 - 0x28], r14
je 0x1400b59f8
movzx eax, word [0x1402ca9ba]
xor r9d, r9d
mov rdx, qword [0x1402ca2f8]
mov ecx, 8
lea r8d, [rax + rax*2]
shl r8d, 4
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x1400b5af8
movzx eax, word [0x1402ca9ba]
xor edx, edx
mov rsi, qword [0x1402ca2f8]
mov rcx, rsi
lea r8, [rax + rax*2]
shl r8, 4
call fcn.14020ab40
jmp 0x1400b5aff
movzx edx, word [0x1402ca9bc]
movzx ebp, r13w
mov word [rsp + 0x30], r13w
cmp r13w, dx
jae 0x1400b5af8
mov rsi, qword [0x1402ca2f8]
movzx eax, r13w
movzx r8d, r13w
movzx r9d, r13w
mov r14d, 0xffff
nop dword [rax]
mov rcx, qword [0x1402ca9c0]
test rcx, rcx
je 0x1400b5a70
movzx ebx, r13w
cmp ax, r14w
jne 0x1400b5a5f
cmp r13w, dx
jae 0x1400b5a77
movzx eax, dx
nop
add bx, word [rcx]
lea rcx, [rcx + 2]
sub rax, 1
jne 0x1400b5a50
jmp 0x1400b5a77
nop
cmp r8w, dx
jae 0x1400b5a77
movzx eax, r9w
movzx ebx, word [rcx + rax*2]
jmp 0x1400b5a77
movzx ebx, word [0x1402ca9ba]
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 [0x1402ca2f8]
test eax, eax
jns 0x1400b5ace
movzx eax, bx
lea rcx, [rsi + rdi*8]
xor edx, edx
lea r8, [rax + rax*2]
shl r8, 4
call fcn.14020ab40
movzx eax, word [rsp + 0x30]
add bp, bx
movzx edx, word [0x1402ca9bc]
inc ax
mov word [rsp + 0x30], ax
movzx r8d, ax
movzx r9d, ax
cmp ax, dx
jb 0x1400b5a30
jmp 0x1400b5aff
mov rsi, qword [0x1402ca2f8]
movzx ecx, word [0x1402ca9ba]
xorps xmm0, xmm0
movups xmmword [0x1402cf940], xmm0
movups xmmword [0x1402cf950], xmm0
movups xmmword [0x1402cf960], xmm0
test ecx, ecx
je 0x1400b5cca
mov rax, qword [0x1402ca600]
lea r10, [rsi + 8]
mov rsi, qword [0x1402ca5c0]
mov ebx, ecx
mov r14, qword [0x1402ca608]
mov rbp, rsi
mov r8, qword [0x1402ca5e0]
sub rbp, r14
mov r11, qword [0x1402ca5f8]
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 [0x1402cf958], rax
mov rax, qword [r10 - 8]
add qword [0x1402cf940], rax
mov eax, dword [r10 + 0x20]
add dword [0x1402cf968], eax
mov rax, qword [r10 + 0x18]
add qword [0x1402cf960], rax
mov rax, qword [r10]
add qword [0x1402cf948], rax
mov rax, qword [r10 + 8]
add qword [0x1402cf950], 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 0x1400b5cb1
mov rcx, qword [r9]
mov rdx, qword [rdx]
add rcx, rdi
add rcx, rdx
je 0x1400b5caa
xorps xmm1, xmm1
test rcx, rcx
js 0x1400b5c2c
cvtsi2ss xmm1, rcx
jmp 0x1400b5c41
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 0x1400b5c50
cvtsi2ss xmm0, rdx
jmp 0x1400b5c65
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 0x1400b5c8a
cvtsi2ss xmm0, rcx
divss xmm0, xmm1
movss dword [r8], xmm0
jmp 0x1400b5cb1
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 0x1400b5cb1
mov dword [r8 + r11], r13d
mov dword [r8], r13d
add r10, 0x30
add r8, 4
add r9, 0x10
sub rbx, 1
jne 0x1400b5b70
mov rax, qword [0x1402cf948]
mov r14, qword ss:[rsp + 0x40]
mov r9, rax
sub r9, qword [0x1402cf9a0]
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 [0x1402cf9a0], rax
mov rax, qword [0x1402cf950]
mov r8, rax
mov qword [0x1402cf9a8], r9
sub r8, qword [0x1402cf990]
mov qword [0x1402cf990], rax
mov rax, qword [0x1402cf940]
mov rcx, rax
mov qword [0x1402cf998], r8
sub rcx, qword [0x1402cf930]
mov qword [0x1402cf938], rcx
mov qword [0x1402cf930], rax
lea rdx, [rcx + r8]
add rdx, r9
test r12b, r12b
mov r12, qword [rsp + 0x50]
je 0x1400b5e17
test rdx, rdx
je 0x1400b5e03
xorps xmm1, xmm1
js 0x1400b5d7b
cvtsi2ss xmm1, rdx
jmp 0x1400b5d93
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 0x1400b5da2
cvtsi2ss xmm0, r9
jmp 0x1400b5db8
mov rax, r9
and r9d, 1
shr rax, 1
or rax, r9
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, xmm1
movss dword [0x1402ca618], xmm0
xorps xmm0, xmm0
test r8, r8
js 0x1400b5ddf
cvtsi2ss xmm0, r8
divss xmm0, xmm1
movss dword [0x1402ca61c], xmm0
jmp 0x1400b5e17
mov rax, r8
and r8d, 1
shr rax, 1
or rax, r8
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, xmm1
movss dword [0x1402ca61c], xmm0
jmp 0x1400b5e17
mov dword [0x1402ca618], 0
mov dword [0x1402ca61c], 0
mov qword [r15], rdx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401e4a20
add rsp, 0x60
pop r15
ret