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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1400c77b0]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x100]
lea r15, [rbp - 0x10]
xor r14d, r14d
mov dword [rsp + 0x60], r8d
mov qword [rsp + 0x78], rdx
mov esi, r14d
mov byte [rsp + 0x30], sil
mov ebx, r9d
mov dword [rsp + 0x58], ebx
mov r12d, 0xa
mov qword [rsp + 0x68], rcx
mov rdi, rcx
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x34], r12d
mov dword [rsp + 0x48], r14d
test rcx, rcx
je 0x14000f2f5
cmp dword [rcx], 0xbab1e
jne 0x14000f2f5
cmp byte [rcx + 0x1cb], sil
je 0x14000ec3f
lea eax, [r14 + 8]
jmp 0x14000f034
test ebx, ebx
jns 0x14000ec4b
mov eax, r12d
jmp 0x14000f034
lea rdx, [rsp + 0x50]
call fcn.14000eab0
mov eax, dword [rsp + 0x50]
test eax, eax
js 0x14000ec66
cmp eax, ebx
cmovl ebx, eax
mov dword [rsp + 0x58], ebx
xor edx, edx
mov qword [rsp + 0x1f0], r13
mov r8d, 0xa0
lea rcx, [rbp - 0x10]
call fcn.14006f2b0
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp - 0x48], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x70], rax
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
test rax, rax
je 0x14000ee4e
nop word [rax + rax]
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.14000d5b0
cmp dword [rbp - 0x50], 0
mov r13, r14
jbe 0x14000ee32
nop dword [rax]
movzx edx, byte [rbp + r13 - 0x4c]
lea r15, [r13*8]
movzx ecx, dl
and cl, 1
movzx eax, cl
neg al
sbb r14d, r14d
and r14d, 0x29
neg cl
sbb bx, bx
and bx, 0x300
test dl, 2
je 0x14000ed53
mov rdi, qword [rbp + r15 - 0x78]
lea rax, [rsp + 0x50]
mov rcx, rdi
mov dword [rsp + 0x50], 4
lea r9, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov r8d, 0x1008
or r14d, 0x32
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x14000ed4f
cmp dword [rsp + 0x5c], 1
jne 0x14000ed4f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
or bx, 0x10
test bx, bx
je 0x14000edf9
mov rdx, qword [rsp + 0x40]
lea rdi, [rbp - 0x78]
test esi, esi
je 0x14000ed80
lea ecx, [rsi - 1]
add rcx, rcx
mov rax, qword [rdx + rcx*8]
cmp qword [rdi + r15], rax
jne 0x14000ed80
or word [rdx + rcx*8 + 8], bx
jmp 0x14000edf9
cmp esi, r12d
jb 0x14000ede1
add r12d, 0x64
mov edx, reloc.WS2_32.dll_recv
mov ecx, r12d
call qword [fcn.140073990]
mov rsi, rax
test rax, rax
je 0x14000eff0
mov r8d, dword [rsp + 0x34]
mov rcx, rax
mov rdx, qword [rsp + 0x40]
shl r8, 4
call fcn.14006ec10
cmp byte [rsp + 0x30], 0
je 0x14000edcb
mov rcx, qword [rsp + 0x40]
call qword [fcn.140076af8]
mov rdx, rsi
mov dword [rsp + 0x34], r12d
mov esi, dword [rsp + 0x48]
mov qword [rsp + 0x40], rdx
mov byte [rsp + 0x30], 1
mov rax, qword [rdi + r15]
mov ecx, esi
add rcx, rcx
inc esi
mov dword [rsp + 0x48], esi
mov qword [rdx + rcx*8], rax
mov word [rdx + rcx*8 + 8], bx
mov rdi, qword [rsp + 0x68]
test r14d, r14d
je 0x14000ee20
mov rdx, qword [rdi + 0x1b8]
mov r8d, r14d
mov rcx, qword [rbp + r15 - 0x78]
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
jne 0x14000effe
mov eax, dword [rbp - 0x50]
inc r13
cmp r13, rax
jb 0x14000ecd0
xor r14d, r14d
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x14000ecb0
mov r15, qword [rsp + 0x40]
mov ebx, dword [rsp + 0x60]
lea r13, [rdi + 0x1b8]
xor r9d, r9d
mov dword [rsp + 0x34], esi
mov qword [rsp + 0x70], r9
mov r14d, esi
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x14000efd0
mov rbx, qword [rsp + 0x78]
add rbx, 8
nop
movzx edx, word [rbx]
movzx eax, dl
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x29
mov edi, ecx
or edi, 4
test dl, 2
cmove edi, ecx
test dl, 4
je 0x14000eeed
mov r14, qword [rbx - 8]
lea rax, [rsp + 0x60]
mov rcx, r14
mov dword [rsp + 0x60], 4
lea r9, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov r8d, 0x1008
or edi, 0x32
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x14000eeed
cmp dword [rsp + 0x5c], 1
jne 0x14000eeed
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [r13]
mov r8d, edi
mov rcx, qword [rbx - 8]
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
jne 0x14000f055
cmp esi, r12d
jb 0x14000ef5a
lea r14d, [r12 + 0x64]
mov ecx, r14d
lea edx, [rax + 0x10]
call qword [fcn.140073990]
mov rdi, rax
test rax, rax
je 0x14000f017
mov r8d, r12d
mov rdx, r15
shl r8, 4
mov rcx, rax
call fcn.14006ec10
cmp byte [rsp + 0x30], 0
je 0x14000ef4a
mov rcx, r15
call qword [fcn.140076af8]
mov r15, rdi
mov qword [rsp + 0x40], rdi
mov r12d, r14d
mov byte [rsp + 0x30], 1
mov rax, qword [rbx - 8]
xor r9d, r9d
mov ecx, esi
shl rcx, 4
add rcx, r15
mov qword [rcx], rax
movzx eax, r9w
mov word [rcx + 8], r9w
test byte [rbx], 1
je 0x14000ef86
mov edx, 0x300
mov word [rcx + 8], dx
mov eax, edx
test byte [rbx], 2
je 0x14000ef97
mov edx, 0x400
or ax, dx
mov word [rcx + 8], ax
test byte [rbx], 4
je 0x14000efa4
or ax, 0x10
mov word [rcx + 8], ax
mov r8, qword [rsp + 0x70]
inc esi
inc r8
mov dword [rsp + 0x48], esi
add rbx, 0x10
mov qword [rsp + 0x70], r8
cmp r8, qword [rsp + 0x50]
jb 0x14000ee80
mov rbx, qword [rsp + 0x50]
mov r14d, dword [rsp + 0x34]
movzx edi, byte [rbp + 0x110]
test esi, esi
jne 0x14000f06c
test dil, dil
je 0x14000f271
mov edi, r9d
jmp 0x14000f091
cmp byte [rsp + 0x30], 0
je 0x14000f027
mov rcx, qword [rsp + 0x40]
jmp 0x14000f021
cmp byte [rsp + 0x30], 0
je 0x14000f065
mov rcx, qword [rsp + 0x40]
call qword [fcn.140076af8]
mov eax, 4
jmp 0x14000f02c
cmp byte [rsp + 0x30], 0
je 0x14000f027
mov rcx, r15
call qword [fcn.140076af8]
mov eax, 3
mov r13, qword [rsp + 0x1f0]
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14006ce30
add rsp, 0x1a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp byte [rsp + 0x30], 0
je 0x14000f065
mov rcx, r15
call qword [fcn.140076af8]
mov eax, 4
jmp 0x14000f02c
xor r8d, r8d
mov edx, esi
mov rcx, r15
call fcn.140033c60
mov edi, eax
test eax, eax
jns 0x14000f086
mov eax, recv
jmp 0x14000f02c
jle 0x14000f08e
mov dword [rsp + 0x38], eax
jmp 0x14000f0ab
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r9d
mov r9d, dword [rsp + 0x58]
mov rdx, r13
lea ecx, [r8 + 1]
call qword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
test rbx, rbx
je 0x14000f1a0
mov rcx, qword [rsp + 0x78]
mov r12d, r14d
shl r12, 4
sub r12, rcx
add r12, r15
lea rsi, [rcx + 0xa]
nop word [rax + rax]
mov r14, qword [rsi - 0xa]
lea r8, [rbp - 0x40]
movsx r15d, word [r12 + rsi]
xor eax, eax
mov rcx, r14
mov dword [rbp - 0x40], eax
xor edx, edx
movzx ebx, ax
call qword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
jne 0x14000f148
mov r8d, dword [rbp - 0x40]
mov ecx, eax
test r8b, 0x29
setne cl
movzx edx, cx
or dx, 4
test r8b, 0x32
cmove dx, cx
movzx ecx, dx
or cx, 2
test r8b, 4
cmove cx, dx
cmp qword [rbp - 0x80], 0
movzx ebx, cx
je 0x14000f148
test edi, edi
jne 0x14000f148
test r8d, r8d
je 0x14000f148
inc dword [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [r13]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
jmp 0x14000f18d
mov rdx, qword [r13]
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
test edi, edi
je 0x14000f18d
movzx ecx, bx
or cx, 1
test r15d, 0x300
cmove cx, bx
movzx edx, cx
or dx, 4
test r15b, 0x10
cmove dx, cx
movzx ebx, dx
or bx, 2
bt r15d, 0xa
cmovae bx, dx
mov word [rsi], bx
add rsi, 0x10
sub qword [rsp + 0x50], 1
jne 0x14000f0d0
cmp dword [rsp + 0x34], 0
mov r14, qword [rsp + 0x68]
je 0x14000f25a
mov rsi, qword [r14 + 8]
mov qword [rsp + 0x78], rsi
test rsi, rsi
je 0x14000f25a
mov r14, qword [rbp - 0x80]
nop word [rax + rax]
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.14000d5b0
xor eax, eax
mov ebx, eax
cmp dword [rbp - 0x50], eax
jbe 0x14000f243
mov esi, dword [rsp + 0x38]
nop dword [rax]
mov rcx, qword [rbp + rbx*8 - 0x78]
lea r8, [rbp - 0x40]
xor edx, edx
mov dword [rbp - 0x40], eax
call qword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
jne 0x14000f218
test r14, r14
je 0x14000f218
test edi, edi
jne 0x14000f218
cmp dword [rbp - 0x40], edi
je 0x14000f218
inc esi
mov rdx, qword [r13]
xor r8d, r8d
mov rcx, qword [rbp + rbx*8 - 0x78]
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
mov eax, dword [rbp - 0x50]
inc rbx
cmp rbx, rax
mov eax, 0
jb 0x14000f1f0
mov dword [rsp + 0x38], esi
mov rsi, qword [rsp + 0x78]
mov rsi, qword [rsi + 0x10]
mov qword [rsp + 0x78], rsi
test rsi, rsi
jne 0x14000f1d0
mov r14, qword [rsp + 0x68]
mov rcx, qword [r13]
call qword [sym.imp.WS2_32.dll_WSAResetEvent]
mov esi, dword [rsp + 0x48]
movzx edi, byte [rbp + 0x110]
jmp 0x14000f276
mov r14, qword [rsp + 0x68]
cmp byte [rsp + 0x30], 0
je 0x14000f288
mov rcx, qword [rsp + 0x40]
call qword [fcn.140076af8]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14000f297
mov eax, dword [rsp + 0x38]
mov dword [rcx], eax
cmp byte [rbp + 0x108], 0
je 0x14000f2ee
test esi, esi
jne 0x14000f2ee
test dil, dil
jne 0x14000f2ee
cmp dword [r14], 0xbab1e
mov dword [rsp + 0x34], esi
jne 0x14000f2ee
cmp byte [r14 + 0x1cb], dil
jne 0x14000f2ee
lea rdx, [rsp + 0x34]
mov rcx, r14
call fcn.14000eab0
test eax, eax
jne 0x14000f2ee
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x14000f2ee
mov ecx, dword [rsp + 0x58]
cmp eax, ecx
jg 0x14000f2e4
test eax, eax
jns 0x14000f2e6
mov eax, ecx
movsxd rcx, eax
call fcn.1400341c0
xor eax, eax
jmp 0x14000f02c
mov eax, 1
jmp 0x14000f034