Function at 0x75605d36
Capabilities:
Get local ipv4 addresses
Get socket information
Get socket status
Receive data
Receive data on socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x98]
mov dword [ebp - 4], edi
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x75605d66
test byte [eax + 0x1c], 0x80
jne 0x7560dd5b
xor ecx, ecx
cmp edi, ecx
je 0x75605f0d
cmp edi, 0xffffffff
je 0x75605f0d
mov eax, dword [esi + 0xb0]
xor edx, edx
mov ebx, 0x3e8
div ebx
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x114], 1
imul edx, edx, 0x3e8
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xd4]
mov dword [ebp - 0xc], edx
cmp eax, ecx
jne 0x7560dd88
lea ebx, [esi + 0xde]
mov dword [ebp + 8], 2
lea eax, [ebp - 0x10]
push eax
push ecx
push ecx
lea eax, [ebp - 0x114]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x7560ddd5
push 0
push dword [ebp + 8]
push ebx
push edi
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x75605e03
test dword [eax + 0x1c], 0x200
jne 0x7560dd99
test edi, edi
je 0x7560ddf7
cmp edi, 0xffffffff
je 0x7560de85
sub dword [ebp + 8], edi
add ebx, edi
cmp dword [ebp + 8], 0
jne 0x75605e74
lea eax, [esi + 0xe0]
cmp ebx, eax
ja 0x75605e9a
lea edi, [esi + 0xde]
movzx eax, word [edi]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov word [edi], ax
cmp ax, 0xc
jb 0x75605eff
movzx edi, ax
mov dword [ebp + 8], edi
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x75605e68
test dword [eax + 0x1c], 0x200
jne 0x7560ddb9
cmp edi, dword [esi + 0xa0]
ja 0x75605eff
lea eax, [ebp - 0x10]
push eax
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x114]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x7560ddd5
mov edi, dword [ebp - 4]
jmp 0x75605ddb
lea eax, [esi + 0x70]
push eax
mov dword [eax], 0x20
lea eax, [esi + 0x50]
push eax
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x7560de85
xor ecx, ecx
lea eax, [esi + 0xe0]
mov dword [esi + 0x90], ecx
mov byte [esi + 0xcc], 1
mov dword [esi + 0xd4], ecx
rol word [eax], 8
rol word [eax + 4], 8
rol word [eax + 6], 8
rol word [eax + 8], 8
rol word [eax + 0xa], 8
push 1
push ecx
push esi
call fcn.755fa836
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
add esi, 0x10
push esi
call fcn.7562156a
jmp 0x7560de6c
push 0x57
pop eax
jmp 0x75605ef8
push dword [esi + 0xb0]
movzx ecx, word [esi + 0xdc]
push ecx
push dword [esi + 0xa0]
push edi
push esi
push 0x755f8d00
push 0x3b
push dword [eax + 0x14]
push dword [eax + 0x10]
call 0x7561be41
jmp 0x75605d66
mov ebx, eax
movzx eax, word [esi + 0xdc]
mov dword [ebp + 8], eax
jmp 0x75605dbf
push dword [ebp - 4]
push edi
push 0x755f8d00
push 0x3c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.75618ddf
mov eax, dword [0x7562a848]
jmp 0x75605e03
push esi
push dword [ebp - 4]
push edi
push 0x755f8d00
push 0x3d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.75618e84
jmp 0x75605e68
jge 0x7560dde2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x75605ef8
push 1
mov edi, 0x5b4
push edi
push esi
call fcn.755fa836
mov eax, edi
jmp 0x75605ef8
cmp eax, 0x7562a848
je 0x7560de21
test dword [eax + 0x1c], 0x200
je 0x7560de21
push dword [ebp - 4]
push 0x755f8d00
push 0x41
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.756142f2
mov eax, dword [0x7562a848]
lea ecx, [esi + 0xde]
cmp word [ecx], 0
jne 0x7560de3a
cmp ebx, ecx
jne 0x7560de3a
mov dword [ebp - 8], 0x251f
jmp 0x7560de7d
cmp eax, 0x7562a848
je 0x75605eff
test dword [eax + 0x1c], 0x2000000
je 0x75605eff
push dword [ebp + 8]
push 0x755f8d00
push 0x42
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.756142f2
jmp 0x75605eff
mov dword [ebp - 8], 0x251e
cmp dword [ebp - 8], 0
je 0x7560df3b
mov eax, dword [ebp - 8]
jmp 0x75605ef8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea eax, [esi + 0xde]
mov dword [ebp - 8], ecx
cmp ebx, eax
jne 0x7560dedf
cmp ecx, 0x274a
je 0x7560deb2
cmp ecx, 0x2745
je 0x7560deb2
cmp ecx, 0x2746
jne 0x7560dedf
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x7560de73
test dword [eax + 0x1c], 0x200
je 0x7560de73
push dword [ebp - 4]
push ecx
push 0x755f8d00
push 0x3f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.75618ddf
jmp 0x7560de73
mov eax, dword [0x7562a848]
mov edi, 0xde
cmp eax, 0x7562a848
je 0x7560df16
test dword [eax + 0x1c], 0x2000000
je 0x7560df16
push ecx
push dword [ebp + 8]
mov ecx, ebx
sub ecx, esi
sub ecx, edi
push ecx
push 0x755f8d00
push 0x40
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.75618e84
push dword [ebp - 8]
sub ebx, esi
push dword [ebp + 8]
sub ebx, edi
push ebx
push dword [ebp - 4]
push 0x7560df78
push 0x7560df48
call fcn.75625904
add esp, 0x18
jmp 0x7560de73
mov eax, 0x251e
jmp 0x75605ef8