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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x629af0]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0xa4], ecx
lea edx, [ebp - 0xa0]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0xa4]
mov dx, word [ecx + 0x180]
mov word [ebp - 4], dx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x184]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x3a4]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
jne 0x448ac8
movzx ecx, word [ebp - 4]
test ecx, ecx
jne 0x448ac8
xor eax, eax
jmp 0x448fb8
push 0x80
push 0
lea edx, [ebp - 0xa0]
push edx
call fcn.0057e200
add esp, 0xc
cmp dword [ebp - 0xa8], 0
je 0x448e20
mov eax, dword [ebp - 0xa8]
push eax
call fcn.0057e4d0
add esp, 4
cmp eax, 0xff
jae 0x448e20
mov cl, byte [0x602413]
mov byte [ebp - 0x1a8], cl
push 0xff
push 0
lea edx, [ebp - 0x1a7]
push edx
call fcn.0057e200
add esp, 0xc
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1ac], 0
mov eax, dword [0x6252f8]
push eax
call fcn.0057e4d0
add esp, 4
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [0x6252f8]
push edx
call fcn.0057eb7e
add esp, 0xc
test eax, eax
jne 0x448b94
mov eax, dword [0x6252f8]
push eax
call fcn.0057e4d0
add esp, 4
add eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x1b4], 1
jmp 0x448be2
mov ecx, dword [str.host_]
push ecx
call fcn.0057e4d0
add esp, 4
push eax
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [str.host_]
push eax
call fcn.0057eb7e
add esp, 0xc
test eax, eax
jne 0x448be2
mov ecx, dword [str.host_]
push ecx
call fcn.0057e4d0
add esp, 4
add eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x1ac], 1
cmp dword [ebp - 0x1ac], 0
jne 0x448cb3
push 0x100
lea edx, [ebp - 0x1a8]
push edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x88]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0046fae0
add esp, 0x18
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x448c3f
cmp dword [ebp - 0x244], 1
je 0x448c6f
cmp dword [ebp - 0x244], 2
je 0x448c79
jmp 0x448cb3
cmp dword [ebp - 0x1b4], 0
je 0x448c6d
mov edx, dword [ebp - 0xa8]
push edx
push str.Couldnt_bind_to_interface__s
mov eax, dword [ebp - 0xa4]
push eax
call fcn.004440d0
add esp, 0xc
mov eax, 0x2d
jmp 0x448fb8
jmp 0x448cb3
mov eax, 1
jmp 0x448fb8
mov dword [ebp - 0x1b4], 1
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x1a8]
push edx
mov eax, dword [ebp - 0xa8]
push eax
push str.Local_Interface__s_is_ip__s_using_address_family__i_n
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.00444030
add esp, 0x14
mov dword [ebp - 0x1b0], 1
cmp dword [ebp - 0x1b4], 0
jne 0x448da1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24c]
mov dword [ebp - 0x1bc], eax
cmp dword [ebp + 0x10], 2
jne 0x448ce2
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x24c], 1
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00437bd0
add esp, 0x10
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 1
jne 0x448d1a
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00436fc0
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1bc]
mov dword [ecx + 0x24c], edx
cmp dword [ebp - 8], 0
je 0x448d97
push 0x100
lea eax, [ebp - 0x1a8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call fcn.00437790
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push edx
lea eax, [ebp - 0x1a8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
push str.Name__s_family__i_resolved_to__s_family__i_n
mov eax, dword [ebp - 0xa4]
push eax
call fcn.00444030
add esp, 0x18
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xa4]
push edx
call fcn.00437db0
add esp, 8
mov dword [ebp - 0x1b0], 1
jmp 0x448da1
mov dword [ebp - 0x1b0], 0xffffffff
cmp dword [ebp - 0x1b0], 0
jle 0x448df0
cmp dword [ebp + 0x10], 2
jne 0x448df0
mov eax, dword [ebp - 0x1c]
add eax, 4
push eax
lea ecx, [ebp - 0x1a8]
push ecx
push 2
call fcn.0044bc10
add esp, 0xc
test eax, eax
jle 0x448df0
mov edx, 2
mov eax, dword [ebp - 0x1c]
mov word [eax], dx
movzx ecx, word [ebp - 4]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [ebp - 0x1c]
mov word [edx + 2], ax
mov dword [ebp - 0x10], 0x10
cmp dword [ebp - 0x1b0], 1
jge 0x448e1e
mov eax, dword [ebp - 0xa8]
push eax
push str.Couldnt_bind_to__s
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.004440d0
add esp, 0xc
mov eax, 0x2d
jmp 0x448fb8
jmp 0x448e4a
cmp dword [ebp + 0x10], 2
jne 0x448e4a
mov edx, 2
mov eax, dword [ebp - 0x1c]
mov word [eax], dx
movzx ecx, word [ebp - 4]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [ebp - 0x1c]
mov word [edx + 2], ax
mov dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jl 0x448f18
mov dword [ebp - 0x1c0], 0x80
push 0x80
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.0057e200
add esp, 0xc
lea ecx, [ebp - 0x1c0]
push ecx
lea edx, [ebp - 0x240]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jge 0x448eeb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x8604], edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00435db0
add esp, 8
push eax
mov edx, dword [ebp - 0x18]
push edx
push str.getsockname___failed_with_errno__d:__s
mov eax, dword [ebp - 0xa4]
push eax
call fcn.004440d0
add esp, 0x10
mov eax, 0x2d
jmp 0x448fb8
movzx ecx, word [ebp - 4]
push ecx
push str.Local_port:__hu_n
mov edx, dword [ebp - 0xa4]
push edx
call fcn.00444030
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax + 0x22c], 1
xor eax, eax
jmp 0x448fb8
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jle 0x448f6b
movzx edx, word [ebp - 4]
push edx
push str.Bind_to_local_port__hu_failed__trying_next_n
mov eax, dword [ebp - 0xa4]
push eax
call fcn.00444030
add esp, 0xc
mov cx, word [ebp - 4]
add cx, 1
mov word [ebp - 4], cx
mov edx, dword [ebp - 0x14]
movzx eax, word [edx]
cmp eax, 2
jne 0x448f69
movzx ecx, word [ebp - 4]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
mov edx, dword [ebp - 0x1c]
mov word [edx + 2], ax
jmp 0x448f6d
jmp 0x448f72
jmp 0x448e4a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x8604], ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00435db0
add esp, 8
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push str.bind_failed_with_errno__d:__s
mov edx, dword [ebp - 0xa4]
push edx
call fcn.004440d0
add esp, 0x10
mov eax, 0x2d
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0057976c
mov esp, ebp
pop ebp
ret