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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140044040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdx, qword [rcx + 0x60]
lea r8, [rsp + 0x28]
mov rbx, rcx
mov edi, 1
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
mov r14d, 3
cmp eax, 0xffffffff
jne 0x1400052ee
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [rsp + 0x28]
mov esi, eax
test cl, 0x10
je 0x1400052a2
mov edi, 2
jmp 0x1400052c6
test cl, 0x20
je 0x1400052ae
mov edi, 5
jmp 0x1400052c6
test dil, cl
je 0x1400052ba
mov edi, 4
jmp 0x1400052c6
test cl, 2
mov edi, 0
cmovne edi, r14d
mov rcx, qword [rbx + 0x60]
call qword [sym.imp.WS2_32.dll_WSAResetEvent]
test eax, eax
je 0x1400054e1
mov dword [rbx + 0x4c], edi
xor edi, edi
mov dword [rbx + 0x48], 1
mov dword [rbx + 0x50], esi
mov dword [rbx + 0x54], 1
mov eax, dword [rbx + 0x88]
test eax, eax
jne 0x14000541f
test edi, edi
je 0x1400054bb
test byte [rsp + 0x28], 0x10
je 0x140005427
mov eax, dword [rsp + 0x3c]
test eax, eax
je 0x140005336
mov dword [rbx + 0x48], 1
xor edi, edi
mov dword [rbx + 0x4c], 2
mov dword [rbx + 0x50], eax
mov dword [rbx + 0x54], 1
jmp 0x14000541f
mov rdx, qword [rbx + 0x60]
mov r8d, 0x23
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x140005357
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x140005317
lea rdi, [rbx + 0x268]
mov dword [rbx + 0x88], 1
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
mov dword [rbx + 0x8c], 1
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 0x1400053a7
mov eax, 1
lock xadd dword [rsp + 0x20], eax
inc eax
mov dword [rdi + 0x28], eax
lea rdx, [rbx + 0x220]
mov rcx, rdi
call fcn.140006310
mov rax, qword [rdi]
lea rdx, [rbx + 0x220]
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.140006b50
mov rcx, qword [rbx + 0x58]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x14000541a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x14000541a
test eax, eax
jne 0x1400054e1
mov edi, 1
test edi, edi
je 0x1400054bb
test byte [rsp + 0x28], 1
je 0x140005460
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x140005442
mov rcx, rbx
call fcn.1400054f0
mov edi, eax
jmp 0x14000545c
mov dword [rbx + 0x48], 1
xor edi, edi
mov dword [rbx + 0x4c], 4
mov dword [rbx + 0x50], eax
mov dword [rbx + 0x54], 1
test edi, edi
je 0x1400054bb
test byte [rsp + 0x28], 2
je 0x140005496
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x14000547b
mov rcx, rbx
call fcn.140005640
mov edi, eax
jmp 0x140005492
mov dword [rbx + 0x48], 1
xor edi, edi
mov dword [rbx + 0x4c], r14d
mov dword [rbx + 0x50], eax
mov dword [rbx + 0x54], 1
test edi, edi
je 0x1400054bb
test byte [rsp + 0x28], 0x20
je 0x1400054bb
mov eax, dword [rsp + 0x40]
xor edi, edi
mov dword [rbx + 0x48], 1
mov dword [rbx + 0x4c], 5
mov dword [rbx + 0x50], eax
mov dword [rbx + 0x54], 1
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400195c0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov ecx, 0x80004005
call fcn.140001590
int3