Function at 0x1800a6850
Capabilities:
Check for software breakpoints

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
sub rsp, 0x38
mov qword [rax + 0x20], rbx
mov qword [rax - 8], rbp
mov qword [rax - 0x10], rsi
mov qword [rax - 0x18], rdi
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
mov r12, rcx
mov r9, rcx
xor bpl, bpl
xor r13b, r13b
xor r10b, r10b
mov rdi, rdx
mov ecx, 0x25
xor eax, eax
rep stosb byte [rdi], al
mov r8, rdx
lea r14, [0x180004060]
mov dil, select
mov dword [rsp + 0x50], ebp
lea r11, [0x180000000]
nop word [rax + rax]
movzx edx, byte [r9]
inc r9
lea eax, [rdx - 0x26]
cmp eax, 0xcd
ja case.0x1800a68d7.44
cdqe
movzx eax, byte [r11 + rax + 0xa6f04]
mov ecx, dword [r11 + rax*4 + 0xa6ee8]
add rcx, r11
jmp rcx
mov byte [r8 + 1], dl
or r10b, 4
jmp 0x1800a6913
mov byte [r8 + 1], dl
or r10b, 2
jmp 0x1800a6913
mov byte [r8 + 2], dl
or r10b, 0x20
jmp 0x1800a6913
mov byte [r8 + 3], dl
or r10b, 0x40
jmp 0x1800a6913
mov byte [r8 + 4], dl
or r10b, 8
jmp 0x1800a6913
mov byte [r8 + 5], dl
or r10b, 0x10
add dil, 0xff
jne 0x1800a68b0
movzx eax, r10b
movzx esi, r10b
mov ebx, 1
shl eax, 0x17
test r10b, r10b
mov qword [rsp], r15
mov dword [r8 + 0x21], eax
cmove esi, ebx
movzx eax, dl
and al, 0xf0
cmp al, 0x40
jne 0x1800a699f
or dword [r8 + 0x21], 0x40000000
movzx eax, dl
shr eax, 3
and eax, ebx
mov byte [r8 + 7], al
test al, al
je 0x1800a696b
movzx eax, byte [r9]
movzx ebp, bpl
and al, 0xf8
cmp al, 0xb8
cmove ebp, ebx
mov dword [rsp + 0x50], ebp
movzx eax, dl
inc r9
shr al, 2
and al, bl
mov byte [r8 + 8], al
movzx eax, dl
and dl, bl
shr al, 1
mov byte [r8 + 0xa], dl
and al, bl
mov byte [r8 + 9], al
movzx edx, byte [r9 - 1]
movzx eax, dl
and al, 0xf0
cmp al, 0x40
jne 0x1800a699f
movzx r15d, dl
jmp 0x1800a6a14
mov byte [r8 + 0xb], dl
cmp dl, 0xf
jne 0x1800a69bc
movzx edx, byte [r9]
inc r9
lea r14, [0x1800040aa]
mov byte [r8 + 0xc], dl
jmp 0x1800a69da
lea eax, [rdx + 0x60]
cmp al, 3
ja 0x1800a69da
inc bpl
mov dword [rsp + 0x50], ebp
test sil, 0x10
je 0x1800a69d6
or sil, 8
jmp 0x1800a69da
and sil, 0xf7
movzx r10d, dl
movzx eax, dl
movzx r15d, dl
shr rax, 2
mov edi, r10d
movzx r11d, byte [rax + r14]
mov eax, r10d
and eax, 0x80000003
jge 0x1800a6a02
dec eax
or eax, 0xfffffffc
inc eax
movsxd rcx, eax
lea rax, [r14 + r11]
movzx r11d, byte [rcx + rax]
cmp r11b, 0xff
jne 0x1800a6a36
or dword [r8 + 0x21], 0x3000
movzx r10d, dl
xor cl, cl
mov eax, r10d
movzx r11d, cl
mov edi, r10d
and eax, 0xfffffffd
cmp eax, 0x24
cmove r11d, ebx
xor bl, bl
test r11b, r11b
jns 0x1800a6a51
movzx eax, r11b
and eax, 0x7f
movzx ebx, word [rax + r14]
movzx r11d, bl
shr bx, 8
movzx r14d, byte [r8 + 0xc]
test r14b, r14b
je 0x1800a6a9c
movzx eax, dl
lea rdx, [0x180004060]
shr rax, 2
movzx ecx, byte [rax + rdx + 0x13c]
and r10d, 0x80000003
jge 0x1800a6a84
dec r10d
or r10d, 0xfffffffc
inc r10d
movsxd rax, r10d
add rcx, rax
test byte [rcx + rdx + 0x13c], sil
je 0x1800a6a9c
or dword [r8 + 0x21], 0x3000
test r11b, 1
je 0x1800a6dd6
or dword [r8 + 0x21], 1
movzx r10d, byte [r9]
movzx r12d, r10b
movzx ebp, r10b
mov byte [r8 + 0xd], r10b
and bpl, 7
shr r10b, 3
shr r12b, 6
and r10b, 7
mov byte [r8 + 0xe], r12b
mov byte [rsp + 0x48], bpl
mov byte [r8 + 0x10], bpl
mov byte [r8 + 0xf], r10b
test bl, bl
je 0x1800a6af5
movzx ecx, r10b
movzx eax, bl
shl eax, cl
test al, al
jns 0x1800a6af5
or dword [r8 + 0x21], 0x3000
test r14b, r14b
jne 0x1800a6b49
lea eax, [r15 + 0x27]
cmp al, 6
ja 0x1800a6b49
lea eax, [r15 + 0x27]
lea rbx, [0x180004060]
cmp r12b, 3
jne 0x1800a6b2c
movzx ecx, al
movzx eax, r10b
lea rdx, [rax + rcx*8]
movzx ecx, bpl
movzx eax, byte [rdx + rbx + 0x104]
jmp 0x1800a6b3b
movzx eax, al
movzx ecx, r10b
movzx eax, byte [rax + rbx + 0xfd]
shl al, cl
test al, al
jns 0x1800a6b49
or dword [r8 + 0x21], 0x3000
lea rdx, [0x180004238]
test sil, 0x20
je 0x1800a6bbc
cmp r12b, 3
jne 0x1800a6b66
or dword [r8 + 0x21], 0x9000
jmp 0x1800a6bbc
movzx ebp, r15b
test r14b, r14b
je 0x1800a6b7b
lea rcx, [0x180004226]
mov rbx, rdx
jmp 0x1800a6b91
movzx ebp, r15b
lea rcx, [0x18000420e]
lea rbx, [0x180004226]
and bpl, 0xfe
cmp byte [rcx], bpl
je 0x1800a6ba1
add rcx, 2
cmp rcx, rbx
jne 0x1800a6b91
jmp 0x1800a6baf
movzx eax, byte [rcx + 1]
movzx ecx, r10b
shl eax, cl
test al, al
jns 0x1800a6bb7
or dword [r8 + 0x21], 0x9000
movzx ebp, byte [rsp + 0x48]
mov ecx, edi
test r14b, r14b
je 0x1800a6c04
sub ecx, 0x20
je 0x1800a6be8
dec ecx
je 0x1800a6bd4
dec ecx
je 0x1800a6be8
dec ecx
jne 0x1800a6c19
lea eax, [r10 - 4]
mov r12b, 3
cmp al, 1
ja 0x1800a6cac
jmp 0x1800a6ca4
mov r12b, 3
cmp r10b, 4
ja 0x1800a6ca4
cmp r10b, 1
jne 0x1800a6cac
jmp 0x1800a6ca4
sub ecx, 0x8c
je 0x1800a6c9e
cmp ecx, 2
je 0x1800a6c98
cmp r12b, 3
jne 0x1800a6c6b
test r14b, r14b
je 0x1800a6c34
lea rdx, [0x180004247]
lea rcx, [0x180004271]
jmp 0x1800a6c40
lea rcx, [0x180004247]
nop dword [rax + rax]
movzx eax, byte [rdx]
inc rdx
cmp al, r15b
je 0x1800a6c56
add rdx, 2
cmp rdx, rcx
jne 0x1800a6c40
jmp 0x1800a6cac
test byte [rdx], sil
je 0x1800a6cac
movzx eax, byte [rdx + 1]
movzx ecx, r10b
shl eax, cl
test al, al
jns 0x1800a6ca4
jmp 0x1800a6cac
test r14b, r14b
je 0x1800a6cac
sub edi, 0x50
je 0x1800a6c88
sub edi, 0x75
je 0x1800a6ca4
sub edi, 0x11
je 0x1800a6c90
dec edi
je 0x1800a6c88
cmp edi, 0x20
jne 0x1800a6cac
test sil, 9
jne 0x1800a6ca4
jmp 0x1800a6cac
test sil, 6
jne 0x1800a6ca4
jmp 0x1800a6cac
cmp r10b, 1
je 0x1800a6ca4
cmp r10b, 5
jbe 0x1800a6cac
or dword [r8 + 0x21], 0x11000
movzx edx, byte [r9 + 1]
add r9, 2
cmp r10b, 1
ja 0x1800a6cd1
cmp r15b, 0xf6
jne 0x1800a6cc7
or r11b, 2
jmp 0x1800a6cd1
cmp r15b, 0xf7
jne 0x1800a6cd1
or r11b, 0x10
movzx ecx, r12b
mov edi, 4
test r12b, r12b
je 0x1800a6cfb
dec ecx
je 0x1800a6cf6
dec ecx
jne 0x1800a6d18
mov r13b, 2
test sil, 0x10
jne 0x1800a6d18
movzx r13d, dil
jmp 0x1800a6d18
mov r13b, 1
jmp 0x1800a6d18
test sil, 0x10
je 0x1800a6d0c
cmp bpl, 6
jne 0x1800a6d18
mov r13b, 2
jmp 0x1800a6d18
movzx r13d, r13b
cmp bpl, 5
cmove r13d, edi
cmp r12b, 3
je 0x1800a6d5f
cmp bpl, dil
jne 0x1800a6d5f
or dword [r8 + 0x21], 2
movzx eax, dl
inc r9
shr al, 6
mov byte [r8 + 0x11], dl
mov byte [r8 + 0x12], al
movzx eax, dl
shr al, 3
and al, 7
mov byte [r8 + 0x13], al
movzx eax, dl
and eax, 7
mov byte [r8 + 0x14], al
cmp al, 5
jne 0x1800a6d5f
test r12b, 1
movzx r13d, r13b
cmove r13d, edi
movzx ecx, r13b
dec r9
dec ecx
je 0x1800a6db7
dec ecx
je 0x1800a6d94
cmp ecx, 2
jne 0x1800a6dc4
or dword [r8 + 0x21], 0x100
mov eax, dword [r9]
mov ebp, dword [rsp + 0x50]
mov r12, qword [rsp + 0x40]
mov dword [r8 + 0x1d], eax
movzx eax, r13b
add r9, rax
jmp 0x1800a6de4
or dword [r8 + 0x21], 0x80
movzx eax, word [r9]
mov ebp, dword [rsp + 0x50]
mov r12, qword [rsp + 0x40]
mov word [r8 + 0x1d], ax
movzx eax, r13b
add r9, rax
jmp 0x1800a6de4
or dword [r8 + 0x21], 0x40
movzx eax, byte [r9]
mov byte [r8 + 0x1d], al
mov ebp, dword [rsp + 0x50]
mov r12, qword [rsp + 0x40]
movzx eax, r13b
add r9, rax
jmp 0x1800a6de4
test sil, 0x20
je 0x1800a6de4
or dword [r8 + 0x21], 0x9000
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov r13, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x58]
test r11b, 0x10
je 0x1800a6e55
test r11b, 0x40
je 0x1800a6e28
test sil, 8
je 0x1800a6e89
or dword [r8 + 0x21], 0x208
movzx eax, word [r9]
add r9, 2
mov word [r8 + 0x15], ax
jmp 0x1800a6eb7
test bpl, bpl
je 0x1800a6e3f
or dword [r8 + 0x21], 0x20
mov rax, qword [r9]
add r9, 8
mov qword [r8 + 0x15], rax
jmp 0x1800a6e55
test sil, 8
jne 0x1800a6e5b
or dword [r8 + 0x21], 0x10
mov eax, dword [r9]
add r9, 4
mov dword [r8 + 0x15], eax
test r11b, 4
je 0x1800a6e6d
or dword [r8 + 0x21], 8
movzx eax, word [r9]
add r9, 2
mov word [r8 + 0x15], ax
test r11b, 2
je 0x1800a6e83
or dword [r8 + 0x21], 4
movzx eax, byte [r9]
inc r9
mov byte [r8 + 0x15], al
test r11b, 0x40
je 0x1800a6e9e
or dword [r8 + 0x21], 0x210
mov eax, dword [r9]
add r9, 4
mov dword [r8 + 0x15], eax
jmp 0x1800a6eb7
test r11b, 0x20
je 0x1800a6eb7
or dword [r8 + 0x21], 0x204
movzx eax, byte [r9]
inc r9
mov byte [r8 + 0x15], al
mov rsi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
sub r9, r12
mov r12, qword [rsp + 0x18]
mov byte [r8], r9b
cmp r9b, 0xf
jbe 0x1800a6ede
or dword [r8 + 0x21], 0x5000
mov byte [r8], reloc.WS2_32.dll_ntohs
movzx eax, byte [r8]
add rsp, 0x38
ret