Function at 0x6aecc890
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x6af09160]
xor eax, esp
mov dword [esp + 0x48], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0x14]
push ebx
push esi
push edi
mov dword [ecx], 0
mov edi, dword [eax + 0x1c]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x2c], edi
cmp eax, 0x1fffffff
jae 0x6aeccf17
lea ebx, [eax*8 + 0xdc]
cmp ebx, 0xdc
jb 0x6aeccf17
mov ecx, ebx
call fcn.6aee2e74
mov esi, eax
test esi, esi
je 0x6aecca6f
push ebx
push 0
push esi
call fcn.6aee0e40
mov dword [esi + 0x10], 0
lea eax, [esi + 0xc]
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
mov dword [esi + 0x34], 0
mov dword [esp + 0x18], eax
mov dword [eax], 0x564f5054
lea eax, [esp + 0x38]
push eax
push 1
push 0x2000c
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x44], 0xffffffff
call dword [0x6af0c0fc]
push eax
call dword [0x6af0c120]
test eax, eax
jne 0x6aecc9ca
call dword [0x6af0c038]
mov ecx, eax
test ecx, ecx
jne 0x6aecc9ae
mov ecx, 0x54f
lea eax, [ecx - 0x3f0]
neg eax
lea ebx, [ecx - 0x3f0]
sbb eax, eax
neg ebx
mov dword [esp + 0x38], eax
sbb ebx, ebx
and ebx, ecx
jmp 0x6aecc9d0
mov eax, dword [esp + 0x38]
xor ebx, ebx
mov dword [esi + 0x24], eax
test eax, eax
je 0x6aecca30
push 0x6aeb2e18
push dword [0x6af090e4]
push dword [0x6af090e0]
call dword [0x6af0c2e0]
test al, al
je 0x6aecca30
mov ecx, dword [esi + 0x24]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.6af02659
test eax, eax
jne 0x6aecca30
test byte [0x6af0b68e], 0x40
je 0x6aecca27
mov eax, dword [esp + 0xc]
mov ecx, 0x6af090e0
push ebx
push dword [eax]
push 0
push dword [esi + 0x24]
call fcn.6af02510
mov ecx, dword [esp + 0xc]
call fcn.6aee2e7b
mov eax, dword [esp + 0x18]
xor ecx, ecx
add eax, 0x1c
mov dword [esp + 0x40], ecx
push eax
push 1
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
call dword [0x6af0c2e8]
test eax, eax
je 0x6aecca64
xor edx, edx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], edx
test ebx, ebx
je 0x6aecca88
mov ecx, esi
call fcn.6aee2e7b
mov eax, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
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], fcn.6aecbb40
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 3
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x58], eax
test eax, eax
je 0x6aeccb3b
mov edx, dword [esp + 0x30]
add edx, 8
jmp 0x6aeccaf0
cmp dword [edx - 8], 0
jne 0x6aeccbd8
cmp dword [edx - 4], 0
je 0x6aeccbd8
mov eax, dword [edx]
test eax, eax
je 0x6aeccbd8
add eax, ecx
cmp eax, ecx
jb 0x6aeccbd1
mov ecx, dword [edx - 4]
mov dword [esp + 0x14], 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 + 0x14]
cmp ebx, dword [ebp + 0x10]
jb 0x6aeccaf0
lea eax, [edi + 0xc]
push eax
call dword [0x6af0c18c]
add dword [edi + 0x5c], 1
je 0x6aeccb91
cmp byte [edi + 0x58], 0
jne 0x6aeccb91
cmp byte [edi + 0x28], 0
je 0x6aeccb91
cmp dword [edi + 0x24], 0
je 0x6aeccb91
mov byte [edi + 0x58], 1
mov eax, dword [edi + 4]
add eax, 4
lock inc dword [eax]
test dword [0x7ffe02d0], 0x10000
lea ecx, [edi + 0x2c]
mov eax, dword [edi + 0x24]
mov dword [esp + 0x14], eax
je 0x6aeccc10
push edi
push 0x6af00d30
mov edx, eax
call fcn.6af03abf
lea eax, [edi + 0xc]
push eax
call dword [0x6af0c174]
lea eax, [edi + 0xec]
push eax
mov dword [esp + 0x44], eax
call dword [0x6af0c190]
cmp dword [edi + 0xf0], 0xffffffff
jne 0x6aeccdff
mov ebx, dword [edi + 0xa4]
test ebx, ebx
jne 0x6aecced6
mov ebx, 0x54f
jmp 0x6aecced6
mov edi, 0x216
jmp 0x6aeccbdd
mov edi, 0x57
mov byte [esi + 0x50], 1
lea edx, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
jne 0x6aeccbf4
mov ecx, esi
call fcn.6aece799
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
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 + 0xc], ebx
mov eax, edx
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x6aeccce3
lea eax, [ecx + 0x3e7]
mov edx, 0x1a9fbe77
mul edx
mov ebx, 0x624dd2f
mov dword [esp + 0x40], eax
mov edi, edx
lea eax, [ecx + 0x3e7]
mov ecx, 0x1a9fbe77
mul ebx
mov ebx, eax
mov dword [esp + 0x24], edx
xor eax, eax
mul ecx
mov ecx, eax
mov dword [esp + 0x18], edx
xor eax, eax
mov edx, 0x624dd2f
mul edx
add ecx, edi
mov edi, 0x3e8
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x18]
adc edx, 0
add ebx, ecx
mov ecx, dword [esp + 0x24]
adc ecx, 0
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x14]
xor eax, eax
add edx, ecx
mov ecx, dword [esp + 0x28]
adc eax, eax
add ecx, edx
mov edx, dword [esp + 0x40]
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 + 0xc]
mul edi
add ecx, edx
add ebx, eax
mov eax, dword [esp + 0x38]
adc eax, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x38], eax
test eax, eax
jne 0x6aecccf8
mov eax, 0x10624dd3
mul ebx
mov ebx, edx
shr ebx, 6
jmp 0x6aeccd77
mov eax, ebx
mov ecx, 0x1a9fbe77
mul ecx
mov dword [esp + 0x40], eax
mov edi, edx
mov eax, ebx
mov edx, 0x624dd2f
mul edx
mov ebx, eax
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x38]
mul ecx
mov ecx, eax
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x38]
mov edx, 0x624dd2f
mul edx
add ecx, edi
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x40]
adc edx, 0
mov dword [esp + 0x24], eax
add ebx, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0xc]
adc ecx, 0
xor eax, eax
add edx, ecx
mov ecx, dword [esp + 0x24]
adc eax, eax
add ecx, edx
mov edx, dword [esp + 0x18]
adc edx, eax
mov eax, dword [esp + 0x38]
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 + 0x10], eax
call dword [0x6af0c198]
mov eax, dword [0x6af0b6e8]
mov ecx, ebx
mov edi, dword [esp + 0x2c]
sub ecx, dword [eax + 4]
test ecx, ecx
jg 0x6aeccdb1
mov edx, dword [esp + 0xc]
xor bl, bl
jmp 0x6aeccde4
mov edx, ebx
lea ebx, [edi + 0x2c]
push edi
push 0x6af00d30
mov ecx, ebx
call fcn.6aece8ab
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 8]
lea eax, [edx + 4]
mov byte [esp + 0x13], 1
cmp dword [ecx], eax
jne 0x6aeccdf8
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ecx], ebx
mov dword [eax + 4], ebx
mov bl, byte [esp + 0x13]
push edx
call dword [0x6af0c1a0]
test bl, bl
je 0x6aeccc10
jmp 0x6aeccb91
mov ecx, 3
int 0x29
xor ebx, ebx
cmp byte [edi + 0x205], bl
setne bl
dec ebx
and ebx, 0x3e5
test byte [0x6af0b68d], 0x20
je 0x6aecce43
mov eax, dword [esi + 8]
lea ecx, [esi + 0xc]
push 0
push 0
push 0
push ecx
push dword [esi + 0x54]
mov edx, 0x6aeb4228
push 0
push dword [eax + 0xf0]
push dword [esp + 0x4c]
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
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x48]
push eax
push dword [esi + 0x58]
push dword [esi + 0x54]
push dword [edi + 0xf0]
call dword [0x6af0e0ac]
cmp eax, 0xffffffff
jne 0x6aecce94
call dword [0x6af0e0dc]
mov ebx, eax
test ebx, ebx
jne 0x6aecce94
mov ecx, 7
int 0x29
mov ebx, 0x54f
cmp ebx, 0x3e5
je 0x6aecceaa
push dword [edi + 0xf4]
call dword [0x6af0c224]
jmp 0x6aeccec3
test byte [0x6af0b68e], 0x40
je 0x6aeccec3
push 3
lea eax, [esi + 0xc]
mov edx, 0x6aeb2c88
push eax
call fcn.6af009b6
or eax, 0xffffffff
lea edx, [esi + 4]
lock xadd dword [edx], eax
jne 0x6aecced6
mov ecx, esi
call fcn.6aece799
push dword [esp + 0x40]
call dword [0x6af0c194]
cmp ebx, 0x3e5
je 0x6aeccf01
mov byte [esi + 0x50], 1
push dword [esp + 0x3c]
push ebx
push esi
call fcn.6aecbb40
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.6aee0390
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0x54]
mov eax, 0x216
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.6aee0390
mov esp, ebp
pop ebp
ret 0x18