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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x18002f010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdx, qword [rcx + 0xb8]
lea r8, [rsp + 0x28]
mov rbx, rcx
mov edi, 1
mov rcx, qword [rcx + 0xb0]
call qword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
cmp eax, 0xffffffff
jne 0x1800049e4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [rsp + 0x28]
mov esi, eax
test cl, 0x10
je 0x18000498c
mov edi, 2
jmp 0x1800049b4
test cl, 0x20
je 0x180004998
mov edi, 5
jmp 0x1800049b4
test dil, cl
je 0x1800049a4
mov edi, 4
jmp 0x1800049b4
test cl, 2
mov edi, 0
mov eax, 3
cmovne edi, eax
mov rcx, qword [rbx + 0xb8]
call qword [sym.imp.WS2_32.dll_WSAResetEvent]
test eax, eax
je 0x180004bdb
mov dword [rbx + 0xa0], 1
mov dword [rbx + 0xa4], edi
mov dword [rbx + 0xa8], esi
jmp 0x180004bad
mov eax, dword [rbx + 0xe0]
test eax, eax
jne 0x180004afb
test byte [rsp + 0x28], 0x10
je 0x180004afb
mov eax, dword [rsp + 0x3c]
test eax, eax
jne 0x180004a28
mov rdx, qword [rbx + 0xb8]
lea r8d, [rax + 0x23]
mov rcx, qword [rbx + 0xb0]
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x180004a38
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbx + 0xa0], edi
mov edi, 2
jmp 0x180004ba1
mov dword [rbx + 0xe0], edi
mov dword [rbx + 0xe4], edi
lea rdi, [rbx + 0x2c0]
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rsp + 0x20], eax
mov eax, 1
lock xadd dword [rsp + 0x20], eax
add eax, 1
mov dword [rdi + 0x28], eax
jne 0x180004a80
mov eax, 1
lock xadd dword [rsp + 0x20], eax
inc eax
mov dword [rdi + 0x28], eax
lea rdx, [rbx + 0x278]
mov rcx, rdi
call fcn.180005f00
mov rax, qword [rdi]
lea rdx, [rbx + 0x278]
mov rcx, rdi
call qword [rax]
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, rdi
mov dword [rdi + 0x20], 0
mov dword [rdi + 0x24], eax
mov dword [rdi + 0x1c], eax
mov dword [rdi + 0x18], 0
mov dword [rdi + 0x30], 1
call fcn.180005cf0
mov rcx, qword [rbx + 0xb0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x180004af6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x180004af6
test eax, eax
jne 0x180004bdb
mov edi, 1
test byte [rsp + 0x28], 1
je 0x180004b41
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x180004b16
mov rcx, rbx
call fcn.180004bf0
mov edi, eax
jmp 0x180004b3d
mov edi, 4
mov dword [rbx + 0xa0], 1
mov dword [rbx + 0xa4], edi
xor edi, edi
mov dword [rbx + 0xa8], eax
mov dword [rbx + 0xac], 1
test edi, edi
je 0x180004bb9
test byte [rsp + 0x28], 2
je 0x180004b87
mov ecx, dword [rsp + 0x30]
test ecx, ecx
jne 0x180004b5c
mov rcx, rbx
call fcn.180004d50
mov edi, eax
jmp 0x180004b83
mov eax, 3
mov dword [rbx + 0xa0], 1
mov dword [rbx + 0xa4], eax
xor edi, edi
mov dword [rbx + 0xa8], ecx
mov dword [rbx + 0xac], 1
test edi, edi
je 0x180004bb9
test byte [rsp + 0x28], 0x20
je 0x180004bb9
mov eax, dword [rsp + 0x40]
mov edi, 5
mov dword [rbx + 0xa0], 1
mov dword [rbx + 0xa4], edi
mov dword [rbx + 0xa8], eax
xor edi, edi
mov dword [rbx + 0xac], 1
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18000b980
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x80004005
call fcn.180001990
int3