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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc4d0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4de57c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, ecx
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x30], esi
call edi
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
push 0xffffffffffffffff
push ecx
call edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
jmp 0x47b200
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x47b35a
mov eax, dword [esi + 0x2c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x47b35a
test ecx, ecx
je 0x47b22b
mov eax, dword [esi + 0x2c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x47b230
call fcn.0048ed51
mov edx, dword [esi + 0x28]
mov edi, dword [edx + edi*4]
mov eax, dword [edi + 8]
lea ebx, [edi + 8]
mov dword [ebp - 0x20], eax
mov word [ebp - 0x24], 2
movzx ecx, word [edi + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
push ebx
lea edx, [ebp - 0x48]
push edx
mov ecx, esi
mov word [ebp - 0x22], ax
call fcn.0047a560
mov ecx, dword [eax]
test ecx, ecx
mov ebx, dword [eax + 4]
mov eax, dword [esi + 4]
mov dword [ebp - 0x3c], eax
je 0x47b273
cmp ecx, esi
je 0x47b278
call fcn.0048ed51
cmp ebx, dword [ebp - 0x3c]
jne 0x47b345
mov ecx, dword [ebp - 0x2c]
mov eax, 0x38e38e39
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*8]
sub ecx, edx
cmp ecx, 8
jne 0x47b2c3
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x2c
call fcn.0048e9fc
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x47b2e3
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x20], ebx
mov ebx, eax
mov dword [edi + 0x1c], ebx
mov dword [ebx + 0x28], 0
mov edx, dword [edi + 0x14]
mov dword [ebx + 0x18], edx
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov ecx, dword [edi + 0xc]
mov dword [ebx], ecx
mov edx, dword [edi + 0x10]
mov dword [ebx + 4], edx
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebx + 0x1c], edi
mov eax, dword [edi + 8]
lea edx, [ebp - 0x54]
push edx
mov ecx, esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ebx
call fcn.0047adc0
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push 0x10
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esi + 0xc]
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
call dword [sym.imp.WINMM.dll_timeGetTime]
add dword [ebp - 0x2c], 1
mov dword [ebx + 0x10], eax
add dword [ebp - 0x28], 1
mov edi, dword [ebp - 0x28]
jmp 0x47b200
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
push edx
call ebx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
push ecx
call ebx
mov edx, dword [esi + 0x10]
mov eax, dword [edx]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edi, dword [esi + 8]
push edx
call ebx
test edi, edi
jle 0x47b3b2
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x10]
mov eax, dword [edx]
mov edi, dword [esi + 8]
push eax
call ebx
test edi, edi
jg 0x47b38d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048de34
mov esp, ebp
pop ebp
ret