Function at 0x4eb7f0
Capabilities:
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
push 0x20
mov eax, 0x5d9ed9
call fcn.00523519
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x2c], esi
call fcn.004d210d
mov dword [ebp - 4], ebx
push ebx
lea ecx, [esi + 0xa0]
call fcn.004d210d
mov byte [ebp - 4], 1
lea eax, [esi + 0x140]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov byte [ebp - 4], 2
lea ecx, [esi + 0x16c]
call fcn.004eb7af
mov byte [ebp - 4], 3
lea ecx, [esi + 0x1a8]
call fcn.004ac634
mov byte [ebp - 4], 4
lea ecx, [esi + 0x1cc]
call fcn.004ac634
mov byte [ebp - 4], 5
lea ecx, [esi + 0x1f4]
call fcn.004ac634
mov byte [ebp - 4], 6
lea ecx, [esi + 0x224]
call fcn.004ac634
mov byte [ebp - 4], 7
lea eax, [esi + 0x254]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov byte [ebp - 4], 8
lea ecx, [esi + 0x26c]
call fcn.004ac634
mov byte [ebp - 4], 9
lea eax, [esi + 0x2a8]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x300]
call fcn.004ac634
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 8]
or dword [esi + 0x164], 0xffffffff
or dword [esi + 0x168], 0xffffffff
mov dword [esi + 0x160], eax
mov dword [esi + 0x21c], 0xfffffff
mov word [esi + 0x220], bx
mov dword [esi + 0x218], ebx
mov dword [esi + 0x1f0], ebx
mov byte [esi + 0x178], bl
mov byte [esi + 0x188], bl
mov dword [esi + 0x18c], ebx
mov dword [esi + 0x190], ebx
mov dword [esi + 0x194], ebx
mov dword [esi + 0x360], ebx
mov dword [esi + 0x364], ebx
mov dword [esi + 0x36c], ebx
mov dword [esi + 0x368], ebx
mov byte [esi + 0x294], bl
mov dword [esi + 0x298], ebx
mov dword [esi + 0x2b8], ebx
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2c0], ebx
mov dword [esi + 0x2c4], ebx
mov dword [esi + 0x2c8], ebx
mov dword [esi + 0x268], ebx
mov byte [esi + 0x249], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x24c], eax
mov eax, 0x989680
mov dword [esi + 0x198], eax
mov dword [esi + 0x19c], eax
push 2
pop eax
mov dword [esi + 0x158], eax
mov dword [esi + 0x15c], eax
mov dword [esi + 0x250], ebx
mov dword [esi + 0x290], 0x7a120
mov dword [esi + 0x1a0], ebx
mov dword [esi + 0x1a4], ebx
mov byte [esi + 0x248], bl
mov dword [esi + 0x184], ebx
mov byte [esi + 0x264], bl
inc dword [0x74c550]
mov eax, dword [0x74c550]
mov dword [esi + 0x29c], eax
mov eax, dword [ebp + 0xc]
push 0x28
mov dword [esi + 0x2cc], eax
lea eax, [esi + 0x324]
push ebx
push eax
mov byte [esi + 0x2a0], bl
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2f0], ebx
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2f8], 0x1388
mov dword [esi + 0x2fc], ebx
call fcn.00522720
push 0x10
lea eax, [esi + 0x2e0]
push ebx
push eax
call fcn.00522720
push 0x10
lea eax, [esi + 0x2d0]
push ebx
push eax
call fcn.00522720
mov eax, dword [esi + 0x160]
add esp, 0x24
cmp eax, 0xffffffff
je 0x4ebaf0
mov edi, dword [sym.imp.WSOCK32.dll_setsockopt]
push 4
lea ecx, [ebp - 0x28]
push ecx
push 0x1001
push 0xffff
push eax
mov dword [ebp - 0x28], 0x8064
call edi
push 4
lea eax, [ebp - 0x28]
push eax
push 0x1002
push 0xffff
push dword [esi + 0x160]
call edi
push 0x10
pop eax
push eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.00522720
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x160]
call dword [sym.imp.WSOCK32.dll_getsockname]
test eax, eax
mov edi, dword [sym.imp.WSOCK32.dll_ntohs]
jne 0x4ebac3
push dword [ebp - 0x1e]
call edi
cmp ax, 0x50
jne 0x4ebac3
push 5
pop eax
mov dword [esi + 0x158], eax
mov dword [esi + 0x15c], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x160]
call dword [sym.imp.WSOCK32.dll_getpeername]
test eax, eax
jne 0x4ebaf0
push dword [ebp - 0x1e]
call edi
mov word [esi + 0x220], ax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x1f0], eax
mov dword [esi + 0x358], ebx
mov dword [esi + 0x35c], ebx
mov dword [esi + 0x350], ebx
mov dword [esi + 0x354], ebx
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0052359c
ret 8