Function at 0x1400b5900
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 [0x1402ca998], r13b
mov qword [r11 - 0x28], r14
je 0x1400b5998
movzx eax, word [0x1402ca99a]
xor r9d, r9d
mov rdx, qword [0x1402ca2d8]
mov ecx, 8
lea r8d, [rax + rax*2]
shl r8d, 4
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x1400b5a98
movzx eax, word [0x1402ca99a]
xor edx, edx
mov rsi, qword [0x1402ca2d8]
mov rcx, rsi
lea r8, [rax + rax*2]
shl r8, 4
call fcn.14020a280
jmp 0x1400b5a9f
movzx edx, word [0x1402ca99c]
movzx ebp, r13w
mov word [rsp + 0x30], r13w
cmp r13w, dx
jae 0x1400b5a98
mov rsi, qword [0x1402ca2d8]
movzx eax, r13w
movzx r8d, r13w
movzx r9d, r13w
mov r14d, 0xffff
nop dword [rax]
mov rcx, qword [0x1402ca9a0]
test rcx, rcx
je 0x1400b5a10
movzx ebx, r13w
cmp ax, r14w
jne 0x1400b59ff
cmp r13w, dx
jae 0x1400b5a17
movzx eax, dx
nop
add bx, word [rcx]
lea rcx, [rcx + 2]
sub rax, 1
jne 0x1400b59f0
jmp 0x1400b5a17
nop
cmp r8w, dx
jae 0x1400b5a17
movzx eax, r9w
movzx ebx, word [rcx + rax*2]
jmp 0x1400b5a17
movzx ebx, word [0x1402ca99a]
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 [0x1402ca2d8]
test eax, eax
jns 0x1400b5a6e
movzx eax, bx
lea rcx, [rsi + rdi*8]
xor edx, edx
lea r8, [rax + rax*2]
shl r8, 4
call fcn.14020a280
movzx eax, word [rsp + 0x30]
add bp, bx
movzx edx, word [0x1402ca99c]
inc ax
mov word [rsp + 0x30], ax
movzx r8d, ax
movzx r9d, ax
cmp ax, dx
jb 0x1400b59d0
jmp 0x1400b5a9f
mov rsi, qword [0x1402ca2d8]
movzx ecx, word [0x1402ca99a]
xorps xmm0, xmm0
movups xmmword [0x1402cf920], xmm0
movups xmmword [0x1402cf930], xmm0
movups xmmword [0x1402cf940], xmm0
test ecx, ecx
je 0x1400b5c6a
mov rax, qword [0x1402ca5e0]
lea r10, [rsi + 8]
mov rsi, qword [0x1402ca5a0]
mov ebx, ecx
mov r14, qword [0x1402ca5e8]
mov rbp, rsi
mov r8, qword [0x1402ca5c0]
sub rbp, r14
mov r11, qword [0x1402ca5d8]
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 [0x1402cf938], rax
mov rax, qword [r10 - 8]
add qword [0x1402cf920], rax
mov eax, dword [r10 + 0x20]
add dword [0x1402cf948], eax
mov rax, qword [r10 + 0x18]
add qword [0x1402cf940], rax
mov rax, qword [r10]
add qword [0x1402cf928], rax
mov rax, qword [r10 + 8]
add qword [0x1402cf930], 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 0x1400b5c51
mov rcx, qword [r9]
mov rdx, qword [rdx]
add rcx, rdi
add rcx, rdx
je 0x1400b5c4a
xorps xmm1, xmm1
test rcx, rcx
js 0x1400b5bcc
cvtsi2ss xmm1, rcx
jmp 0x1400b5be1
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 0x1400b5bf0
cvtsi2ss xmm0, rdx
jmp 0x1400b5c05
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 0x1400b5c2a
cvtsi2ss xmm0, rcx
divss xmm0, xmm1
movss dword [r8], xmm0
jmp 0x1400b5c51
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 0x1400b5c51
mov dword [r8 + r11], r13d
mov dword [r8], r13d
add r10, 0x30
add r8, 4
add r9, 0x10
sub rbx, 1
jne 0x1400b5b10
mov rax, qword [0x1402cf928]
mov r14, qword ss:[rsp + 0x40]
mov r9, rax
sub r9, qword [0x1402cf980]
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 [0x1402cf980], rax
mov rax, qword [0x1402cf930]
mov r8, rax
mov qword [0x1402cf988], r9
sub r8, qword [0x1402cf970]
mov qword [0x1402cf970], rax
mov rax, qword [0x1402cf920]
mov rcx, rax
mov qword [0x1402cf978], r8
sub rcx, qword [0x1402cf910]
mov qword [0x1402cf918], rcx
mov qword [0x1402cf910], rax
lea rdx, [rcx + r8]
add rdx, r9
test r12b, r12b
mov r12, qword [rsp + 0x50]
je 0x1400b5db7
test rdx, rdx
je 0x1400b5da3
xorps xmm1, xmm1
js 0x1400b5d1b
cvtsi2ss xmm1, rdx
jmp 0x1400b5d33
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 0x1400b5d42
cvtsi2ss xmm0, r9
jmp 0x1400b5d58
mov rax, r9
and r9d, 1
shr rax, 1
or rax, r9
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, xmm1
movss dword [0x1402ca5f8], xmm0
xorps xmm0, xmm0
test r8, r8
js 0x1400b5d7f
cvtsi2ss xmm0, r8
divss xmm0, xmm1
movss dword [0x1402ca5fc], xmm0
jmp 0x1400b5db7
mov rax, r8
and r8d, 1
shr rax, 1
or rax, r8
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, xmm1
movss dword [0x1402ca5fc], xmm0
jmp 0x1400b5db7
mov dword [0x1402ca5f8], 0
mov dword [0x1402ca5fc], 0
mov qword [r15], rdx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x60
pop r15
ret