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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569754
mov eax, dword fs:[0]
push eax
mov eax, 0x20d0
call fcn.00528110
mov eax, dword [0x5c5ebc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x209c], ecx
mov byte [ebp - 0x101c], 0
push 0x1000
push 0
lea eax, [ebp - 0x101b]
push eax
call fcn.005281f0
add esp, 0xc
mov dword [ebp - 0x10], 0x1000
mov ecx, dword [ebp + 0x14]
push ecx
push 0x5836d4
lea edx, [ebp - 0x101c]
push edx
call fcn.0052a9d1
add esp, 0xc
lea eax, [ebp - 0x101c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x209c]
call fcn.004c81b0
test eax, eax
jne 0x4850f2
xor eax, eax
jmp 0x48542f
mov byte [ebp - 0x2024], 0
push 0x1000
push 0
lea edx, [ebp - 0x2023]
push edx
call fcn.005281f0
add esp, 0xc
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push str.CONNECT__s:_d
lea edx, [ebp - 0x2024]
push edx
call fcn.0052a9d1
add esp, 0x10
lea ecx, [ebp - 0x2050]
call fcn.00460d70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2050]
push eax
push 4
mov ecx, 0x5ca8a8
call fcn.0048bcd0
mov dword [ebp - 0x2028], 0
cmp dword [0x5ec65c], 0
je 0x485194
mov dword [ebp - 0x2064], 0x10
lea ecx, [ebp - 0x2064]
push ecx
lea edx, [ebp - 0x2060]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_getsockname]
mov edx, dword [ebp - 0x205c]
mov dword [ebp - 0x2028], edx
mov eax, dword [ebp - 0x2028]
push eax
lea ecx, [ebp - 0x2050]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x206c]
push ecx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x20a0], eax
mov edx, dword [ebp - 0x20a0]
mov dword [ebp - 0x20a4], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20a4]
call fcn.00415f60
push eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x209c]
call fcn.004c8720
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x2065], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x206c]
call fcn.00415e20
movzx edx, byte [ebp - 0x2065]
test edx, edx
je 0x485307
push ecx
mov ecx, esp
mov dword [ebp - 0x2070], esp
push 0x5836f8
call fcn.00415da0
mov dword [ebp - 0x20a8], eax
mov eax, dword [ebp - 0x20a8]
mov dword [ebp - 0x20ac], eax
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x2074], esp
push 0x5836fc
call fcn.00415da0
mov dword [ebp - 0x20b0], eax
mov ecx, dword [ebp - 0x20b0]
mov dword [ebp - 0x20b4], ecx
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x2078], esp
push 0x583700
call fcn.00415da0
mov dword [ebp - 0x20b8], eax
mov edx, dword [ebp - 0x20b8]
mov dword [ebp - 0x20bc], edx
mov byte [ebp - 4], 4
push 0
push 0
push 0x190
push ecx
mov eax, esp
mov dword [ebp - 0x207c], esp
lea ecx, [ebp - 0x2024]
push ecx
push eax
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x20c0], eax
mov edx, dword [ebp + 8]
push edx
mov byte [ebp - 4], 0
mov ecx, 0x5c8578
call fcn.004514c0
push str.failed__r_n
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x209c]
call fcn.004c81b0
mov dword [ebp - 0x2080], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2050]
call fcn.00460d20
mov eax, dword [ebp - 0x2080]
jmp 0x48542f
push ecx
mov ecx, esp
mov dword [ebp - 0x2084], esp
push 0x58371c
call fcn.00415da0
mov dword [ebp - 0x20c4], eax
mov ecx, dword [ebp - 0x20c4]
mov dword [ebp - 0x20c8], ecx
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x2088], esp
push 0x583720
call fcn.00415da0
mov dword [ebp - 0x20cc], eax
mov edx, dword [ebp - 0x20cc]
mov dword [ebp - 0x20d0], edx
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x208c], esp
push 0x583724
call fcn.00415da0
mov dword [ebp - 0x20d4], eax
mov eax, dword [ebp - 0x20d4]
mov dword [ebp - 0x20d8], eax
mov byte [ebp - 4], 7
push 0
push 0
push 0xc8
push ecx
mov ecx, esp
mov dword [ebp - 0x2090], esp
lea edx, [ebp - 0x2024]
push edx
push ecx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x20dc], eax
mov eax, dword [ebp + 8]
push eax
mov byte [ebp - 4], 0
mov ecx, 0x5c8578
call fcn.004514c0
push str.OK__r_n
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x209c]
call fcn.004c81b0
test eax, eax
jne 0x4853f8
mov dword [ebp - 0x2094], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2050]
call fcn.00460d20
mov eax, dword [ebp - 0x2094]
jmp 0x48542f
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x209c]
call fcn.004c81e0
mov dword [ebp - 0x2098], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2050]
call fcn.00460d20
mov eax, dword [ebp - 0x2098]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00527aad
mov esp, ebp
pop ebp
ret 0x14