Function at 0x14009b920
Capabilities:
Check for software breakpoints

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0x98
mov rax, qword [0x1402b1ed0]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov rax, qword [rbp + 0x77]
mov rbx, r8
xor r8d, r8d
mov qword [rbp - 0x39], rdx
mov r12, rcx
mov dword [rbp - 0x41], r8d
mov rcx, qword [rbp + 0x7f]
mov r14d, r9d
mov rdi, qword [rax]
mov r15, rdx
mov qword [rbp - 0x31], rcx
mov r13d, r8d
test rdi, rdi
je 0x14009c2b6
cmp qword [rdi + 0xe0], r8
je 0x14009c2b6
cmp dword [rdi], r8d
je 0x14009b9b0
cmp dword [rdi + 0xa8], r8d
jne 0x14009b9d0
mov edx, dword [rbx]
mov r9, rdi
mov qword [rsp + 0x20], rcx
mov r8d, r14d
mov rcx, r15
call fcn.14009b4c8
mov dword [rbx], eax
jmp 0x14009c2b6
cmp dword [rdi + 0xa8], r8d
jne 0x14009b9d0
mov rcx, qword [rdi + 0x60]
or edx, 0xffffffff
mov rcx, qword [rcx + 0x88]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor r8d, r8d
mov rax, qword [rdi + 0xe0]
mov rsi, r8
test rax, rax
je 0x14009b9e5
mov rax, qword [rax + 0x18]
jmp 0x14009b9e8
mov rax, r8
test rax, rax
je 0x14009b9f0
mov rsi, qword [rax]
cmp dword [rdi + 0xa8], r8d
jne 0x14009ba14
mov rcx, qword [rdi + 0x60]
xor r8d, r8d
mov rcx, qword [rcx + 0x88]
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
xor r8d, r8d
test rsi, rsi
jne 0x14009ba21
mov dword [rbx], r14d
jmp 0x14009c2b6
cmp dword [rdi + 0x80], r8d
jne 0x14009c1c6
mov edx, dword [rbx]
mov eax, r14d
sub eax, edx
cmp eax, 4
jl 0x14009c29d
lea r9d, [rax - 4]
test r9d, r9d
js 0x14009c29d
mov r8d, edx
xor ecx, ecx
movsxd rax, r8d
cmp qword [rdi + 0xb8], rcx
je 0x14009ba64
cmp byte [rax + r15], cl
je 0x14009ba6b
jmp 0x14009ba9d
cmp byte [rax + r15], 0xd
jne 0x14009ba9d
lea eax, [rdx + 1]
add eax, r13d
movsxd rcx, eax
cmp byte [rcx + r15], 0xa
jne 0x14009ba9b
lea eax, [rdx + 2]
add eax, r13d
movsxd rcx, eax
cmp byte [rcx + r15], 0xd
jne 0x14009ba9b
lea eax, [rdx + 3]
add eax, r13d
movsxd rcx, eax
cmp byte [rcx + r15], 0xa
je 0x14009baae
xor ecx, ecx
inc r13d
inc r8d
cmp r13d, r9d
jg 0x14009c29d
jmp 0x14009ba50
xor r8d, r8d
test r12, r12
je 0x14009bac8
lea rdx, [rdi + 0xc0]
mov rcx, r12
call fcn.14008b7f4
xor r8d, r8d
or dword [rdi + 0x9c], 0xffffffff
lea eax, [r13 + 4]
mov dword [rbp - 0x3d], eax
mov dword [rdi + 0xb0], eax
mov dword [rdi + 0xa0], 1
mov dword [rdi + 0x80], 1
cmp qword [rdi + 0xb8], r8
jne 0x14009bb16
movsxd rdx, dword [rbx]
mov eax, r14d
sub eax, dword [rbx]
mov rcx, r15
movsxd r8, eax
call fcn.140092110
mov qword [rdi + 0xb8], rax
xor r8d, r8d
mov rcx, qword [rdi + 0xb8]
test rcx, rcx
je 0x14009c29d
cmp qword [rcx], r8
jne 0x14009bb44
cmp dword [rcx + 0x30], 0xffffffff
je 0x14009bb44
cmp dword [rdi + 0xa8], 1
jne 0x14009bb44
mov eax, 0x190
jmp 0x14009c2b8
mov eax, 0x1c
lea r8, [rdi + 0xc0]
xor edx, edx
lea r15d, [rax - 0xc]
cmp word [r8], dx
je 0x14009bb7c
cmp word [r8], 0x17
lea edx, [rax + 2]
mov r9d, r15d
cmove r9d, eax
add rcx, 0x88
call section..text
xor edx, edx
lea eax, [rdx + 0x1c]
lea r8, [rdi + 0xf0]
cmp word [r8], dx
je 0x14009bbad
cmp word [r8], 0x17
mov edx, 0x1e
mov rcx, qword [rdi + 0xb8]
cmove r15, rax
add rcx, 0xa6
mov r9, r15
call section..text
mov rax, qword [rdi + 0xb8]
mov r15, qword [rax + 0x78]
test r15, r15
je 0x14009bcd3
cmp qword [r15 + 8], 0x11
jne 0x14009bc12
mov rcx, qword [r15]
lea rdx, str.transfer_encoding
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.1401cd78c
test eax, eax
jne 0x14009bc12
cmp qword [r15 + 0x18], 7
jne 0x14009bc12
mov rcx, qword [r15 + 0x10]
lea r8d, [rax + 7]
lea rdx, str.chunked
call fcn.1401cd78c
xor edx, edx
test eax, eax
jne 0x14009bc12
mov dword [rdi + 0xa0], edx
mov dword [rdi + 0x88], 1
cmp qword [r15 + 8], 0xa
jne 0x14009bc5b
mov rcx, qword [r15]
lea rdx, str.connection
mov r8d, 0xa
call fcn.1401cd78c
test eax, eax
jne 0x14009bc5b
cmp qword [r15 + 0x18], 5
jne 0x14009bc5b
mov rcx, qword [r15 + 0x10]
lea r8d, [rax + 5]
lea rdx, str.close
call fcn.1401cd78c
test eax, eax
jne 0x14009bc5b
mov dword [rdi + 0x98], 1
cmp qword [r15 + 8], 0xe
jne 0x14009bcba
mov rcx, qword [r15]
lea rdx, str.content_length
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.1401cd78c
xor edx, edx
test eax, eax
jne 0x14009bcba
mov dword [rdi + 0xa0], edx
mov rcx, qword [r15 + 0x18]
mov rax, qword [r15 + 0x10]
mov byte [rcx + rax], dl
mov rcx, qword [r15 + 0x10]
call fcn.14008dfec
cmp rax, 0x7fffffff
ja 0x14009bcac
mov rcx, qword [r15 + 0x10]
call fcn.14008e01c
xor edx, edx
jmp 0x14009bcb0
xor edx, edx
mov eax, edx
mov dword [rdi + 0x9c], eax
test eax, eax
js 0x14009bcc3
mov r15, qword [r15 + 0x28]
jmp 0x14009bbb8
mov dword [rdi + 0x9c], edx
mov eax, 0xfa1
jmp 0x14009c2b8
mov rcx, qword [rdi + 0xb8]
mov rcx, qword [rcx + 0x48]
call fcn.1401cff70
xor r8d, r8d
comisd xmm0, xmmword [0x1402918e8]
jbe 0x14009bd12
cmp dword [rdi + 0x88], r8d
jne 0x14009bd12
cmp dword [rdi + 0x98], r8d
jne 0x14009bd12
cmp dword [rdi + 0xa0], r8d
je 0x14009bd12
mov qword [rdi + 0x9c], r8
mov r11, qword [rdi + 0xb8]
mov ecx, dword [r11 + 0x30]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x14009bebf
mov rax, qword [rsi + 0x78]
test rax, rax
jne 0x14009bd91
mov r10, qword [rsi + 0x90]
mov dword [rbp - 0x3d], r8d
test r10, r10
je 0x14009bd84
lea rax, [rdi + 0x10c]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor edx, edx
mov rax, qword [rsi + 0x58]
mov rcx, rdi
mov qword [rsp + 0x40], rax
mov rax, qword [rsi + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x3d]
mov dword [rsp + 0x30], listen
mov dword [rsp + 0x28], r8d
mov r8, r11
mov qword [rsp + 0x20], rax
call r10
mov eax, dword [rdi + 0xb0]
add dword [rbx], eax
jmp 0x14009c2b6
cmp ecx, 0x65
jne 0x14009be8c
cmp qword [rax + 0x10], r8
je 0x14009be8c
lea r8d, [rcx - 0x51]
xor r9d, r9d
mov rcx, r11
lea rdx, str.Sec_WebSocket_Accept
call fcn.140093aa4
xor r15d, r15d
test rax, rax
je 0x14009be6e
mov rcx, qword [rsi + 0x78]
mov r8, qword [rcx + 0x10]
sub r8, rax
movzx ecx, byte [rax]
movzx edx, byte [rax + r8]
sub ecx, edx
jne 0x14009bde4
inc rax
test edx, edx
jne 0x14009bdd1
test ecx, ecx
jne 0x14009be6e
mov r14d, dword [rdi + 0xb0]
lea rcx, [rdi + 0x28]
lea r8, [rbp - 0x29]
mov dword [rbp - 0x3d], r15d
xor edx, edx
call fcn.14009a208
mov rcx, rsi
mov dword [rdi], 1
call fcn.14009b140
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x14009be66
mov r8, qword [rdi + 0xb8]
lea rax, [rdi + 0x10c]
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov rax, qword [rsi + 0x58]
xor edx, edx
mov qword [rsp + 0x40], rax
mov rcx, rdi
mov rax, qword [rsi + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x3d]
mov dword [rsp + 0x30], listen
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call r10
add dword [rbx], r14d
jmp 0x14009c2b6
mov rcx, qword [rdi + 0xe8]
test rcx, rcx
je 0x14009be7f
call fcn.140089a28
mov rcx, rdi
call fcn.14009a270
jmp 0x14009c2b6
cmp qword [rsi + 0x80], r8
jne 0x14009bed7
mov eax, dword [rdi + 0xb0]
mov dword [rdi + 0x80], r8d
add dword [rbx], eax
mov rcx, qword [rdi + 0xb8]
call fcn.140092044
xor r8d, r8d
mov qword [rdi + 0xb8], r8
jmp 0x14009c29d
cmp ecx, 0xcc
je 0x14009becf
cmp ecx, 0x130
jne 0x14009bed7
and qword [rdi + 0x9c], 0
cmp dword [rdi + 0xa8], r8d
je 0x14009bef9
cmp dword [rdi + 0x9c], 0xffffffff
jne 0x14009bef9
cmp dword [rdi + 0x88], r8d
jne 0x14009bef9
mov dword [rdi + 0x9c], r8d
mov rdx, qword [rdi + 0xe0]
mov rcx, r8
test rdx, rdx
je 0x14009bf0e
mov rax, qword [rdx + 0x18]
jmp 0x14009bf11
mov rax, r8
test rax, rax
je 0x14009bf19
mov rcx, qword [rax]
test rdx, rdx
je 0x14009bf3b
test rcx, rcx
je 0x14009bf3b
cmp dword [rcx + 0x88], r8d
je 0x14009bf3b
and qword [rdi + 0x9c], 0
mov dword [rdi + 0x88], r8d
mov eax, dword [rdi + 0x9c]
test eax, eax
jne 0x14009bfac
mov dword [rdi + 0x78], 1
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x14009bf9d
lea rax, [rdi + 0x10c]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor edx, edx
mov rax, qword [rsi + 0x58]
mov rcx, rdi
mov qword [rsp + 0x40], rax
mov rax, qword [rsi + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x41]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], r8d
mov r8, r11
mov qword [rsp + 0x20], rax
call r10
xor r8d, r8d
lea eax, [r13 + 4]
add dword [rbx], eax
mov dword [rdi + 0x78], r8d
jmp 0x14009c27d
cmp dword [rdi + 0x88], r8d
jne 0x14009c0ea
cmp eax, 0xffffffff
je 0x14009c059
mov eax, r14d
sub eax, dword [rbx]
sub eax, r13d
sub eax, 4
cmp eax, dword [rdi + 0x9c]
jl 0x14009c059
mov dword [rdi + 0x78], 1
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x14009c041
mov r9, qword [rbp - 0x39]
lea rcx, [rdi + 0x10c]
mov qword [rsp + 0x48], rcx
add r9, 4
movsxd rax, r13d
mov r8, r11
add r9, rax
xor edx, edx
mov rax, qword [rsi + 0x58]
mov rcx, rdi
mov qword [rsp + 0x40], rax
mov rax, qword [rsi + 0x50]
mov qword [rsp + 0x38], rax
mov eax, dword [rdi + 0x9c]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
call r10
xor r8d, r8d
mov eax, dword [rbp - 0x41]
test eax, eax
jne 0x14009c04e
mov eax, dword [rdi + 0x9c]
add eax, 4
add eax, r13d
jmp 0x14009bfa1
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x14009c0bc
sub r14d, dword [rbx]
lea rcx, [rdi + 0x10c]
mov r9, qword [rbp - 0x39]
sub r14d, r13d
mov qword [rsp + 0x48], rcx
add r9, 4
movsxd rax, r13d
sub r14d, 4
add r9, rax
xor edx, edx
mov rax, qword [rsi + 0x58]
mov rcx, rdi
mov qword [rsp + 0x40], rax
mov rax, qword [rsi + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x41]
mov dword [rsp + 0x30], r8d
mov r8, r11
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
call r10
xor r8d, r8d
test r12, r12
je 0x14009c0cd
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x14009c29d
mov dword [rdi + 0xb0], r8d
mov ecx, dword [rbp - 0x41]
lea eax, [rcx + 4]
add eax, r13d
mov dword [rbx], eax
sub dword [rdi + 0x9c], ecx
jmp 0x14009c19f
mov r15, qword [rbp - 0x39]
cmp qword [rdi + 0x90], r8
jne 0x14009c16c
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x14009c16c
movsxd rax, r13d
lea rcx, [rdi + 0x10c]
mov qword [rsp + 0x48], rcx
lea r9, [r15 + 4]
add r9, rax
xor edx, edx
mov rax, qword [rsi + 0x58]
mov rcx, rdi
mov qword [rsp + 0x40], rax
mov rax, qword [rsi + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x41]
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], r8d
mov r8, r11
mov qword [rsp + 0x20], rax
call r10
xor eax, eax
cmp dword [rdi + 0x80], eax
jne 0x14009c15b
mov eax, dword [rbp - 0x3d]
jmp 0x14009b9a9
test r12, r12
je 0x14009c16c
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x14009c2b8
sub r14d, dword [rbx]
lea r9, [rbp - 0x41]
movsxd r8, r13d
sub r14d, r13d
add r8, 4
sub r14d, 4
add r8, r15
mov dword [rsp + 0x20], r14d
mov rdx, rdi
mov rcx, r12
call fcn.14009aa74
mov ecx, dword [rbp - 0x41]
add ecx, 4
add ecx, r13d
mov dword [rbx], ecx
mov rcx, qword [rdi + 0xb8]
call fcn.140093390
mov rcx, qword [rdi + 0xb8]
mov rbx, rax
call fcn.140092044
mov qword [rdi + 0xb8], rbx
jmp 0x14009c29d
cmp dword [rdi + 0x88], r8d
jne 0x14009c287
mov ecx, dword [rdi + 0xa0]
mov r15d, r8d
test ecx, ecx
jne 0x14009c1ef
mov eax, r14d
sub eax, dword [rbx]
cmp eax, dword [rdi + 0x9c]
setge r15b
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x14009c252
sub r14d, dword [rbx]
test ecx, ecx
jne 0x14009c20f
mov eax, dword [rdi + 0x9c]
cmp r14d, eax
cmovge r14d, eax
mov r9, qword [rbp - 0x39]
lea rax, [rdi + 0x10c]
mov r8, qword [rdi + 0xb8]
xor edx, edx
mov qword [rsp + 0x48], rax
mov rcx, rdi
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [rsi + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rbx
call r10
xor r8d, r8d
test r12, r12
je 0x14009c25f
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x14009c29d
cmp dword [rdi + 0xa0], r8d
jne 0x14009c29d
mov eax, dword [rbx]
sub dword [rdi + 0x9c], eax
mov eax, dword [rdi + 0x9c]
test r15d, r15d
je 0x14009c29d
add dword [rbx], eax
mov rdx, rdi
call fcn.14009a7c8
jmp 0x14009c29d
mov r9, rbx
mov dword [rsp + 0x20], r14d
mov r8, r15
mov rdx, rdi
mov rcx, r12
call fcn.14009aa74
test r12, r12
je 0x14009c2aa
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x14009c2b6
mov rcx, qword [rbp - 0x31]
mov eax, dword [rdi + 0x10c]
mov dword [rcx], eax
xor eax, eax
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.1401bc130
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret