Function at 0x1400b1c1c
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 [0x14030ef00]
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 0x1400b25bd
cmp qword [rdi + 0x3d8], rax
je 0x1400b25bd
cmp dword [rdi], eax
je 0x1400b1ca8
cmp dword [rdi + 0x3a0], eax
jne 0x1400b1ca8
mov edx, dword [rbx]
mov r9, rdi
mov qword [rsp + 0x20], rcx
mov r8d, r14d
mov rcx, r15
call fcn.1400b177c
mov dword [rbx], eax
jmp 0x1400b25bd
mov edx, 1
cmp dword [rdi + 0x3a0], eax
jne 0x1400b1ccc
mov rcx, qword [rdi + 0x360]
jmp 0x1400b1cc2
pause
xor eax, eax
lock cmpxchg dword [rcx + 0x84], edx
je 0x1400b1cbe
mov rcx, qword [rdi + 0x3d8]
call fcn.1400a4420
xor edx, edx
mov rsi, rax
cmp dword [rdi + 0x3a0], edx
jne 0x1400b1cf2
mov rcx, qword [rdi + 0x360]
mov dword [rcx + 0x84], edx
test rsi, rsi
jne 0x1400b1cff
mov dword [rbx], r14d
jmp 0x1400b25bd
cmp dword [rdi + 0x37c], edx
jne 0x1400b24ce
mov eax, r14d
sub eax, dword [rbx]
cmp eax, 4
jl 0x1400b25a4
add eax, 0xfffffffc
js 0x1400b25a4
mov ecx, dword [rbx]
movsxd rax, ecx
add rax, r15
cmp qword [rdi + 0x3b0], rdx
je 0x1400b1d39
cmp byte [rax], dl
je 0x1400b1d3e
jmp 0x1400b1d50
cmp byte [rax], 0xd
jne 0x1400b1d50
cmp byte [rax + 1], 0xa
jne 0x1400b1d50
cmp byte [rax + 2], 0xd
jne 0x1400b1d50
cmp byte [rax + 3], 0xa
je 0x1400b1d67
mov eax, r14d
inc r13d
sub eax, dword [rbx]
inc ecx
sub eax, 4
cmp r13d, eax
jle 0x1400b1d24
jmp 0x1400b25a4
test r12, r12
je 0x1400b1d7b
lea rdx, [rdi + 0x3b8]
mov rcx, r12
call fcn.14009d320
or dword [rdi + 0x394], 0xffffffff
lea eax, [r13 + 4]
mov dword [rdi + 0x3a8], eax
mov rax, qword [rdi + 0x3b0]
mov dword [rdi + 0x398], 1
mov dword [rdi + 0x37c], 1
test rax, rax
jne 0x1400b1dc6
movsxd rdx, dword [rbx]
mov eax, r14d
sub eax, dword [rbx]
mov rcx, r15
movsxd r8, eax
call fcn.1400a5228
mov qword [rdi + 0x3b0], rax
xor r15d, r15d
test rax, rax
je 0x1400b25a4
cmp qword [rax], r15
jne 0x1400b1df0
cmp dword [rax + 0x30], 0xffffffff
je 0x1400b1df0
cmp dword [rdi + 0x3a0], 1
jne 0x1400b1df0
mov eax, 0x190
jmp 0x1400b25bf
xor ecx, ecx
lea rdx, [rdi + 0x3b8]
lea r15d, [rcx + 0x10]
lea r9d, [rcx + 0x1c]
cmp word [rdx], cx
je 0x1400b1e4f
add rax, 0x88
je 0x1400b1e39
test rdx, rdx
je 0x1400b1e28
cmp word [rdx], 0x17
mov r8d, r15d
mov rcx, rax
cmove r8d, r9d
call fcn.140210d80
jmp 0x1400b1e49
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov dword [rax + 0x18], ecx
mov word [rax + 0x1c], cx
call fcn.1401ebba4
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401eac1c
xor ecx, ecx
lea r9d, [rcx + 0x1c]
lea rdx, [rdi + 0x3e8]
cmp word [rdx], cx
je 0x1400b1ea7
mov rax, qword [rdi + 0x3b0]
add rax, 0xa6
je 0x1400b1e97
test rdx, rdx
je 0x1400b1e84
cmp word [rdx], 0x17
mov rcx, rax
cmove r15, r9
mov r8, r15
call fcn.140210d80
jmp 0x1400b1ea7
xor ecx, ecx
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov dword [rax + 0x18], ecx
mov word [rax + 0x1c], cx
call fcn.1401ebba4
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401eac1c
mov rax, qword [rdi + 0x3b0]
mov r15, qword [rax + 0x78]
jmp 0x1400b1fc6
cmp qword [r15 + 8], 0x11
jne 0x1400b1f08
mov rcx, qword [r15]
lea rdx, str.transfer_encoding
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.1401ead6c
test eax, eax
jne 0x1400b1f08
cmp qword [r15 + 0x18], 7
jne 0x1400b1f08
mov rcx, qword [r15 + 0x10]
lea r8d, [rax + 7]
lea rdx, str.chunked
call fcn.1401ead6c
xor edx, edx
test eax, eax
jne 0x1400b1f08
mov dword [rdi + 0x398], edx
mov dword [rdi + 0x384], 1
cmp qword [r15 + 8], 0xa
jne 0x1400b1f51
mov rcx, qword [r15]
lea rdx, str.connection
mov r8d, 0xa
call fcn.1401ead6c
test eax, eax
jne 0x1400b1f51
cmp qword [r15 + 0x18], 5
jne 0x1400b1f51
mov rcx, qword [r15 + 0x10]
lea r8d, [rax + 5]
lea rdx, str.close
call fcn.1401ead6c
test eax, eax
jne 0x1400b1f51
mov dword [rdi + 0x390], 1
cmp qword [r15 + 8], 0xe
jne 0x1400b1fc2
mov rcx, qword [r15]
lea rdx, str.content_length
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.1401ead6c
xor edx, edx
test eax, eax
jne 0x1400b1fc2
mov dword [rdi + 0x398], edx
mov rcx, qword [r15 + 0x18]
mov rax, qword [r15 + 0x10]
mov byte [rcx + rax], dl
mov rcx, qword [r15 + 0x10]
call fcn.14009fcc4
cmp rax, 0x7fffffff
ja 0x1400b1fba
mov rcx, qword [r15 + 0x10]
call fcn.14009fcf4
xor edx, edx
mov dword [rdi + 0x394], eax
test eax, eax
jns 0x1400b1fc2
mov dword [rdi + 0x394], edx
mov eax, 0xfa1
jmp 0x1400b25bf
xor edx, edx
mov dword [rdi + 0x394], edx
mov r15, qword [r15 + 0x28]
test r15, r15
jne 0x1400b1eb7
mov rcx, qword [rdi + 0x3b0]
mov rcx, qword [rcx + 0x48]
call fcn.1401f8644
comisd xmm0, xmmword [0x1402ed248]
jbe 0x1400b200b
cmp dword [rdi + 0x384], r15d
jne 0x1400b200b
cmp dword [rdi + 0x390], r15d
jne 0x1400b200b
cmp dword [rdi + 0x398], r15d
je 0x1400b200b
mov qword [rdi + 0x394], r15
mov r11, qword [rdi + 0x3b0]
mov ecx, dword [r11 + 0x30]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x1400b21be
mov rax, qword [rsi + 0x78]
test rax, rax
jne 0x1400b208a
mov r10, qword [rsi + 0x90]
mov dword [rbp - 0x39], r15d
test r10, r10
je 0x1400b207d
lea rax, [rdi + 0x404]
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 - 0x39]
mov dword [rsp + 0x30], ntohl
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call r10
mov eax, dword [rdi + 0x3a8]
add dword [rbx], eax
jmp 0x1400b25bd
cmp ecx, 0x65
jne 0x1400b218e
cmp qword [rax + 0x10], r15
je 0x1400b218e
lea r8d, [rcx - 0x51]
xor r9d, r9d
mov rcx, r11
lea rdx, str.Sec_WebSocket_Accept
call fcn.1400a7584
test rax, rax
je 0x1400b2164
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 0x1400b20da
inc rax
test edx, edx
jne 0x1400b20c7
test ecx, ecx
jne 0x1400b2164
mov r14d, dword [rdi + 0x3a8]
lea rcx, [rdi + 0x28]
lea r8, [rbp - 0x29]
mov dword [rbp - 0x39], r15d
xor edx, edx
call fcn.1400b048c
mov rcx, rsi
mov dword [rdi], 1
call fcn.1400b1480
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x1400b215c
mov r8, qword [rdi + 0x3b0]
lea rax, [rdi + 0x404]
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 - 0x39]
mov dword [rsp + 0x30], ntohl
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call r10
add dword [rbx], r14d
jmp 0x1400b25bd
mov rcx, rdi
call fcn.14009fd50
test eax, eax
je 0x1400b2181
mov rcx, qword [rdi + 0x3e0]
test rcx, rcx
je 0x1400b2181
call fcn.14009b17c
mov rcx, rdi
call fcn.1400b0500
jmp 0x1400b25bd
cmp qword [rsi + 0x80], r15
jne 0x1400b21d6
mov eax, dword [rdi + 0x3a8]
mov dword [rdi + 0x37c], r15d
add dword [rbx], eax
mov rcx, qword [rdi + 0x3b0]
call fcn.1400a515c
mov qword [rdi + 0x3b0], r15
jmp 0x1400b25a4
cmp ecx, 0xcc
je 0x1400b21ce
cmp ecx, 0x130
jne 0x1400b21d6
and qword [rdi + 0x394], 0
cmp dword [rdi + 0x3a0], r15d
je 0x1400b21f8
cmp dword [rdi + 0x394], 0xffffffff
jne 0x1400b21f8
cmp dword [rdi + 0x384], r15d
jne 0x1400b21f8
mov dword [rdi + 0x394], r15d
mov rcx, qword [rdi + 0x3d8]
call fcn.1400a4420
cmp qword [rdi + 0x3d8], r15
je 0x1400b222a
test rax, rax
je 0x1400b222a
cmp dword [rax + 0x88], r15d
je 0x1400b222a
and qword [rdi + 0x394], 0
mov dword [rdi + 0x384], r15d
mov edx, dword [rdi + 0x394]
test edx, edx
jne 0x1400b2297
mov dword [rdi + 0x374], 1
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x1400b228e
mov r8, qword [rdi + 0x3b0]
lea rax, [rdi + 0x404]
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 0x1400b233c
cmp dword [rdi + 0x384], r15d
jne 0x1400b23ef
cmp edx, 0xffffffff
je 0x1400b234a
mov eax, r14d
sub eax, dword [rbx]
sub eax, r13d
sub eax, 4
cmp eax, edx
jl 0x1400b234a
mov dword [rdi + 0x374], 1
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x1400b2329
mov r9, qword [rbp - 0x39]
lea rcx, [rdi + 0x404]
mov r8, qword [rdi + 0x3b0]
add r9, 4
mov qword [rsp + 0x48], rcx
mov rcx, rdi
movsxd rax, 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 0x1400b2336
mov eax, dword [rdi + 0x394]
add eax, 4
add eax, r13d
add dword [rbx], eax
mov dword [rdi + 0x374], r15d
jmp 0x1400b2584
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x1400b23b1
sub r14d, dword [rbx]
lea rcx, [rdi + 0x404]
mov r9, qword [rbp - 0x39]
sub r14d, r13d
mov r8, qword [rdi + 0x3b0]
add r9, 4
mov qword [rsp + 0x48], rcx
xor r15d, r15d
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], r15d
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
call r10
test r12, r12
je 0x1400b23c2
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x1400b25bd
mov dword [rdi + 0x3a8], r15d
mov ecx, dword [rbp - 0x41]
lea eax, [rcx + 4]
add eax, r13d
mov dword [rbx], eax
sub dword [rdi + 0x394], ecx
mov rcx, qword [rdi + 0x3b0]
test rcx, rcx
je 0x1400b25a4
jmp 0x1400b24ae
cmp qword [rdi + 0x388], r15
mov r15, qword [rbp - 0x39]
jne 0x1400b2474
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x1400b2474
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 [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 + 0x37c], esi
jne 0x1400b2463
lea eax, [r13 + 4]
jmp 0x1400b1ca1
test r12, r12
je 0x1400b2474
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x1400b25bd
sub r14d, dword [rbx]
lea r8, [r15 + 4]
movsxd rax, 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.1400b0d10
mov ecx, dword [rbp - 0x41]
add ecx, 4
add ecx, r13d
mov dword [rbx], ecx
mov rcx, qword [rdi + 0x3b0]
call fcn.1400a6bd8
mov rcx, qword [rdi + 0x3b0]
mov rbx, rax
call fcn.1400a515c
mov qword [rdi + 0x3b0], rbx
jmp 0x1400b25a4
cmp dword [rdi + 0x384], edx
jne 0x1400b258e
mov ecx, dword [rdi + 0x398]
mov r15d, edx
test ecx, ecx
jne 0x1400b24f6
mov eax, r14d
sub eax, dword [rbx]
cmp eax, dword [rdi + 0x394]
setge r15b
mov r10, qword [rsi + 0x90]
test r10, r10
je 0x1400b255a
sub r14d, dword [rbx]
test ecx, ecx
jne 0x1400b2518
mov ecx, dword [rdi + 0x394]
cmp r14d, ecx
cmovl ecx, r14d
jmp 0x1400b251b
mov ecx, r14d
mov r9, qword [rbp - 0x39]
lea rax, [rdi + 0x404]
mov r8, qword [rdi + 0x3b0]
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 edx, edx
test r12, r12
je 0x1400b2567
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x1400b25bd
cmp dword [rdi + 0x398], edx
jne 0x1400b25a4
mov eax, dword [rdi + 0x394]
sub eax, dword [rbx]
mov dword [rdi + 0x394], eax
test r15d, r15d
je 0x1400b25a4
add dword [rbx], eax
mov rdx, rdi
call fcn.1400b0a54
jmp 0x1400b25a4
mov r9, rbx
mov dword [rsp + 0x20], r14d
mov r8, r15
mov rdx, rdi
mov rcx, r12
call fcn.1400b0d10
test r12, r12
je 0x1400b25b1
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x1400b25bd
mov rcx, qword [rbp - 0x31]
mov eax, dword [rdi + 0x404]
mov dword [rcx], eax
xor eax, eax
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.1401dbdb0
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret