Function at 0x18016a140
Capabilities:
Check for software breakpoints
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov r12, r9
mov r13, r8
xor r15d, r15d
lea rdi, [rcx + 0x10]
mov r11, qword [rdi]
mov r14, qword [rdi + 8]
mov rsi, qword [rbp + 0x80]
cmp r11, r14
je 0x18016a259
nop word [rax + rax]
mov rax, qword [r11]
cmp qword [rax + 8], r12
jb 0x18016a244
mov r9, qword [rax + 0x10]
test r9, r9
je 0x18016a244
nop word [rax + rax]
mov r8, qword [r9 + 8]
mov rax, qword [r9 + 0x10]
sub rax, r8
cmp rax, r12
jb 0x18016a238
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], r8
mov r10, qword [r13 + 8]
mov rcx, qword [r13]
cmp rcx, r10
je 0x18016a1f9
mov rdx, qword [rcx]
cmp r8, rdx
jbe 0x18016a1e5
mov rax, r8
sub rax, rdx
jmp 0x18016a1eb
mov rax, rdx
sub rax, r8
cmp rax, rsi
ja 0x18016a238
add rcx, 8
cmp rcx, r10
jne 0x18016a1d5
lea rax, [r8 + r12]
mov qword [r9 + 8], rax
mov rdi, qword [rbp + 0x60]
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x18016a67d
mov eax, dword [rdx + 8]
test eax, eax
je 0x18016a67d
nop dword [rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x18016a318
test eax, eax
je 0x18016a67d
jmp 0x18016a220
mov r9, qword [r9]
test r9, r9
jne 0x18016a1b0
add r11, 8
cmp r11, r14
jne 0x18016a190
mov rdi, qword [rbp + 0x60]
add rdi, 0x10
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
lea rcx, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp + 0x10]
lea r14, [rax - 1]
add r14, r12
dec rax
not rax
and r14, rax
mov r9, rsi
mov r8, r14
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.180169960
cmp byte [rsp + 0x68], r15b
jne 0x18016a4a7
mov rdi, qword [r13 + 8]
mov rbx, qword [r13]
cmp rbx, rdi
je 0x18016a2eb
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
nop
mov r8d, 0x30
lea rdx, [rbp - 0x60]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18016a2e2
test byte [rbp - 0x3c], 0xf0
jne 0x18016a3f1
add rbx, 8
cmp rbx, rdi
jne 0x18016a2c0
movzx eax, byte [rsp + 0x60]
mov rsi, qword [rbp + 0x68]
mov byte [rsi], al
mov byte [rsi + 0x20], r15b
mov rax, rsi
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rdi]
mov qword [rbp - 0x80], rcx
mov rax, qword [rdi + 8]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r12
lea rdx, [rsp + 0x20]
mov rsi, qword [rbp + 0x68]
mov rcx, rsi
call fcn.180169090
nop
mov edi, 0xffffffff
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x18016a3ad
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x18016a3ad
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x18016a3ad
call fcn.180169d00
mov rbx, qword [rsp + 0x28]
mov qword [rsp + 0x28], r15
test rbx, rbx
je 0x18016a3b2
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18016a3ad
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18016a3ad
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov r15, qword [rsp + 0x28]
test r15, r15
je 0x18016a678
mov eax, edi
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x18016a678
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18016a678
mov rcx, qword [rsp + 0x28]
jmp 0x18016a671
mov rbx, qword [rbx]
test rbx, rbx
je 0x18016a2eb
mov r11, qword [rbp - 0x48]
add r11, qword [rbp - 0x60]
cmp rbx, r11
jae 0x18016a2eb
nop
cmp byte [rbx], 0xcc
jne 0x18016a496
mov rax, rbx
mov r9d, r15d
nop
inc rax
inc r9d
cmp rax, r11
jae 0x18016a430
cmp byte [rax], 0xcc
je 0x18016a420
cmp r9d, 0xa
jb 0x18016a496
mov eax, r9d
cmp rax, r12
jb 0x18016a496
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x20], rbx
mov r10, qword [r13 + 8]
mov r8, qword [r13]
cmp r8, r10
je 0x18016a484
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [r8]
mov rdx, rbx
sub rdx, rcx
mov rax, rcx
sub rax, rbx
cmp rbx, rcx
cmova rax, rdx
cmp rax, rsi
ja 0x18016a496
add r8, 8
cmp r8, r10
jne 0x18016a460
mov qword [rsp + 0x60], rbx
mov r14d, r9d
mov r13, qword [rbp + 0x60]
lea rdi, [r13 + 0x10]
jmp 0x18016a4b0
inc rbx
cmp rbx, r11
jb 0x18016a410
jmp 0x18016a2eb
mov rbx, qword [rsp + 0x60]
mov r13, qword [rbp + 0x60]
mov ecx, 0x18
call fcn.180286234
test rax, rax
je 0x18016a4cc
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
jmp 0x18016a4cf
mov rax, r15
mov qword [rbp + 0x60], rax
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x18016a4ee
mov qword [rdx], rax
mov rsi, qword [rdi + 8]
lea rax, [rsi + 8]
mov qword [rdi + 8], rax
jmp 0x18016a4fd
lea r8, [rbp + 0x60]
mov rcx, rdi
call fcn.1801692e0
mov rsi, rax
mov rcx, qword [rsi]
mov qword [rcx], rbx
mov rcx, qword [rsi]
mov qword [rcx + 8], r14
mov ecx, 0x18
call fcn.180286234
mov rcx, rax
test rax, rax
je 0x18016a529
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
jmp 0x18016a52c
mov rcx, r15
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov qword [rax + 0x10], rcx
test rdi, rdi
je 0x18016a559
mov rdx, qword [rdi]
test rdx, rdx
je 0x18016a54c
mov rcx, rdi
call fcn.180169740
mov edx, 0x18
mov rcx, rdi
call fcn.180286270
lea rdx, [rbx + r12]
mov rax, qword [rsi]
mov rcx, qword [rax + 0x10]
mov qword [rcx + 8], rdx
lea rdx, [rbx + r14]
mov rax, qword [rsi]
mov rcx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
mov rdx, qword [r13 + 8]
test rdx, rdx
je 0x18016a67d
mov eax, dword [rdx + 8]
test eax, eax
je 0x18016a67d
nop
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x18016a5a3
test eax, eax
jne 0x18016a590
jmp 0x18016a67d
mov rcx, qword [r13]
mov qword [rbp - 0x70], rcx
mov rax, qword [r13 + 8]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r12
lea rdx, [rsp + 0x40]
mov rsi, qword [rbp + 0x68]
mov rcx, rsi
call fcn.180169090
nop
mov edi, 0xffffffff
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18016a63e
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x18016a63e
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x18016a63e
call fcn.180169d00
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x48], r15
test rbx, rbx
je 0x18016a643
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18016a63e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18016a63e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov r15, qword [rsp + 0x48]
test r15, r15
je 0x18016a678
mov eax, edi
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x18016a678
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18016a678
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x18016a2fa
call fcn.1800c7da0
int3