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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1007c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
movsd qword [ebp - 0x30], xmm2
mov ebx, edx
push edi
mov dword [ebp - 0x1c], ebx
mov eax, dword [esi + 0x7c]
test al, 8
je 0x10025dca
test ebx, ebx
je 0x10025dbe
xor edx, edx
mov dword [ebp - 0x18], edx
test al, 2
jne 0x10025dba
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 4
push eax
lea eax, [ebp - 0x18]
push eax
push 0x1007
push 0xffff
push dword [esi + 0x10]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
je 0x10025da5
mov edx, 1
mov ecx, esi
mov dword [ebp - 0x18], edx
jmp 0x10025dc5
mov edx, dword [ebp - 0x18]
cmp edx, 0xb
je 0x10025db5
cmp edx, 0x8c
jne 0x10025dba
xor edx, edx
mov dword [ebp - 0x18], edx
mov ecx, esi
jmp 0x10025dc5
mov edx, dword [esi + 0x14]
test edx, edx
je 0x10025dca
call fcn.100254a0
test bl, 1
je 0x10025ec2
mov eax, dword [esi + 0x7c]
test al, 2
je 0x10025e3a
push 0x5dc
mov dword [ebp - 0x18], 0x10
call fcn.100335fb
mov edi, eax
add esp, 4
test edi, edi
jne 0x10025df9
lea ebx, [eax - 0xc]
jmp 0x10025e21
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x5dc
push edi
push dword [esi + 0x10]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ebx, eax
test ebx, ebx
jg 0x10025e21
push edi
call fcn.100335f6
add esp, 4
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, edi
push eax
push ebx
mov ecx, esi
call fcn.10025260
add esp, 0xc
jmp 0x10025ebf
test al, 1
je 0x10025e47
mov ecx, esi
call fcn.10025980
jmp 0x10025ec2
push 0x400
call fcn.100335fb
mov edi, eax
add esp, 4
test edi, edi
je 0x10025ec2
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x30]
cmp ecx, eax
jae 0x10025e68
xor ecx, ecx
jmp 0x10025e74
sub ecx, eax
mov eax, 0x400
cmp ecx, eax
cmova ecx, eax
push 0
push ecx
push edi
push dword [esi + 0x10]
call dword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test ebx, ebx
jle 0x10025e97
push ecx
push ebx
mov edx, edi
mov ecx, esi
call fcn.10025150
add esp, 8
jmp 0x10025ea0
push edi
call fcn.100335f6
add esp, 4
test ebx, ebx
jne 0x10025ead
or dword [esi + 0x7c], 0x400
jmp 0x10025ebf
mov ecx, ebx
call fcn.10025700
test eax, eax
je 0x10025ebf
or dword [esi + 0x7c], 0x800
mov ebx, dword [ebp - 0x1c]
test dword [esi + 0x7c], 0x800
jne 0x10025f60
test bl, 2
je 0x10025ee1
cmp dword [esi + 0x3c], 0
jbe 0x10025ee1
mov ecx, esi
call fcn.10025bf0
movsd xmm0, qword [ebp - 0x30]
call fcn.1005f0df
mov ebx, dword [esi + 0x7c]
mov dword [ebp - 0x20], eax
mov eax, ebx
and al, 0x30
mov dword [ebp - 0x1c], edx
cmp al, 0x10
je 0x10025f54
mov edi, dword [esi + 0x58]
test edi, edi
jne 0x10025f0a
mov edi, dword [esi + 0x64]
test edi, edi
je 0x10025f54
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push eax
push 0
push esi
call edi
mov ecx, dword [ebp - 0x24]
add esp, 0xc
sub ecx, dword [esi + 0x30]
cmp edi, dword [esi + 0x64]
jne 0x10025f3a
mov eax, dword [esi + 0x7c]
cmp eax, ebx
je 0x10025f3a
xor eax, ebx
and eax, 0x3f03d00
xor eax, ebx
mov dword [esi + 0x7c], eax
test ecx, ecx
je 0x10025f54
test byte [esi + 0x7c], 2
jne 0x10025f54
mov eax, dword [esi + 0x78]
push ecx
push esi
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x2c]
call eax
add esp, 8
movsd xmm1, qword [ebp - 0x30]
mov ecx, esi
call fcn.10024a40
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10027b68
mov esp, ebp
pop ebp
ret