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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0x10]
and dword [ebp - 4], 0
push ebx
push edi
mov edi, dword [eax]
mov eax, dword [ebp + 8]
push 4
pop ebx
sub eax, ebx
je 0x100261d7
dec eax
je 0x1002618e
dec eax
je 0x100261d7
dec eax
je 0x10026121
push dword [ebp + 8]
push 0x1003d194
push edi
call fcn.1001e441
jmp 0x100263b5
movzx eax, word [esi + 0x40]
inc dword [esi + 0x18]
push dword [esi + 0x18]
inc eax
and eax, 0xffff
push eax
push 0x1003d0f0
push edi
call fcn.1001e3ce
mov eax, dword [esi + 0x18]
add esp, 0x10
cmp eax, dword [esi + 0x20]
jle 0x1002615a
mov dword [esi + 8], 0xffffff9d
mov dword [esi], 3
jmp 0x100263b8
push dword [esi + 0x148]
lea eax, [esi + 0xc8]
push eax
mov eax, dword [esi + 0x150]
push 0
add eax, ebx
push eax
push dword [esi + 0x160]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x100263a9
jmp 0x10026379
push 3
pop ebx
push 5
pop ecx
lea eax, [esi + 0x160]
mov dword [esi], ebx
call fcn.10025c00
mov cx, word [esi + 0x40]
lea eax, [esi + 0x160]
call fcn.10025c11
push dword [esi + 0x148]
lea eax, [esi + 0xc8]
push eax
push 0
push 4
push dword [esi + 0x160]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [esi], ebx
jmp 0x100263b8
cmp dword [ebp + 8], ebx
jne 0x100262a5
lea eax, [esi + 0x15c]
call fcn.10025c32
movzx ecx, word [esi + 0x40]
movzx eax, ax
mov edx, ecx
cmp eax, edx
je 0x10026294
test cx, cx
jne 0x1002620c
cmp eax, 0xffff
je 0x10026294
push edx
push eax
push 0x1003d168
push edi
call fcn.1001e3ce
add esp, 0x10
inc dword [esi + 0x18]
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x20]
jle 0x1002623c
movzx eax, word [esi + 0x40]
push eax
push 0x1003d13c
push edi
call fcn.1001e441
add esp, 0xc
jmp 0x10026285
push dword [esi + 0x148]
lea eax, [esi + 0xc8]
push eax
mov eax, dword [esi + 0x150]
push 0
add eax, ebx
push eax
push dword [esi + 0x160]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x1002628c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [esi + 0x10]
call fcn.1002396e
push eax
push 0x10036368
push edi
call fcn.1001e441
add esp, 0x14
mov dword [ebp - 4], 0x37
mov eax, dword [ebp - 4]
jmp 0x100263ba
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.MSVCR100.dll__time64]
inc word [esi + 0x40]
pop ecx
jmp 0x100262ac
xor eax, eax
inc eax
mov word [esi + 0x40], ax
and dword [esi + 0x18], 0
push 3
pop ecx
lea eax, [esi + 0x160]
call fcn.10025c00
mov cx, word [esi + 0x40]
lea eax, [esi + 0x160]
call fcn.10025c11
cmp word [esi + 0x40], 1
jbe 0x100262e6
mov eax, dword [esi + 0x150]
cmp eax, dword [esi + 0x154]
jl 0x1002614f
and dword [esi + 0x150], 0
mov eax, dword [esi + 0x160]
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx]
add eax, 4
mov dword [ecx + 0x114], eax
lea eax, [ebp + 8]
push eax
mov eax, dword [esi + 0x154]
sub eax, dword [esi + 0x150]
push eax
push dword [esi + 0x10]
call fcn.10026e67
add esp, 0xc
test eax, eax
jne 0x100263ba
mov ecx, dword [ebp + 8]
add dword [esi + 0x150], ecx
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
add dword [eax + 0x114], ecx
mov eax, dword [esi + 0x150]
cmp eax, dword [esi + 0x154]
jge 0x1002634d
cmp dword [ebp + 8], 0
jne 0x10026301
push dword [esi + 0x148]
lea eax, [esi + 0xc8]
push eax
mov eax, dword [esi + 0x150]
push 0
add eax, 4
push eax
push dword [esi + 0x160]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x1002639c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [esi + 0x10]
call fcn.1002396e
push eax
push 0x10036368
push edi
call fcn.1001e441
add esp, 0x14
push 0x37
pop eax
jmp 0x100263ba
mov eax, dword [esi + 0x150]
cdq
add dword [edi + 0x78], eax
adc dword [edi + 0x7c], edx
push dword [edi + 0x7c]
push dword [edi + 0x78]
push edi
call fcn.1001c342
add esp, 0xc
xor eax, eax
pop edi
pop ebx
leave
ret