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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, ecx
push esi
push edi
lea eax, [ebx + 0x524]
lea ecx, [ebp - 0x1c]
push eax
call fcn.005e6fa0
mov al, byte [0x81c644]
test al, al
jne 0x61c164
mov ecx, 0x83f450
call fcn.005ddd50
mov byte [0x81c644], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x83f450]
cmp eax, ecx
jbe 0x61c178
sub eax, ecx
jmp 0x61c180
mov ecx, dword [0x83f454]
add eax, ecx
mov cl, byte [ebp + 8]
test cl, cl
jne 0x61c1a3
mov ecx, dword [ebx + 0x4e8]
test ecx, ecx
je 0x61c1a3
mov edi, dword [ebx + 0x4e4]
mov edx, eax
sub edx, edi
cmp edx, ecx
jb 0x61c6b8
mov ecx, dword [ebx]
mov dword [ebx + 0x4e4], eax
xor eax, eax
test ecx, ecx
jle 0x61c1c5
xor ecx, ecx
mov edx, dword [ebx + 4]
inc eax
mov byte [ecx + edx + 0x10], 0
mov edx, dword [ebx]
add ecx, 0x1c
cmp eax, edx
jl 0x61c1b3
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x61c467
mov edx, dword [ebx + 8]
mov eax, dword [ebx]
inc edx
cmp edx, eax
jl 0x61c1e4
mov dword [ebp + 8], 0
mov edx, dword [ebp + 8]
xor ecx, ecx
test eax, eax
mov dword [ebp - 0x10], ecx
jle 0x61c45c
mov edi, dword [ebx + 4]
lea esi, [edx*8]
sub esi, edx
cmp dword [edi + esi*4 + 0xc], 0
jne 0x61c220
inc edx
cmp edx, eax
jl 0x61c213
mov dword [ebp + 8], 0
mov edx, dword [ebp + 8]
inc ecx
cmp ecx, eax
jl 0x61c1f4
mov dword [ebp - 0x10], ecx
jmp 0x61c45c
lea eax, [edx*8]
mov dword [ebp - 0x10], ecx
sub eax, edx
mov dword [ebp - 0x20], edx
shl eax, 2
mov dword [ebp - 0x18], eax
mov ecx, dword [eax + edi + 0xc]
mov esi, dword [eax + edi]
mov eax, dword [eax + edi + 0x18]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], eax
mov eax, ecx
and eax, 0x3ff
lea edi, [ebx + 0x12]
shl eax, 5
or al, 1
mov dword [ebp - 0x24], esi
mov word [ebx + 0x10], ax
mov eax, ecx
shr ecx, 2
mov dword [ebp - 4], edi
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 4]
mov esi, eax
mov eax, dword [ebx]
add ecx, esi
mov dword [ebp - 4], ecx
inc edx
lea ecx, [esi + 2]
cmp edx, eax
mov dword [ebp - 8], ecx
mov dword [ebp + 8], edx
jl 0x61c291
mov dword [ebp + 8], 0
mov edx, dword [ebp + 8]
cmp dword [ebp - 0x20], 0xffffffff
je 0x61c45c
cmp dword [ebx + 0xc], 1
jle 0x61c41b
lea ecx, [ecx + esi + 1]
cmp ecx, 0x21c
jae 0x61c41b
mov ecx, dword [ebp - 0x10]
cmp ecx, eax
mov dword [ebp - 0x10], ecx
jge 0x61c41b
mov eax, dword [ebp - 0x18]
jmp 0x61c2cb
mov esi, dword [ebp - 0xc]
mov cl, byte [ebx + 0x10]
and cl, 0x1f
cmp cl, 0x1f
je 0x61c41e
mov ecx, dword [ebx + 4]
lea edi, [edx*8]
sub edi, edx
shl edi, 2
mov dword [ebp - 0x20], edi
cmp dword [edi + ecx + 0xc], esi
jne 0x61c3f6
mov esi, dword [edi + ecx + 0x18]
cmp esi, dword [ebp - 0x14]
jne 0x61c3f6
mov si, word [eax + ecx + 8]
cmp si, word [edi + ecx + 8]
jne 0x61c3f6
mov esi, dword [edi + ecx + 4]
cmp esi, dword [eax + ecx + 4]
jne 0x61c3f6
mov eax, dword [ebp - 0xc]
mov edx, dword [edi + ecx]
lea esi, [ebx + 0x22c]
push eax
push eax
mov eax, dword [ebp - 0x24]
push esi
push edx
push eax
call fcn.0061bb30
mov ecx, dword [ebp - 0xc]
add esp, 0x14
cmp eax, ecx
jge 0x61c388
mov dl, byte [ebx + 0x51e]
test dl, dl
je 0x61c388
mov edi, dword [ebp - 4]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 4]
and ecx, 3
add edx, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
add ecx, eax
mov ax, word [ebx + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
lea ecx, [eax + 1]
xor cl, al
and ecx, 0x1f
xor ecx, eax
mov word [ebx + 0x10], cx
jmp 0x61c3cd
mov eax, dword [ebp - 4]
mov dl, byte [eax]
and dl, 0xfc
mov byte [eax], dl
mov edx, dword [ebx + 4]
inc eax
mov esi, dword [edx + edi]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
lea ecx, [eax + esi + 1]
mov ax, word [ebx + 0x10]
mov dword [ebp - 8], ecx
lea edx, [eax + 1]
xor dl, al
and edx, 0x1f
xor edx, eax
mov word [ebx + 0x10], dx
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x20]
mov dword [eax + ecx + 0xc], 0
mov edx, dword [ebx + 0xc]
dec edx
mov dword [ebx + 0xc], edx
mov edx, dword [ebp - 8]
lea eax, [edx + esi + 1]
cmp eax, 0x21c
mov eax, dword [ebp - 0x18]
jae 0x61c41e
mov edx, dword [ebp + 8]
mov ecx, dword [ebx]
inc edx
cmp edx, ecx
mov dword [ebp + 8], edx
jl 0x61c40a
mov dword [ebp + 8], 0
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x10]
inc esi
cmp esi, ecx
mov dword [ebp - 0x10], esi
jl 0x61c2c8
jmp 0x61c41e
mov eax, dword [ebp - 0x18]
mov edx, dword [ebx + 4]
mov ecx, dword [ebp - 8]
lea esi, [ebx + 0x10]
mov edi, dword [edx + eax]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov byte [ecx + eax + 0x10], 1
mov edx, dword [ebx + 4]
mov ecx, dword [ebp - 8]
mov dword [edx + eax + 0x14], ecx
mov edx, dword [ebx + 4]
mov dword [edx + eax + 0xc], 0
mov eax, dword [ebx + 0xc]
dec eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x61c1d0
mov al, byte [ebx + 0x51f]
test al, al
je 0x61c574
mov esi, dword [ebx]
test esi, esi
jle 0x61c574
xor ecx, ecx
mov edx, 1
mov dword [ebp + 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebx + 4]
add eax, ecx
cmp byte [eax + 0x10], 0
je 0x61c55d
mov edi, dword [eax]
cmp edx, esi
mov dword [ebp - 0x18], edi
mov edi, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], edx
jge 0x61c55d
lea edx, [ecx + 0x1c]
mov dword [ebp - 8], edx
mov esi, dword [ebx + 4]
mov al, byte [edx + esi + 0x10]
test al, al
je 0x61c543
mov eax, dword [edx + esi + 0x18]
cmp eax, dword [ebp - 0x14]
jne 0x61c543
mov eax, dword [edx + esi + 0x14]
mov ecx, dword [ecx + esi + 0x14]
add ecx, eax
cmp ecx, 0x21c
mov ecx, dword [ebp + 8]
jge 0x61c543
mov ax, word [ecx + esi + 8]
cmp ax, word [edx + esi + 8]
jne 0x61c543
mov eax, dword [ecx + esi + 4]
cmp eax, dword [edx + esi + 4]
jne 0x61c543
mov eax, dword [ecx + esi]
mov ecx, dword [edx + esi + 0x14]
mov esi, dword [edx + esi]
add eax, edi
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
or byte [ecx + 1], 0x80
mov eax, dword [ebx + 4]
mov ecx, dword [edx + eax + 0x14]
add edi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], edi
mov dword [ecx + eax + 0x14], edi
mov eax, dword [ebx + 4]
mov byte [edx + eax + 0x10], 0
mov eax, dword [ebp - 0xc]
mov esi, dword [ebx]
inc eax
add edx, 0x1c
cmp eax, esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
jl 0x61c4bd
mov edx, dword [ebp - 4]
mov esi, dword [ebx]
inc edx
add ecx, 0x1c
mov dword [ebp - 4], edx
lea eax, [edx - 1]
mov dword [ebp + 8], ecx
cmp eax, esi
jl 0x61c48c
mov eax, dword [ebx]
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x10], esi
jle 0x61c6af
mov dword [ebp - 0x18], esi
mov ecx, dword [ebx + 4]
lea eax, [ecx + esi]
mov cl, byte [ecx + esi + 0x10]
test cl, cl
je 0x61c695
mov word [ebp - 0x34], 2
mov dx, word [eax + 8]
mov word [ebp - 0x32], dx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x14], edx
mov edx, dword [eax]
push 0
push ecx
push edx
call fcn.005e6d90
add esp, 0xc
mov dword [ebp + 8], eax
push eax
mov eax, dword [ebp + 8]
bswap eax
mov dword [ebp + 8], eax
pop eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + esi + 0x14]
add eax, 7
and al, 0xfc
call fcn.0078c8d0
mov ecx, dword [ebp + 8]
mov edx, esp
mov dword [ebp - 0x24], edx
push 0
mov dword [edx], ecx
mov eax, dword [ebx + 4]
add eax, esi
lea edi, [edx + 4]
mov ecx, dword [eax + 0x14]
mov esi, dword [eax]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov esi, dword [ebp - 0x18]
add eax, esi
mov ecx, dword [eax + 0x14]
mov dx, word [eax + 8]
add ecx, 0x20
add eax, 4
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0061ce80
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x34]
push 0x10
push eax
mov edx, dword [ecx + esi + 0x14]
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x14]
add edx, 4
push 0
push edx
push eax
push esi
call sub.WSOCK32.dll_sendto
cmp eax, 0xffffffff
jne 0x61c695
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x61c683
call sub.WSOCK32.dll_WSAGetLastError
cmp esi, 0xffffffff
mov dword [ebp + 8], 4
je 0x61c695
lea ecx, [ebp + 8]
lea edx, [ebp - 0x20]
push ecx
push edx
push 0x1007
push 0xffff
push esi
call sub.WSOCK32.dll_getsockopt
jmp 0x61c695
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebx + 0x520], 1
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebx]
inc eax
add esi, 0x1c
cmp eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esi
jl 0x61c586
push 0
mov ecx, ebx
call fcn.0061cf70
lea ecx, [ebp - 0x1c]
call fcn.005e6fd0
lea esp, [ebp - 0x40]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4