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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072334
mov eax, dword fs:[0]
push eax
mov eax, 0x104c
call fcn.10071c60
mov eax, dword [0x10089014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x103c]
mov dword [ebp - 0x1058], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
movzx edi, dx
mov dword [ebp - 0x1054], eax
movups xmmword [ebp - 0x103c], xmm0
mov dword [ebp - 0x102c], 0
call dword [0x10074688]
push 0xa
push 4
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x103c]
call fcn.100014e0
movsx edx, word [0x10089f64]
lea ecx, [ebp - 0x103c]
push 0
push 2
call fcn.100014e0
movsx edx, word [0x10089f64]
lea ecx, [ebp - 0x103c]
add esp, 0x10
push 0
push 2
test di, di
je 0x100021c2
movsx edx, di
call fcn.100014e0
mov esi, dword [ebp - 0x1054]
add esp, 8
mov edi, dword [sym.imp.WS2_32.dll_htons]
push 0
push 2
lea eax, [esi + 2]
push eax
call edi
movzx edx, ax
lea ecx, [ebp - 0x103c]
call fcn.100014e0
mov edx, dword [ebp - 0x1058]
lea ecx, [ebp - 0x103c]
push esi
push 4
call fcn.100014e0
push 0x1000
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1028], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1010]
push eax
push 0x10089f6e
push dword [ebp - 0x1034]
push dword [ebp - 0x1038]
call fcn.10016700
add esp, 0x30
mov dword [ebp - 0x1014], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x1024]
movups xmmword [ebp - 0x1024], xmm0
call dword [0x10074688]
mov byte [ebp - 4], 1
mov eax, dword [0x1008adac]
push 0
push 2
push 0x4c20
mov esi, dword [eax]
inc esi
mov dword [eax], esi
call edi
movzx edx, ax
lea ecx, [ebp - 0x1024]
call fcn.100014e0
movsx edx, word [0x10089f64]
lea ecx, [ebp - 0x1024]
push 0
push 2
call fcn.100014e0
mov edi, dword [sym.imp.WS2_32.dll_htonl]
add esp, 0x10
push 0
push 3
push esi
call edi
mov edx, eax
lea ecx, [ebp - 0x1024]
call fcn.100014e0
add esp, 8
push 0
push 3
push dword [0x10089ee0]
call edi
mov edx, eax
lea ecx, [ebp - 0x1024]
call fcn.100014e0
mov esi, dword [sym.imp.mfc140u.dll_CByteArray::SetAtGrow]
lea ecx, [ebp - 0x1024]
add esp, 8
push 1
push dword [ebp - 0x101c]
call esi
push 0
push dword [ebp - 0x101c]
lea ecx, [ebp - 0x1024]
call esi
push dword [ebp - 0x1028]
lea edx, [ebp - 0x1010]
push 4
lea ecx, [ebp - 0x1024]
call fcn.100014e0
add esp, 8
mov dword [ebp - 0x1040], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x1050]
movups xmmword [ebp - 0x1050], xmm0
call dword [0x10074688]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x101c]
push 0
push 3
add eax, 4
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x1050]
call fcn.100014e0
push dword [ebp - 0x101c]
mov edx, dword [ebp - 0x1020]
lea ecx, [ebp - 0x1050]
push 4
call fcn.100014e0
mov eax, dword [ebp - 0x1048]
add eax, eax
push eax
call dword [sym.imp.mfc140u.dll_operator]
mov ecx, dword [ebp - 0x1048]
mov esi, eax
add ecx, ecx
push ecx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
push dword [ebp - 0x1048]
push dword [ebp - 0x104c]
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x1008b244]
add esp, 0x2c
mov ecx, dword [eax]
mov eax, dword [ecx + 0x406960]
cmp eax, 0xffffffff
jne 0x100023ca
mov eax, dword [ecx + 0x2ca6c0]
push 0
push dword [ebp - 0x1048]
push esi
push eax
call dword [sym.imp.WS2_32.dll_send]
push esi
call dword [sym.imp.mfc140u.dll_operator_1]
mov esi, dword [sym.imp.mfc140u.dll_CByteArray::CByteArray]
lea ecx, [ebp - 0x1050]
add esp, 4
call esi
lea ecx, [ebp - 0x1024]
call esi
lea ecx, [ebp - 0x103c]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012fae
mov esp, ebp
pop ebp
ret