Function at 0x4755e0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x475b9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1028], 0xffffffff
jne 0x475b83
push 0x3e8
push 2
push 6
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1028], ebx
inc ebx
jne 0x475660
call sub.wsock32.dll_WSAGetLastError
push eax
call sub.wsock32.dll_WSAGetLastError
mov edx, eax
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00476670
mov ecx, dword [ebp - 0x3c]
mov dl, 1
mov eax, dword [0x474f10]
call fcn.00475364
call fcn.00403690
mov word [ebp - 0x2a], 6
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x28]
mov byte [eax], 0
inc dword [ebp - 8]
inc eax
cmp dword [ebp - 8], 4
jne 0x47566e
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
mov byte [eax], 0
inc dword [ebp - 8]
inc eax
cmp dword [ebp - 8], 6
jne 0x475683
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x11d2]
xchg al, ah
mov word [ebp - 0x1e], ax
push 0xe
lea eax, [ebp - 0x2a]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1028]
push eax
call sub.wsock32.dll_bind
inc eax
jne 0x47571c
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4756e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00475bac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4756f6
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00476670
mov ecx, dword [ebp - 0x40]
mov dl, 1
mov eax, dword [0x474f10]
call fcn.00475364
call fcn.00403690
mov dword [ebp - 8], 0xe
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1028]
push eax
call sub.wsock32.dll_getsockname
inc eax
jne 0x4757a1
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x475765
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00475bac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47577b
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00476670
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x474f10]
call fcn.00475364
call fcn.00403690
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x36]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov bl, byte [eax]
mov byte [edx + ecx + 0x11c8], bl
inc dword [ebp - 8]
inc eax
cmp dword [ebp - 8], 4
jne 0x4757a9
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x32]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov bl, byte [eax]
mov byte [edx + ecx + 0x11cc], bl
inc dword [ebp - 8]
inc eax
cmp dword [ebp - 8], 6
jne 0x4757ca
xor eax, eax
push ebp
push 0x47580c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x11e8]
mov eax, dword [ebp - 4]
call fcn.004765d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475879
xor eax, eax
push ebp
push 0x4758a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dl, byte [eax + 0x11e0]
mov eax, dword [ebp - 4]
call fcn.00476440
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47590f
xor eax, eax
push ebp
push 0x475938
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dl, byte [eax + 0x11bc]
mov eax, dword [ebp - 4]
call fcn.00475eb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4759a5
xor eax, eax
push ebp
push 0x4759ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dl, byte [eax + 0x11be]
mov eax, dword [ebp - 4]
call fcn.00475f60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475a3b
xor eax, eax
push ebp
push 0x475a64
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dl, byte [eax + 0x11c4]
mov eax, dword [ebp - 4]
call fcn.00476010
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475ad1
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
add eax, 0x11c0
push eax
push 0x4006
push 0x3e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1028]
push eax
call sub.wsock32.dll_getsockopt
push 3
push 0x400
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1024]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1028]
push eax
call sub.wsock32.dll_WSAAsyncSelect
inc eax
jne 0x475b83
xor eax, eax
push ebp
push 0x475b41
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00475bac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475b57
call sub.wsock32.dll_WSAGetLastError
push eax
call sub.wsock32.dll_WSAGetLastError
mov edx, eax
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00476670
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x474f10]
call fcn.00475364
call fcn.00403690
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475ba5
lea eax, [ebp - 0x48]
mov edx, 4
call fcn.00403c84
ret