Function at 0x14009c9d0
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 [0x1402bff08]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov rax, qword [rbp + 0x77]
mov r12, rcx
mov rcx, qword [rbp + 0x7f]
mov r14d, r9d
mov rbx, r8
mov qword [rbp - 0x39], rdx
mov r15, rdx
mov qword [rbp - 0x31], rcx
mov rdi, qword [rax]
xor eax, eax
mov dword [rbp - 0x41], eax
mov r13d, eax
test rdi, rdi
je 0x14009d306
cmp qword [rdi + 0xe0], rax
je 0x14009d306
cmp dword [rdi], eax
je 0x14009ca5c
cmp dword [rdi + 0xa8], eax
jne 0x14009ca5c
mov edx, dword [rbx]
mov r9, rdi
mov qword [rsp + 0x20], rcx
mov r8d, r14d
mov rcx, r15
call fcn.14009c5a8
mov dword [rbx], eax
jmp 0x14009d306
mov edx, 1
cmp dword [rdi + 0xa8], eax
jne 0x14009ca7d
mov rcx, qword [rdi + 0x60]
jmp 0x14009ca73
pause
xor eax, eax
lock cmpxchg dword [rcx + 0x84], edx
je 0x14009ca6f
mov rcx, qword [rdi + 0xe0]
call fcn.14009215c
xor r8d, r8d
mov rsi, rax
cmp dword [rdi + 0xa8], r8d
jne 0x14009caa3
mov rcx, qword [rdi + 0x60]
mov dword [rcx + 0x84], r8d
test rsi, rsi
jne 0x14009cab0
mov dword [rbx], r14d
jmp 0x14009d306
cmp dword [rdi + 0x80], r8d
jne 0x14009d212
mov ecx, dword [rbx]
mov eax, r14d
sub eax, ecx
cmp eax, 4
jl 0x14009d2ed
lea edx, [rax - 4]
test edx, edx
js 0x14009d2ed
movsxd rax, ecx
cmp qword [rdi + 0xb8], r8
je 0x14009caec
cmp byte [rax + r15], r8b
je 0x14009caf3
jmp 0x14009cb0b
cmp byte [rax + r15], 0xd
jne 0x14009cb0b
cmp byte [r15 + rax + 1], 0xa
jne 0x14009cb0b
cmp byte [r15 + rax + 2], 0xd
jne 0x14009cb0b
cmp byte [r15 + rax + 3], 0xa
je 0x14009cb1b
inc r13d
inc ecx
cmp r13d, edx
jg 0x14009d2ed
jmp 0x14009cad8
test r12, r12
je 0x14009cb2f
lea rdx, [rdi + 0xc0]
mov rcx, r12
call fcn.14008bfbc
or dword [rdi + 0x9c], 0xffffffff
lea eax, [r13 + 4]
mov rcx, qword [rdi + 0xb8]
mov dword [rbp - 0x3d], eax
mov dword [rdi + 0xb0], eax
mov dword [rdi + 0xa0], 1
mov dword [rdi + 0x80], 1
test rcx, rcx
jne 0x14009cb80
movsxd rdx, dword [rbx]
mov eax, r14d
sub eax, dword [rbx]
mov rcx, r15
movsxd r8, eax
call fcn.140092ecc
mov qword [rdi + 0xb8], rax
mov rcx, rax
xor r15d, r15d
test rcx, rcx
je 0x14009d2ed
cmp qword [rcx], r15
jne 0x14009cbaa
cmp dword [rcx + 0x30], 0xffffffff
je 0x14009cbaa
cmp dword [rdi + 0xa8], 1
jne 0x14009cbaa
mov eax, 0x190
jmp 0x14009d308
mov eax, 0x1c
lea r8, [rdi + 0xc0]
xor edx, edx
lea r15d, [rax - 0xc]
cmp word [r8], dx
je 0x14009cbe9
cmp word [r8], 0x17
lea edx, [rax + 2]
mov r9d, r15d
cmove r9d, eax
add rcx, 0x88
call section..text
mov rcx, qword [rdi + 0xb8]
xor edx, edx
lea eax, [rdx + 0x1c]
lea r8, [rdi + 0xf0]
cmp word [r8], dx
je 0x14009cc1a
cmp word [r8], 0x17
mov edx, 0x1e
cmove r15, rax
add rcx, 0xa6
mov r9, r15
call section..text
mov rcx, qword [rdi + 0xb8]
mov r15, qword [rcx + 0x78]
test r15, r15
je 0x14009cd46
cmp qword [r15 + 8], 0x11
jne 0x14009cc78
mov rcx, qword [r15]
lea rdx, str.transfer_encoding
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.1401d715c
test eax, eax
jne 0x14009cc78
cmp qword [r15 + 0x18], 7
jne 0x14009cc78
mov rcx, qword [r15 + 0x10]
lea r8d, [rax + 7]
lea rdx, str.chunked
call fcn.1401d715c
xor edx, edx
test eax, eax
jne 0x14009cc78
mov dword [rdi + 0xa0], edx
mov dword [rdi + 0x88], 1
cmp qword [r15 + 8], 0xa
jne 0x14009ccc1
mov rcx, qword [r15]
lea rdx, str.connection
mov r8d, 0xa
call fcn.1401d715c
test eax, eax
jne 0x14009ccc1
cmp qword [r15 + 0x18], 5
jne 0x14009ccc1
mov rcx, qword [r15 + 0x10]
lea r8d, [rax + 5]
lea rdx, str.close
call fcn.1401d715c
test eax, eax
jne 0x14009ccc1
mov dword [rdi + 0x98], 1
cmp qword [r15 + 8], 0xe
jne 0x14009cd32
mov rcx, qword [r15]
lea rdx, str.content_length
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.1401d715c
xor edx, edx
test eax, eax
jne 0x14009cd32
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.14008e808
cmp rax, 0x7fffffff
ja 0x14009cd2a
mov rcx, qword [r15 + 0x10]
call fcn.14008e838
xor edx, edx
mov dword [rdi + 0x9c], eax
test eax, eax
jns 0x14009cd32
mov dword [rdi + 0x9c], edx
mov eax, 0xfa1
jmp 0x14009d308
xor edx, edx
mov dword [rdi + 0x9c], edx
mov r15, qword [r15 + 0x28]
test r15, r15
jne 0x14009cc27
mov rcx, qword [rdi + 0xb8]
mov rcx, qword [rcx + 0x48]
call fcn.1401d9a7c
xor r15d, r15d
comisd xmm0, xmmword [0x14029f630]
jbe 0x14009cd7e
cmp dword [rdi + 0x88], r15d
jne 0x14009cd7e
cmp dword [rdi + 0x98], r15d
jne 0x14009cd7e
cmp dword [rdi + 0xa0], r15d
je 0x14009cd7e
mov qword [rdi + 0x9c], r15
mov r11, qword [rdi + 0xb8]
mov ecx, dword [r11 + 0x30]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x14009cf1c
mov rax, qword [rsi + 0x78]
test rax, rax
jne 0x14009cdfd
mov r10, qword [rsi + 0x90]
mov dword [rbp - 0x3d], r15d
test r10, r10
je 0x14009cdf0
lea rax, [rdi + 0x10c]
xor r9d, r9d
mov qword [rsp + 0x48], rax
mov r8, r11
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], ntohs
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call r10
mov eax, dword [rdi + 0xb0]
add dword [rbx], eax
jmp 0x14009d306
cmp ecx, 0x65
jne 0x14009ceec
cmp qword [rax + 0x10], r15
je 0x14009ceec
lea r8d, [rcx - 0x51]
xor r9d, r9d
mov rcx, r11
lea rdx, str.Sec_WebSocket_Accept
call fcn.1400949d0
test rax, rax
je 0x14009ced7
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 0x14009ce4d
inc rax
test edx, edx
jne 0x14009ce3a
test ecx, ecx
jne 0x14009ced7
mov r14d, dword [rdi + 0xb0]
lea rcx, [rdi + 0x28]
lea r8, [rbp - 0x29]
mov dword [rbp - 0x3d], r15d
xor edx, edx
call fcn.14009b300
mov rcx, rsi
mov dword [rdi], 1
call fcn.14009c228
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x14009cecf
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], ntohs
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call r10
add dword [rbx], r14d
jmp 0x14009d306
mov rcx, rdi
call fcn.14009e624
mov rcx, rdi
call fcn.14009b368
jmp 0x14009d306
cmp qword [rsi + 0x80], r15
jne 0x14009cf34
mov eax, dword [rdi + 0xb0]
mov dword [rdi + 0x80], r15d
add dword [rbx], eax
mov rcx, qword [rdi + 0xb8]
call fcn.140092e00
mov qword [rdi + 0xb8], r15
jmp 0x14009d2ed
cmp ecx, 0xcc
je 0x14009cf2c
cmp ecx, 0x130
jne 0x14009cf34
and qword [rdi + 0x9c], 0
cmp dword [rdi + 0xa8], r15d
je 0x14009cf56
cmp dword [rdi + 0x9c], 0xffffffff
jne 0x14009cf56
cmp dword [rdi + 0x88], r15d
jne 0x14009cf56
mov dword [rdi + 0x9c], r15d
mov rcx, qword [rdi + 0xe0]
call fcn.14009215c
cmp qword [rdi + 0xe0], r15
je 0x14009cf88
test rax, rax
je 0x14009cf88
cmp dword [rax + 0x88], r15d
je 0x14009cf88
and qword [rdi + 0x9c], 0
mov dword [rdi + 0x88], r15d
mov edx, dword [rdi + 0x9c]
test edx, edx
jne 0x14009cff2
mov dword [rdi + 0x78], 1
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x14009cfe9
mov r8, qword [rdi + 0xb8]
lea rax, [rdi + 0x10c]
mov qword [rsp + 0x48], rax
xor r9d, r9d
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], r15d
mov qword [rsp + 0x20], rax
call r10
lea eax, [r13 + 4]
jmp 0x14009d094
cmp dword [rdi + 0x88], r15d
jne 0x14009d134
cmp edx, 0xffffffff
je 0x14009d09f
mov eax, r14d
sub eax, dword [rbx]
sub eax, r13d
sub eax, 4
cmp eax, edx
jl 0x14009d09f
mov dword [rdi + 0x78], 1
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x14009d081
mov r9, qword [rbp - 0x39]
lea rcx, [rdi + 0x10c]
mov r8, qword [rdi + 0xb8]
add r9, 4
mov qword [rsp + 0x48], rcx
mov rcx, rdi
mov eax, r13d
add r9, rax
mov rax, qword [rsi + 0x58]
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], edx
xor edx, edx
mov qword [rsp + 0x20], rax
call r10
xor r15d, r15d
mov eax, dword [rbp - 0x41]
test eax, eax
jne 0x14009d08e
mov eax, dword [rdi + 0x9c]
add eax, 4
add eax, r13d
add dword [rbx], eax
mov dword [rdi + 0x78], r15d
jmp 0x14009d2cd
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x14009d106
sub r14d, dword [rbx]
lea rcx, [rdi + 0x10c]
mov r9, qword [rbp - 0x39]
sub r14d, r13d
mov r8, qword [rdi + 0xb8]
add r9, 4
mov qword [rsp + 0x48], rcx
xor r15d, r15d
mov eax, 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], r15d
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
call r10
test r12, r12
je 0x14009d117
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x14009d306
mov dword [rdi + 0xb0], r15d
mov ecx, dword [rbp - 0x41]
lea eax, [rcx + 4]
add eax, r13d
mov dword [rbx], eax
sub dword [rdi + 0x9c], ecx
jmp 0x14009d1eb
cmp qword [rdi + 0x90], r15
mov r15, qword [rbp - 0x39]
jne 0x14009d1b8
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x14009d1b8
mov r8, qword [rdi + 0xb8]
lea rcx, [rdi + 0x10c]
mov qword [rsp + 0x48], rcx
lea r9, [r15 + 4]
mov eax, r13d
xor edx, edx
add r9, rax
mov rcx, rdi
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [rsi + 0x50]
xor esi, esi
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x41]
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call r10
cmp dword [rdi + 0x80], esi
jne 0x14009d1a7
mov eax, dword [rbp - 0x3d]
jmp 0x14009ca55
test r12, r12
je 0x14009d1b8
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x14009d306
sub r14d, dword [rbx]
lea r8, [r15 + 4]
mov eax, r13d
lea r9, [rbp - 0x41]
sub r14d, r13d
add r8, rax
sub r14d, 4
mov rdx, rdi
mov rcx, r12
mov dword [rsp + 0x20], r14d
call fcn.14009bb44
mov ecx, dword [rbp - 0x41]
add ecx, 4
add ecx, r13d
mov dword [rbx], ecx
mov rcx, qword [rdi + 0xb8]
call fcn.1400942a8
mov rcx, qword [rdi + 0xb8]
mov rbx, rax
call fcn.140092e00
mov qword [rdi + 0xb8], rbx
jmp 0x14009d2ed
cmp dword [rdi + 0x88], r8d
jne 0x14009d2d7
mov ecx, dword [rdi + 0xa0]
mov r15d, r8d
test ecx, ecx
jne 0x14009d23b
mov eax, r14d
sub eax, dword [rbx]
cmp eax, dword [rdi + 0x9c]
setge r15b
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x14009d2a2
sub r14d, dword [rbx]
test ecx, ecx
jne 0x14009d25d
mov ecx, dword [rdi + 0x9c]
cmp r14d, ecx
cmovl ecx, r14d
jmp 0x14009d260
mov ecx, r14d
mov r9, qword [rbp - 0x39]
lea rax, [rdi + 0x10c]
mov r8, qword [rdi + 0xb8]
xor edx, edx
mov qword [rsp + 0x48], rax
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], ecx
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call r10
xor r8d, r8d
test r12, r12
je 0x14009d2af
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x14009d306
cmp dword [rdi + 0xa0], r8d
jne 0x14009d2ed
mov eax, dword [rdi + 0x9c]
sub eax, dword [rbx]
mov dword [rdi + 0x9c], eax
test r15d, r15d
je 0x14009d2ed
add dword [rbx], eax
mov rdx, rdi
call fcn.14009b8a0
jmp 0x14009d2ed
mov r9, rbx
mov dword [rsp + 0x20], r14d
mov r8, r15
mov rdx, rdi
mov rcx, r12
call fcn.14009bb44
test r12, r12
je 0x14009d2fa
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x14009d306
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.1401c0ed0
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret