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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x50
mov rdx, qword [rcx + 0x60]
lea r8, [rsp + 0x20]
mov rdi, rcx
mov ebx, 1
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
mov r15d, 3
cmp eax, 0xffffffff
jne 0x140004740
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [rsp + 0x20]
mov ebp, eax
test cl, 0x10
je 0x1400046f0
mov ebx, 2
jmp 0x140004713
test cl, 0x20
je 0x1400046fc
mov ebx, 5
jmp 0x140004713
test bl, cl
je 0x140004707
mov ebx, 4
jmp 0x140004713
test cl, 2
mov ebx, 0
cmovne ebx, r15d
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.WS2_32.dll_WSAResetEvent]
test eax, eax
je 0x140004934
lea rsi, [rdi + 0x48]
mov dword [rsi + 4], ebx
xor ebx, ebx
mov dword [rsi], 1
mov dword [rsi + 8], ebp
mov dword [rsi + 0xc], 1
jmp 0x140004744
lea rsi, [rdi + 0x48]
mov eax, dword [rdi + 0x88]
mov rcx, rsi
test eax, eax
jne 0x14000487b
test ebx, ebx
je 0x14000491c
test byte [rsp + 0x20], 0x10
je 0x14000487b
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x14000478e
mov dword [rsi], 1
xor ebx, ebx
mov dword [rsi + 4], 2
mov dword [rsi + 8], eax
mov dword [rsi + 0xc], 1
jmp 0x140004877
mov rdx, qword [rdi + 0x60]
mov r8d, 0x23
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x1400047af
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x140004770
lea rbx, [rdi + 0x268]
mov dword [rdi + 0x88], 1
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
mov dword [rdi + 0x8c], 1
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rsp + 0x70], eax
mov eax, 1
lock xadd dword [rsp + 0x70], eax
add eax, 1
mov dword [rbx + 0x28], eax
jne 0x1400047ff
mov eax, 1
lock xadd dword [rsp + 0x70], eax
inc eax
mov dword [rbx + 0x28], eax
lea rdx, [rdi + 0x220]
mov rcx, rbx
call fcn.140005780
mov rax, qword [rbx]
lea rdx, [rdi + 0x220]
mov rcx, rbx
call qword [rax]
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, rbx
mov dword [rbx + 0x20], 0
mov dword [rbx + 0x24], eax
mov dword [rbx + 0x1c], eax
mov dword [rbx + 0x18], 0
mov dword [rbx + 0x30], 1
call fcn.140005fc0
mov rcx, qword [rdi + 0x58]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x140004872
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x140004872
test eax, eax
jne 0x140004934
mov ebx, 1
lea rcx, [rdi + 0x48]
test ebx, ebx
je 0x14000491c
test byte [rsp + 0x20], 1
je 0x1400048bb
mov eax, dword [rsp + 0x24]
test eax, eax
jne 0x14000489e
mov rcx, rdi
call fcn.140004940
mov ebx, eax
jmp 0x1400048b7
mov dword [rcx], 1
xor ebx, ebx
mov dword [rcx + 4], 4
mov dword [rcx + 8], eax
mov dword [rcx + 0xc], 1
lea rcx, [rdi + 0x48]
test ebx, ebx
je 0x14000491c
test byte [rsp + 0x20], 2
je 0x1400048f4
mov eax, dword [rsp + 0x28]
test eax, eax
jne 0x1400048da
mov rcx, rdi
call fcn.140004a90
mov ebx, eax
jmp 0x1400048f0
mov dword [rcx], 1
xor ebx, ebx
mov dword [rcx + 4], r15d
mov dword [rcx + 8], eax
mov dword [rcx + 0xc], 1
lea rcx, [rdi + 0x48]
test ebx, ebx
je 0x14000491c
test byte [rsp + 0x20], 0x20
je 0x14000491c
mov eax, dword [rsp + 0x38]
xor ebx, ebx
mov dword [rcx], 1
mov dword [rcx + 4], 5
mov dword [rcx + 8], eax
mov dword [rcx + 0xc], 1
mov rbp, qword [rsp + 0x80]
mov eax, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r15
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.1400010f0
int3