Function at 0x14009d934
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 [0x1402bcf00]
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 0x14009e290
cmp qword [rdi + 0xe0], rax
je 0x14009e290
cmp dword [rdi], eax
je 0x14009d9c0
cmp dword [rdi + 0xa8], eax
jne 0x14009d9c0
mov edx, dword [rbx]
mov r9, rdi
mov qword [rsp + 0x20], rcx
mov r8d, esi
mov rcx, r15
call fcn.14009d4f8
mov dword [rbx], eax
jmp 0x14009e28e
mov edx, 1
cmp dword [rdi + 0xa8], eax
jne 0x14009d9e1
mov rcx, qword [rdi + 0x60]
jmp 0x14009d9d7
pause
xor eax, eax
lock cmpxchg dword [rcx + 0x84], edx
je 0x14009d9d3
mov rcx, qword [rdi + 0xe0]
call fcn.140093264
xor r11d, r11d
mov r14, rax
cmp dword [rdi + 0xa8], r11d
jne 0x14009da07
mov rcx, qword [rdi + 0x60]
mov dword [rcx + 0x84], r11d
test r14, r14
jne 0x14009da13
mov dword [rbx], esi
jmp 0x14009e28e
cmp dword [rdi + 0x80], r11d
jne 0x14009e1a4
mov edx, dword [rbx]
mov eax, esi
sub eax, edx
cmp eax, 4
jl 0x14009e275
lea r9d, [rax - 4]
test r9d, r9d
js 0x14009e275
mov r8d, edx
movsxd rax, r8d
cmp qword [rdi + 0xb8], r11
je 0x14009da53
cmp byte [rax + r15], r11b
je 0x14009da5a
jmp 0x14009da8a
cmp byte [rax + r15], 0xd
jne 0x14009da8a
lea eax, [rdx + 1]
add eax, r13d
movsxd rcx, eax
cmp byte [rcx + r15], 0xa
jne 0x14009da8a
lea eax, [rdx + 2]
add eax, r13d
movsxd rcx, eax
cmp byte [rcx + r15], 0xd
jne 0x14009da8a
lea eax, [rdx + 3]
add eax, r13d
movsxd rcx, eax
cmp byte [rcx + r15], 0xa
je 0x14009da9b
inc r13d
inc r8d
cmp r13d, r9d
jg 0x14009e275
jmp 0x14009da3f
test r12, r12
je 0x14009dab2
lea rdx, [rdi + 0xc0]
mov rcx, r12
call fcn.14008d09c
xor r11d, r11d
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], r11
jne 0x14009daff
movsxd rdx, dword [rbx]
mov eax, esi
sub eax, dword [rbx]
mov rcx, r15
movsxd r8, eax
call fcn.140093fe0
mov qword [rdi + 0xb8], rax
xor r11d, r11d
mov rcx, qword [rdi + 0xb8]
test rcx, rcx
je 0x14009e275
cmp qword [rcx], r11
jne 0x14009db2d
cmp dword [rcx + 0x30], 0xffffffff
je 0x14009db2d
cmp dword [rdi + 0xa8], 1
jne 0x14009db2d
mov eax, 0x190
jmp 0x14009e290
mov eax, 0x1c
lea r8, [rdi + 0xc0]
lea r15d, [rax - 0xc]
cmp word [r8], r11w
je 0x14009db65
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 + 0xf0]
cmp word [r8], r11w
je 0x14009db96
cmp word [r8], 0x17
mov edx, 0x1e
mov rcx, qword [rdi + 0xb8]
cmove r15, rax
add rcx, 0xa6
mov r9, r15
call section..text
mov rax, qword [rdi + 0xb8]
mov r15, qword [rax + 0x78]
test r15, r15
je 0x14009dcc5
cmp qword [r15 + 8], 0x11
jne 0x14009dbfd
mov rcx, qword [r15]
lea rdx, str.transfer_encoding
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.1401d39f0
test eax, eax
jne 0x14009dbfd
cmp qword [r15 + 0x18], 7
jne 0x14009dbfd
mov rcx, qword [r15 + 0x10]
lea r8d, [rax + 7]
lea rdx, str.chunked
call fcn.1401d39f0
xor r11d, r11d
test eax, eax
jne 0x14009dbfd
mov dword [rdi + 0xa0], r11d
mov dword [rdi + 0x88], 1
cmp qword [r15 + 8], 0xa
jne 0x14009dc46
mov rcx, qword [r15]
lea rdx, str.connection
mov r8d, 0xa
call fcn.1401d39f0
test eax, eax
jne 0x14009dc46
cmp qword [r15 + 0x18], 5
jne 0x14009dc46
mov rcx, qword [r15 + 0x10]
lea r8d, [rax + 5]
lea rdx, str.close
call fcn.1401d39f0
test eax, eax
jne 0x14009dc46
mov dword [rdi + 0x98], 1
cmp qword [r15 + 8], 0xe
jne 0x14009dcab
mov rcx, qword [r15]
lea rdx, str.content_length
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.1401d39f0
xor r11d, r11d
test eax, eax
jne 0x14009dcab
mov dword [rdi + 0xa0], r11d
mov rcx, qword [r15 + 0x18]
mov rax, qword [r15 + 0x10]
mov byte [rcx + rax], r11b
mov rcx, qword [r15 + 0x10]
call fcn.14008f8b0
cmp rax, 0x7fffffff
ja 0x14009dc9b
mov rcx, qword [r15 + 0x10]
call fcn.14008f8e0
xor r11d, r11d
jmp 0x14009dca1
xor r11d, r11d
mov eax, r11d
mov dword [rdi + 0x9c], eax
test eax, eax
js 0x14009dcb4
mov r15, qword [r15 + 0x28]
jmp 0x14009dba1
mov dword [rdi + 0x9c], r11d
mov eax, 0xfa1
jmp 0x14009e290
mov rcx, qword [rdi + 0xb8]
mov rcx, qword [rcx + 0x48]
call fcn.1401d61d4
xor r15d, r15d
comisd xmm0, xmmword [0x14029be68]
jbe 0x14009dd04
cmp dword [rdi + 0x88], r15d
jne 0x14009dd04
cmp dword [rdi + 0x98], r15d
jne 0x14009dd04
cmp dword [rdi + 0xa0], r15d
je 0x14009dd04
mov qword [rdi + 0x9c], r15
mov r11, qword [rdi + 0xb8]
mov ecx, dword [r11 + 0x30]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x14009dea3
mov rax, qword [r14 + 0x78]
test rax, rax
jne 0x14009dd83
mov r10, qword [r14 + 0x90]
mov dword [rbp - 0x31], r15d
test r10, r10
je 0x14009dd76
lea rax, [rdi + 0x10c]
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], listen
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call r10
mov eax, dword [rdi + 0xb0]
add dword [rbx], eax
jmp 0x14009e28e
cmp ecx, 0x65
jne 0x14009de70
cmp qword [rax + 0x10], r15
je 0x14009de70
lea r8d, [rcx - 0x51]
xor r9d, r9d
mov rcx, r11
lea rdx, str.Sec_WebSocket_Accept
call fcn.140095974
test rax, rax
je 0x14009de5b
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 0x14009ddd3
inc rax
test edx, edx
jne 0x14009ddc0
test ecx, ecx
jne 0x14009de5b
mov esi, dword [rdi + 0xb0]
lea rcx, [rdi + 0x28]
lea r8, [rbp - 0x21]
mov dword [rbp - 0x3d], r15d
xor edx, edx
call fcn.14009c220
mov rcx, r14
mov dword [rdi], 1
call fcn.14009d154
mov r10, qword [r14 + 0x90]
test r10, r10
je 0x14009de54
mov r8, qword [rdi + 0xb8]
lea rax, [rdi + 0x10c]
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], listen
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call r10
add dword [rbx], esi
jmp 0x14009e28e
mov rcx, rdi
call fcn.14009f5d4
mov rcx, rdi
call fcn.14009c288
jmp 0x14009e28e
cmp qword [r14 + 0x80], r15
jne 0x14009debb
mov eax, dword [rdi + 0xb0]
mov dword [rdi + 0x80], r15d
add dword [rbx], eax
mov rcx, qword [rdi + 0xb8]
call fcn.140093f14
xor r11d, r11d
mov qword [rdi + 0xb8], r11
jmp 0x14009e275
cmp ecx, 0xcc
je 0x14009deb3
cmp ecx, 0x130
jne 0x14009debb
and qword [rdi + 0x9c], 0
cmp dword [rdi + 0xa8], r15d
je 0x14009dedd
cmp dword [rdi + 0x9c], 0xffffffff
jne 0x14009dedd
cmp dword [rdi + 0x88], r15d
jne 0x14009dedd
mov dword [rdi + 0x9c], r15d
mov rcx, qword [rdi + 0xe0]
call fcn.140093264
xor r11d, r11d
cmp qword [rdi + 0xe0], r11
je 0x14009df11
test rax, rax
je 0x14009df11
cmp dword [rax + 0x88], r11d
je 0x14009df11
mov qword [rdi + 0x9c], r11
mov dword [rdi + 0x88], r11d
mov eax, dword [rdi + 0x9c]
test eax, eax
jne 0x14009df86
mov dword [rdi + 0x78], 1
mov r10, qword [r14 + 0x90]
test r10, r10
je 0x14009df77
mov r8, qword [rdi + 0xb8]
lea rax, [rdi + 0x10c]
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 + 0x78], r11d
jmp 0x14009e256
cmp dword [rdi + 0x88], r11d
jne 0x14009e0c8
cmp eax, 0xffffffff
je 0x14009e036
mov eax, esi
sub eax, dword [rbx]
sub eax, r13d
sub eax, 4
cmp eax, dword [rdi + 0x9c]
jl 0x14009e036
mov dword [rdi + 0x78], 1
mov r10, qword [r14 + 0x90]
test r10, r10
je 0x14009e01e
mov r9, qword [rbp - 0x39]
lea rcx, [rdi + 0x10c]
mov r8, qword [rdi + 0xb8]
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 + 0x9c]
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 0x14009e02b
mov eax, dword [rdi + 0x9c]
add eax, 4
add eax, r13d
jmp 0x14009df7b
mov r10, qword [r14 + 0x90]
test r10, r10
je 0x14009e09a
sub esi, dword [rbx]
lea rcx, [rdi + 0x10c]
mov r9, qword [rbp - 0x39]
sub esi, r13d
mov r8, qword [rdi + 0xb8]
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 0x14009e0ab
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x14009e275
mov dword [rdi + 0xb0], r11d
mov ecx, dword [rbp - 0x41]
lea eax, [rcx + 4]
add eax, r13d
mov dword [rbx], eax
sub dword [rdi + 0x9c], ecx
jmp 0x14009e17d
mov r15, qword [rbp - 0x39]
cmp qword [rdi + 0x90], r11
jne 0x14009e14d
mov r10, qword [r14 + 0x90]
test r10, r10
je 0x14009e14d
mov r8, qword [rdi + 0xb8]
lea rcx, [rdi + 0x10c]
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 + 0x80], 0
jne 0x14009e13c
mov eax, dword [rbp - 0x3d]
jmp 0x14009d9b9
test r12, r12
je 0x14009e14d
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x14009e28e
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.14009ca8c
mov ecx, dword [rbp - 0x41]
add ecx, 4
add ecx, r13d
mov dword [rbx], ecx
mov rcx, qword [rdi + 0xb8]
call fcn.140095260
mov rcx, qword [rdi + 0xb8]
mov rbx, rax
call fcn.140093f14
mov qword [rdi + 0xb8], rbx
jmp 0x14009e275
cmp dword [rdi + 0x88], r11d
jne 0x14009e260
mov ecx, dword [rdi + 0xa0]
mov r15d, r11d
test ecx, ecx
jne 0x14009e1cc
mov eax, esi
sub eax, dword [rbx]
cmp eax, dword [rdi + 0x9c]
setge r15b
mov r10, qword [r14 + 0x90]
test r10, r10
je 0x14009e22b
sub esi, dword [rbx]
test ecx, ecx
jne 0x14009e1e9
mov eax, dword [rdi + 0x9c]
cmp esi, eax
cmovge esi, 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 [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 0x14009e238
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x14009e275
cmp dword [rdi + 0xa0], r11d
jne 0x14009e275
mov eax, dword [rbx]
sub dword [rdi + 0x9c], eax
mov eax, dword [rdi + 0x9c]
test r15d, r15d
je 0x14009e275
add dword [rbx], eax
mov rdx, rdi
call fcn.14009c7e8
jmp 0x14009e275
mov r9, rbx
mov dword [rsp + 0x20], esi
mov r8, r15
mov rdx, rdi
mov rcx, r12
call fcn.14009ca8c
test r12, r12
je 0x14009e282
cmp qword [r12 + 0x68], 0xffffffffffffffff
je 0x14009e28e
mov rcx, qword [rbp - 0x29]
mov eax, dword [rdi + 0x10c]
mov dword [rcx], eax
xor eax, eax
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1401c2260
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret