Function at 0x1400a8d30
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 [0x1402deed0]
xor rax, rsp
mov qword [rbp - 9], rax
mov rax, qword [rbp + 0x77]
mov r12, rcx
mov rcx, qword [rbp + 0x7f]
mov esi, r9d
mov rbx, r8
mov qword [rbp - 0x39], rdx
mov r15, rdx
mov qword [rbp - 0x29], rcx
mov rdi, qword [rax]
xor eax, eax
mov dword [rbp - 0x41], eax
mov r13d, eax
test rdi, rdi
je 0x1400a969b
cmp qword [rdi + 0x3d8], rax
je 0x1400a969b
cmp dword [rdi], eax
je 0x1400a8dbc
cmp dword [rdi + 0x3a0], eax
jne 0x1400a8dbc
mov edx, dword [rbx]
mov r9, rdi
mov qword [rsp + 0x20], rcx
mov r8d, esi
mov rcx, r15
call fcn.1400a88f4
mov dword [rbx], eax
jmp 0x1400a9699
mov edx, 1
cmp dword [rdi + 0x3a0], eax
jne 0x1400a8de0
mov rcx, qword [rdi + 0x360]
jmp 0x1400a8dd6
pause
xor eax, eax
lock cmpxchg dword [rcx + 0x84], edx
je 0x1400a8dd2
mov rcx, qword [rdi + 0x3d8]
call fcn.14009e30c
xor r11d, r11d
mov r14, rax
cmp dword [rdi + 0x3a0], r11d
jne 0x1400a8e09
mov rcx, qword [rdi + 0x360]
mov dword [rcx + 0x84], r11d
test r14, r14
jne 0x1400a8e15
mov dword [rbx], esi
jmp 0x1400a9699
cmp dword [rdi + 0x37c], r11d
jne 0x1400a95af
mov edx, dword [rbx]
mov eax, esi
sub eax, edx
cmp eax, 4
jl 0x1400a9680
lea r9d, [rax - 4]
test r9d, r9d
js 0x1400a9680
mov r8d, edx
movsxd rax, r8d
cmp qword [rdi + 0x3b0], r11
je 0x1400a8e55
cmp byte [rax + r15], r11b
je 0x1400a8e5c
jmp 0x1400a8e8c
cmp byte [rax + r15], 0xd
jne 0x1400a8e8c
lea eax, [rdx + 1]
add eax, r13d
movsxd rcx, eax
cmp byte [rcx + r15], 0xa
jne 0x1400a8e8c
lea eax, [rdx + 2]
add eax, r13d
movsxd rcx, eax
cmp byte [rcx + r15], 0xd
jne 0x1400a8e8c
lea eax, [rdx + 3]
add eax, r13d
movsxd rcx, eax
cmp byte [rcx + r15], 0xa
je 0x1400a8e9d
inc r13d
inc r8d
cmp r13d, r9d
jg 0x1400a9680
jmp 0x1400a8e41
test r12, r12
je 0x1400a8eb4
lea rdx, [rdi + 0x3b8]
mov rcx, r12
call fcn.140097d9c
xor r11d, r11d
or dword [rdi + 0x394], 0xffffffff
lea eax, [r13 + 4]
mov dword [rbp - 0x3d], eax
mov dword [rdi + 0x3a8], eax
mov dword [rdi + 0x398], 1
mov dword [rdi + 0x37c], 1
cmp qword [rdi + 0x3b0], r11
jne 0x1400a8f01
movsxd rdx, dword [rbx]
mov eax, esi
sub eax, dword [rbx]
mov rcx, r15
movsxd r8, eax
call fcn.14009f088
mov qword [rdi + 0x3b0], rax
xor r11d, r11d
mov rcx, qword [rdi + 0x3b0]
test rcx, rcx
je 0x1400a9680
cmp qword [rcx], r11
jne 0x1400a8f2f
cmp dword [rcx + 0x30], 0xffffffff
je 0x1400a8f2f
cmp dword [rdi + 0x3a0], 1
jne 0x1400a8f2f
mov eax, 0x190
jmp 0x1400a969b
mov eax, 0x1c
lea r8, [rdi + 0x3b8]
lea r15d, [rax - 0xc]
cmp word [r8], r11w
je 0x1400a8f67
cmp word [r8], 0x17
lea edx, [rax + 2]
mov r9d, r15d
cmove r9d, eax
add rcx, 0x88
call section..text
xor r11d, r11d
lea eax, [r15 + 0xc]
lea r8, [rdi + 0x3e8]
cmp word [r8], r11w
je 0x1400a8f98
cmp word [r8], 0x17
mov edx, 0x1e
mov rcx, qword [rdi + 0x3b0]
cmove r15, rax
add rcx, 0xa6
mov r9, r15
call section..text
mov rax, qword [rdi + 0x3b0]
mov r15, qword [rax + 0x78]
test r15, r15
je 0x1400a90c7
cmp qword [r15 + 8], 0x11
jne 0x1400a8fff
mov rcx, qword [r15]
lea rdx, str.transfer_encoding
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.1401d3a30
test eax, eax
jne 0x1400a8fff
cmp qword [r15 + 0x18], 7
jne 0x1400a8fff
mov rcx, qword [r15 + 0x10]
lea r8d, [rax + 7]
lea rdx, str.chunked
call fcn.1401d3a30
xor r11d, r11d
test eax, eax
jne 0x1400a8fff
mov dword [rdi + 0x398], r11d
mov dword [rdi + 0x384], 1
cmp qword [r15 + 8], 0xa
jne 0x1400a9048
mov rcx, qword [r15]
lea rdx, str.connection
mov r8d, 0xa
call fcn.1401d3a30
test eax, eax
jne 0x1400a9048
cmp qword [r15 + 0x18], 5
jne 0x1400a9048
mov rcx, qword [r15 + 0x10]
lea r8d, [rax + 5]
lea rdx, str.close
call fcn.1401d3a30
test eax, eax
jne 0x1400a9048
mov dword [rdi + 0x390], 1
cmp qword [r15 + 8], 0xe
jne 0x1400a90ad
mov rcx, qword [r15]
lea rdx, str.content_length
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.1401d3a30
xor r11d, r11d
test eax, eax
jne 0x1400a90ad
mov dword [rdi + 0x398], r11d
mov rcx, qword [r15 + 0x18]
mov rax, qword [r15 + 0x10]
mov byte [rcx + rax], r11b
mov rcx, qword [r15 + 0x10]
call fcn.14009a668
cmp rax, 0x7fffffff
ja 0x1400a909d
mov rcx, qword [r15 + 0x10]
call fcn.14009a698
xor r11d, r11d
jmp 0x1400a90a3
xor r11d, r11d
mov eax, r11d
mov dword [rdi + 0x394], eax
test eax, eax
js 0x1400a90b6
mov r15, qword [r15 + 0x28]
jmp 0x1400a8fa3
mov dword [rdi + 0x394], r11d
mov eax, 0xfa1
jmp 0x1400a969b
mov rcx, qword [rdi + 0x3b0]
mov rcx, qword [rcx + 0x48]
call fcn.1401e0348
xor r15d, r15d
comisd xmm0, xmmword [0x1402be6a0]
jbe 0x1400a9106
cmp dword [rdi + 0x384], r15d
jne 0x1400a9106
cmp dword [rdi + 0x390], r15d
jne 0x1400a9106
cmp dword [rdi + 0x398], r15d
je 0x1400a9106
mov qword [rdi + 0x394], r15
mov r11, qword [rdi + 0x3b0]
mov ecx, dword [r11 + 0x30]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x1400a92a5
mov rax, qword [r14 + 0x78]
test rax, rax
jne 0x1400a9185
mov r10, qword [r14 + 0x90]
mov dword [rbp - 0x31], r15d
test r10, r10
je 0x1400a9178
lea rax, [rdi + 0x404]
xor r9d, r9d
mov qword [rsp + 0x48], rax
mov r8, r11
mov rax, qword [r14 + 0x58]
xor edx, edx
mov qword [rsp + 0x40], rax
mov rcx, rdi
mov rax, qword [r14 + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x31]
mov dword [rsp + 0x30], recv
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call r10
mov eax, dword [rdi + 0x3a8]
add dword [rbx], eax
jmp 0x1400a9699
cmp ecx, 0x65
jne 0x1400a9272
cmp qword [rax + 0x10], r15
je 0x1400a9272
lea r8d, [rcx - 0x51]
xor r9d, r9d
mov rcx, r11
lea rdx, str.Sec_WebSocket_Accept
call fcn.1400a0a24
test rax, rax
je 0x1400a925d
mov rcx, qword [r14 + 0x78]
mov r8, qword [rcx + 0x10]
sub r8, rax
movzx ecx, byte [rax]
movzx edx, byte [rax + r8]
sub ecx, edx
jne 0x1400a91d5
inc rax
test edx, edx
jne 0x1400a91c2
test ecx, ecx
jne 0x1400a925d
mov esi, dword [rdi + 0x3a8]
lea rcx, [rdi + 0x28]
lea r8, [rbp - 0x21]
mov dword [rbp - 0x3d], r15d
xor edx, edx
call fcn.1400a7674
mov rcx, r14
mov dword [rdi], 1
call fcn.1400a85ec
mov r10, qword [r14 + 0x90]
test r10, r10
je 0x1400a9256
mov r8, qword [rdi + 0x3b0]
lea rax, [rdi + 0x404]
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov rax, qword [r14 + 0x58]
xor edx, edx
mov qword [rsp + 0x40], rax
mov rcx, rdi
mov rax, qword [r14 + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x3d]
mov dword [rsp + 0x30], recv
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call r10
add dword [rbx], esi
jmp 0x1400a9699
mov rcx, rdi
call fcn.1400aaa50
mov rcx, rdi
call fcn.1400a76dc
jmp 0x1400a9699
cmp qword [r14 + 0x80], r15
jne 0x1400a92bd
mov eax, dword [rdi + 0x3a8]
mov dword [rdi + 0x37c], r15d
add dword [rbx], eax
mov rcx, qword [rdi + 0x3b0]
call fcn.14009efbc
xor r11d, r11d
mov qword [rdi + 0x3b0], r11
jmp 0x1400a9680
cmp ecx, 0xcc
je 0x1400a92b5
cmp ecx, 0x130
jne 0x1400a92bd
and qword [rdi + 0x394], 0
cmp dword [rdi + 0x3a0], r15d
je 0x1400a92df
cmp dword [rdi + 0x394], 0xffffffff
jne 0x1400a92df
cmp dword [rdi + 0x384], r15d
jne 0x1400a92df
mov dword [rdi + 0x394], r15d
mov rcx, qword [rdi + 0x3d8]
call fcn.14009e30c
xor r11d, r11d
cmp qword [rdi + 0x3d8], r11
je 0x1400a9313
test rax, rax
je 0x1400a9313
cmp dword [rax + 0x88], r11d
je 0x1400a9313
mov qword [rdi + 0x394], r11
mov dword [rdi + 0x384], r11d
mov eax, dword [rdi + 0x394]
test eax, eax
jne 0x1400a938e
mov dword [rdi + 0x374], 1
mov r10, qword [r14 + 0x90]
test r10, r10
je 0x1400a937c
mov r8, qword [rdi + 0x3b0]
lea rax, [rdi + 0x404]
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov rax, qword [r14 + 0x58]
xor edx, edx
mov qword [rsp + 0x40], rax
mov rcx, rdi
mov rax, qword [r14 + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x41]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], r11d
mov qword [rsp + 0x20], rax
call r10
xor r11d, r11d
lea eax, [r13 + 4]
add dword [rbx], eax
mov dword [rdi + 0x374], r11d
jmp 0x1400a9661
cmp dword [rdi + 0x384], r11d
jne 0x1400a94d3
cmp eax, 0xffffffff
je 0x1400a9441
mov eax, esi
sub eax, dword [rbx]
sub eax, r13d
sub eax, 4
cmp eax, dword [rdi + 0x394]
jl 0x1400a9441
mov dword [rdi + 0x374], 1
mov r10, qword [r14 + 0x90]
test r10, r10
je 0x1400a9429
mov r9, qword [rbp - 0x39]
lea rcx, [rdi + 0x404]
mov r8, qword [rdi + 0x3b0]
add r9, 4
mov qword [rsp + 0x48], rcx
xor edx, edx
movsxd rax, r13d
mov rcx, rdi
add r9, rax
mov rax, qword [r14 + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [r14 + 0x50]
mov qword [rsp + 0x38], rax
mov eax, dword [rdi + 0x394]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
call r10
xor r11d, r11d
mov eax, dword [rbp - 0x41]
test eax, eax
jne 0x1400a9436
mov eax, dword [rdi + 0x394]
add eax, 4
add eax, r13d
jmp 0x1400a9380
mov r10, qword [r14 + 0x90]
test r10, r10
je 0x1400a94a5
sub esi, dword [rbx]
lea rcx, [rdi + 0x404]
mov r9, qword [rbp - 0x39]
sub esi, r13d
mov r8, qword [rdi + 0x3b0]
add r9, 4
mov qword [rsp + 0x48], rcx
sub esi, 4
movsxd rax, r13d
xor edx, edx
add r9, rax
mov rcx, rdi
mov rax, qword [r14 + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [r14 + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x41]
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call r10
xor r11d, r11d
test r12, r12
je 0x1400a94b6
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x1400a9680
mov dword [rdi + 0x3a8], r11d
mov ecx, dword [rbp - 0x41]
lea eax, [rcx + 4]
add eax, r13d
mov dword [rbx], eax
sub dword [rdi + 0x394], ecx
jmp 0x1400a9588
mov r15, qword [rbp - 0x39]
cmp qword [rdi + 0x388], r11
jne 0x1400a9558
mov r10, qword [r14 + 0x90]
test r10, r10
je 0x1400a9558
mov r8, qword [rdi + 0x3b0]
lea rcx, [rdi + 0x404]
mov qword [rsp + 0x48], rcx
lea r9, [r15 + 4]
movsxd rax, r13d
xor edx, edx
add r9, rax
mov rcx, rdi
mov rax, qword [r14 + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [r14 + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x41]
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], r11d
mov qword [rsp + 0x20], rax
call r10
cmp dword [rdi + 0x37c], 0
jne 0x1400a9547
mov eax, dword [rbp - 0x3d]
jmp 0x1400a8db5
test r12, r12
je 0x1400a9558
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x1400a9699
sub esi, dword [rbx]
lea r9, [rbp - 0x41]
movsxd r8, r13d
sub esi, r13d
add r8, 4
sub esi, 4
add r8, r15
mov dword [rsp + 0x20], esi
mov rdx, rdi
mov rcx, r12
call fcn.1400a7f1c
mov ecx, dword [rbp - 0x41]
add ecx, 4
add ecx, r13d
mov dword [rbx], ecx
mov rcx, qword [rdi + 0x3b0]
call fcn.1400a0310
mov rcx, qword [rdi + 0x3b0]
mov rbx, rax
call fcn.14009efbc
mov qword [rdi + 0x3b0], rbx
jmp 0x1400a9680
cmp dword [rdi + 0x384], r11d
jne 0x1400a966b
mov ecx, dword [rdi + 0x398]
mov r15d, r11d
test ecx, ecx
jne 0x1400a95d7
mov eax, esi
sub eax, dword [rbx]
cmp eax, dword [rdi + 0x394]
setge r15b
mov r10, qword [r14 + 0x90]
test r10, r10
je 0x1400a9636
sub esi, dword [rbx]
test ecx, ecx
jne 0x1400a95f4
mov eax, dword [rdi + 0x394]
cmp esi, eax
cmovge esi, eax
mov r9, qword [rbp - 0x39]
lea rax, [rdi + 0x404]
mov r8, qword [rdi + 0x3b0]
xor edx, edx
mov qword [rsp + 0x48], rax
mov rcx, rdi
mov rax, qword [r14 + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [r14 + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
call r10
xor r11d, r11d
test r12, r12
je 0x1400a9643
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x1400a9680
cmp dword [rdi + 0x398], r11d
jne 0x1400a9680
mov eax, dword [rbx]
sub dword [rdi + 0x394], eax
mov eax, dword [rdi + 0x394]
test r15d, r15d
je 0x1400a9680
add dword [rbx], eax
mov rdx, rdi
call fcn.1400a7c60
jmp 0x1400a9680
mov r9, rbx
mov dword [rsp + 0x20], esi
mov r8, r15
mov rdx, rdi
mov rcx, r12
call fcn.1400a7f1c
test r12, r12
je 0x1400a968d
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x1400a9699
mov rcx, qword [rbp - 0x29]
mov eax, dword [rdi + 0x404]
mov dword [rcx], eax
xor eax, eax
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1401cbe50
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret