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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xa0
mov rax, qword [0x1402326d0]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor edi, edi
mov rbx, rcx
lea r13, [0x140296b88]
mov rax, qword [rbx + 0x10]
lea rcx, [0x140296b7c]
mov ebp, edi
mov rsi, qword [rax]
cmp dword [rsi + 0x55c], edi
cmove r13, rcx
cmp edx, 7
ja case.0x1401da6d8.1
movsxd rax, edx
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x1da9d4]
add rcx, rdx
jmp rcx
inc dword [rbx + 0x20]
mov eax, dword [rbx + 0x20]
cmp eax, dword [rbx + 0x28]
jle 0x1401da6f9
mov dword [rbx + 8], 0xffffff9e
mov dword [rbx], 3
xor eax, eax
jmp 0x1401da9ac
lea r12, [rbx + 0x170]
mov rcx, r12
cmp dword [rsi + 0x594], edi
je 0x1401da742
mov edx, 2
call fcn.1401d96a0
mov rax, qword [rbx + 0x10]
mov rdx, qword [r12]
mov rcx, qword [rax]
add rdx, 4
mov qword [rcx + 0x190], rdx
mov rdx, qword [rsi + 0x4c98]
cmp rdx, 0xffffffffffffffff
je 0x1401da74c
mov rcx, rsi
call fcn.1401d0f30
jmp 0x1401da74c
mov edx, 1
call fcn.1401d96a0
mov rax, qword [rbx + 0x10]
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rcx, qword [rax]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov rdx, qword [rcx + 0x4c60]
mov rcx, rsi
inc rdx
call fcn.1401e9ee0
mov ebp, eax
test eax, eax
jne 0x1401da9ac
mov rcx, qword [r12]
movsxd rdx, dword [rbx + 0x15c]
mov r9, qword [rsp + 0x40]
mov qword [rsp + 0x30], rdi
lea r8, [0x140296b70]
add rcx, 2
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rdi
call fcn.1401cc810
mov rdi, qword [rsp + 0x40]
or rcx, 0xffffffffffffffff
xor eax, eax
repne scasb al, byte [rdi]
mov rdi, r13
not rcx
lea rdx, [rcx - 1]
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
not rcx
lea rdi, [rdx + rcx + 3]
cmp dword [rsi + 0x2ec], eax
jne 0x1401da8f4
cmp dword [rsi + 0x594], eax
je 0x1401da80b
mov r9, qword [rsi + 0x4c98]
cmp r9, 0xffffffffffffffff
je 0x1401da80b
lea r8, [0x14023fd74]
lea edx, [rbp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1401cc810
jmp 0x1401da815
mov eax, Ordinal_50
mov word [rsp + 0x50], ax
mov rax, qword [r12]
lea r9, [0x140296938]
mov rdx, rdi
lea r8, [rdi + rax]
mov rcx, rbx
call fcn.1401d9a50
lea r9, [rsp + 0x50]
mov rcx, rbx
add rdi, rax
mov rax, qword [r12]
lea r8, [rdi + rax]
mov rdx, rdi
call fcn.1401d9a50
mov r9d, dword [rbx + 0x160]
lea r8, [0x14023b62c]
lea rcx, [rsp + 0x50]
mov edx, 0x40
add rdi, rax
call fcn.1401cc810
mov rdx, qword [r12]
lea r9, [0x140296988]
lea r8, [rdi + rdx]
mov rdx, rdi
mov rcx, rbx
call fcn.1401d9a50
lea r9, [rsp + 0x50]
mov rcx, rbx
add rdi, rax
mov rax, qword [r12]
lea r8, [rdi + rax]
mov rdx, rdi
call fcn.1401d9a50
mov r9d, dword [rbx + 0x24]
lea r8, [0x14023b62c]
lea rcx, [rsp + 0x50]
mov edx, 0x40
add rdi, rax
call fcn.1401cc810
mov rdx, qword [r12]
lea r9, [0x140296b68]
lea r8, [rdi + rdx]
mov rdx, rdi
mov rcx, rbx
call fcn.1401d9a50
lea r9, [rsp + 0x50]
mov rcx, rbx
add rdi, rax
mov rax, qword [r12]
lea r8, [rdi + rax]
mov rdx, rdi
call fcn.1401d9a50
add rdi, rax
mov rax, qword [rbx + 0x10]
mov rdx, qword [r12]
xor r9d, r9d
mov rcx, qword [rax + 0x58]
mov r8d, edi
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov rax, qword [rcx + 0x20]
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
movsxd rdx, eax
cmp rdx, rdi
je 0x1401da94b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rbx + 0x10]
mov edx, eax
call fcn.1401cdca0
lea rdx, [0x14023a808]
mov rcx, rsi
mov r8, rax
call fcn.1401c7400
mov rcx, qword [rsp + 0x40]
call qword [fcn.1401a0974]
jmp 0x1401da9aa
mov edx, 6
mov rcx, rbx
cmp dword [rsi + 0x594], edi
je 0x1401da98a
call fcn.1401da5d0
mov ebp, eax
jmp 0x1401da9aa
mov edx, 4
mov rcx, rbx
call fcn.1401da5d0
mov ebp, eax
jmp 0x1401da9aa
mov edx, 3
mov rcx, rbx
call fcn.1401da620
mov ebp, eax
jmp 0x1401da9aa
mov dword [rbx], 3
jmp 0x1401da9aa
lea rdx, [0x140296b48]
mov rcx, rsi
call fcn.1401c7400
mov eax, ebp
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14019e850
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
sub rsp, 0x28
mov rax, qword [rcx + 0x10]
mov r8d, dword [rcx]
mov r9, qword [rax]
test r8d, r8d
je 0x1401daa6e
dec r8d
je 0x1401daa65
dec r8d
je 0x1401daa5c
dec r8d
mov rcx, r9
je 0x1401daa42
lea r8, [0x140296ba8]
lea rdx, [0x14023a808]
call fcn.1401c7400
mov eax, 0x47
add rsp, 0x28
ret
lea r8, [0x140296b98]
lea rdx, [0x140291fc4]
call fcn.1401c7350
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.1401d9dd0
add rsp, 0x28
jmp fcn.1401d9ac0
add rsp, 0x28
jmp 0x1401da670