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

Disassembly:
sub esp, 0x298
mov eax, dword [0x80100c]
xor eax, esp
mov dword [esp + 0x294], eax
mov eax, dword [esp + 0x29c]
push ebx
push ebp
mov ebp, dword [eax]
xor ebx, ebx
push esi
mov dword [esp + 0x10], ebx
mov esi, dword [ebp + 0x9dc]
push edi
movzx edi, word [ebp + 0x5f8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x5fc]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
cmp esi, ebx
jne 0x468eb7
cmp di, bx
je 0x4692f7
push 0x80
lea ecx, [esp + 0x28]
push ebx
push ecx
call fcn.00563860
add esp, 0xc
cmp esi, ebx
je 0x469282
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x468ed7
sub eax, edx
cmp eax, 0xff
jae 0x469282
push 0xff
lea edx, [esp + 0xa9]
push ebx
push edx
mov byte [esp + 0xb0], bl
call fcn.00563860
mov edx, dword [0x7fbad4]
mov eax, edx
add esp, 0xc
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x468f13
sub eax, edi
push eax
push esi
push edx
call fcn.005673f1
add esp, 0xc
test eax, eax
jne 0x468fa4
mov eax, dword [0x7fbad4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x468f33
sub eax, edx
add esi, eax
mov ebx, 1
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x2f4]
mov edi, dword [esp + 0x2b4]
push 0x100
lea eax, [esp + 0xa8]
push eax
mov eax, dword [esp + 0x2c0]
push esi
push edx
push eax
push edi
call fcn.0045bcb0
add esp, 0x18
sub eax, 0
je 0x468feb
sub eax, 1
je 0x468fe1
sub eax, 1
jne 0x469003
push edi
lea ecx, [esp + 0xa8]
push ecx
push esi
push 0x74d1fc
push ebp
call fcn.00463b80
add esp, 0x14
jmp 0x4690d6
mov edx, dword [0x7fbad8]
mov eax, edx
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x468fb0
sub eax, edi
push eax
push esi
push edx
call fcn.005673f1
add esp, 0xc
test eax, eax
jne 0x468f43
mov eax, dword [0x7fbad8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x468fd4
sub eax, edx
add esi, eax
jmp 0x46900b
mov eax, 1
jmp 0x469331
test ebx, ebx
je 0x46900b
push esi
push 0x74d1dc
push ebp
call fcn.00463c60
add esp, 0xc
jmp 0x46932c
test ebx, ebx
jne 0x469264
mov eax, dword [esp + 0x2b4]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 0x5f8]
cmp eax, 2
jne 0x46902f
mov ebx, edx
mov dword [ebx + 0x5f8], 1
jmp 0x469046
cmp eax, 0x17
jne 0x469044
mov eax, edx
mov dword [eax + 0x5f8], 2
mov ebx, eax
jmp 0x469046
mov ebx, edx
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push esi
push ebx
call fcn.0048c2d0
add esp, 0x14
cmp eax, 1
jne 0x46906c
lea edx, [esp + 0x14]
push edx
push ebx
call fcn.0045a360
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x5f8], edi
test eax, eax
je 0x469264
mov edx, dword [eax]
push 0x100
lea ecx, [esp + 0xa8]
push ecx
push edx
call fcn.0048b850
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov edi, dword [esp + 0x2c0]
push edx
lea eax, [esp + 0xb4]
push eax
push edi
push esi
push 0x74d1ac
push ebp
call fcn.00463b80
mov ecx, dword [esp + 0x38]
push ecx
push ebp
call fcn.0048c560
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
add esp, 0x2c
cmp edi, dword [eax + 4]
jne 0x468fe1
cmp edi, 0x17
jne 0x469219
lea ecx, [esp + 0xa4]
push 0x25
push ecx
call fcn.00567970
mov esi, eax
add esp, 8
test esi, esi
je 0x4690fb
mov byte [esi], 0
inc esi
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0xa8]
push eax
push 0x17
call fcn.00492af0
add esp, 0xc
test eax, eax
jle 0x469141
mov edx, dword [esp + 0x1c]
mov ecx, 0x17
push edx
mov word [esp + 0x28], cx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x26], ax
test esi, esi
je 0x469141
push esi
call fcn.00568543
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], 0x1c
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x2b0]
push eax
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jge 0x4691b1
mov ebx, dword [sym.imp.WS2_32.dll_ntohs]
nop
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x20], eax
test eax, eax
jle 0x4692fb
movzx edx, di
push edx
push 0x74d180
push ebp
call fcn.00463b80
add esp, 0xc
inc edi
push edi
call ebx
mov word [esp + 0x26], ax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jl 0x469170
push 0x80
lea edx, [esp + 0xa8]
push 0
push edx
mov dword [esp + 0x2c], 0x80
call fcn.00563860
add esp, 0xc
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xa8]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jge 0x4692d7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x100
lea edx, [esp + 0x1a8]
mov esi, eax
push edx
push esi
mov dword [ebp + 0xeb4], esi
call fcn.00491d10
push eax
push esi
push 0x74d158
jmp 0x469323
cmp edi, 2
jne 0x469149
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xa8]
push ecx
push edi
call fcn.00492af0
add esp, 0xc
test eax, eax
jle 0x469149
mov eax, dword [esp + 0x1c]
mov edx, edi
push eax
mov word [esp + 0x28], dx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x26], ax
mov dword [esp + 0x18], 0x10
jmp 0x469149
push esi
push 0x74d140
push ebp
mov dword [ebp + 0x1248], 0
call fcn.00463c60
add esp, 0xc
jmp 0x46932c
mov eax, dword [esp + 0x2b4]
cmp eax, 0x17
jne 0x4692ae
mov ecx, eax
push edi
mov word [esp + 0x28], cx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x26], ax
mov dword [esp + 0x18], 0x1c
jmp 0x46914d
cmp eax, 2
jne 0x46914d
mov edx, eax
push edi
mov word [esp + 0x28], dx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x26], ax
mov dword [esp + 0x18], 0x10
jmp 0x46914d
movzx eax, di
push eax
push 0x74d12c
push ebp
call fcn.00463b80
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [ecx + 0x59c], 1
xor eax, eax
jmp 0x469331
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x100
lea edx, [esp + 0x1a8]
mov esi, eax
push edx
push esi
mov dword [ebp + 0xeb4], esi
call fcn.00491d10
push eax
push esi
push 0x74d10c
push ebp
call fcn.00463c60
add esp, 0x1c
mov eax, 0x2d
mov ecx, dword [esp + 0x2a4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005635df
add esp, 0x298
ret