Function at 0x180165db0
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 0x180165ec9
nop word [rax + rax]
mov rax, qword [r11]
cmp qword [rax + 8], r12
jb 0x180165eb4
mov r9, qword [rax + 0x10]
test r9, r9
je 0x180165eb4
nop word [rax + rax]
mov r8, qword [r9 + 8]
mov rax, qword [r9 + 0x10]
sub rax, r8
cmp rax, r12
jb 0x180165ea8
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], r8
mov r10, qword [r13 + 8]
mov rcx, qword [r13]
cmp rcx, r10
je 0x180165e69
mov rdx, qword [rcx]
cmp r8, rdx
jbe 0x180165e55
mov rax, r8
sub rax, rdx
jmp 0x180165e5b
mov rax, rdx
sub rax, r8
cmp rax, rsi
ja 0x180165ea8
add rcx, 8
cmp rcx, r10
jne 0x180165e45
lea rax, [r8 + r12]
mov qword [r9 + 8], rax
mov rdi, qword [rbp + 0x60]
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x1801662ed
mov eax, dword [rdx + 8]
test eax, eax
je 0x1801662ed
nop dword [rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x180165f88
test eax, eax
je 0x1801662ed
jmp 0x180165e90
mov r9, qword [r9]
test r9, r9
jne 0x180165e20
add r11, 8
cmp r11, r14
jne 0x180165e00
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.1801655d0
cmp byte [rsp + 0x68], r15b
jne 0x180166117
mov rdi, qword [r13 + 8]
mov rbx, qword [r13]
cmp rbx, rdi
je 0x180165f5b
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 0x180165f52
test byte [rbp - 0x3c], 0xf0
jne 0x180166061
add rbx, 8
cmp rbx, rdi
jne 0x180165f30
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.180164d00
nop
mov edi, 0xffffffff
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x18016601d
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x18016601d
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x18016601d
call fcn.180165970
mov rbx, qword [rsp + 0x28]
mov qword [rsp + 0x28], r15
test rbx, rbx
je 0x180166022
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18016601d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18016601d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov r15, qword [rsp + 0x28]
test r15, r15
je 0x1801662e8
mov eax, edi
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x1801662e8
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 0x1801662e8
mov rcx, qword [rsp + 0x28]
jmp 0x1801662e1
mov rbx, qword [rbx]
test rbx, rbx
je 0x180165f5b
mov r11, qword [rbp - 0x48]
add r11, qword [rbp - 0x60]
cmp rbx, r11
jae 0x180165f5b
nop
cmp byte [rbx], 0xcc
jne 0x180166106
mov rax, rbx
mov r9d, r15d
nop
inc rax
inc r9d
cmp rax, r11
jae 0x1801660a0
cmp byte [rax], 0xcc
je 0x180166090
cmp r9d, 0xa
jb 0x180166106
mov eax, r9d
cmp rax, r12
jb 0x180166106
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x20], rbx
mov r10, qword [r13 + 8]
mov r8, qword [r13]
cmp r8, r10
je 0x1801660f4
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 0x180166106
add r8, 8
cmp r8, r10
jne 0x1801660d0
mov qword [rsp + 0x60], rbx
mov r14d, r9d
mov r13, qword [rbp + 0x60]
lea rdi, [r13 + 0x10]
jmp 0x180166120
inc rbx
cmp rbx, r11
jb 0x180166080
jmp 0x180165f5b
mov rbx, qword [rsp + 0x60]
mov r13, qword [rbp + 0x60]
mov ecx, 0x18
call fcn.18027ee54
test rax, rax
je 0x18016613c
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
jmp 0x18016613f
mov rax, r15
mov qword [rbp + 0x60], rax
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x18016615e
mov qword [rdx], rax
mov rsi, qword [rdi + 8]
lea rax, [rsi + 8]
mov qword [rdi + 8], rax
jmp 0x18016616d
lea r8, [rbp + 0x60]
mov rcx, rdi
call fcn.180164f50
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.18027ee54
mov rcx, rax
test rax, rax
je 0x180166199
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
jmp 0x18016619c
mov rcx, r15
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov qword [rax + 0x10], rcx
test rdi, rdi
je 0x1801661c9
mov rdx, qword [rdi]
test rdx, rdx
je 0x1801661bc
mov rcx, rdi
call fcn.1801653b0
mov edx, 0x18
mov rcx, rdi
call fcn.18027ee90
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 0x1801662ed
mov eax, dword [rdx + 8]
test eax, eax
je 0x1801662ed
nop
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x180166213
test eax, eax
jne 0x180166200
jmp 0x1801662ed
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.180164d00
nop
mov edi, 0xffffffff
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1801662ae
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x1801662ae
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x1801662ae
call fcn.180165970
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x48], r15
test rbx, rbx
je 0x1801662b3
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1801662ae
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1801662ae
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov r15, qword [rsp + 0x48]
test r15, r15
je 0x1801662e8
mov eax, edi
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x1801662e8
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 0x1801662e8
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x180165f6a
call fcn.1800c6370
int3