Function at 0x14007d5b8
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 [0x14021c510]
xor rax, rsp
mov qword [rbp - 9], rax
mov rax, qword [rbp + 0x77]
mov rbx, r8
xor r8d, r8d
mov qword [rbp - 0x31], rbx
mov r12, rcx
mov qword [rbp - 0x39], rdx
mov rcx, qword [rbp + 0x7f]
mov r14d, r9d
mov rdi, qword [rax]
mov r15, rdx
mov qword [rbp - 0x29], rcx
mov r13d, r8d
mov dword [rbp - 0x41], r8d
test rdi, rdi
je 0x14007deea
cmp qword [rdi + 0xe0], r8
je 0x14007deea
cmp dword [rdi], r8d
je 0x14007d64c
cmp dword [rdi + 0xa8], r8d
jne 0x14007d669
mov edx, dword [rbx]
mov r9, rdi
mov qword [rsp + 0x20], rcx
mov r8d, r14d
mov rcx, r15
call fcn.14007d164
mov dword [rbx], eax
jmp 0x14007deea
cmp dword [rdi + 0xa8], r8d
jne 0x14007d669
mov rcx, qword [rdi + 0x60]
or edx, 0xffffffff
mov rcx, qword [rcx + 0x78]
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 0x14007d67f
mov rsi, qword [rcx]
cmp dword [rdi + 0xa8], r8d
jne 0x14007d6a0
mov rcx, qword [rdi + 0x60]
xor r8d, r8d
mov rcx, qword [rcx + 0x78]
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
xor r8d, r8d
test rsi, rsi
jne 0x14007d6ad
mov dword [rbx], r14d
jmp 0x14007deea
cmp dword [rdi + 0x80], r8d
jne 0x14007ddfa
mov edx, dword [rbx]
mov eax, r14d
sub eax, edx
cmp eax, 4
jl 0x14007ded1
lea r9d, [rax - 4]
test r9d, r9d
js 0x14007ded1
mov r8d, edx
xor ecx, ecx
movsxd rax, r8d
cmp qword [rdi + 0xb8], rcx
je 0x14007d6f0
cmp byte [rax + r15], cl
je 0x14007d6f7
jmp 0x14007d729
cmp byte [rax + r15], 0xd
jne 0x14007d729
lea eax, [rdx + 1]
add eax, r13d
movsxd rcx, eax
cmp byte [rcx + r15], 0xa
jne 0x14007d727
lea eax, [rdx + 2]
add eax, r13d
movsxd rcx, eax
cmp byte [rcx + r15], 0xd
jne 0x14007d727
lea eax, [rdx + 3]
add eax, r13d
movsxd rcx, eax
cmp byte [rcx + r15], 0xa
je 0x14007d73a
xor ecx, ecx
inc r13d
inc r8d
cmp r13d, r9d
jg 0x14007ded1
jmp 0x14007d6dc
xor r8d, r8d
test r12, r12
je 0x14007d754
lea rdx, [rdi + 0xc0]
mov rcx, r12
call fcn.140070eac
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 0x14007d79c
mov edx, dword [rbx]
mov r8d, r14d
sub r8d, dword [rbx]
mov rcx, r15
call fcn.1400750fc
mov qword [rdi + 0xb8], rax
mov rcx, qword [rdi + 0xb8]
test rcx, rcx
je 0x14007ded1
mov edx, 0x1c
lea r8, [rdi + 0xc0]
xor eax, eax
lea r15d, [rdx - 0xc]
cmp word [r8], ax
je 0x14007d7e1
cmp word [r8], 0x17
mov r9d, r15d
cmove r9d, edx
add rcx, 0x78
lea edx, [rax + 0x1e]
call section..text
xor eax, eax
lea edx, [rax + 0x1c]
lea r8, [rdi + 0xf0]
cmp word [r8], ax
je 0x14007d812
cmp word [r8], 0x17
mov rcx, qword [rdi + 0xb8]
cmove r15, rdx
add rcx, 0x96
mov r9, r15
mov edx, 0x1e
call section..text
mov rax, qword [rdi + 0xb8]
mov r15, qword [rax + 0x68]
test r15, r15
je 0x14007d911
xor ebx, ebx
cmp dword [r15 + 8], 0x11
jne 0x14007d877
mov rcx, qword [r15]
lea rdx, str.transfer_encoding
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.140176f74
test eax, eax
jne 0x14007d877
cmp dword [r15 + 0x18], 7
jne 0x14007d877
mov rcx, qword [r15 + 0x10]
lea r8d, [rax + 7]
lea rdx, str.chunked
call fcn.140176f74
test eax, eax
jne 0x14007d877
mov dword [rdi + 0xa0], ebx
mov dword [rdi + 0x88], 1
cmp dword [r15 + 8], 0xa
jne 0x14007d8c0
mov rcx, qword [r15]
lea rdx, str.connection
mov r8d, 0xa
call fcn.140176f74
test eax, eax
jne 0x14007d8c0
cmp dword [r15 + 0x18], 5
jne 0x14007d8c0
mov rcx, qword [r15 + 0x10]
lea r8d, [rax + 5]
lea rdx, str.close
call fcn.140176f74
test eax, eax
jne 0x14007d8c0
mov dword [rdi + 0x98], 1
cmp dword [r15 + 8], 0xe
jne 0x14007d900
mov rcx, qword [r15]
lea rdx, str.content_length
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.140176f74
test eax, eax
jne 0x14007d900
mov dword [rdi + 0xa0], ebx
movsxd rcx, dword [r15 + 0x18]
mov rax, qword [r15 + 0x10]
mov byte [rcx + rax], bl
mov rcx, qword [r15 + 0x10]
call fcn.140170130
mov dword [rdi + 0x9c], eax
mov r15, qword [r15 + 0x20]
test r15, r15
jne 0x14007d828
mov rbx, qword [rbp - 0x31]
mov rcx, qword [rdi + 0xb8]
mov rcx, qword [rcx + 0x40]
call fcn.140178b90
xor r8d, r8d
comisd xmm0, xmmword [0x1402000c0]
jbe 0x14007d950
cmp dword [rdi + 0x88], r8d
jne 0x14007d950
cmp dword [rdi + 0x98], r8d
jne 0x14007d950
cmp dword [rdi + 0xa0], r8d
je 0x14007d950
mov qword [rdi + 0x9c], r8
mov r11, qword [rdi + 0xb8]
mov ecx, dword [r11 + 0x2c]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x14007dafd
mov rax, qword [rsi + 0x78]
test rax, rax
jne 0x14007d9cf
mov r10, qword [rsi + 0x90]
mov dword [rbp - 0x3d], r8d
test r10, r10
je 0x14007d9c2
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 0x14007deea
cmp ecx, 0x65
jne 0x14007daca
cmp qword [rax + 0x10], r8
je 0x14007daca
lea r8d, [rcx - 0x51]
xor r9d, r9d
mov rcx, r11
lea rdx, str.Sec_WebSocket_Accept
call fcn.140076ad8
xor r15d, r15d
test rax, rax
je 0x14007daac
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 0x14007da22
inc rax
test edx, edx
jne 0x14007da0f
test ecx, ecx
jne 0x14007daac
mov r14d, dword [rdi + 0xb0]
lea rcx, [rdi + 0x28]
lea r8, [rbp - 0x21]
mov dword [rbp - 0x3d], r15d
xor edx, edx
call fcn.14007bf08
mov rcx, rsi
mov dword [rdi], 1
call fcn.14007cdf4
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x14007daa4
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 0x14007deea
mov rcx, qword [rdi + 0xe8]
test rcx, rcx
je 0x14007dabd
call fcn.14006f2a8
mov rcx, rdi
call fcn.14007bf70
jmp 0x14007deea
cmp qword [rsi + 0x80], r8
jne 0x14007db15
mov eax, dword [rdi + 0xb0]
mov dword [rdi + 0x80], r8d
add dword [rbx], eax
mov rcx, qword [rdi + 0xb8]
call fcn.140075030
xor r8d, r8d
mov qword [rdi + 0xb8], r8
jmp 0x14007ded1
cmp ecx, 0xcc
je 0x14007db0d
cmp ecx, 0x130
jne 0x14007db15
and qword [rdi + 0x9c], 0
cmp dword [rdi + 0xa8], r8d
je 0x14007db37
cmp dword [rdi + 0x9c], 0xffffffff
jne 0x14007db37
cmp dword [rdi + 0x88], r8d
jne 0x14007db37
mov dword [rdi + 0x9c], r8d
mov rdx, qword [rdi + 0xe0]
mov rax, r8
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x14007db4d
mov rax, qword [rcx]
test rdx, rdx
je 0x14007db6f
test rax, rax
je 0x14007db6f
cmp dword [rax + 0x88], r8d
je 0x14007db6f
and qword [rdi + 0x9c], 0
mov dword [rdi + 0x88], r8d
mov eax, dword [rdi + 0x9c]
test eax, eax
jne 0x14007dbe0
mov dword [rdi + 0x78], 1
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x14007dbd1
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 0x14007deb1
cmp dword [rdi + 0x88], r8d
jne 0x14007dd1e
cmp eax, 0xffffffff
je 0x14007dc8d
mov eax, r14d
sub eax, dword [rbx]
sub eax, r13d
sub eax, 4
cmp eax, dword [rdi + 0x9c]
jl 0x14007dc8d
mov dword [rdi + 0x78], 1
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x14007dc75
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 0x14007dc82
mov eax, dword [rdi + 0x9c]
add eax, 4
add eax, r13d
jmp 0x14007dbd5
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x14007dcf0
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 0x14007dd01
cmp qword [r12 + 0x58], 0xffffffffffffffff
je 0x14007ded1
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 0x14007ddd3
mov r15, qword [rbp - 0x39]
cmp qword [rdi + 0x90], r8
jne 0x14007dda0
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x14007dda0
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 0x14007dd8f
mov eax, dword [rbp - 0x3d]
jmp 0x14007d645
test r12, r12
je 0x14007dda0
cmp qword [r12 + 0x58], 0xffffffffffffffff
je 0x14007deea
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.14007c734
mov ecx, dword [rbp - 0x41]
add ecx, 4
add ecx, r13d
mov dword [rbx], ecx
mov rcx, qword [rdi + 0xb8]
call fcn.140076374
mov rcx, qword [rdi + 0xb8]
mov rbx, rax
call fcn.140075030
mov qword [rdi + 0xb8], rbx
jmp 0x14007ded1
cmp dword [rdi + 0x88], r8d
jne 0x14007debb
mov ecx, dword [rdi + 0xa0]
mov r15d, r8d
test ecx, ecx
jne 0x14007de23
mov eax, r14d
sub eax, dword [rbx]
cmp eax, dword [rdi + 0x9c]
setge r15b
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x14007de86
sub r14d, dword [rbx]
test ecx, ecx
jne 0x14007de43
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 0x14007de93
cmp qword [r12 + 0x58], 0xffffffffffffffff
je 0x14007ded1
cmp dword [rdi + 0xa0], r8d
jne 0x14007ded1
mov eax, dword [rbx]
sub dword [rdi + 0x9c], eax
mov eax, dword [rdi + 0x9c]
test r15d, r15d
je 0x14007ded1
add dword [rbx], eax
mov rdx, rdi
call fcn.14007c494
jmp 0x14007ded1
mov r9, rbx
mov dword [rsp + 0x20], r14d
mov r8, r15
mov rdx, rdi
mov rcx, r12
call fcn.14007c734
test r12, r12
je 0x14007dede
cmp qword [r12 + 0x58], 0xffffffffffffffff
je 0x14007deea
mov rcx, qword [rbp - 0x29]
mov eax, dword [rdi + 0x10c]
mov dword [rcx], eax
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140168070
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret