Function at 0x1400829e4
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 [0x140271510]
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 0x140083349
cmp qword [rdi + 0xe0], r8
je 0x140083349
cmp dword [rdi], r8d
je 0x140082a74
cmp dword [rdi + 0xa8], r8d
jne 0x140082a94
mov edx, dword [rbx]
mov r9, rdi
mov qword [rsp + 0x20], rcx
mov r8d, r14d
mov rcx, r15
call fcn.140082590
mov dword [rbx], eax
jmp 0x140083349
cmp dword [rdi + 0xa8], r8d
jne 0x140082a94
mov rcx, qword [rdi + 0x60]
or edx, 0xffffffff
mov rcx, qword [rcx + 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor r8d, r8d
mov rax, qword [rdi + 0xe0]
mov rsi, r8
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140082aaa
mov rsi, qword [rcx]
cmp dword [rdi + 0xa8], r8d
jne 0x140082ace
mov rcx, qword [rdi + 0x60]
xor r8d, r8d
mov rcx, qword [rcx + 0x80]
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
xor r8d, r8d
test rsi, rsi
jne 0x140082adb
mov dword [rbx], r14d
jmp 0x140083349
cmp dword [rdi + 0x80], r8d
jne 0x140083259
mov edx, dword [rbx]
mov eax, r14d
sub eax, edx
cmp eax, 4
jl 0x140083330
lea r9d, [rax - 4]
test r9d, r9d
js 0x140083330
mov r8d, edx
xor ecx, ecx
movsxd rax, r8d
cmp qword [rdi + 0xb8], rcx
je 0x140082b1e
cmp byte [rax + r15], cl
je 0x140082b25
jmp 0x140082b57
cmp byte [rax + r15], 0xd
jne 0x140082b57
lea eax, [rdx + 1]
add eax, r13d
movsxd rcx, eax
cmp byte [rcx + r15], 0xa
jne 0x140082b55
lea eax, [rdx + 2]
add eax, r13d
movsxd rcx, eax
cmp byte [rcx + r15], 0xd
jne 0x140082b55
lea eax, [rdx + 3]
add eax, r13d
movsxd rcx, eax
cmp byte [rcx + r15], 0xa
je 0x140082b68
xor ecx, ecx
inc r13d
inc r8d
cmp r13d, r9d
jg 0x140083330
jmp 0x140082b0a
xor r8d, r8d
test r12, r12
je 0x140082b82
lea rdx, [rdi + 0xc0]
mov rcx, r12
call fcn.140075d2c
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 0x140082bcd
mov edx, dword [rbx]
mov r8d, r14d
sub r8d, dword [rbx]
mov rcx, r15
call fcn.140079fec
mov qword [rdi + 0xb8], rax
xor r8d, r8d
mov rcx, qword [rdi + 0xb8]
test rcx, rcx
je 0x140083330
cmp qword [rcx], r8
jne 0x140082bfb
cmp dword [rcx + 0x2c], 0xffffffff
je 0x140082bfb
cmp dword [rdi + 0xa8], 1
jne 0x140082bfb
mov eax, 0x190
jmp 0x14008334b
mov eax, 0x1c
lea r8, [rdi + 0xc0]
xor edx, edx
lea r15d, [rax - 0xc]
cmp word [r8], dx
je 0x140082c30
cmp word [r8], 0x17
lea edx, [rax + 2]
mov r9d, r15d
cmove r9d, eax
add rcx, 0x78
call section..text
xor edx, edx
lea eax, [rdx + 0x1c]
lea r8, [rdi + 0xf0]
cmp word [r8], dx
je 0x140082c61
cmp word [r8], 0x17
mov edx, 0x1e
mov rcx, qword [rdi + 0xb8]
cmove r15, rax
add rcx, 0x96
mov r9, r15
call section..text
mov rax, qword [rdi + 0xb8]
mov r15, qword [rax + 0x68]
test r15, r15
je 0x140082d70
cmp dword [r15 + 8], 0x11
jne 0x140082cc6
mov rcx, qword [r15]
lea rdx, str.transfer_encoding
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.14017c80c
test eax, eax
jne 0x140082cc6
cmp dword [r15 + 0x18], 7
jne 0x140082cc6
mov rcx, qword [r15 + 0x10]
lea r8d, [rax + 7]
lea rdx, str.chunked
call fcn.14017c80c
xor edx, edx
test eax, eax
jne 0x140082cc6
mov dword [rdi + 0xa0], edx
mov dword [rdi + 0x88], 1
cmp dword [r15 + 8], 0xa
jne 0x140082d0f
mov rcx, qword [r15]
lea rdx, str.connection
mov r8d, 0xa
call fcn.14017c80c
test eax, eax
jne 0x140082d0f
cmp dword [r15 + 0x18], 5
jne 0x140082d0f
mov rcx, qword [r15 + 0x10]
lea r8d, [rax + 5]
lea rdx, str.close
call fcn.14017c80c
test eax, eax
jne 0x140082d0f
mov dword [rdi + 0x98], 1
cmp dword [r15 + 8], 0xe
jne 0x140082d57
mov rcx, qword [r15]
lea rdx, str.content_length
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.14017c80c
xor edx, edx
test eax, eax
jne 0x140082d57
mov dword [rdi + 0xa0], edx
movsxd rcx, dword [r15 + 0x18]
mov rax, qword [r15 + 0x10]
mov byte [rcx + rax], dl
mov rcx, qword [r15 + 0x10]
call fcn.140175a50
xor edx, edx
mov dword [rdi + 0x9c], eax
test eax, eax
js 0x140082d60
mov r15, qword [r15 + 0x20]
jmp 0x140082c6c
mov dword [rdi + 0x9c], edx
mov eax, 0xfa1
jmp 0x14008334b
mov rcx, qword [rdi + 0xb8]
mov rcx, qword [rcx + 0x40]
call fcn.14017f08c
xor r8d, r8d
comisd xmm0, xmmword [0x140255230]
jbe 0x140082daf
cmp dword [rdi + 0x88], r8d
jne 0x140082daf
cmp dword [rdi + 0x98], r8d
jne 0x140082daf
cmp dword [rdi + 0xa0], r8d
je 0x140082daf
mov qword [rdi + 0x9c], r8
mov r11, qword [rdi + 0xb8]
mov ecx, dword [r11 + 0x2c]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x140082f5c
mov rax, qword [rsi + 0x78]
test rax, rax
jne 0x140082e2e
mov r10, qword [rsi + 0x90]
mov dword [rbp - 0x3d], r8d
test r10, r10
je 0x140082e21
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], send
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 0x140083349
cmp ecx, 0x65
jne 0x140082f29
cmp qword [rax + 0x10], r8
je 0x140082f29
lea r8d, [rcx - 0x51]
xor r9d, r9d
mov rcx, r11
lea rdx, str.Sec_WebSocket_Accept
call fcn.14007b9c8
xor r15d, r15d
test rax, rax
je 0x140082f0b
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 0x140082e81
inc rax
test edx, edx
jne 0x140082e6e
test ecx, ecx
jne 0x140082f0b
mov r14d, dword [rdi + 0xb0]
lea rcx, [rdi + 0x28]
lea r8, [rbp - 0x29]
mov dword [rbp - 0x3d], r15d
xor edx, edx
call fcn.140081318
mov rcx, rsi
mov dword [rdi], 1
call fcn.140082220
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x140082f03
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], send
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call r10
add dword [rbx], r14d
jmp 0x140083349
mov rcx, qword [rdi + 0xe8]
test rcx, rcx
je 0x140082f1c
call fcn.140074120
mov rcx, rdi
call fcn.140081380
jmp 0x140083349
cmp qword [rsi + 0x80], r8
jne 0x140082f74
mov eax, dword [rdi + 0xb0]
mov dword [rdi + 0x80], r8d
add dword [rbx], eax
mov rcx, qword [rdi + 0xb8]
call fcn.140079f20
xor r8d, r8d
mov qword [rdi + 0xb8], r8
jmp 0x140083330
cmp ecx, 0xcc
je 0x140082f6c
cmp ecx, 0x130
jne 0x140082f74
and qword [rdi + 0x9c], 0
cmp dword [rdi + 0xa8], r8d
je 0x140082f96
cmp dword [rdi + 0x9c], 0xffffffff
jne 0x140082f96
cmp dword [rdi + 0x88], r8d
jne 0x140082f96
mov dword [rdi + 0x9c], r8d
mov rdx, qword [rdi + 0xe0]
mov rax, r8
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x140082fac
mov rax, qword [rcx]
test rdx, rdx
je 0x140082fce
test rax, rax
je 0x140082fce
cmp dword [rax + 0x88], r8d
je 0x140082fce
and qword [rdi + 0x9c], 0
mov dword [rdi + 0x88], r8d
mov eax, dword [rdi + 0x9c]
test eax, eax
jne 0x14008303f
mov dword [rdi + 0x78], 1
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x140083030
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 0x140083310
cmp dword [rdi + 0x88], r8d
jne 0x14008317d
cmp eax, 0xffffffff
je 0x1400830ec
mov eax, r14d
sub eax, dword [rbx]
sub eax, r13d
sub eax, 4
cmp eax, dword [rdi + 0x9c]
jl 0x1400830ec
mov dword [rdi + 0x78], 1
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x1400830d4
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 0x1400830e1
mov eax, dword [rdi + 0x9c]
add eax, 4
add eax, r13d
jmp 0x140083034
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x14008314f
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 0x140083160
cmp qword [r12 + 0x60], 0xffffffffffffffff
je 0x140083330
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 0x140083232
mov r15, qword [rbp - 0x39]
cmp qword [rdi + 0x90], r8
jne 0x1400831ff
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x1400831ff
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 0x1400831ee
mov eax, dword [rbp - 0x3d]
jmp 0x140082a6d
test r12, r12
je 0x1400831ff
cmp qword [r12 + 0x60], 0xffffffffffffffff
je 0x14008334b
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.140081b5c
mov ecx, dword [rbp - 0x41]
add ecx, 4
add ecx, r13d
mov dword [rbx], ecx
mov rcx, qword [rdi + 0xb8]
call fcn.14007b264
mov rcx, qword [rdi + 0xb8]
mov rbx, rax
call fcn.140079f20
mov qword [rdi + 0xb8], rbx
jmp 0x140083330
cmp dword [rdi + 0x88], r8d
jne 0x14008331a
mov ecx, dword [rdi + 0xa0]
mov r15d, r8d
test ecx, ecx
jne 0x140083282
mov eax, r14d
sub eax, dword [rbx]
cmp eax, dword [rdi + 0x9c]
setge r15b
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x1400832e5
sub r14d, dword [rbx]
test ecx, ecx
jne 0x1400832a2
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 0x1400832f2
cmp qword [r12 + 0x60], 0xffffffffffffffff
je 0x140083330
cmp dword [rdi + 0xa0], r8d
jne 0x140083330
mov eax, dword [rbx]
sub dword [rdi + 0x9c], eax
mov eax, dword [rdi + 0x9c]
test r15d, r15d
je 0x140083330
add dword [rbx], eax
mov rdx, rdi
call fcn.1400818b0
jmp 0x140083330
mov r9, rbx
mov dword [rsp + 0x20], r14d
mov r8, r15
mov rdx, rdi
mov rcx, r12
call fcn.140081b5c
test r12, r12
je 0x14008333d
cmp qword [r12 + 0x60], 0xffffffffffffffff
je 0x140083349
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.14016d990
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret