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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
movzx eax, word [rbp + 0x10]
cmp eax, 6
ja 0x42d4fc
mov rax, qword [rbp + 0x20]
cmp qword [rax], 0
je 0x42d4fe
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x18], 0
jmp 0x42d4b6
mov rax, qword [rbp - 0x10]
lock inc dword [rax]
cmp dword [rax + 4], 0x2c
jne 0x42d500
mov qword [rbp - 0x20], rax
mov rax, qword [rax + 8]
mov qword [rbp - 0x28], rax
movzx eax, word [rbp + 0x10]
cmp eax, 0
je 0x42d359
movzx eax, word [rbp + 0x10]
cmp eax, 5
jne 0x42d38f
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x18], rax
movzx eax, word [rbp + 0x10]
cmp eax, 0
jne 0x42d377
mov rax, qword [rbp - 0x28]
mov rax, qword [rax]
mov qword [rbp - 0x10], rax
jmp 0x42d383
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x20]
lock dec dword [rax]
jmp 0x42d4b6
push rax
mov rax, qword [rbp + 0x20]
push qword [rax + 8]
mov rax, qword [rbp + 0x18]
push qword [rax]
mov rax, qword [rbp - 0x10]
lock inc dword [rax]
cmp dword [rax + 4], 0x2c
jne 0x42d502
mov qword [rbp - 0x30], rax
mov rax, qword [rax + 8]
push qword [rax + 0x14]
mov rax, qword [rbp - 0x30]
lock dec dword [rax]
mov rax, qword [rbp + 0x20]
call qword [rax]
pop rcx
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x42d426
movzx eax, word [rbp + 0x10]
cmp eax, 2
je 0x42d3eb
movzx eax, word [rbp + 0x10]
cmp eax, 3
je 0x42d3eb
movzx eax, word [rbp + 0x10]
cmp eax, 6
jne 0x42d3ff
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x20]
lock dec dword [rax]
jmp 0x42d4c1
movzx eax, word [rbp + 0x10]
cmp eax, 1
jne 0x42d415
mov rax, qword [rbp - 0x28]
mov rax, qword [rax]
mov qword [rbp - 0x10], rax
jmp 0x42d421
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x10], rax
jmp 0x42d4af
movzx eax, word [rbp + 0x10]
dec eax
cmp eax, 5
ja case.0x42d431.5
jmp qword [rax*8 + 0x6fdd40]
jmp 0x42d45c
cmp dword [rbp - 4], 0
jle 0x42d448
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x18], rax
jmp 0x42d45c
cmp dword [rbp - 4], 0
jge 0x42d458
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x18], rax
jmp 0x42d45c
int 5
cmp dword [rbp - 4], 0
jge 0x42d48b
mov rax, qword [rbp - 0x10]
lock inc dword [rax]
cmp dword [rax + 4], 0x2c
jne 0x42d504
mov qword [rbp - 0x30], rax
mov rax, qword [rax + 8]
mov rax, qword [rax]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x30]
lock dec dword [rax]
jmp 0x42d4af
mov rax, qword [rbp - 0x10]
lock inc dword [rax]
cmp dword [rax + 4], 0x2c
jne 0x42d506
mov qword [rbp - 0x30], rax
mov rax, qword [rax + 8]
mov rax, qword [rax + 8]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x30]
lock dec dword [rax]
mov rax, qword [rbp - 0x20]
lock dec dword [rax]
cmp qword [rbp - 0x10], 0
jne 0x42d32a
cmp qword [rbp - 0x18], 0
jne 0x42d4d1
mov eax, 0xffffffff
leave
ret 0x18
mov rax, qword [rbp - 0x18]
lock inc dword [rax]
cmp dword [rax + 4], 0x2c
jne 0x42d508
mov qword [rbp - 0x20], rax
mov rax, qword [rax + 8]
mov rbx, qword [rbp + 0x18]
mov eax, dword [rax + 0x14]
mov dword [rbx], eax
mov rax, qword [rbp - 0x20]
lock dec dword [rax]
xor eax, eax
leave
ret 0x18
int 5
int 5
int 5
int 5
int 5
int 5
int 5