Function at 0x180012680
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x230
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x220], rax
movsxd r12, r8d
mov r14, rdx
xor r15d, r15d
mov esi, ecx
mov rcx, r14
mov edi, r15d
lea rbp, [rdx + r12]
mov r8, rbp
sub r8, rdx
lea edx, [r15 + 0xa]
call qword [0x18002f100]
mov rbx, rax
test rax, rax
je 0x180012647
nop word [rax + rax]
inc r15d
inc rbx
call qword [0x18002f7b8]
mov rdx, rax
mov eax, dword [0x180045d10]
dec eax
movsxd rcx, eax
mov rax, qword [rdx]
mov r8, qword [rax + rcx*8]
mov eax, r15d
cdq
idiv dword [r8 + 0x800]
test edx, edx
jne 0x1800125ed
mov r8d, ebx
movsxd rdx, edi
sub r8d, r14d
add rdx, r14
sub r8d, edi
mov ecx, esi
call qword [0x18002f2f0]
mov r8, rbp
mov edx, 0xa
sub r8, rbx
mov rcx, rbx
add edi, eax
call qword [0x18002f100]
test rax, rax
je 0x18001260d
mov r8d, 0x36
lea rdx, str._r___Type__return__to_continue_or_q__return__to_quit___
mov ecx, esi
call qword [0x18002f2f0]
lea rcx, [rsp + 0x20]
call sym.php7phpdbg.dll_qhpdbg_consume_stdin_line
cmp byte [rsp + 0x20], 0x71
je 0x18001260d
mov r8d, 1
lea rdx, [0x180034b4c]
mov ecx, esi
call qword [0x18002f2f0]
mov r8, rbp
mov edx, 0xa
sub r8, rbx
mov rcx, rbx
call qword [0x18002f100]
mov rbx, rax
test rax, rax
jne 0x180012550
test edi, edi
je 0x180012647
call qword [0x18002f7b8]
mov ecx, dword [0x180045d10]
dec ecx
movsxd r8, ecx
mov rdx, qword [rax]
mov eax, r15d
mov r9, qword [rdx + r8*8]
cdq
idiv dword [r9 + 0x800]
test edx, edx
je 0x180012643
sub r12d, edi
movsxd rdx, edi
add rdx, r14
jmp 0x18001264a
mov eax, edi
jmp 0x180012657
mov rdx, r14
mov r8d, r12d
mov ecx, esi
call qword [0x18002f2f0]
add eax, edi
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.18002d840
add rsp, 0x230
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov ebx, ecx
call qword [0x18002f7b8]
mov r9d, dword [0x180045d10]
dec r9d
movsxd r9, r9d
mov rax, qword [rax]
mov r9, qword [rax + r9*8]
mov eax, dword [r9 + 0x7c8]
bt rax, 0x1e
jae 0x1800126db
mov r8d, edi
mov rdx, rsi
mov ecx, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp sym.php7phpdbg.dll_qhpdbg_send_bytes
call qword [0x18002f7b8]
mov ecx, dword [0x180045d10]
dec ecx
movsxd rcx, ecx
mov rax, qword [rax]
mov rcx, qword [rax + rcx*8]
movabs rax, 0x1000000000
test qword [rcx + 0x7c8], rax
je 0x180012792
call qword [0x18002f7b8]
mov ecx, dword [0x180045d10]
dec ecx
movsxd rcx, ecx
mov rax, qword [rax]
mov rcx, qword [rax + rcx*8]
movabs rax, 0x100000000
test qword [rcx + 0x7c8], rax
jne 0x180012792
call qword [0x18002f7b8]
mov ecx, dword [0x180045d10]
dec ecx
movsxd rcx, ecx
mov rax, qword [rax]
mov rcx, qword [rax + rcx*8]
cmp dword [rcx + 0x4f0], ebx
jne 0x180012792
call qword [0x18002f7b8]
mov ecx, dword [0x180045d10]
dec ecx
movsxd rcx, ecx
mov rax, qword [rax]
mov rcx, qword [rax + rcx*8]
cmp dword [rcx + 0x800], 0
jle 0x180012792
mov r8d, edi
mov rdx, rsi
mov ecx, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1800124f0
mov r8d, edi
mov rdx, rsi
mov ecx, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [0x18002f2f0]