Function at 0x6749e0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x7b7fc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0xc], ecx
push 0x1400
call fcn.0068cac5
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
mov byte [ebp - 0xd], 0
call fcn.00664820
fstp qword [ebp - 0x38]
movsd xmm0, qword [ebp - 0x38]
movsd qword [ebp - 0x58], xmm0
mov eax, 1
test eax, eax
je 0x674dc1
call fcn.00664820
fstp qword [ebp - 0x48]
lea ecx, [ebp - 8]
push ecx
push 0x4004667f
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x74]
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x674aa5
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xa8], 0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xa4], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
xor edx, edx
mov dword [eax + 0x88], ecx
mov dword [eax + 0x8c], edx
mov eax, dword [ebp - 0xc]
xorps xmm0, xmm0
movsd qword [eax + 0x90], xmm0
jmp 0x674dc1
cmp dword [ebp - 8], 0
jne 0x674b07
movsd xmm0, qword [ebp - 0x48]
subsd xmm0, qword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
comisd xmm0, xmmword [ecx + 0xb0]
jb 0x674b07
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xa8], 3
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xa4], 0
mov ecx, dword [ebp - 0xc]
xor edx, edx
xor eax, eax
mov dword [ecx + 0x88], edx
mov dword [ecx + 0x8c], eax
mov ecx, dword [ebp - 0xc]
xorps xmm0, xmm0
movsd qword [ecx + 0x90], xmm0
jmp 0x674dc1
movsd xmm0, qword [ebp - 0x48]
movsd qword [ebp - 0x38], xmm0
push 0
push 0x1400
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x74]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x674dba
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x30
call fcn.00673ea0
movzx ecx, al
test ecx, ecx
jne 0x674b95
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xa4], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xa8], 4
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0068c018
add esp, 4
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x74]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x674e10
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x85]
test edx, edx
je 0x674bd1
mov ecx, dword [ebp - 0xc]
add ecx, 0x30
call fcn.00518080
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x30
call fcn.0048cbd0
push eax
call fcn.00676770
add esp, 8
movzx eax, al
test eax, eax
je 0x674bd1
jmp 0x674dc1
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x85]
test edx, edx
jne 0x674c44
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x674c44
mov ecx, dword [ebp - 0xc]
add ecx, 0x85
push ecx
mov edx, dword [ebp - 0xc]
add edx, 0xa0
push edx
mov eax, dword [ebp - 0xc]
add eax, 0x98
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x30
call fcn.00518080
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x30
call fcn.0048cbd0
push eax
call fcn.00676850
add esp, 0x14
movzx ecx, al
test ecx, ecx
je 0x674c44
mov byte [ebp - 0xd], 1
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x98]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x30
call fcn.00673e40
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x674c8d
mov ecx, dword [ebp - 0xc]
add ecx, 0x30
call fcn.00518080
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x9c]
cmp eax, dword [ebp - 0x3c]
jg 0x674c8d
jl 0x674c83
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x98]
cmp edx, dword [ebp - 0x40]
ja 0x674c8d
jmp 0x674dc1
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x674d7f
push 4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xb8]
push edx
call fcn.00675b90
add esp, 8
movzx eax, al
test eax, eax
je 0x674d7f
movsd xmm0, qword [ebp - 0x48]
subsd xmm0, qword [ebp - 0x58]
movsd qword [ebp - 0x50], xmm0
mov ecx, dword [ebp - 0xc]
add ecx, 0x30
call fcn.00518080
mov dword [ebp - 0x28], eax
movsd xmm0, qword [ebp - 0x50]
comisd xmm0, xmmword [0x73d4f0]
jbe 0x674d10
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
cvtsi2sd xmm0, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x76ea90]
divsd xmm0, qword [ebp - 0x50]
call fcn.0065d880
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
jmp 0x674d1c
xor eax, eax
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0x88], edx
mov dword [ecx + 0x8c], eax
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x98]
sub esi, ecx
mov ecx, dword [eax + 0x9c]
sbb ecx, edx
mov edx, ecx
mov ecx, esi
call fcn.0065d930
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x88]
mov edx, dword [edx + 0x8c]
movsd qword [ebp - 0x60], xmm0
call fcn.0065d930
movsd xmm1, qword [ebp - 0x60]
divsd xmm1, xmm0
mov eax, dword [ebp - 0xc]
movsd qword [eax + 0x90], xmm1
push 8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xb8]
push edx
call fcn.00675b90
add esp, 8
movzx eax, al
test eax, eax
je 0x674db8
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x80], 0
je 0x674db8
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x80]
call fcn.00674950
jmp 0x674dbc
jmp 0x674dc1
jmp 0x674a2f
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0068c018
add esp, 4
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x74]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [ebp - 0x18], 0xffffffff
jne 0x674e08
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xa8], 1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xa4], eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x674e10
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d40e
mov esp, ebp
pop ebp
ret