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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x6af09160]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1c]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], 0
mov dword [esp + 0x24], edi
cmp eax, 0x1fffffff
jae 0x6aecb7a2
lea ebx, [eax*8 + 0xdc]
cmp ebx, 0xdc
jb 0x6aecb7a2
mov ecx, ebx
call fcn.6aee2e74
mov esi, eax
test esi, esi
je 0x6aecb017
push ebx
push 0
push esi
call fcn.6aee0e40
mov dword [esi + 0x10], 0
lea eax, [esp + 0x40]
mov dword [esi + 0x14], 0
add esp, 0xc
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
push eax
mov dword [esi + 0x34], 0
push 1
push 0x2000c
mov dword [esi + 0xc], 0x564f5054
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x40], 0xffffffff
call dword [0x6af0c0fc]
push eax
call dword [0x6af0c120]
test eax, eax
jne 0x6aecaf6f
call dword [0x6af0c038]
mov ecx, eax
test ecx, ecx
jne 0x6aecaf53
mov ecx, 0x54f
lea eax, [ecx - 0x3f0]
neg eax
lea ebx, [ecx - 0x3f0]
sbb eax, eax
neg ebx
mov dword [esp + 0x34], eax
sbb ebx, ebx
and ebx, ecx
jmp 0x6aecaf75
mov eax, dword [esp + 0x34]
xor ebx, ebx
mov dword [esi + 0x24], eax
test eax, eax
je 0x6aecafd5
push 0x6aeb2e18
push dword [0x6af090e4]
push dword [0x6af090e0]
call dword [0x6af0c2e0]
test al, al
je 0x6aecafd5
mov ecx, dword [esi + 0x24]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.6af02659
test eax, eax
jne 0x6aecafd5
test byte [0x6af0b68e], 0x40
je 0x6aecafcc
mov eax, dword [esp + 0x10]
mov ecx, 0x6af090e0
push ebx
push dword [eax]
push 0
push dword [esi + 0x24]
call fcn.6af02510
mov ecx, dword [esp + 0x10]
call fcn.6aee2e7b
lea eax, [esi + 0x28]
xor ecx, ecx
push eax
push 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
call dword [0x6af0c2e8]
test eax, eax
je 0x6aecb00c
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
test ebx, ebx
je 0x6aecb030
mov ecx, esi
call fcn.6aee2e7b
mov eax, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.6aee0390
mov esp, ebp
pop ebp
ret 0x18
mov dword [esi], 0x584f4954
mov dword [esi + 4], 1
mov dword [esi + 8], edi
mov eax, dword [edi + 4]
add eax, 4
lock inc dword [eax]
mov eax, dword [ebp + 0x18]
xor ecx, ecx
mov dword [esi + 0x3c], eax
xor ebx, ebx
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x40], eax
lea eax, [esi + 0xdc]
mov dword [esi + 0x38], 0x6af01050
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 2
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x58], eax
test eax, eax
je 0x6aecb0db
mov edx, dword [esp + 0x18]
add edx, 8
nop
cmp dword [edx - 8], 0
jne 0x6aecb152
cmp dword [edx - 4], 0
je 0x6aecb152
mov eax, dword [edx]
test eax, eax
je 0x6aecb152
add eax, ecx
cmp eax, ecx
jb 0x6aecb14b
mov ecx, dword [edx - 4]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x54]
mov dword [eax + ebx*8 + 4], ecx
mov ecx, dword [esi + 0x54]
mov eax, dword [edx]
add edx, 0xc
mov dword [ecx + ebx*8], eax
inc ebx
mov ecx, dword [esp + 0x10]
cmp ebx, dword [ebp + 0x10]
jb 0x6aecb090
lea eax, [edi + 0xc]
push eax
call dword [0x6af0c18c]
add dword [edi + 0x98], 1
je 0x6aecb368
cmp byte [edi + 0x94], 0
jne 0x6aecb368
cmp byte [edi + 0x64], 0
je 0x6aecb368
cmp dword [edi + 0x60], 0
je 0x6aecb368
mov byte [edi + 0x94], 1
mov eax, dword [edi + 4]
add eax, 4
lock inc dword [eax]
test dword [0x7ffe02d0], 0x10000
lea ecx, [edi + 0x68]
mov eax, dword [edi + 0x60]
mov dword [esp + 0x14], eax
je 0x6aecb184
push edi
push 0x6af00d30
mov edx, eax
call fcn.6af03abf
jmp 0x6aecb368
mov edi, 0x216
jmp 0x6aecb157
mov edi, 0x57
mov byte [esi + 0x50], 1
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x6aecb16e
mov ecx, esi
call fcn.6aece799
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.6aee0390
mov esp, ebp
pop ebp
ret 0x18
call dword [0x6af0c1c8]
mov ecx, dword [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x10], ebx
mov eax, edx
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x6aecb257
lea eax, [ecx + 0x3e7]
mov edx, 0x1a9fbe77
mul edx
mov ebx, 0x624dd2f
mov dword [esp + 0x38], eax
mov edi, edx
lea eax, [ecx + 0x3e7]
mov ecx, 0x1a9fbe77
mul ebx
mov ebx, eax
mov dword [esp + 0x20], edx
xor eax, eax
mul ecx
mov ecx, eax
mov dword [esp + 0x28], edx
xor eax, eax
mov edx, 0x624dd2f
mul edx
add ecx, edi
mov edi, 0x3e8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x28]
adc edx, 0
add ebx, ecx
mov ecx, dword [esp + 0x20]
adc ecx, 0
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x14]
xor eax, eax
add edx, ecx
mov ecx, dword [esp + 0x1c]
adc eax, eax
add ecx, edx
mov edx, dword [esp + 0x38]
adc edx, eax
add ebx, 0x3e7
sub ebx, ecx
mov eax, 0
sbb eax, edx
shrd ebx, eax, 1
shr eax, 1
add ebx, ecx
adc eax, edx
shrd ebx, eax, 9
shr eax, 9
mul edi
mov ecx, eax
mov eax, ebx
mov ebx, dword [esp + 0x10]
mul edi
add ecx, edx
add ebx, eax
mov eax, dword [esp + 0x34]
adc eax, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x34], eax
test eax, eax
jne 0x6aecb269
mov eax, 0x10624dd3
mul ebx
mov ebx, edx
shr ebx, 6
jmp 0x6aecb2e8
mov eax, ebx
mov ecx, 0x1a9fbe77
mul ecx
mov dword [esp + 0x38], eax
mov edi, edx
mov eax, ebx
mov edx, 0x624dd2f
mul edx
mov ebx, eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x34]
mul ecx
mov ecx, eax
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x34]
mov edx, 0x624dd2f
mul edx
add ecx, edi
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x38]
adc edx, 0
mov dword [esp + 0x20], eax
add ebx, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x10]
adc ecx, 0
xor eax, eax
add edx, ecx
mov ecx, dword [esp + 0x20]
adc eax, eax
add ecx, edx
mov edx, dword [esp + 0x28]
adc edx, eax
mov eax, dword [esp + 0x34]
sub ebx, ecx
sbb eax, edx
shrd ebx, eax, 1
shr eax, 1
add ebx, ecx
adc eax, edx
shrd ebx, eax, 9
mov eax, ebx
and eax, 0x3ff
lea ecx, [eax + eax*2]
mov eax, dword [0x6af0b6e8]
lea eax, [eax + ecx*4]
add eax, 8
push eax
mov dword [esp + 0x14], eax
call dword [0x6af0c198]
mov eax, dword [0x6af0b6e8]
mov ecx, ebx
mov edi, dword [esp + 0x24]
sub ecx, dword [eax + 4]
test ecx, ecx
jg 0x6aecb322
mov edx, dword [esp + 0x10]
xor bl, bl
jmp 0x6aecb359
mov edx, ebx
lea ebx, [edi + 0x68]
push edi
push 0x6af00d30
mov ecx, ebx
call fcn.6aece8ab
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 8]
lea eax, [edx + 4]
mov byte [esp + 0xf], 1
cmp dword [ecx], eax
jne 0x6aecb4ff
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ecx], ebx
mov dword [eax + 4], ebx
mov bl, byte [esp + 0xf]
push edx
call dword [0x6af0c1a0]
test bl, bl
je 0x6aecb184
lea eax, [edi + 0xc]
push eax
call dword [0x6af0c174]
lea eax, [edi + 0xec]
push eax
mov dword [esp + 0x3c], eax
call dword [0x6af0c190]
cmp dword [edi + 0xf0], 0xffffffff
jne 0x6aecb3a4
mov ebx, dword [edi + 0xa4]
test ebx, ebx
jne 0x6aecb44e
mov ebx, 0x54f
jmp 0x6aecb44e
xor ebx, ebx
cmp byte [edi + 0x205], bl
setne bl
dec ebx
and ebx, 0x3e5
test byte [0x6af0b68d], 1
je 0x6aecb3e8
mov eax, dword [esi + 8]
lea ecx, [esi + 0xc]
push 0
push 0
push 0
push ecx
push dword [esi + 0x54]
mov edx, 0x6aeb4388
push 0
push dword [eax + 0xf0]
push dword [esp + 0x34]
push dword [eax + 4]
call fcn.6af0090b
lea eax, [esi + 4]
lock inc dword [eax]
push dword [edi + 0xf4]
call dword [0x6af0c20c]
push 0
lea eax, [esi + 0x10]
push eax
push 0
lea eax, [esp + 0x54]
push eax
push dword [esi + 0x58]
push dword [esi + 0x54]
push dword [edi + 0xf0]
call dword [0x6af0e0c8]
cmp eax, 0xffffffff
jne 0x6aecb427
mov cl, 1
call fcn.6aeceefb
mov ebx, eax
cmp ebx, 0x3e5
je 0x6aecb43b
push dword [edi + 0xf4]
call dword [0x6af0c224]
or eax, 0xffffffff
lea ecx, [esi + 4]
lock xadd dword [ecx], eax
jne 0x6aecb44e
mov ecx, esi
call fcn.6aece799
push dword [esp + 0x38]
call dword [0x6af0c194]
cmp ebx, 0x3e5
je 0x6aecb773
mov edi, dword [esi + 8]
mov byte [esi + 0x50], 1
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
lea eax, [edi + 0xc]
mov dword [esp + 0x10], edi
push eax
mov dword [esp + 0x20], eax
call dword [0x6af0c18c]
dec dword [edi + 0x98]
add edi, 0x68
test dword [0x7ffe02d0], 0x10000
je 0x6aecb4a6
mov ecx, edi
call fcn.6af03969
jmp 0x6aecb556
xor al, al
cmp dword [edi + 8], 0
je 0x6aecb556
mov eax, dword [edi + 0xc]
and eax, 0x3ff
lea ecx, [eax + eax*2]
mov eax, dword [0x6af0b6e8]
lea eax, [eax + ecx*4]
add eax, 8
push eax
mov dword [esp + 0x3c], eax
call dword [0x6af0c198]
cmp dword [edi + 8], 0
je 0x6aecb506
mov eax, dword [edi]
cmp dword [eax + 4], edi
jne 0x6aecb4ff
mov ecx, dword [edi + 4]
cmp dword [ecx], edi
jne 0x6aecb4ff
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov dword [edi + 4], edi
mov dword [edi], edi
mov dword [edi + 8], 0
mov byte [esp + 0xf], 1
jmp 0x6aecb50c
mov ecx, 3
int 0x29
xor al, al
mov byte [esp + 0xf], al
push dword [esp + 0x38]
call dword [0x6af0c1a0]
mov al, byte [esp + 0xf]
test al, al
je 0x6aecb57b
test byte [0x6af0b68e], 0x40
je 0x6aecb538
push 1
push edi
mov edx, 0x6aeb2d58
call fcn.6af009b6
mov al, byte [esp + 0xf]
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x6aecb556
cmp ecx, 0xffffffff
je 0x6aecb556
push ecx
call dword [0x6af0c05c]
mov al, byte [esp + 0xf]
mov dword [edi + 0x10], 0xffffffff
test al, al
je 0x6aecb57b
mov ecx, dword [esp + 0x10]
mov eax, 0xffffffff
mov byte [ecx + 0x94], 0
mov edx, dword [ecx + 4]
lock xadd dword [edx + 4], eax
jne 0x6aecb57f
mov ecx, edx
call fcn.6aed81f3
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x98], 0
je 0x6aecb5d0
cmp byte [ecx + 0x94], 0
jne 0x6aecb5d0
cmp byte [ecx + 0x64], 0
je 0x6aecb5d0
cmp dword [ecx + 0x60], 0
je 0x6aecb5d0
mov byte [ecx + 0x94], 1
mov eax, dword [ecx + 4]
add eax, 4
lock inc dword [eax]
test dword [0x7ffe02d0], 0x10000
mov edx, dword [ecx + 0x60]
push ecx
push 0x6af00d30
mov ecx, edi
je 0x6aecb5cb
call fcn.6af03abf
jmp 0x6aecb5d0
call fcn.6aecdd60
push dword [esp + 0x1c]
call dword [0x6af0c174]
test byte [0x6af0b68d], 1
je 0x6aecb60b
mov eax, dword [esi + 8]
lea ecx, [esi + 0xc]
push 0
push dword [esp + 0x1c]
mov edx, 0x6aeb2e28
push ebx
push ecx
push dword [esi + 0x54]
push 0
push dword [eax + 0xf0]
push 0
push dword [eax + 4]
call fcn.6af0090b
cmp byte [esi + 0x50], 0
mov eax, dword [esp + 0x18]
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], eax
jne 0x6aecb631
mov edi, dword [esi + 0x3c]
mov ecx, edi
push eax
push ebx
push dword [esi + 0x40]
mov byte [esi + 0x50], 1
call dword [0x6af0c358]
call edi
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x6aecb78c
mov eax, dword [esi + 8]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x6aecb697
mov ecx, dword [esi + 0xc4]
test ecx, ecx
je 0x6aecb673
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x6aecb669
call fcn.6aec218c
mov dword [esi + 0xc4], 0
mov ecx, dword [esi + 0xc0]
test ecx, ecx
je 0x6aecb6e0
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x6aecb68b
call fcn.6aed8680
mov dword [esi + 0xc0], 0
jmp 0x6aecb6e0
cmp eax, 1
jne 0x6aecb6e0
mov ecx, dword [esi + 0x84]
test ecx, ecx
je 0x6aecb6be
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x6aecb6b4
call fcn.6aec218c
mov dword [esi + 0x84], 0
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x6aecb6e0
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x6aecb6d6
call fcn.6aed8680
mov dword [esi + 0x80], 0
cmp byte [esi + 0x50], 0
jne 0x6aecb6ff
push dword [esi + 0x48]
mov edi, dword [esi + 0x3c]
mov ecx, edi
push dword [esi + 0x44]
push dword [esi + 0x40]
call dword [0x6af0c358]
call edi
or edi, 0xffffffff
cmp byte [esi + 0x51], 0
je 0x6aecb716
mov ecx, dword [esi + 0x54]
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x6aecb716
call fcn.6aec218c
mov ecx, dword [esi + 0x24]
lea eax, [esi + 0xc]
test ecx, ecx
je 0x6aecb72f
cmp ecx, 0xffffffff
je 0x6aecb72f
push ecx
call dword [0x6af0c05c]
lea eax, [esi + 0xc]
mov dword [eax + 0x18], 0xffffffff
mov ecx, esi
mov dword [eax], 0x766f7074
mov dword [esi], 0x786f6974
call fcn.6aee2e7b
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
lock xadd dword [ecx + 4], edi
dec edi
jne 0x6aecb78c
call fcn.6aed81f3
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.6aee0390
mov esp, ebp
pop ebp
ret 0x18
test byte [0x6af0b68e], 0x40
je 0x6aecb78c
push 3
lea eax, [esi + 0xc]
mov edx, 0x6aeb2c88
push eax
call fcn.6af009b6
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.6aee0390
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0x4c]
mov eax, 0x216
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.6aee0390
mov esp, ebp
pop ebp
ret 0x18