Function at 0x180004910
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 [0x180030010]
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 0x1800049c4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [rsp + 0x28]
mov esi, eax
test cl, 0x10
je 0x18000496c
mov edi, 2
jmp 0x180004994
test cl, 0x20
je 0x180004978
mov edi, 5
jmp 0x180004994
test dil, cl
je 0x180004984
mov edi, 4
jmp 0x180004994
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 0x180004bbb
mov dword [rbx + 0xa0], 1
mov dword [rbx + 0xa4], edi
mov dword [rbx + 0xa8], esi
jmp 0x180004b8d
mov eax, dword [rbx + 0xe0]
test eax, eax
jne 0x180004adb
test byte [rsp + 0x28], 0x10
je 0x180004adb
mov eax, dword [rsp + 0x3c]
test eax, eax
jne 0x180004a08
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 0x180004a18
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbx + 0xa0], edi
mov edi, 2
jmp 0x180004b81
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 0x180004a60
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.180005ee0
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.180005cd0
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 0x180004ad6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x180004ad6
test eax, eax
jne 0x180004bbb
mov edi, 1
test byte [rsp + 0x28], 1
je 0x180004b21
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x180004af6
mov rcx, rbx
call fcn.180004bd0
mov edi, eax
jmp 0x180004b1d
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 0x180004b99
test byte [rsp + 0x28], 2
je 0x180004b67
mov ecx, dword [rsp + 0x30]
test ecx, ecx
jne 0x180004b3c
mov rcx, rbx
call fcn.180004d30
mov edi, eax
jmp 0x180004b63
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 0x180004b99
test byte [rsp + 0x28], 0x20
je 0x180004b99
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.180008c40
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x80004005
call fcn.180001970
int3