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

Disassembly:
mov eax, 0x17708
call fcn.00403ab0
mov eax, dword [esp + 0x17710]
push ebx
push ebp
push esi
push edi
push 0x60ac24
mov esi, ecx
push eax
call fcn.005f190a
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x5ed3bf
mov ecx, dword [esi]
test ecx, ecx
je 0x5ed5c5
mov edx, dword [ecx]
push 1
push 4
call dword [edx + 8]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x17708
ret 0xc
mov ebp, dword [sym.imp.WS2_32.dll_recv]
xor ebx, ebx
mov ecx, 0x1f40
xor eax, eax
lea edi, [esp + 0x7d18]
mov byte [esp + 0x13], bl
rep stosd dword es:[edi], eax
mov ecx, 0x1f40
xor eax, eax
lea edi, [esp + 0x18]
push eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x17720]
lea eax, [esp + 0x1c]
push 1
push eax
push ecx
call ebp
test eax, eax
jge 0x5ed40c
cmp eax, 0xffffffff
je 0x5ed513
mov byte [esp + 0x13], 1
mov al, byte [esp + 0x18]
cmp al, 0xa
je 0x5ed43d
cmp al, 0xd
je 0x5ed448
lea edx, [esp + 0x18]
lea eax, [esp + 0x7d18]
push edx
push eax
lea ecx, [esp + 0x7d20]
push 0x60b0a0
push ecx
inc ebx
call fcn.005f106c
add esp, 0x10
jmp 0x5ed448
test ebx, ebx
jne 0x5ed446
mov byte [esp + 0x13], 1
xor ebx, ebx
mov al, byte [esp + 0x13]
test al, al
je 0x5ed3db
lea eax, [esp + 0x7d18]
push 0x61d5a4
push eax
call fcn.005f1300
add esp, 8
test eax, eax
je 0x5ed553
lea ecx, [esp + 0x7d18]
sub eax, ecx
cmp eax, 0x32
jge 0x5ed553
mov ecx, 0x1f40
xor eax, eax
lea edi, [esp + 0xfa18]
lea edx, [esp + 0x7d18]
push str.ocation:
push edx
rep stosd dword es:[edi], eax
call fcn.005f1300
add esp, 8
test eax, eax
je 0x5ed545
mov cl, byte [eax + 9]
add eax, 9
test cl, cl
je 0x5ed4d2
lea edx, [esp + 0xfa18]
cmp cl, 0xa
je 0x5ed4d2
cmp cl, 0x20
je 0x5ed4d2
mov byte [edx], cl
mov cl, byte [eax + 1]
inc edx
inc eax
test cl, cl
jne 0x5ed4bd
mov eax, dword [esp + 0x14]
push eax
call fcn.005f1894
mov ecx, dword [esp + 0x17728]
mov edx, dword [esp + 0x17724]
add esp, 4
lea eax, [esp + 0xfa18]
push ecx
mov ecx, dword [esp + 0x17720]
push edx
push eax
push ecx
mov ecx, esi
call fcn.005ed060
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17708
ret 0xc
mov eax, dword [esi]
test eax, eax
je 0x5ed529
mov edi, dword [eax]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esi]
push eax
push 3
call dword [edi + 8]
mov edx, dword [esp + 0x14]
push edx
call fcn.005f1894
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17708
ret 0xc
mov ecx, dword [esi]
test ecx, ecx
je 0x5ed5b8
mov edx, dword [ecx]
push 4
push 6
jmp 0x5ed5b5
xor ebx, ebx
mov eax, dword [esi]
test eax, eax
je 0x5ed562
mov cl, byte [eax + 4]
test cl, cl
jne 0x5ed5ad
mov edx, dword [esp + 0x1771c]
mov ecx, 0x1f40
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
push eax
lea ecx, [esp + 0x1c]
push 0x7d00
push ecx
push edx
call ebp
test eax, eax
jle 0x5ed5d4
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
push edi
push 1
add ecx, eax
add ebx, eax
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esi + 4], ecx
call fcn.005f1564
add esp, 0x10
test eax, eax
je 0x5ed60b
jmp 0x5ed555
mov ecx, dword [esi]
push 0
push 1
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esp + 0x14]
push eax
call fcn.005f1894
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x17708
ret 0xc
cmp eax, 0xffffffff
jne 0x5ed639
mov eax, dword [esi]
test eax, eax
je 0x5ed5ef
mov edi, dword [eax]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esi]
push eax
push 3
call dword [edi + 8]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005f1894
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17708
ret 0xc
mov eax, dword [esi]
test eax, eax
je 0x5ed621
mov ebx, dword [eax]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esi]
push eax
push 4
call dword [ebx + 8]
push edi
call fcn.005f1894
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17708
ret 0xc
mov edx, dword [esp + 0x14]
push edx
call fcn.005f1894
mov eax, dword [esp + 0x17728]
add esp, 4
test eax, eax
je 0x5ed673
cmp ebx, eax
je 0x5ed673
mov ecx, dword [esi]
test ecx, ecx
je 0x5ed664
mov eax, dword [ecx]
push 3
push 4
call dword [eax + 8]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x17708
ret 0xc
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x17708
ret 0xc