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

Disassembly:
sub esp, 0x44
push esi
mov esi, dword [esp + 0x4c]
push 0x10
lea eax, [esp + 0x26]
push eax
lea eax, [esi + 4]
mov word [esp + 0x28], 0x26
call fcn.004b4800
test al, al
je 0x4b818a
mov eax, dword [esi + 0x294]
test eax, eax
push ebx
push edi
mov word [esp + 0x18], 2
je 0x4b7f8d
mov edx, dword [esi + 0x298]
xor eax, eax
test edx, edx
jbe 0x4b7f8d
mov edi, dword [esi + 0x290]
mov ecx, edi
lea ecx, [ecx]
cmp dword [ecx], 0
jne 0x4b7f9c
inc eax
add ecx, 4
cmp eax, edx
jb 0x4b7f80
xor eax, eax
test eax, eax
mov edi, eax
je 0x4b8188
push ebp
jmp 0x4b7fa5
mov eax, dword [edi + eax*4]
jmp 0x4b7f8f
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x4b7faf
mov dword [esp + 0x14], edi
jmp 0x4b7fec
mov ecx, dword [edi + 0xa4]
test ecx, ecx
jne 0x4b7fe8
mov ebx, dword [esi + 0x298]
mov eax, dword [edi + 0xa8]
xor edx, edx
div ebx
inc edx
lea ebx, [ebx]
cmp edx, ebx
jae 0x4b7fe8
mov eax, dword [esi + 0x290]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4b7fe3
mov ecx, eax
inc edx
test ecx, ecx
je 0x4b7fd0
mov dword [esp + 0x14], ecx
mov al, byte [edi + 0x30]
test al, al
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
jne 0x4b80b8
push 0x10
lea edx, [esp + 0x42]
push edi
push edx
call fcn.00555610
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x5a], eax
mov edx, dword [edi + 0x2c]
mov eax, dword [edi + 0x14]
add esp, 0xc
inc edx
test eax, eax
mov dword [edi + 0x2c], edx
jne 0x4b808a
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4b8059
push 0x10
mov dword [esp + 0x24], eax
mov cx, word [edi + 0x20]
movzx eax, word [esp + 0x30]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esi + 0x288]
push 0
mov word [esp + 0x2a], cx
push eax
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4b80b8
movzx edx, word [esp + 0x2c]
push 0x10
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x288]
mov dword [esp + 0x28], eax
mov ax, word [edi + 0x28]
push 0
mov word [esp + 0x2a], ax
push edx
lea eax, [esp + 0x3c]
push eax
push ecx
jmp 0x4b80b2
movzx ecx, word [esp + 0x2c]
push 0x10
mov dword [esp + 0x24], eax
mov dx, word [edi + 0x18]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 0x288]
push 0
mov word [esp + 0x2a], dx
push ecx
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov ebx, dword [edi + 0x98]
dec ebx
js 0x4b817b
mov ebp, ebx
lea ecx, [ebx + 1]
imul ebp, ebp, 0x7fe0
mov dword [esp + 0x10], ecx
cmp ebx, dword [edi + 0x98]
jae 0x4b8191
mov esi, dword [edi + 0x94]
push 0
add esi, ebp
call fcn.00553fe2
sub eax, dword [esi + 0x7fdc]
add esp, 4
cmp eax, 0x3c
jle 0x4b815f
push edi
push str.Removing_timeouted_pending_packet_for__s_n
call fcn.004d2e60
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx]
xor eax, eax
mov ax, word [esi + 0xe]
add esp, 8
push esi
push eax
lea eax, [esi + 0x10]
push eax
xor eax, eax
mov ax, word [esi + 0xc]
push eax
push edi
push 0
call dword [edx]
mov eax, dword [edi + 0x98]
cmp dword [esp + 0x10], eax
ja 0x4b8191
sub eax, ebx
dec eax
je 0x4b8159
mov ecx, dword [edi + 0x94]
imul eax, eax, 0x7fe0
add ecx, ebp
push eax
lea edx, [ecx + 0x7fe0]
push edx
push ecx
call fcn.00554080
add esp, 0xc
dec dword [edi + 0x98]
mov edx, dword [esp + 0x10]
dec ebx
dec edx
sub ebp, 0x7fe0
test ebx, ebx
mov dword [esp + 0x10], edx
jge 0x4b80d4
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b7fa1
pop ebp
pop edi
pop ebx
pop esi
add esp, 0x44
ret 4
push 0x80070057
call fcn.004010c0
int3