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

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
test byte [rdx + 0x59], 2
mov edi, dword [rsp + 0xd8]
mov rsi, rcx
mov rbx, rdx
mov r12, r8
mov r13d, r9d
jne 0x45f7c4
cmp edi, 0x10
je 0x45f9d5
cmp edi, 0x1c
jne 0x45fa81
mov rdx, qword [0x004ba900]
xor r9d, r9d
mov r8d, edi
mov rcx, rbx
call fcn.0045e550
test eax, eax
jne 0x45f99a
mov rax, qword [rsp + 0xe0]
mov rbp, qword [rbx + 8]
lea r9, [rsp + 0x6c]
mov qword [rsi + 0x40], 0
mov qword [rsi + 0x48], 0
mov r8d, r13d
mov qword [rsi + 0x50], 0
mov qword [rsi + 0x58], 0
mov rdx, r12
mov qword [rsi + 0x78], rax
lea rax, [rsi + 0x40]
mov dword [rsi + 8], 5
mov qword [rsi + 0x70], rbx
mov rcx, qword [rbx + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], rax
call qword [sym.imp.WS2_32.dll_WSASendTo]
test eax, eax
jne 0x45f900
mov ecx, dword [rbx + 0x58]
test ecx, 0x40000
je 0x45f911
mov edx, dword [rbx + 0x7c]
mov qword [rsi + 0x60], 0
add dword [rbx + 0x78], 1
add qword [rbx + 0x68], 1
mov r9d, edx
lea r8d, [rdx + 1]
test r9d, r9d
mov edx, r8d
mov dword [rbx + 0x7c], r8d
jne 0x45f8a6
test cl, 1
jne 0x45fa50
test cl, 0x40
jne 0x45f8af
mov r8d, ecx
or r8d, 0x40
and ecx, 0x20
mov dword [rbx + 0x58], r8d
je 0x45f8a3
mov rcx, qword [rbx + 8]
add dword [rcx + 8], 1
mov r8d, edx
test r8d, r8d
jle 0x45fa10
lea rdx, [rbp + 0x20]
mov qword [rsi + 0x10], rdx
mov rcx, qword [rbp + 0x28]
lea rdx, [rsi + 0x10]
mov qword [rsi + 0x18], rcx
mov qword [rcx], rdx
mov qword [rbp + 0x28], rdx
mov rdx, qword [rbp + 0x48]
mov qword [rsi + 0x68], 0
test rdx, rdx
je 0x45fa00
mov rcx, qword [rdx + 0x68]
mov qword [rsi + 0x68], rcx
mov qword [rdx + 0x68], rsi
mov qword [rbp + 0x48], rsi
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x45f990
mov edx, r13d
mov rcx, r12
call fcn.00440140
mov edx, dword [rbx + 0x7c]
mov qword [rsi + 0x60], rax
add qword [rbx + 0x60], rax
add dword [rbx + 0x78], 1
mov ecx, edx
lea eax, [rdx + 1]
add qword [rbx + 0x68], 1
test ecx, ecx
mov edx, eax
mov dword [rbx + 0x7c], eax
jne 0x45f95f
mov eax, dword [rbx + 0x58]
test al, 1
jne 0x45f9b0
test al, 0x40
jne 0x45f963
mov ecx, eax
or ecx, 0x40
test al, 0x20
mov dword [rbx + 0x58], ecx
je 0x45f95d
mov rax, qword [rbx + 8]
add dword [rax + 8], 1
mov eax, edx
test eax, eax
jle 0x45f9e1
lea rax, [rbp + 0x20]
add rsi, 0x10
mov qword [rsi], rax
mov rax, qword [rbp + 0x28]
mov qword [rsi + 8], rax
mov qword [rax], rsi
xor eax, eax
mov qword [rbp + 0x28], rsi
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x45f9a1
mov ecx, eax
call fcn.00441a00
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rdx, str.src_win_udp.c
lea rcx, str.____handle_____flags__UV__HANDLE_CLOSING___0
mov r8d, 0x1c0
call fcn.00480c40
mov eax, dword [rbx + 0x58]
test al, 0x40
je 0x45fa40
mov eax, dword [rbx + 0x7c]
jmp 0x45f95f
mov rdx, qword [0x004ba8f0]
jmp 0x45f7ae
lea rdx, str.src_win_udp.c
lea rcx, str.__handle____activecnt___0
mov r8d, 0x1c0
call fcn.00480c40
jmp 0x45f963
mov qword [rsi + 0x68], rsi
mov qword [rbp + 0x48], rsi
jmp 0x45f9a1
lea rdx, str.src_win_udp.c
lea rcx, str.__handle____activecnt___0
mov r8d, 0x1b8
mov dword [rsp + 0x5c], eax
call fcn.00480c40
mov eax, dword [rsp + 0x5c]
jmp 0x45f8af
mov edx, dword [rbx + 0x7c]
jmp 0x45f949
lea rcx, str.____handle_____flags__UV__HANDLE_CLOSING___0
lea rdx, str.src_win_udp.c
mov r8d, 0x1b8
mov dword [rsp + 0x5c], eax
call fcn.00480c40
mov ecx, dword [rbx + 0x58]
mov eax, dword [rsp + 0x5c]
test cl, 0x40
jne 0x45fa90
mov edx, dword [rbx + 0x7c]
jmp 0x45f88b
mov eax, 0xfffff019
jmp 0x45f9a1
mov r8d, dword [rbx + 0x7c]
jmp 0x45f8a6